News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Writing a GameGenie / Pro-action Replay code to a ROM?  (Read 7843 times)

vivify93

  • Submission Reviewer
  • Hero Member
  • *****
  • Posts: 1085
  • Guardian of Mystery
    • View Profile
Writing a GameGenie / Pro-action Replay code to a ROM?
« on: December 27, 2011, 03:06:54 pm »
Hello! I was wondering if there's a way to write a GameGenie or Pro-action Replay code as a permanent change to the ROM. As we all know, Lufia & the Fortress of Doom has a walking speed for dungeons and the world map that can only be described as "slow to the point of being comically absurd." However, there exists a code, 01982920, that allows the hero's team to walk at the same speed as they do it towns.

Rather than turn this code on everytime, I thought it would be more convenient to have this as a permanent patch. However, I'm a bit at a loss as how to get started on this.

Thanks in advance, have a lovely day, and Happy New Year's! :)
All my life I've tried to fight what history has given me.

Mauron

  • Submission Reviewer
  • Hero Member
  • *****
  • Posts: 531
    • View Profile
Re: Writing a GameGenie / Pro-action Replay code to a ROM?
« Reply #1 on: December 27, 2011, 03:35:31 pm »
It's nice and simple to apply a Pro-Action Replay code to a ROM.

The code format is AAAAAADD, where AAAAAA is the SNES address being altered, and DD is the data you want to use.

Convert the SNES address into the PC file equivalent, then write the new value using a hex editor.

Game-Genie codes are a little trickier, because their format is odd. There are converters available to make them PAR codes, and then follow the steps above.
Mauron wuz here.

vivify93

  • Submission Reviewer
  • Hero Member
  • *****
  • Posts: 1085
  • Guardian of Mystery
    • View Profile
Re: Writing a GameGenie / Pro-action Replay code to a ROM?
« Reply #2 on: December 27, 2011, 06:03:58 pm »
Convert the SNES address into the PC file equivalent, then write the new value using a hex editor.
Um... how would I go about doing this? I'm not very well-versed in data-changing, just text hacks.
All my life I've tried to fight what history has given me.

Kiyoshi Aman

  • RHDN Patreon Supporter!
  • Hero Member
  • *****
  • Posts: 2261
  • Browncoat Captain
    • View Profile
    • Aerdan's Blog
Re: Writing a GameGenie / Pro-action Replay code to a ROM?
« Reply #3 on: December 27, 2011, 08:15:20 pm »
There's voluminous documentation on the SNES in RHDN's document archive. Have you looked to see what's available? If not, why not?

Dragoon ZERO

  • RHDN Patreon Supporter!
  • Jr. Member
  • *****
  • Posts: 47
  • wasteland wanderer
    • View Profile
Re: Writing a GameGenie / Pro-action Replay code to a ROM?
« Reply #4 on: December 27, 2011, 08:36:44 pm »

vivify93

  • Submission Reviewer
  • Hero Member
  • *****
  • Posts: 1085
  • Guardian of Mystery
    • View Profile
Re: Writing a GameGenie / Pro-action Replay code to a ROM?
« Reply #5 on: December 27, 2011, 09:27:51 pm »
Alright, I did that and I input the first part of the PAR code (019829) and searched the hex address it gave me. I modified the byte and... nothing changed at all. I'm confused. I would greatly appreciate more help on this...
« Last Edit: December 27, 2011, 09:33:22 pm by vivify93 »
All my life I've tried to fight what history has given me.

Dragoon ZERO

  • RHDN Patreon Supporter!
  • Jr. Member
  • *****
  • Posts: 47
  • wasteland wanderer
    • View Profile
Re: Writing a GameGenie / Pro-action Replay code to a ROM?
« Reply #6 on: December 27, 2011, 10:45:59 pm »
Did you load the file using "Detect Type"?

It's a LoROM game and the address is 9829 (9A29 if you've got a header) with an original value of 0x10

You said yourself that it doesn't work in the prologue and I'm in no position to test it otherwise.

JCE3000GT

  • Sr. Member
  • ****
  • Posts: 433
    • View Profile
Re: Writing a GameGenie / Pro-action Replay code to a ROM?
« Reply #7 on: December 27, 2011, 10:46:03 pm »
Try this patch.



*edit*

Tree'd!!  LOL

vivify93

  • Submission Reviewer
  • Hero Member
  • *****
  • Posts: 1085
  • Guardian of Mystery
    • View Profile
Re: Writing a GameGenie / Pro-action Replay code to a ROM?
« Reply #8 on: December 27, 2011, 10:58:15 pm »
thank you so, so much JCE. thanks to everyone for all their help. :) and no, Dragoon ZERO, I was actually testing off a save I have with the hero's party at one of Raile's labs. but the patch JCE linked to helped immensely
All my life I've tried to fight what history has given me.

Dragoon ZERO

  • RHDN Patreon Supporter!
  • Jr. Member
  • *****
  • Posts: 47
  • wasteland wanderer
    • View Profile
Re: Writing a GameGenie / Pro-action Replay code to a ROM?
« Reply #9 on: December 27, 2011, 11:10:56 pm »
I was just saying that, while I was reasonably confident in the information,  I wasn't going to play for any length of time to test it   ;)

Glad you got what you needed