Expanded Save block
Hello, hopefully everyone is doing well. Lately I released a Dexnav implementation that required you to have a saveblock hack installed. It came to my attention that JPAN's hack was the only real one, and the source code seems to be lost. Additionally if you have 800+ Pokemon in your game, extended flags +vars, bags, and whatever other features that relied on save RAM, then this save ram isn't enough!
The old saveblock hack by JPAN reserved 3780 bytes of save RAM by compressing the game saveblocks closer together and using the space at the end of the block. The idea was really well thought out, and JPAN has my respect for implementing it during the older days of ROM Hacking. I've taken this great idea and added on another 8160 bytes to use, for a total of 11940 bytes. This still leaves about 3200 bytes of FireRed's help menu VRAM buffer still free incase you used it as disposable RAM. The hack is done by scrapping two sectors reserved for E-Reader and Mystery Gift/Trainer tower.
The Ereader feature isn't present in EM, and I don't think anyone will really miss the Mystery Gift/Trainer tower features as I haven't seen any hacks making use of it. The source code is available here: https://github.com/EternalCode/Save_Expansion
Patch: https://www.mediafire.com/file/5g2qfkat6kaykd0/fbi_save_expansion.ups/file
Notes
- The saveblock starts from 0x0203B174 and ends at 0x0203E018, for 11940 bytes.
- This hack is compatible with JPAN's saveblock hack. He hooked into functions, I rewrote them so there should be nothing to remove. My hack will just replace his. As always make a back up.
- This hack takes up 0x6D4 bytes currently. The patch will insert it at 09700000. Compile from source to freely change insertion location.
Credits
- Please include JPAN in your credits for his idea
- Pret team for their research
...
Hello, hopefully everyone is doing well. Lately I released a Dexnav implementation that required you to have a saveblock hack installed. It came to my attention that JPAN's hack was the only real one, and the source code seems to be lost. Additionally if you have 800+ Pokemon in your game, extended flags +vars, bags, and whatever other features that relied on save RAM, then this save ram isn't enough!
The old saveblock hack by JPAN reserved 3780 bytes of save RAM by compressing the game saveblocks closer together and using the space at the end of the block. The idea was really well thought out, and JPAN has my respect for implementing it during the older days of ROM Hacking. I've taken this great idea and added on another 8160 bytes to use, for a total of 11940 bytes. This still leaves about 3200 bytes of FireRed's help menu VRAM buffer still free incase you used it as disposable RAM. The hack is done by scrapping two sectors reserved for E-Reader and Mystery Gift/Trainer tower.
The Ereader feature isn't present in EM, and I don't think anyone will really miss the Mystery Gift/Trainer tower features as I haven't seen any hacks making use of it. The source code is available here: https://github.com/EternalCode/Save_Expansion
Patch: https://www.mediafire.com/file/5g2qfkat6kaykd0/fbi_save_expansion.ups/file
Notes
- The saveblock starts from 0x0203B174 and ends at 0x0203E018, for 11940 bytes.
- This hack is compatible with JPAN's saveblock hack. He hooked into functions, I rewrote them so there should be nothing to remove. My hack will just replace his. As always make a back up.
- This hack takes up 0x6D4 bytes currently. The patch will insert it at 09700000. Compile from source to freely change insertion location.
Credits
- Please include JPAN in your credits for his idea
- Pret team for their research
...