Razzmatazzz / RemnantSaveManager

Automatic backing up of your Remnant: From the Ashes save files, and the ability to anlayze your world to see what events rolled.
https://www.reddit.com/r/remnantgame/comments/d4eq86/remnant_save_manager_and_world_analyzer/
GNU General Public License v3.0
118 stars 21 forks source link

Adventure mode analysis does not update #13

Closed jacobspeck closed 4 years ago

jacobspeck commented 4 years ago

perhaps relevant error?

2020-05-26 3:04:01 AM: Backup completed (2020-05-26 3:03:53 AM)! 2020-05-26 3:04:12 AM: System.InvalidOperationException processing save file change: 'Refresh' is not allowed during an AddNew or EditItem transaction.( at System.Windows.Data.CollectionView.Refresh() at RemnantSaveManager.MainWindow.b__29_0()) 2020-05-26 3:08:58 AM: Backup completed (2020-05-26 3:07:58 AM)! 2020-05-26 3:09:01 AM: Showing current save world analyzer...

Razzmatazzz commented 4 years ago

Did you double-click a backup name to change the name but not push "enter" afterwards to save it?

Razzmatazzz commented 4 years ago

This should be fixed in the latest release.

jacobspeck commented 4 years ago

wrongadventure I haven't changed any back up names unfortunately... using 1.95.25 still does not work. There is no error in the log though.

jacobspeck commented 4 years ago

I've fixed it!

So I had deleted characters in front of the 218 Cultist in order for it to be the first selected. I had subsequently deleted .sav and .bak files of 1-3 (leaving just 0). I could still play normally without any problem.

I created a new character and noticed they already had an adventure world created (with a bunch of time already spent in it) and now I have a 0 sav/bak as well as 2 (the 218 Cultist was previously in the 3rd position).

But it analyzes the adventure worlds perfectly now 😁

Razzmatazzz commented 4 years ago

That makes sense. All the character info is saved in profile.sav and the world info for each character is saved in save_X.sav. The profile.sav file doesn't contain readily identifiable markers of which world save goes with which character, so the analzyer assumes that the first character it finds in profile.sav corresponds to the lowest-numbered save_X.sav file and on from there. It sounds like if the first character gets deleted, the game keeps the corresponding save_X.sav file and things get out of sync (i.e., the analyzer finds the one remaining character in profile.sav and then assumes save_0.sav is the right world data for that character).