Changes
From Final Fantasy Inside
no edit summary
== font ==
For the field, this is a file for the japanese PSX version only, it adds text characters. In the PC version, the file ''sysfnt.tdw'' in main.fs is used to know the width of each character, the texture part is not used (you can find the used texture in sysfnt.tex in menu.fs).
{| border="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;"
! style="background:rgb(204,204,204)" | Offset
! style="background:rgb(204,204,204)" | Size
! style="background:rgb(204,204,204)" | Data
|-
| 0
| 4 bytes
| Offset to widths (always 8)
|-
| 4
| 4 bytes
| Offset to data
|-
| offsetWidths
| offsetData - offsetWidths
| [[#Character widths|Character widths]]
|-
| offsetData
| varies
| [[#Texture|Texture (TIM)]]
|}
=== Character widths ===
Each width is 4 bits (two widths per byte).
=== Texture ===
Texture is a [[PSX/TIM_format|TIM file]] with 8 colors: dark grey, grey, yellow, red, green, blue, purple and white.
''TODO: Explain the palette mechanism in japanese version (16 pal instead of 8).''
For the field, this is a file for the japanese PSX version only, it adds text characters. In the PC version, the file ''sysfnt.tdw'' in main.fs is used to know the width of each character, the texture part is not used (you can find the used texture in sysfnt.tex in menu.fs).
{| border="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;"
! style="background:rgb(204,204,204)" | Offset
! style="background:rgb(204,204,204)" | Size
! style="background:rgb(204,204,204)" | Data
|-
| 0
| 4 bytes
| Offset to widths (always 8)
|-
| 4
| 4 bytes
| Offset to data
|-
| offsetWidths
| offsetData - offsetWidths
| [[#Character widths|Character widths]]
|-
| offsetData
| varies
| [[#Texture|Texture (TIM)]]
|}
=== Character widths ===
Each width is 4 bits (two widths per byte).
=== Texture ===
Texture is a [[PSX/TIM_format|TIM file]] with 8 colors: dark grey, grey, yellow, red, green, blue, purple and white.
''TODO: Explain the palette mechanism in japanese version (16 pal instead of 8).''