Vague Rant wrote:With credit to einstein95 on Badnik IRC, you can find (almost) the beginning of an Ocarina of Time save by searching for ASCII "ZELDAZ", which occurs at 0x07 in an original N64 OoT save. This can be found quite easily in an extracted GCI save file from the Collector's Edition, and means that the beginning of the save is at 0x6044 in said GCI. From here, we need to copy 32KB (0x8000 bytes) to a new file, which will be our Ocarina of Time SRAM.
Named appropriately for your emulator (in my case, with Wii64, that's THE LEGEND OF ZELDA(U).sra), this should be all you need to do to continue your game outside of the Collector's Edition. Similar methods should work to extract saves from the Zelda 1, 2 and Majora's Mask GameCube saves; just search for some known bytes in each and copy the appropriate length.
Vague Rant wrote:You're right, ZELDAZ does appear later, I had the strings mixed up. ZELDAZ is still probably a better way to get to the general area without knowing the exact offset since it saves you hitting false positives. I updated the original post to correct this error.
Like I said in the first post, the ZELDA string appears at 0x07, not 0x00. Hence, while ZELDA is at 0x604B, the beginning of the actual SRAM is at 0x6044. It's simple: 0x604b - 0x07 = 0x6044
0x8000 bytes on from here is 0xE043, so that's the end of the file. For me, the very last byte is "01" after a sea of "00"s, so this might be a good way to confirm you've found it, but I don't know if this value is a constant or not.
Users browsing this forum: No registered users and 3 guests