You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Nintendo Switch version of Stardew Valley compresses save files using de zlib/deflate algorithm with default settings. I got the hint from gbatemp forums, the user unknowndatax even provied a simple compiled windows tool with source code for compressing an uncompressing.
The files can be recognized with the deflate magic bytes 78 9C. After inflating them stardew.app has no problems opening the resulting xml.
Another project called stardew-checkup already supports compressed save files with a rather simple implementation using pako.
It simply checks whether the savefile is smaller than 500KB and then tries to inflate it.
The Switch has to support homebrew to extract the save files so the target audience might not be the biggest but maybe this is a welcome addition for completeness sake.
Attached is a example savefile created on Nintendo Switch with Stardew Valley 1.6.9 (I had to add a file ending to upload it, this is still zlib compressed, not gzip). Test_390942675.gz
The text was updated successfully, but these errors were encountered:
The Nintendo Switch version of Stardew Valley compresses save files using de zlib/deflate algorithm with default settings. I got the hint from gbatemp forums, the user unknowndatax even provied a simple compiled windows tool with source code for compressing an uncompressing.
The files can be recognized with the deflate magic bytes 78 9C. After inflating them stardew.app has no problems opening the resulting xml.
Another project called stardew-checkup already supports compressed save files with a rather simple implementation using pako.
It simply checks whether the savefile is smaller than 500KB and then tries to inflate it.
The Switch has to support homebrew to extract the save files so the target audience might not be the biggest but maybe this is a welcome addition for completeness sake.
Attached is a example savefile created on Nintendo Switch with Stardew Valley 1.6.9 (I had to add a file ending to upload it, this is still zlib compressed, not gzip).
Test_390942675.gz
The text was updated successfully, but these errors were encountered: