07th-mod / python-patcher

Mod Installer for the Higurashi and Umineko Games
150 stars 12 forks source link

Sharedasset detection using checksum can fail when switching between proton and native on second install [no fix needed?] #200

Open drojf opened 1 year ago

drojf commented 1 year ago

For some chapters (eg. ch8), installer chooses sharedassets depending on the checksum of the original sharedassets0.assets.

Because our installer overwrites the sharedassets0.assets file, we also check the checksum of the sharedassets0.assets.backup file to see the "original" sharedassets file. This .backup file is created by our installer when you install the mod.

However, if you:

drojf commented 1 year ago

Some ways to fix this:

drojf commented 1 year ago

NOTE: this might not be an issue anymore, as I believe the "sharedasset detection using SHA" is no longer required for any chapter.

Our installData.json still has sharedasset entries listed with SHA, but they can be removed in most cases. See this list of sharedasset variants for each chapter for details:

https://github.com/07th-mod/ui-editing-scripts/blob/5adde5b725ce1426b81953637b19180a81114782/build.py#L76-L137