ROM Hack [Request] Skyward Sword HD Save editor/Converter

BtEtta

Well-Known Member
Member
Joined
Apr 9, 2016
Messages
147
Trophies
0
XP
735
Country
So, I have been tinkering with an editor but hadn't got to the CRC/Checksum issue. The only reason the Wii editor needs Wii keys is that it's expecting to work on saves exported to SD cards (not the wiiking2.sav file itself) which are encrypted with an AES key shared between all Wiis. It's not relevant here as we'd only ever be working on the unencrypted save.

That being said, I quickly adapted what little editor I had to load Wii files (I had an unencrypted save hanging around in my Dolphin setup, there's also Wii homebrew that will dump unencrypted saves) and it sort of worked. I say sort of because I could get the quantities for materials/bugs loaded correctly by switching to reading data as big-endian; I have no idea how that would affect all the other flags in the save file meaning that a converter would first have to thoroughly document every part of the save file on both the Wii and Switch to guarantee a proper conversion.

On the subject of the checksums, using the information from Antidote I was able to get a CRC32 calculating correctly for the Wii version. However I could not get the same calculation working for the Switch save — it would appear some combination of the polynomial, initial value, and final XOR value have been changed (or I'm missing something else, as I only barely follow the maths for CRC calculation). These are not impossible to figure out, but outside of the scope of what work I'm willing to put in. Not to mention the data at 0x1D890 and 0x1D9B0 which does not appear to exist on the Wii (it only has an extra 0x80 bytes after the third save slot) would also need to be figured out. If someone else gave me the information I need I'd happily implement it and upload what I have, but for now cheat codes/memory editing looks like it will be the more reliable option for tweaking your save unless we can get someone skilled in reverse-engineering such things on the case.

Edit:
The extra 0x80 bytes are the end of the Wii file appear to be a copy of the skip.dat file. This is similar on the Switch, except for the fact that skip.dat is 0xA0 bytes and in my save the data in wiiking2.sav was not a 100% mirror of the accompanying skip.dat.
 
Last edited by BtEtta, , Reason: More information

YourSugarDaddy

New Member
Newbie
Joined
Feb 6, 2022
Messages
1
Trophies
0
Age
26
Location
Poland
XP
32
Country
Poland
I wish the save files had a completely different structure. Now it almost feels like it's possible, but yet still out of reach.
I'm halfway through the game on Wii version and just realized the switch HD one runs so much better. Would be nice if I you could hop over just like that. Well, the universe is never kind.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: https://i.imgur.com/bG1pQld.mp4