Ecube Save Fix

What is it?

FIXME add link to GBA SAVE Patching guide.

This is a util to patch your homebrew GBA ROMs, to enable the Ecube client detect the correct save type. (If you don't know what I'm talking about maybe this guide will confuse you even more.)

Save Types

  • SRAM - 256kb,512kb.
  • FLASH - 512kb,1024kb.
  • EEPROM - 64kb, 128kb.

Current Features

  • “empty space” patch the ROM.
  • Correct header information.
  • Patch the ROM's Title.
  • Patch the ROM's Game Code.
  • Patch the ROM's Maker Code.
  • Patch the ROM's Version Number.
  • Pad the ROM to the next power of 2.
  • Correct the CRC of the ROM after patching.
  • Perform all operations through the commandline.

ToDo

HIGH

  • IPS patching - it's the only things I can think of now I've done everything else I was originally planning ^_^.

LOW

  • currently nothing!!! Any suggestions?

DONE

  • Optimise code and bring filesize down! (Well it's never really DONE).
  • Add user input checking.
  • “EMPTY SPACE” patching - looks for 12 bytes in the original ROM to patch rather than making ROM 12 bytes larger.1)
  • Add CRC correction into my own program (to alleviate the need to use GBARM.EXE).
  • Rewrote code from scratch.
  • Add commndline handling.
  • Fixed some memory management bugs (memory leaks :-| )

Changelog

26th Oct 2005 V0.8

  • Complete rewrite of code finished.
  • Fixed some memory management bugs.
  • Added Commandline handling.

15th Sept 2005 V0.7

  • Added the following options, based on code from Darkfader's Gameboy Advance ROM fixer v1.032)
    • CRC correction.
    • Header fixing.
    • Ability to patch the game name.
    • Ability to patch the game code.
    • Ability to patch the maker code.
    • Ability to patch the game version.
    • Ability to pad the ROM to the next power of 2.

13th Sept 2005 V0.6

  • Added “Empty Space” patching.
  • Started the implementation of CRC correction 3)4)

12th Sept 2005 V0.5

  • Brought the filesize down to 100k (I was including the debug EXE :-O)
  • Eliminated the crash if you enter an invalid filename! (Phew)
  • Got rid of the the string and utils libraries… everything is my own code now!5)

13th Aug 2005 V0.4

  • Ported .BAT files to C++ to make a (hopefully neater) Win32 Console application.

12th June 2005 V0.3

  • Created this changelog (whoops).
  • Added Titles and info to what the bat files are doing while they are running.
  • Added CRC correction through GBARM.
  • Updated readme to reflect these changes.

30th May 2005 V0.1

  • Put together save patches (*.fix) for different save types and sizes, for use with batch files.
  • Created bat files to use the *.fix files (obviously!)

30th May 2005 V0.2 - 1st Public release

  • add a “ren *.gba rom.gba” command to bat files so users don't have to rename the roms to rom.gba themselves.

Downloads

The source is included in the respective archives.

Version Download
0.8Download
0.7Download
0.6Download
0.5Download
0.3Download
0.2Download
0.1Download
1) Might cause problems depending on whether the “empty space” is actually used for something.
2) These are in a seperate menu but the header fixing and CRC correction are done automatically when you use either of my save patching methods.
3) From/Based on Darkfader's Gameboy Advance ROM fixer v1.03
4) This is only in the source as yet. Nothing in the program does CRC stuff!
5) The string and utils lib were from my “intro to programming” lecturer I should have credited him before. In any case Allistair McMonies. thank you for your string and utils libs. but I don't need them now!
 
pokeparadox/ecube_save_fix.txt · Last modified: 2008/05/04 14:06 by pokeparadox
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki