- 2
- Posts
- 3
- Years
- Seen Jul 30, 2022
Hi folks!
I'm working on a hack that is built off Fire Red 1.0, using DPE and CFRU. I'm a total newbie, and was wondering if I could get some guidance or suggestions for an issue I'm having.
I've been following the instructions in CRFU's documentation for injecting DPE (pg. 11). After the insertion, I can play the game just fine and can even edit maps and wild encounters (after hex editing AdvanceMap 1.95 to support the expanded ROM). However, I'm struggling with configuring Hopeless Trainer Editor to point at the correct offsets. I've searched the forums and other places, but haven't been able to uncover exactly what I need to change in BPRE.ini to get things working.
For the time being, I haven't removed any Pokemon or Moves from DPE or CFRU, and haven't changed the offsets they are injected into. The base ROM I'm using does have some introductory mapping and scripting changes applied, but is otherwise vanilla. I've updated HTE's BPRE.ini to use the updated counts (1268 pokemon, 723 items, and 896 attacks). I've also updated the offsets to what I think is correct, based on DPE's generated offsets, but I think this is where my problem is...
I've left the item and attack offsets alone (as far as I'm aware, they're pointers to data elsewhere?), and also haven't modified the trainer, trainer classes, or trainer sprites.
With this configuration, I get an error that my ROM containing DPE cannot be opened. I can still open other ROMs, including the one with CFRU applied, although I understandably get errors if I've changed my counts and offsets from the defaults.
I suspect I'm not referencing the offsets correctly, because I can't locate them if I open the ROM in HxD.
I've read HTE is a great tool, so I'm sure it's just something about hex editing I don't understand properly yet. Any suggestions or helpful links are greatly appreciated! Thanks for taking the time to help.
I'm working on a hack that is built off Fire Red 1.0, using DPE and CFRU. I'm a total newbie, and was wondering if I could get some guidance or suggestions for an issue I'm having.
I've been following the instructions in CRFU's documentation for injecting DPE (pg. 11). After the insertion, I can play the game just fine and can even edit maps and wild encounters (after hex editing AdvanceMap 1.95 to support the expanded ROM). However, I'm struggling with configuring Hopeless Trainer Editor to point at the correct offsets. I've searched the forums and other places, but haven't been able to uncover exactly what I need to change in BPRE.ini to get things working.
For the time being, I haven't removed any Pokemon or Moves from DPE or CFRU, and haven't changed the offsets they are injected into. The base ROM I'm using does have some introductory mapping and scripting changes applied, but is otherwise vanilla. I've updated HTE's BPRE.ini to use the updated counts (1268 pokemon, 723 items, and 896 attacks). I've also updated the offsets to what I think is correct, based on DPE's generated offsets, but I think this is where my problem is...
- Pokemon Names - 0x098183A0 (from gSpeciesNames)
- sprites front data - 0x09BB171C (from gMonFrontPicCoords)
- Regular Palettes - 0x09BC5F64 (from gMonPaletteTable)
I've left the item and attack offsets alone (as far as I'm aware, they're pointers to data elsewhere?), and also haven't modified the trainer, trainer classes, or trainer sprites.
With this configuration, I get an error that my ROM containing DPE cannot be opened. I can still open other ROMs, including the one with CFRU applied, although I understandably get errors if I've changed my counts and offsets from the defaults.
I suspect I'm not referencing the offsets correctly, because I can't locate them if I open the ROM in HxD.
I've read HTE is a great tool, so I'm sure it's just something about hex editing I don't understand properly yet. Any suggestions or helpful links are greatly appreciated! Thanks for taking the time to help.