Driver 3 XA: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>DenizOezmen
m (fixes due to title change)
imported>Ikskoks
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 2: Line 2:


== XA ==
== XA ==
{{GRAFPageMisc|format_type={{FormatAudio}}|date_posted=14:15, 3 April 2007 (EDT)}}
{{GRAFPageMisc|Audio}}


=== Format Specifications ===
=== Format Specifications ===
{{GRAFPageFormat|1=
{{GRAFPageFormat|1=
char {4}&nbsp;&nbsp;&nbsp;&nbsp; - identifier {{Constant|("e4x" 92)}}<br>
char {4}&nbsp;&nbsp;&nbsp;&nbsp; - identifier {{Constant|("e4x" 92)}}<br>
uint32 {4}&nbsp;&nbsp; - number of tracks<br>
uint32 {4}&nbsp;&nbsp; - {{Unknown}}<br>
uint32 {4}&nbsp;&nbsp; - sampling rate<br>
uint32 {4}&nbsp;&nbsp; - sampling rate<br>
uint32 {4}&nbsp;&nbsp; - format type {{InlineComment|(possibly only compression flag)}}<br>
uint32 {4}&nbsp;&nbsp; - format type {{InlineComment|(possibly only compression flag)}}<br>
{{BlockDescription|// for each track}}<br>
uint32 {4}&nbsp;&nbsp; - track 0 data offset<br>
:uint32 {4}&nbsp;&nbsp; - track data offset<br>
uint32 {4}&nbsp;&nbsp; - track 1 data offset<br>
{{BlockDescription|// for each track}}<br>
uint32 {4}&nbsp;&nbsp; - track 0 data size<br>
:uint32 {4}&nbsp;&nbsp; - track data size<br>
uint32 {4}&nbsp;&nbsp; - track 1 data size<br>
uint32 {4}&nbsp;&nbsp; - {{Unknown}}<br>
uint32 {4}&nbsp;&nbsp; - {{Unknown}}<br>
{{BlockDescription|// if format tag is 1}}<br>
{{BlockDescription|// if format tag is 1}}<br>
Line 35: Line 35:
=== Notes and Comments ===
=== Notes and Comments ===


The track data can theoretically be stored in different formats: Format type 0 specifies raw uncompressed 16 bit PCM data, while format type 1 tags the data as being compressed by an [http://wiki.multimedia.cx/index.php?title=IMA_ADPCM IMA ADPCM] variant. Since only those two types are currently known to exist, the format type field might actually be just a boolean value.
* The track data can theoretically be stored in different formats: Format type 0 specifies raw uncompressed 16 bit PCM data, while format type 1 tags the data as being compressed by an [http://wiki.multimedia.cx/index.php?title=IMA_ADPCM IMA ADPCM] variant. Since only those two types are currently known to exist, the format type field might actually be just a boolean value.
* If the offset and/or size value for a particular track are 0, then this track does not exist within the file.
* This format also applies to Driver: Parallel Lines with a minor modification: The header identifier is "XA30".


=== MultiEx BMS Script ===
=== MultiEx BMS Script ===
Line 47: Line 49:


=== Games ===
=== Games ===
* [[Driver 3]] [[XA|*.xa]]
* [[Driver 3]] [[Driver: Parallel Lines]] [[XA|*.xa]]


{{GRAFPageFooter}}
{{GRAFPageFooter}}


[[Category:Platform PC|Driver 3 XA]] [[Category:Complete Almost Done|Driver 3 XA]] [[Category:CE Compressed|Driver 3 XA]]
{{DEFAULTSORT:{{PAGENAME}}}}
[[Category:PC formats]]
[[Category:File Format]]

Latest revision as of 12:15, 4 January 2021

Back to index | Edit this page

XA

Format Specifications

char {4}     - identifier ("e4x" 92)

uint32 {4}   - Unknown
uint32 {4}   - sampling rate
uint32 {4}   - format type (possibly only compression flag)
uint32 {4}   - track 0 data offset
uint32 {4}   - track 1 data offset
uint32 {4}   - track 0 data size
uint32 {4}   - track 1 data size
uint32 {4}   - Unknown
// if format tag is 1

uint32 {4}   - block size

// for each track

byte {x}     - padding until track offset
// if format tag is 0
int16 {x}    - raw stereo PCM data
// if format tag is 1
// until track has finished (IMA ADPCM variant blocks)
int16 {2}    - initial sample (left channel)
byte {1}     - initial index (left channel)
byte {1}     - unused (0x00)
int16 {2}    - initial sample (right channel)
byte {1}     - initial index (right channel)
byte {1}     - unused (0x00)
byte {x}     - sample codes (left channel) (first half of block)
byte {x}     - sample codes (right channel) (second half of block)

Notes and Comments

  • The track data can theoretically be stored in different formats: Format type 0 specifies raw uncompressed 16 bit PCM data, while format type 1 tags the data as being compressed by an IMA ADPCM variant. Since only those two types are currently known to exist, the format type field might actually be just a boolean value.
  • If the offset and/or size value for a particular track are 0, then this track does not exist within the file.
  • This format also applies to Driver: Parallel Lines with a minor modification: The header identifier is "XA30".

MultiEx BMS Script

None written yet.

Supported by Programs

XA2WAV

Links

None

Games

Navigation

Jump to a listing by...
All Formats - Common Formats - Standard Formats - Malformed Pages
Platforms
Microsoft:
Xbox
Xbox 360
Nintendo:
GameCube
DS
Desktop:
PC
Sega:
Dreamcast
Sony:
PlayStation
PlayStation 2
PlayStation 3
PlayStation Portable
Type
Animation - Archive - Audio - Image - Mesh - Miscellaneous - Model - Video
Endianness
Little-endian - Big-endian
BMS Scripts
Pages Without a BMS Script

All Pages with Scripts:
Recently Added Scripts

Program Support
No Known Support

MultiEx Commander - Game Extractor

Format Specification Completion
Work in Progress - Almost Done - Completed
Compression and Encryption
No Compression or Encryption Used - Unknown Compression or Encryption Used

One or Both Used:
Compression Used - Both Compression and Encryption Used