Wave Dictionary: Difference between revisions

m
No edit summary
 
(12 intermediate revisions by 3 users not shown)
Line 10:
| 0x00 || uint32_t || <code>0x809</code> || Magic number.
|-
| 0x04 || uint32_t || || UsuallyThe 0.single byte at 0x04 seems to be a Big Endian bool.
|-
| 0x08 || uintptr_t || || Pointer to audio data.
Line 16:
| 0x0C || [[Wave Dictionary#RwaWaveDict|RwaWaveDict]]* || || Pointer to wave dictionary.
|-
| 0x10 || uint32_t || || If value at <code>0x04</code> is non-zero then this will be, too.
|-
| 0x14 || uint32_t || || Audio data size. ‎
|-
| 0x18 || [[Wave Dictionary#RwaUUID|RwaUUID]] || style="text-align:right" | Xbox: <code>73F2018B 75DFF081 4BC8E45F 453A2D04</code><br>‎‎‎‎PS2: <code>5393C7DB EA6481AE 4917FC38 AAEAC9AC</code><br>GCN: <code>48F6C70A 72142484 6A4279E1 D3329DFD</code> || Platform UUID.
|-
| 0x28 || uintptr_t || || Pointer to audio data.
Line 50:
| 0x00 || RwaUUID* || uuid
|-
| 0x04 || char* || uniqueNamename
|-
| 0x08 || uint32_t || flags
Line 85:
! Type
! Name
! Description
|-
| 0x00 || uint32_t || uniqueIDsampleRate ||
|-
| 0x04 || uint32_t || dataType || 0: Sony PS ADPCM<br>1: Signed 16-bit PCM<br>3: Nintendo DSP ADPCM<br>4: Xbox IMA ADPCM
| 0x04 || RwaUUID* || dataType
|-
| 0x08 || uint32_t || length ||
|-
| 0x0C || uint8_t || bitDepth ||
|-
| 0x0D || uint8_t || noChannels ||
|-
| 0x10 || void* || miscData || Has a "00: GCN ADPCM Header" chunk which contains Nintendo DSP ADPCM coefficients and initial history data.
| 0x10 || void* || miscData
|-
| 0x14 || uint32_t || miscDataSize ||
|-
| 0x18 || uint8_t || flags ||
|-
| 0x1C0x19 || uint8_t || reserved ||
|-
|}
Line 114 ⟶ 115:
| 0x00 || RwaUniqueID || uniqueID
|-
| 0x0C || RwaLLNodeRwaWaveDef* || waveListHeadwaveDef
|-
| 0x140x10 || int8_tRwaWaveFormat || flagsAuxformat
|-
| 0x150x2C || int8_tRwaWaveFormat || flagstargetFormat
|-
| 0x180x48 || RwLLLinkuint32_t || linkuncompressedLength
|-
| 0x200x4C || void* || dumpAddrdata
|-
| 0x240x50 || void* || waveRAMHandlestate
|-
| 0x280x54 || void*uint32_t || waveRAMSizeflags
|-
| 0x58 || RwaObj* || obj
|-
|}
 
 
[[Category:Formats_(Takedown-Dominator)]]