Open erri120 opened 1 month ago
Some documentation I wrote in (very WIP) planning doc I'm working on: https://reloaded-project.github.io/Reloaded-III/Loader/Copy-Protection/Windows-MSStore/#what-r3-should-do (Consider also reading the rest)
And existing code I wrote: https://github.com/Reloaded-Project/Reloaded-II/blob/master/source/Reloaded.Mod.Launcher.Lib/Utility/TryUnprotectGamePassGame.cs
Those are the steps to decrypt Xbox Store binaries, so they can be read and modified.
It's a bit convoluted as it's a multi step process, and annoying to have to do, but it's been working flawlessly for the last 3-4 months on my end.
Is manually installed smapi supposed to work on GamePass version?
I think the easiest solution is to just skip the file if we encounter an UnauthorizedAccessException
and the game store is set to Xbox Game Pass.
Also this affects all Xbox games, or more specifically Win32 Centennial Apps, it is not Stardew Specific.
I think the easiest solution is to just skip the file if we encounter an
UnauthorizedAccessException
and the game store is set to Xbox Game Pass.
If you want to go that route then at that point we should not take backups of these games by default.
A partial backup with all binaries missing is not useful if the game updates.
Edit: Also don't forget we move StardewValley.exe
, if we don't have a backup of that, I'm not sure if our DataModel won't collapse on apply either way, even if you skip.