I have binary packed file likely containing a series of if/then action statements if decoded and unpacked to modify.
I know exactly what to seek and modify within the file, and what to look for when unpacking it for modification.
Final Fantasy XII: The Zodiac Age - unpacking a binary file
Final Fantasy XII: The Zodiac Age - unpacking a binary file
You do not have the required permissions to view the files attached to this post.
- ikskoks
- Moderator
- Posts: 942
- Joined: Thu Jul 26, 2012 5:06 pm
- Location: Poland, Łódź
- Has thanked: 506 times
- Been thanked: 234 times
- Contact:
Re: help unpacking a binary file
What is the name of the game this file is from?
Why do you think it has if/then action statements? And what are you planning to do with them after unpacking?
Why do you think it has if/then action statements? And what are you planning to do with them after unpacking?
Re: help unpacking a binary file
Final Fantasy XII: The Zodiac Age
(JRPG game)
This file is a section of the single packed binary (battle_pack.bin). The battle_pack file contains a bunch of sections when it's unpacked, which houses a bunch of the game's mechanics.
Section7.bin (in particular) holds the Gambit-Target information, which, for this game, function as a simplified programming language; basically allowing to automate actions.
e.g. There's a bunch like:
Code: Select all
If a Target has < 30% Health :: Do This Action (Cure)Code: Select all
If a Target is weak against element Fire :: Do this Action on them (Fire magic)I plan to understand more and modify these 'if/then-esque' game-target statements to something a little more unique.

