Difference between revisions of "FF8/FileFormat b0wave"

From QhimmWiki
Jump to navigation Jump to search
Qhimm>MaKiPL
ffrtt>BukTop
m (10 revisions imported)
 
(14 intermediate revisions by 2 users not shown)
Line 3: Line 3:
----
----


b0wave.dat is file containing one 4BPP TIM texture with magic animation sequence, AKAO frame and unknown data, which structure is just like [[FF8/FileFormat_a9btlfnt|a9btlfnt.bft]]. Current structure:
b0wave.dat is file containing one 4BPP TIM texture with magic animation sequence, AKAO frame and font data. Current structure:


{| 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;"
Line 19: Line 19:
|-
|-
| 8
| 8
| Unknown section
| Font Section
| Pointer to unknown section. Data structure is similar to [[FF8/FileFormat_a9btlfnt|a9btlfnt.bft]]
| Pointer to Font Section.
|-
|-
| 12
| 12
Line 34: Line 34:


AKAO frame holds "win" music.
AKAO frame holds "win" music.
==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;"
! 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 texture
|-
| offsetWidths
| offsetData - offsetWidths
| [[#Character widths|Character widths]]
|-
| offsetData
| varies
| TIM Texture
|}
=== Character widths ===
Each width is 4 bits (two widths per byte).

Latest revision as of 04:25, 23 May 2019

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).