Anonymous

Changes

From Final Fantasy Inside

FF7/Field/FIELD.TDB

105 bytes removed, 05:14, 23 May 2019
m
4 revisions imported
==Format for Field.TDB== [[User:Cyberman|Cyberman]] 21:45, 10 Jan 2007 (CST) Field.TDB is an [[FF7/LZS formatLZS_format|LZS compressed]] file the first DWORD of which is it's compressed size.
After decompression the file contains the following header
{| style="border: 1px solid black; border-collapse: collapse" border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"|+ FILED.TDB header
|-
! style="background:rgb(204,204,204)" align="center" | Size! style="background:rgb(204,204,204)" align="center" | Type! style="background:rgb(204,204,204)" align="center" | Description
|-
| 4
| uint32
| Total Data Size
} TDB_TextureHeader;
Images follow they are 32x32x 4 bits (or 512 bytes each)Palettes are next, which are B5G5R5 format, uint16 format. 16 colors per palette. Therefore each palette is 32bytes in length.
Palettes are not selected from this file but from the BSX files for models.