D3TV
m (got my offsets slightly off) |
(added info about other chunks, still incomplete) |
||
Line 11: | Line 11: | ||
== Chunks == | == Chunks == | ||
These files contain many different chunks for different types of game data. All offsets mentioned are relative to the start of the chunk identifier. | These files contain many different chunks for different types of game data. All offsets mentioned are relative to the start of the chunk identifier. | ||
+ | |||
+ | === AVNE === | ||
+ | This chunk contains information about "avenues", which are links to other shots. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Offset | ||
+ | ! Data | ||
+ | ! Size (in bytes) | ||
+ | |- | ||
+ | | 0x00 || Chunk identifier (<code>AVNE</code>) || 4 | ||
+ | |- | ||
+ | | 0x04 || Chunk size (always <code>30</code>) || 4 | ||
+ | |- | ||
+ | | 0x08 || Shot path || unknown | ||
+ | |} | ||
+ | |||
+ | === BPNT === | ||
+ | This chunk contains information about where a button is, and presumably what avenue it is tied to. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Offset | ||
+ | ! Data | ||
+ | ! Size (in bytes) | ||
+ | |- | ||
+ | | 0x00 || Chunk identifier (<code>CDTV</code>) || 4 | ||
+ | |- | ||
+ | | 0x04 || Chunk size (usually <code>10</code> or <code>14</code>) || 4 | ||
+ | |} | ||
+ | |||
+ | === CAUD === | ||
+ | This chunk sets the audio sample or module to be played when entering a shot, or when activating a button. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Offset | ||
+ | ! Data | ||
+ | ! Size (in bytes) | ||
+ | |- | ||
+ | | 0x00 || Chunk identifier (<code>CAUD</code>) || 4 | ||
+ | |- | ||
+ | | 0x04 || Chunk size (always <code>30</code>) || 4 | ||
+ | |- | ||
+ | | 0x08 || Audio path || unknown | ||
+ | |} | ||
=== CDTV === | === CDTV === | ||
Line 22: | Line 65: | ||
| 0x00 || Chunk identifier (<code>CDTV</code>) || 4 | | 0x00 || Chunk identifier (<code>CDTV</code>) || 4 | ||
|- | |- | ||
− | | 0x04 || Chunk size ( | + | | 0x04 || Chunk size (always <code>1C</code>) || 4 |
|- | |- | ||
| 0x09 || CD Track || 1 | | 0x09 || CD Track || 1 | ||
Line 37: | Line 80: | ||
|- | |- | ||
| 0x13 || End point CDDA frames || 1 | | 0x13 || End point CDDA frames || 1 | ||
+ | |} | ||
+ | |||
+ | === GRPH === | ||
+ | This chunk gets the image or animation for the shot, and sets some extra details about it. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! Offset | ||
+ | ! Data | ||
+ | ! Size (in bytes) | ||
+ | |- | ||
+ | | 0x00 || Chunk identifier (<code>GRPH</code>) || 4 | ||
+ | |- | ||
+ | | 0x04 || Chunk size (always <code>9C</code>) || 4 | ||
+ | |- | ||
+ | | 0x08 || Graphic path || unknown | ||
+ | |- | ||
|} | |} |
Revision as of 17:18, 16 October 2020
D3TV files are game data files used by the v3.x of the D.U.N.E (Developers Universal Non-programming Environment) Engine, which added support for CD Audio with the Commodore CDTV. These files usually correspond to individual "shots" in a DUNE game, and are based on the IFF metaformat.
Contents |
Identification
D3TV files begin with FORM
, have the file-size in bytes starting at offset 4, and have a type indicator of D3TV
at offset 8.
Chunks
These files contain many different chunks for different types of game data. All offsets mentioned are relative to the start of the chunk identifier.
AVNE
This chunk contains information about "avenues", which are links to other shots.
Offset | Data | Size (in bytes) |
---|---|---|
0x00 | Chunk identifier (AVNE ) |
4 |
0x04 | Chunk size (always 30 ) |
4 |
0x08 | Shot path | unknown |
BPNT
This chunk contains information about where a button is, and presumably what avenue it is tied to.
Offset | Data | Size (in bytes) |
---|---|---|
0x00 | Chunk identifier (CDTV ) |
4 |
0x04 | Chunk size (usually 10 or 14 ) |
4 |
CAUD
This chunk sets the audio sample or module to be played when entering a shot, or when activating a button.
Offset | Data | Size (in bytes) |
---|---|---|
0x00 | Chunk identifier (CAUD ) |
4 |
0x04 | Chunk size (always 30 ) |
4 |
0x08 | Audio path | unknown |
CDTV
This chunk refers to CD Audio that is played immediately when a shot is entered.
Offset | Data | Size (in bytes) |
---|---|---|
0x00 | Chunk identifier (CDTV ) |
4 |
0x04 | Chunk size (always 1C ) |
4 |
0x09 | CD Track | 1 |
0x0D | Start point minutes | 1 |
0x0E | Start point seconds | 1 |
0x0F | Start point CDDA frames | 1 |
0x11 | End point minutes | 1 |
0x12 | End point seconds | 1 |
0x13 | End point CDDA frames | 1 |
GRPH
This chunk gets the image or animation for the shot, and sets some extra details about it.
Offset | Data | Size (in bytes) |
---|---|---|
0x00 | Chunk identifier (GRPH ) |
4 |
0x04 | Chunk size (always 9C ) |
4 |
0x08 | Graphic path | unknown |