Difference between revisions of "FF8/FileFormat b0wave"
< FF8
Jump to navigation
Jump to search
my_wiki>MaKiPL |
m (10 revisions imported) |
||
(6 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 | + | 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 | ||
− | | | + | | Font Section |
− | | Pointer to | + | | Pointer to Font Section. |
|- | |- | ||
| 12 | | 12 | ||
Line 35: | Line 35: | ||
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;" | {| 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)" | | + | ! style="background:rgb(204,204,204)" | Size |
− | ! style="background:rgb(204,204,204)" | | + | ! style="background:rgb(204,204,204)" | Data |
|- | |- | ||
| 0 | | 0 | ||
− | | | + | | 4 bytes |
− | | | + | | Offset to widths (always 8) |
|- | |- | ||
| 4 | | 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 05: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).