Final Fantasy XII: The Zodiac Age - unpacking a binary file

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
dclem
ultra-n00b
Posts: 7
Joined: Sun Apr 30, 2017 11:50 pm

Final Fantasy XII: The Zodiac Age - unpacking a binary file

Post by dclem » Wed May 26, 2021 4:58 am

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.
You do not have the required permissions to view the files attached to this post.

User avatar
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

Post by ikskoks » Wed May 26, 2021 7:08 am

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?

dclem
ultra-n00b
Posts: 7
Joined: Sun Apr 30, 2017 11:50 pm

Re: help unpacking a binary file

Post by dclem » Wed May 26, 2021 7:30 am

ikskoks wrote:
Wed May 26, 2021 7:08 am
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?
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)
or:

Code: Select all

If a Target is weak against element Fire :: Do this Action on them (Fire magic)
and so on.

I plan to understand more and modify these 'if/then-esque' game-target statements to something a little more unique.

Post Reply