• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Legends: Z-A protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Other] EXP Table location?

  • 78
    Posts
    9
    Years
    I accidentally patched an EXP All thing to my ROM hack and its annoying me basically it keeps reducing experience. I want to reverse its effects. Where does the table for Experience growth begin and end? (In terms of hex offsets, at least) Once I find the offsets, I can basically just copy and paste the hex values from an unaffected ROM and apply it to my ROM hack.

    If you want to know, this is the patch I applied:
    https://www.reddit.com/r/PokemonROMhacks/comments/25386k/fire_red_exp_all_patch/
     
    Opening the .ips in HxD, we get this:
    Code:
    50 41 54 43 48 02 1C 3A 00 02 02 21 02 1C D0 00 02 01 22 02 1D 70 00 02 01 20 45 4F 46
    The first part (50 41 54 43 48) and the last part (45 4F 46) can be discarded, as it just reads PATCH and EOF (end of file) respectively.
    Now, .ips files store data in big endian. So the file looks like this:
    Code:
    [COLOR="SandyBrown"]02 1C 3A[/COLOR] [COLOR="Teal"]00 02[/COLOR][COLOR="Magenta"] 02 21[/COLOR][COLOR="SandyBrown"] 02 1C D0[/COLOR][COLOR="Teal"] 00 02[/COLOR] [COLOR="Magenta"]01 22[/COLOR][COLOR="SandyBrown"] 02 1D 70[/COLOR] [COLOR="Teal"]00 02[/COLOR] [COLOR="Magenta"]01 20[/COLOR]
    This is the address, this is the length of the change, and this is the contents of the change. All the data is right there, you can just check the original offsets (021C3A, 021CD0, and 021D70.)
    I did check this by patching to a clean ROM and using a compare between the patched and clean ROM.

    Source
     
    Last edited:
    Back
    Top