Announcement

Collapse
No announcement yet.

GBA permanent code patching

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • GBA permanent code patching

    I found the codes for FFawn of Souls. They work great when using VBA, but I would like to make them a permanent part of a ROM so that I can play it on emulators that don't have code emulation support. What do I need to do to make this happen? I have tried gbaatm and it doesn't seem to work. It actually messes up the ROM. I have tried applying IPS patches, but that doesn't seem to work either. I don't suppose I could easily just use a hex editor to make things work, could I? Suggestions?

    I apologize if this has been asked before. I did do a little searching beforehand, but I couldn't find anything that helped me.

  • #2
    I don't know what type of codes you found, but assuming they are RAM codes like Pro Action Replay, you'll need to use a debugger (like MESS) and a hex editor.
    If you never had used a debugger this is a good excuse to learn to use one .

    Comment


    • #3
      I don't know what type of codes you want to use, but you could always just set your characters to level 99, give yourself all weapons, magic, items, etc. and then save the game to battery.
      Then just load the game and the battery on another emulator and voila.

      Comment


      • #4
        I am actually using the codes created by GM0 Here. They look like they are codebreaker type codes. unencrypted ones at that.

        I put them in and then used gbaatm to patch them in and it worked great in vba. I then tried it on another emulator and they didn't work. do I need the master enable code? I don't think I do b/c the codes are unencrypted, but that is a guess on my part. Is there a way of just editing the hex values instead? These might be RAM codes, so I don't think I can do that. Thanks!

        Comment


        • #5
          That's a known issue with GBAATM. In my case the trained games works perfectly in VBA, but when I try to play the games on Gameboid (an Android GBA emulator) it doesn't work.
          Cracker, the GBAATM author has posted some GBA codes in this site. I sent a pm to him about this issue but he never replied.
          Maybe he can lend us a hand with this issue.
          Last edited by Whipon; 03-31-2010, 06:07:11 PM. Reason: Minor spell check

          Comment


          • #6
            Yeah, that is what I was going for. Gameboid cheats.

            Is there a way to enter in the cheats by hand using a hex editor? Also, how would I decode the cheats? ie, I know that the code 82013F9C 03E7 Inf HP Character Slot1 is a constant 16 bit write to memory location 02013F9C a value of 03E7 (999). I have even verified this on the VBA mem viewer. But, when I did a diff on the orig rom and the gbaatm'd rom, It looked more complicated than a mere hex edit.

            Comment


            • #7
              Basically it replaces some instructions with a jump a to an empty location, writes the instructions replaced by the jump, pokes the addresses, then returns from the jump.
              I don't fully understand the code tought. It would be great to know a way to poke values in ram in GBA roms through ROM hacking, like replacing an instruction that executes a lot with a jump, and then poking the desired addresses. It seems it involves a mix between ARM and THUMB opcodes. Maybe someone skilled like Ugetab can give us some guidance.

              Comment

              Working...
              X