• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
March 28, 2024, 08:31:16 am

News:

Use of ePSXe before 2.0 is highly discouraged. Mednafen, RetroArch, and Duckstation are recommended for playing/testing, pSX is recommended for debugging.


FFTorgASM and Open.Bin/Require.OUT

Started by Nirek, April 12, 2011, 09:07:05 am

Nirek

April 12, 2011, 09:07:05 am Last Edit: April 12, 2011, 09:09:09 am by Nirek
Was tinkering with FFTorgASM to add some stuff I use that isn't included, and ran into an issue with it not like open.bin or require.out, after digging around in the source, the patching helper it uses has odd names for those files, I was able to get fftorgASM to successfully modify those files using these new names: OPEN_OPEN_BIN and EVENT_REQUIRE_OUT
Probably other files that are like that, but these are the only ones I've run into so far, thought it might be of interest.

ex: (Xifane's Continue hack, and FFMaster's Brave/Faith hack, in a way that FFTorgASM likes)
<Patch name="Default to Continue">

   <Description>Default Menu option set to Continue instead of New Game</Description>
   <Location file="OPEN_OPEN_BIN" offset="3490">
0880023C
40534124
21082300
01000434
000024AC
40534124
   </Location>
 </Patch>

<Patch name="Forced 75 Brave and Faith">
   <Description>Force Brave and Faith to 75</Description>
   <Location file="EVENT_REQUIRE_OUT" offset="50CC">
05610508
00000000
   </Location>
   <Location file="EVENT_REQUIRE_OUT" offset="50EC">
14610508
00000000
   </Location>
   <Location file="BATTLE_BIN" offset="F1414">
4B000324
2a106600
03000214
00000000
21306000
10610508
4B000324
2a10c300
02000214
00000000
21306000
2300e6a0
2400e6a0
35100708
00000000
   </Location>
   <Location file="BATTLE_BIN" offset="F1450">
4B000324
2a286900
03000514
00000000
21486000
1f610508
4B000324
2a282301
02000514
00000000
21486000
2500e9a0
1000422c
3d100708
00000000
   </Location>
 </Patch>