codengine / SOTFEdit

A Sons of The Forest Savegame Editor
MIT License
104 stars 6 forks source link

Unable to detect save games #3

Closed Cubly closed 1 year ago

Cubly commented 1 year ago

Doesn't detect save files

Log: https://pastebin.com/v83xwV8s

codengine commented 1 year ago

Hi, is the detected path in general correct? Moreover, could you check if the path is read-only and who is the file owner? Last but not least, could you try to run the editor as an Administrator?

Cubly commented 1 year ago

Hi, yeah the path is correct, my user is the owner and has all perms. Running as administrator had the same problem.

codengine commented 1 year ago

Interesting. There should be an Exception in the log file which describes the reason. Could you paste that as well?

Cubly commented 1 year ago

That's the only thing in the log file I'm afraid.

codengine commented 1 year ago

Alright, I'll prepare a special debug version of the Application. It would be nice if you could use that executable and test it again. Very strange 🤔

codengine commented 1 year ago

SOTFEdit_Debug.zip

Here you go. The exception not being logged was actually a bug on my end :)

Cubly commented 1 year ago

Got it now https://pastebin.com/Xu12sWhz

codengine commented 1 year ago

Ah I see the reason immediately. I'm using the directory name as a unique identifier for the savegame and did not expect them to be not unique. I'll fix it :) Thanks for reporting it.

codengine commented 1 year ago

One more thing: Could you paste the directory structure of your savegame directory, starting at C:\Users\x\AppData\LocalLow\Endnight\SonsOfTheForest\Saves?

Cubly commented 1 year ago

C:\Users\<User>\AppData\LocalLow\Endnight\SonsOfTheForest\Saves\<SteamID>\Multiplayer\<SomeID>\json files C:\Users\<User>\AppData\LocalLow\Endnight\SonsOfTheForest\Saves\<SteamID>\MultiplayerClient\<SomeID>\json files

codengine commented 1 year ago

Ahhhh that makes total sense. I've not tested it with Multiplayer yet :) I'm building a fixed version right now, would be nice if you could try it again when the build is done.

Cubly commented 1 year ago

Will do!

codengine commented 1 year ago

https://github.com/codengine/SOTFEdit/releases/tag/v0.3.1 There you go

Cubly commented 1 year ago

Works well now. Ty!

codengine commented 1 year ago

Works well now. Ty!

Awesome. Thank you!