D3TV

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(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.
 +
 +
=== AFRM ===
 +
The purpose of this chunk is currently unknown.
  
 
=== AVNE ===
 
=== AVNE ===
Line 28: Line 31:
  
 
=== BPNT ===
 
=== BPNT ===
This chunk contains information about where a button is, and presumably what avenue it is tied to.
+
This chunk contains information about where a button is, and is followed by the connected AVNE chunk. Point fields are repeated for each point in the button.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 37: Line 40:
 
| 0x00 || Chunk identifier (<code>CDTV</code>) || 4
 
| 0x00 || Chunk identifier (<code>CDTV</code>) || 4
 
|-
 
|-
| 0x04 || Chunk size (usually <code>10</code> or <code>14</code>) || 4
+
| 0x04 || Chunk size (minimum of <code>0C</code>, goes up by 4 for each point) || 4
 +
|-
 +
| 0x08 || Point X || 2
 +
|-
 +
| 0x0A || Point Y || 2
 
|}
 
|}
  
Line 81: Line 88:
 
| 0x13 || End point CDDA frames || 1
 
| 0x13 || End point CDDA frames || 1
 
|}
 
|}
 +
 +
=== EVNT ===
 +
What this chunk does is currently unknown.
  
 
=== GRPH ===
 
=== GRPH ===

Revision as of 19:36, 16 October 2020

File Format
Name D3TV
Ontology
Extension(s) .sht, others

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.

AFRM

The purpose of this chunk is currently unknown.

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 is followed by the connected AVNE chunk. Point fields are repeated for each point in the button.

Offset Data Size (in bytes)
0x00 Chunk identifier (CDTV) 4
0x04 Chunk size (minimum of 0C, goes up by 4 for each point) 4
0x08 Point X 2
0x0A Point Y 2

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

EVNT

What this chunk does is currently unknown.

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
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox