D3TV

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(GRPH)
 
(One intermediate revision by one user not shown)
Line 38: Line 38:
 
! Size (in bytes)
 
! Size (in bytes)
 
|-
 
|-
| 0x00 || Chunk identifier (<code>CDTV</code>) || 4
+
| 0x00 || Chunk identifier (<code>BPNT</code>) || 4
 
|-
 
|-
 
| 0x04 || Chunk size (minimum of <code>0C</code>, goes up by 4 for each point) || 4
 
| 0x04 || Chunk size (minimum of <code>0C</code>, goes up by 4 for each point) || 4
Line 90: Line 90:
  
 
=== EVNT ===
 
=== EVNT ===
What this chunk does is currently unknown.
+
This chunk seems to related an avenue to either a button press or time elapsing. Usually followed by an AVNE and sometimes a BPNT.
 +
 
 +
{| class="wikitable"
 +
! Offset
 +
! Data
 +
! Size (in bytes)
 +
|-
 +
| 0x00 || Chunk identifier (<code>EVNT</code>) || 4
 +
|-
 +
| 0x04 || Chunk size (always <code>2C</code>) || 4
 +
|-
 +
| 0x15 || Timer length (?) || 1
 +
|-
 +
|}
  
 
=== GRPH ===
 
=== GRPH ===
Line 104: Line 117:
 
| 0x04 || Chunk size (always <code>9C</code>) || 4
 
| 0x04 || Chunk size (always <code>9C</code>) || 4
 
|-
 
|-
| 0x08 || Graphic path || unknown
+
| 0x08 || Graphic path (null-terminated string) || unknown
 
|-
 
|-
 +
| 0x8E || Frames || 2
 
|}
 
|}

Latest revision as of 05:21, 17 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

[edit] 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.

[edit] 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.

[edit] AFRM

The purpose of this chunk is currently unknown.

[edit] 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

[edit] 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 (BPNT) 4
0x04 Chunk size (minimum of 0C, goes up by 4 for each point) 4
0x08 Point X 2
0x0A Point Y 2

[edit] 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

[edit] 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

[edit] EVNT

This chunk seems to related an avenue to either a button press or time elapsing. Usually followed by an AVNE and sometimes a BPNT.

Offset Data Size (in bytes)
0x00 Chunk identifier (EVNT) 4
0x04 Chunk size (always 2C) 4
0x15 Timer length (?) 1

[edit] 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 (null-terminated string) unknown
0x8E Frames 2
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox