Patching GS Codes to N64 Roms

Discussion in 'Nintendo Game Development' started by C-Kronos, Oct 14, 2011.

  1. C-Kronos

    C-Kronos Intrepid Member

    Joined:
    Mar 2, 2009
    Messages:
    633
    Likes Received:
    3
    Well, since there isn't anything out that supports the use of a gameshark for something such as the 64drive, I'll have to patch the roms with the codes.

    Does anyone have any information on this? Also, I've seen the YouTube video in regards of patching Mario 64 roms with GS codes. It doesn't apply to every rom as they're using the bootaddr to calculate where to edit in the ROM's memory.

    Any solid information would be highly appreciated, thanks for reading.
     
  2. takeshi385

    takeshi385 Mojarra Frita Bandit

    Joined:
    Mar 29, 2011
    Messages:
    1,856
    Likes Received:
    164
    Hex edit , or in this case binary edit.
     
  3. C-Kronos

    C-Kronos Intrepid Member

    Joined:
    Mar 2, 2009
    Messages:
    633
    Likes Received:
    3
    Not enough information, man. I'm pretty sure hex editing was obvious.
     
  4. takeshi385

    takeshi385 Mojarra Frita Bandit

    Joined:
    Mar 29, 2011
    Messages:
    1,856
    Likes Received:
    164
    I honestly couldn't tell you anything I'm currently learning hex and adobe so I'm no expert.
    And trying to learn c sharp but I'm abou to say fuck it cause its so complicated.
     
    Last edited: Oct 14, 2011
  5. C-Kronos

    C-Kronos Intrepid Member

    Joined:
    Mar 2, 2009
    Messages:
    633
    Likes Received:
    3
    You wont ever get anywhere if you give up man; trust me, it's worth getting through the complicated parts and learning it.
     
  6. Moiboi

    Moiboi Site Supporter 2015

    Joined:
    Feb 17, 2006
    Messages:
    67
    Likes Received:
    8
    It depends on the code, a lot of basic codes are variable modifiers, you can't patch these into a ROM(at least not directly, you could write and insert a little routine into the game's code that will do the job while the game is running).
    The other types of code are instruction modifiers (most variable modifiers can be done this way, but aren't), these can (usually) be easily patched in, if they modify an instruction in the main code block, if the instruction is part of a different block of code then it's trickier to find.
    Unless you already know how to work with N64 assembly it's not really simple to explain, and if you do then you should already know how to do it.
    A code changing the lower area of memory(0x0 up to 0x20000 ~ 0x80000 roughly - depending on the game) is probably an instruction modifier.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page