Final Fantasy BIN files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
hackspeedok
Posts: 404
Joined: Mon Oct 06, 2014 6:41 pm

Final Fantasy BIN files

Post by hackspeedok »

hackspeedok
Posts: 404
Joined: Mon Oct 06, 2014 6:41 pm

Re: Final Fantasy BIN files

Post by hackspeedok »

up :)
puggsoy
Posts: 161
Joined: Sat Dec 13, 2014 1:01 am

Re: Final Fantasy BIN files

Post by puggsoy »

Doesn't seem to difficult. Has file number, offsets and sizes, and null-delimited names that are 0x30 bytes long. It contains some files of the same format as well (with the ARCV header). Most other files have a SSZL magic along with what appear to be compressed and decompressed sizes. Most likely LZSS compression.
The only real issue is that the file names don't have extensions. They do always end in an underscore ("_") followed by what looks like an extension, so maybe the last underscore simply needs to be replaced by a dot.

If I have time I will try make a script for this soon, if nobody else does before me.

Oh and by the way, the CSV file is pretty much useless. It has no offsets, and the names it gives are exactly the same as in the file. The only difference is that it gives the path for the files, which only varies negligibly and adds a .bin extension to the end of each file name (which is less useful than my extension technique). What is weird is that the files which end in "_gim" in the CSV end in "_jim" in the file. Shouldn't be a big issue though, they can be changed by the script if need be.
hackspeedok
Posts: 404
Joined: Mon Oct 06, 2014 6:41 pm

Re: Final Fantasy BIN files

Post by hackspeedok »

puggsoy wrote:Doesn't seem to difficult. Has file number, offsets and sizes, and null-delimited names that are 0x30 bytes long. It contains some files of the same format as well (with the ARCV header). Most other files have a SSZL magic along with what appear to be compressed and decompressed sizes. Most likely LZSS compression.
The only real issue is that the file names don't have extensions. They do always end in an underscore ("_") followed by what looks like an extension, so maybe the last underscore simply needs to be replaced by a dot.

If I have time I will try make a script for this soon, if nobody else does before me.

Oh and by the way, the CSV file is pretty much useless. It has no offsets, and the names it gives are exactly the same as in the file. The only difference is that it gives the path for the files, which only varies negligibly and adds a .bin extension to the end of each file name (which is less useful than my extension technique). What is weird is that the files which end in "_gim" in the CSV end in "_jim" in the file. Shouldn't be a big issue though, they can be changed by the script if need be.


thanks, hope you quickly :)
hackspeedok
Posts: 404
Joined: Mon Oct 06, 2014 6:41 pm

Re: Final Fantasy BIN files

Post by hackspeedok »

Aluigi can you help me ?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Final Fantasy BIN files

Post by aluigi »

hackspeedok
Posts: 404
Joined: Mon Oct 06, 2014 6:41 pm

Re: Final Fantasy BIN files

Post by hackspeedok »

aluigi wrote:http://aluigi.org/papers/bms/others/final_fantasy_bin.bms

Thanks aluigi