Difference between revisions of "FF8/FileFormat b0wave"

From Final Fantasy Inside
< FF8
Jump to navigation Jump to search
my_wiki>MaKiPL
my_wiki>MaKiPL
(Font Section)
Line 36: Line 36:
  
 
==Font Section==
 
==Font Section==
 +
 +
Copied from myst6re [[FF8/FileFormat_TDW|.TDW file]]
  
 
{| border="1" cellspacing="1" cellpadding="3" align="center" style="border: 1px solid black; border-collapse: collapse;"
 
{| 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)" | Offset
! style="background:rgb(204,204,204)" | Name
+
! style="background:rgb(204,204,204)" | Size
! style="background:rgb(204,204,204)" | Description
+
! style="background:rgb(204,204,204)" | Data
 
|-
 
|-
 
| 0
 
| 0
| UNKNOWN
+
| 4 bytes
| UNKNOWN
+
| Offset to widths (always 8)
 
|-
 
|-
 
| 4
 
| 4
| Pointer to texture
+
| 4 bytes
| Relative pointer to texture with alphabet (JAP+Latin+Numbers)
+
| Offset to texture
 
|-
 
|-
| 8
+
| offsetWidths
| UNKNOWN
+
| offsetData - offsetWidths
| UNKNOWN
+
| [[#Character widths|Character widths]]
 +
|-
 +
| offsetData
 +
| varies
 +
| TIM Texture
 
|}
 
|}
 +
 +
=== Character widths ===
 +
 +
Each width is 4 bits (two widths per byte).

Revision as of 13:31, 21 April 2016

By MaKiPL


b0wave.dat is file containing one 4BPP TIM texture with magic animation sequence, AKAO frame and font data. Current structure:

Offset Name Description
0 Number of sections Number of pointers in file
4 Texture offset (4BPP TIM) Pointer to TIM texture in file (global)
8 Font Section Pointer to Font Section.
12 AKAO Pointer to AKAO frame inside file.
16 EOF Total size (EOF)
  • Pointers and EOF are uint32.

AKAO frame holds "win" music.

Font Section

Copied from myst6re .TDW file

Offset Size Data
0 4 bytes Offset to widths (always 8)
4 4 bytes Offset to texture
offsetWidths offsetData - offsetWidths Character widths
offsetData varies TIM Texture

Character widths

Each width is 4 bits (two widths per byte).