For future reference if anyone wants to know how to undo a hack - if you're really desperate there is a way and it doesn't require even close to the same level of knowledge to actually create the hacks, just tracking down where the code was changed and in which files, information contained clearly in the XML file.
If you're trying to simply remove one hack from your ISO and don't want to have to start everything from scratch with a Vanilla ISO, here's what you can do:
- Download a HexEditor - I'm personally using Frhed.
- Download CDMage from this site.
- Open the XML file for the hack you're trying to undo in Notepad.
- In the XML file, Edit-> Find the name of the hack as it appears in orgASM - you'll find something like this:
<Patch name="Regain 10% of Max MP after each turn">
<Description>Regain 10% of Max MP after each turn</Description>
<Location file="BATTLE_BIN" offset="F6EBC">
2E000296
9919033C
09004224
9A996334
18004300
1980033C
902D638C
10100000
0A0062A4
10000234
250062A0
FD350608
5B000392
</Location>
<Location file="BATTLE_BIN" offset="1267EC">
AF770508
00000000
</Location>
</Patch>
- <Location File=" will show the file the hack altered, in this example it says BATTLE_BIN so it edited Battle.BIN.
- Open your ISO with CDMage.
- Extract the file(s) the hack altered.
- Open them up in your Hex Editor.
- Do the same with for Vanilla ISO.
- Back to the XML file - next to the file the hack alters will be the offset such as F6EBC above in the example; copy that offset.
- Back in Frhed, go to the modified file, press Ctrl+G, type "x" into the dialogue box (tells Frhed it's a hexadecimal number) and then paste in the offset you copied and press enter.
- Do the same with the Vanilla version of the file.
- Last time back to the XML file, check the hex code underneath the location tag - however long the code is you need to copy and paste the same amount of data from the Vanilla file onto the modified file - for example, if your XML shows something like this:
<Location file="BATTLE_BIN" offset="F6EBC">
2E000296
9919033C
09004224
9A996334
18004300
1980033C
Then you need to copy 48 characters (24 bytes) of data from that offset in the Vanilla file and Paste OVER (DO NOT INSERT) the same data in the modified file - Frhed will paste over (Paste Write) by default but some other Hex Editors do not.
- Repeat this for each of the offsets/files that the hack changed.
- Finally, reopen the modified ISO and import the files you changed.
You need to weigh up whether it's quicker to do this or start from scratch, it depends on how much you've modified your version of the game vs. how much you want to remove. I've personally done this twice because it would've taken me longer to start from scratch.
Good luck!
If you're trying to simply remove one hack from your ISO and don't want to have to start everything from scratch with a Vanilla ISO, here's what you can do:
- Download a HexEditor - I'm personally using Frhed.
- Download CDMage from this site.
- Open the XML file for the hack you're trying to undo in Notepad.
- In the XML file, Edit-> Find the name of the hack as it appears in orgASM - you'll find something like this:
<Patch name="Regain 10% of Max MP after each turn">
<Description>Regain 10% of Max MP after each turn</Description>
<Location file="BATTLE_BIN" offset="F6EBC">
2E000296
9919033C
09004224
9A996334
18004300
1980033C
902D638C
10100000
0A0062A4
10000234
250062A0
FD350608
5B000392
</Location>
<Location file="BATTLE_BIN" offset="1267EC">
AF770508
00000000
</Location>
</Patch>
- <Location File=" will show the file the hack altered, in this example it says BATTLE_BIN so it edited Battle.BIN.
- Open your ISO with CDMage.
- Extract the file(s) the hack altered.
- Open them up in your Hex Editor.
- Do the same with for Vanilla ISO.
- Back to the XML file - next to the file the hack alters will be the offset such as F6EBC above in the example; copy that offset.
- Back in Frhed, go to the modified file, press Ctrl+G, type "x" into the dialogue box (tells Frhed it's a hexadecimal number) and then paste in the offset you copied and press enter.
- Do the same with the Vanilla version of the file.
- Last time back to the XML file, check the hex code underneath the location tag - however long the code is you need to copy and paste the same amount of data from the Vanilla file onto the modified file - for example, if your XML shows something like this:
<Location file="BATTLE_BIN" offset="F6EBC">
2E000296
9919033C
09004224
9A996334
18004300
1980033C
Then you need to copy 48 characters (24 bytes) of data from that offset in the Vanilla file and Paste OVER (DO NOT INSERT) the same data in the modified file - Frhed will paste over (Paste Write) by default but some other Hex Editors do not.
- Repeat this for each of the offsets/files that the hack changed.
- Finally, reopen the modified ISO and import the files you changed.
You need to weigh up whether it's quicker to do this or start from scratch, it depends on how much you've modified your version of the game vs. how much you want to remove. I've personally done this twice because it would've taken me longer to start from scratch.
Good luck!