palworld-host-save-fix
palworld-host-save-fix copied to clipboard
Non-english system locale causes problems
Hi, I want to preface everything by saying saying thank you so very much for making this fix!
That said, after following the instructions and getting the all-clear message from the program, my save file still refuses to get loaded by the dedicated server and forces a character creation.
The 000001.sav file gets correctly deleted and the file with my steam UUID becomes the size of the 000001 file, so the transfer appears to have worked, but the loading doesn't work.
My computer was using a non-english system locale. I switched it to english and that fixed the issue.
Doubt it's something worth fixing in the code, but good to have as heads up to anyone getting this issue
Thank you, that's a good find. I'll put it in the README for others. How did you switch the language/locale?
You probably want to make the script locale robust rather than have people change their system language willy nilly. Cf. https://stackoverflow.com/questions/33952550/locale-setlocalelc-numeric-how-to-make-it-work-on-windows
Could be uesave that's not system locale safe. Until that's confirmed, system locale for Windows 10 is under Start menu -> Language -> Administrative language settings -> Administrative tab (should be open by default) -> Change system locale...
@DieFinsternis can you confirm the locale problem is in the script like @willcheat is saying? If so, I'll add that code to the script because you're right, it's better to fix it in the script if possible.