AndrewSav / lib.remnant2.analyzer

MIT License
3 stars 3 forks source link

Windows Store save support #4

Open pollyzoid opened 2 months ago

pollyzoid commented 2 months ago

Windows Store version (whether bought or Game Pass) uses a different save file organization than the assumed Steam version.

Base path: %LOCALAPPDATA%\Packages\PerfectWorldEntertainment.GFREMP2_jrajkyc4tsa6w\SystemAppData\wgs\<user-id>\

One idea would be to accept direct file paths for profile and world files, and pass the responsibility of figuring these out to the caller. Then SaveAnalyzer could just accept a manual path pointing to the R2 save folder, look for containers.index and start parsing to find the correct files.

AndrewSav commented 2 months ago

That's not something I can do since I do not have the Windows Store version, so I won't be able to test/debug/fix it. I'm happy to merge a PR if someone does that though.