ow-mods/owml

Attempt to read non existent files from Xbox version

TheBoxyBear opened this issue · 3 comments

From a fresh install of the Xbox on PC version as well as the mod manager and OWML with no mods enabled and when launching OWML, it crashes immediately trying to read globalgamemanagers which doesn't exist, although the game is found according to the log. I can clone the repo and dig a bit further though I doubt I can gather much knowing only .NET and not the inner workings of the game.

image

Trying to backtrace but having trouble figuring out how the custom game path is meant to be provided for App._pathFinder. Using a hardcored path in the meantime.

Indeed it's pretty clearcut with trying to read from globalgamemanagers defined as a constant string in BinaryPatcher. Could have the file been removed in an update and would there be an alternative than reading from it?

It seems the file is only used for reading the game version. I could also go with a hardcored version as a temporary fix, though I would need to know how the string is meant to be formatted.

Reinstalled the game and the file is now present... Seems the Verify game files option in the Xbox app isn't as reliable as I thought.