Users browsing this thread: 1 Guest(s)
Help with World of Final Fantasy TEX files (PC version) [Editing with PNG uploads]
#2
So basically all of these appear to have a chunk of compressed data at 0x90, which the file very kindly points out is ZLIB compression, and even gives the sizes for. This can easily be extracted into raw data with this QuickBMS script:

Code:
# World of Final Fantasy .tex
#
# Written by puggsoy
# script for QuickBMS http://quickbms.aluigi.org

endian big
idstring "\x00xet"

goto 0x80
idstring "BILZ"
get SIZE long
get ZSIZE long
get DUMMY long
get NAME basename
string NAME += ".dec"
savepos OFFSET

comtype zlib
clog NAME OFFSET ZSIZE SIZE

Now the file this extracts is also pretty simple, it looks like it's just 8bpp stuff. Main problem is the lack of a palette. That being said, this is probably because the font can be any colour the game needs and so the pixel values are just the "brightness". In this case the best way to extract is then probably white or black against a transparent background.

It's quite late and I'm pretty tired now but I'll try come up with something tomorrow, if nobody else does first.
You may have a fresh start any moment you choose, for this thing that we call "failure" is not the falling down, but the staying down. -Mary Pickford
Reply
Thanked by: Oscar92player


Messages In This Thread
RE: Help with World of Final Fantasy TEX files (PC version) - by puggsoy - 11-23-2017, 07:51 AM

Forum Jump: