Difference between revisions of "User talk:ThatTrueStruggle"

From Retro Modding Wiki
Jump to: navigation, search
(Created page with "oh hey, welcome! From the mipmap count I'm guessing you're trying to reverse engineer the META section in the TXTR format, and I assume you're using PakTool? In case you aren'...")
 
(No difference)

Latest revision as of 19:03, 21 December 2015

oh hey, welcome! From the mipmap count I'm guessing you're trying to reverse engineer the META section in the TXTR format, and I assume you're using PakTool? In case you aren't aware, the META section is usually part of the pak format; when you extract with PakTool it appends the metadata to the end of the file to make them readable without needing to read the pak directly. It creates an extra section using Tropical Freeze's normal section header format and then dumps the data from the pak. So the "META" header isn't actually part of the original format.

GPU buffer data in Tropical Freeze is compressed with a custom LZSS algorithm, which includes both model vertex/index buffers and texture image data. The buffer offsets and sizes required to decompress it are stored in the META section. I added support for this to PakTool so you can automatically decompress those files at unpack time (use the -e option when unpacking), so I already have some notes on the TXTR meta format. I'll add what I have to your table if you want (want to make sure I'm not misunderstanding what you're doing first). --Parax0 (talk) 15:11, 21 December 2015 (CST)