Open llamaizing opened 1 year ago
We have a Fix for this issue available, but we can not deploy it until the next major game change that causes FIN to not work, due to backwards compatibility. (We have to know if the Mod Version of the save file is older than the new version, to properly allow a data modle conversion, but there is currently no way of knowing besides the games own verison, but using that, doesnt mean anything if people can reuse the old FIN version, as they might already have saved the game on the new game version but with the old mod version)
Describe the bug When loading a save game, if the local drive contents differ from the contents from the save file, a message box pops up asking if you want to overwrite the drive with the contents of the save (see screenshot). If choosing the overwrite option then files containing binary data may become corrupted (file was not corrupted at the time of the save).
Perhaps there's a coersion to valid utf8 format going on? The file is binary and does not conform to utf8.
The attached .ppm demonstrates the problem. 83 bytes total containing an ASCII header of 56 bytes followed by 27 bytes of binary data representing RGB values for a 9x9 image.
To Reproduce
Expected behavior The image file should be restored to the way it was at the time of the save. Some bytes are now altered.
Here some test code to read the bytes of the image file:
Output at time of save:
Output after overwriting from save:
Notice how the last 3 bytes changed from
149 108 42
to63 108 42
Screenshots Screenshot showing the overwrite from save dialog:
Additional context Satisfactory EA for Steam on Windows FIN dev build #_9 from 26 Feb 2023
Binary file that demonstrates the problem: test_img.ppm.zip