master-technology / AssetManagerStudio

The Unreal Launcher for the rest of us...
55 stars 0 forks source link

BUG. VaultCache files are all modified #48

Open imtrobin opened 3 months ago

imtrobin commented 3 months ago

Reporting, I just tried a portable version 0.0.25, I noticed it modifies the vaultCache (Date modified) even though I was just listing and did not download anything.

NathanaelA commented 3 months ago

Modifies it how, I do know I have a separate date that I track for when you added it to your library/vault, but that date shouldn't change.

imtrobin commented 3 months ago

The Date Modified in Explorer shows all the same date. It does not happen with normal launcher.

E__Library_Epic Games_Launcher_VaultCache-2024-07-31 23_51_23

NathanaelA commented 3 months ago

Ah, yes, I understand what you are asking.

It creates a vault.json file to the root level asset folder to easily track values for that asset currently mainly for speeding up scanning/rescan purposes, but also to allow easily rebuilding of your vault if you reset your DB or use multiple accounts. . This file is only used by AMS, and if you really wanted it can be deleted -- (I could also add an option to not create this file, but it simplifies the life of people who move assets into different vaults or use multiple Epic accounts as AMS supports multiple vault folders and multiple accounts).

imtrobin commented 3 months ago

One issus is when you update an asset in epic launcher, it keeps multiple versions of the asset with a V1, V2, V3 appended. So I remove them manually to save space as I always keep the latest version only.

Yes, if you can, I prefer it have the date I actually updated the asset.

NathanaelA commented 3 months ago

I'll add a feature to the configuration to allow you to enable this feature, rather than auto opt-in enabling...