Driver 3 XA: Difference between revisions
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| | {{GRAFPageMisc|Audio}} | ||
=== Format Specifications === | === Format Specifications === | ||
{{GRAFPageFormat|1= | {{GRAFPageFormat|1= | ||
char {4} - identifier {{Constant|("e4x" 92)}}<br> | char {4} - identifier {{Constant|("e4x" 92)}}<br> | ||
uint32 {4} - | uint32 {4} - {{Unknown}}<br> | ||
uint32 {4} - sampling rate<br> | uint32 {4} - sampling rate<br> | ||
uint32 {4} - format type {{InlineComment|(possibly only compression flag)}}<br> | uint32 {4} - format type {{InlineComment|(possibly only compression flag)}}<br> | ||
{ | uint32 {4} - track 0 data offset<br> | ||
uint32 {4} - track 1 data offset<br> | |||
{ | uint32 {4} - track 0 data size<br> | ||
uint32 {4} - track 1 data size<br> | |||
uint32 {4} - {{Unknown}}<br> | uint32 {4} - {{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: | {{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 type: Audio
- Endianness: Little-endian
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
- 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)
- int16 {2} - initial sample (left channel)
- // until track has finished (IMA ADPCM variant blocks)
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
Links
None