slinga-homebrew / Save-Game-Copier

Copy Sega Saturn save game files
GNU General Public License v3.0
48 stars 8 forks source link

bup_parse.py unable to read comment field from Shining The Holy Ark save file imported by Save Game Copier v3.6.15 #51

Open privateye opened 5 months ago

privateye commented 5 months ago

Save file: HOLY_ARK_01.zip

  1. Import the save file from Satiator to internal memory using Save Data Manager v6.545: https://ppcenter.webou.net/pskai/#download Launch tools\pskai_sdm.iso on Satiator and then select "Save Data Import".

  2. Export the save file from internal memory to Satiator using Save Game Copier or Save Data Manager. To do that in the latter: Save Data Export -> Export Save(s) from Memory Device(s)

  3. Execute bup_parse.py --input_bup HOLY_ARK_01.BUP --extract_raw_save and you get this result:

1

Now do the following:

  1. Import the save file from Satiator to internal memory using Save Game Copier v3.6.15.

  2. Export the save file from internal memory to Satiator using Save Game Copier or Save Data Manager.

  3. Execute bup_parse.py --input_bup HOLY_ARK_01.BUP --extract_raw_save and you get this result:

2

If you take this BUP file and trim the first 64 bytes, the MD5 hash of the raw save file matches the hash shown in the first screenshot.

slinga-homebrew commented 5 months ago

Thanks for the bug report. This looks like an error when printing the comment. Do you have the 2nd BUP file?

privateye commented 5 months ago

BUP file with error: HOLY_ARK_01.zip