• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
June 15, 2025, 05:41:50 am

turning an asm hack off?

Started by kadwin, January 07, 2013, 12:51:06 am

kadwin

how can i remove or turn off an asm hack i patched into an iso?

formerdeathcorps

January 07, 2013, 01:10:30 am #1 Last Edit: January 07, 2013, 01:17:30 am by formerdeathcorps
1) Get a Hex Editor other than WindHex (which cannot perform step 7).
2) Extract a vanilla copy of the file the ASM hack edited and open it in your hex editor.  You will need CDMage to extract the file from your vanilla ROM.
3) Extract a hacked copy of the file the ASM hack edited and open it in your hex editor.  You will need CDMage to extract the file from your hacked ROM.
4) Go to the offset of specified in the ASM hack in both the vanilla copy and the hacked copy.
5) Count the number of hex digits in the hack (i.e. 0-9, A-F) after the listing of a filename surrounded by brackets <>
<BATTLE_BIN 0x122334>
009AB3DF
<>
In the example above, there are eight characters (0,0,9,A,B,3,D,F).
Divide your count by two and write the number down.  This tells you the number of bytes in the hack.
6) Starting at the offset given by the ASM hack, highlight as many bytes as you written down for Step 5 in the vanilla file.
7) Copy from the vanilla copy to paste into the hacked copy.
8) Reinsert the hacked copy into your ROM by CDMage, MagicISO, etc.
The destruction of the will is the rape of the mind.
The dogmas of every era are nothing but the fantasies of those in power; their dreams are our waking nightmares.