Open tbrittain opened 1 year ago
The above strategy doesn't exactly work - the game crashes upon going to the Customization screen. I am not quite sure why this could be happening. To my knowledge, the only reference to each league is in that t_game_savedatas
table. Unless there is something going on at the game process level instead of the database, in which case I am not sure what to do
@tbrittain suppose one was just trying to edit players in an existing league - do you know how to rewrite the save and hash files without the game crashing?
For the .sav files, these are just zlib compressed versions of the save game .sqlite databases. Easy to decompress and read (like with this app), but less sure about compressing the .sqlite representation into the .sav file and having the game pick that up. Also not sure on the .hash file. I haven't looked into that one quite as much
We have already built out a lot of this functionality in the other migration app. In reality, this will be a lot simpler than any of that though
t_league_savedatas
table in the master.sav file, then recompress it and place it back in the save folderAlternatively, create a dummy league, get the league ID that was created, and rename the league save game to correspond with it (could have a simple tutorial on how to do this on the wiki instead, with showing how to get the ID for the dummy league)