Anonymous

Changes

From Final Fantasy Inside

FF7/Kernel/Low level libraries

1,272 bytes removed, 05:19, 23 May 2019
m
59 revisions imported
Unless otherwise noted, these have a 6 byte header. After this are many gziped sections concatenated together.
{| borderclass="0" cellpadding="3" cellspacing="1" style="background: rgb(0,0,0)" align="centerwikitable"! style="background:rgb(204,204,204); width:50px;" align="center" | Offset! style="background:rgb(204,204,204); width:50px;" | Length! style="background:rgb(204,204,204); width:250px;" | Description
|-
|style="background:rgb(255,255,255);" align="center" | 0x0000|style="background:rgb(255,255,255);" | 2 bytes|style="background:rgb(255,255,255);" | Length of gzipped section 1
|-
|style="background:rgb(255,255,255)" align="center" | 0x0002|style="background:rgb(255,255,255);" | 2 bytes|style="background:rgb(255,255,255);" | Length of ungzipped section 1
|-
|style="background:rgb(255,255,255);" align="center" | 0x0004|style="background:rgb(255,255,255);" | 2 bytes|style="background:rgb(255,255,255);" | File type*
|-
|style="background:rgb(255,255,255);" align="center" | 0x0006|style="background:rgb(255,255,255);" | Varies|style="background:rgb(255,255,255);" | [0x1F8B080000000000...] - Gzip header 1 and data
|-
|style="background:rgb(255,255,255);" align="center" | Varies|style="background:rgb(255,255,255);" | 2 bytes|style="background:rgb(255,255,255);" | Length of gzipped section 2
|-
|style="background:rgb(255,255,255);" align="center" | Varies|style="background:rgb(255,255,255);" | 2 bytes|style="background:rgb(255,255,255);" | Length of ungzipped section 2
|-
|style="background:rgb(255,255,255);" align="center" | Varies|style="background:rgb(255,255,255);" | 2 bytes|style="background:rgb(255,255,255);" | File type*
|-
|style="background:rgb(255,255,255);" align="center" | Varies|style="background:rgb(255,255,255);" | Varies|style="background:rgb(255,255,255);" | [0x1F8B080000000000...] - Gzip header 2 and data
|-
|style="background:rgb(255,255,255);" colspan="3" align="center" | ...
=== TIM texture data format for PSX ===
The [[PSX/TIM_format|TIM files]] are found both on raw format and also within several archives, including [[FF7/Kernel/Low level librariesLow_level_libraries#BIN archive data formatBIN_archive_data_format|BIN]], [[FF7/Kernel/Low level librariesLow_level_libraries#LZS ArchivesLZS_Archives|LZS]], or even MNU. The format proper has the ability to contain 24 bit bitmaps, but is not used in FF7. The format was created because the PSX does not have direct access to it's VRAM, and must go through the [[PSX/GPU|GPU]] for any graphic access. [[PSX/TIM format|A TIM file]] is a clean way to load a texture and color look up table into VRAM.
=== TEX texture data format for the PC ===