March 23, 2008

Custom Sounds

For Those Who Want a bit of help with adding custom sounds here is some stuff to get ya started.

String Example : drwho_cassandra_moisturize

Instace: 0x006F5D87 crc24

Instance High: 0x6982FA9D crc32

0xeb8ab356 is the group ID for your TrackFile and Unknown (0xFF6F5D87)

0x0b8ab3cd is the group ID for your MP3 Sound File

0xADD550A7 is the group ID for your INI Audio File

Unknown (0xFF6F5D87) HEX File Example:

Group: OxEB8AB356 (INI REFERENCE)

Instance: 0xFF06F5D87 (CRC 24 From SoundFx String)

Instance High: 0x6982FA9D (CRC 32 From SoundFx String)

--Unknown-- #MP3 INSTANCE INSTANCE HIGH (MP3 instance)
38 00 00 00 01 00 00 00 95 CD 28 FF 8A 3C CC 96



TRACK (0x0B9EB87E) File Example

Group: 0xEB8AB356 (INI REFERENCE)

Instance: 0xFF06F5D87 (CRC 24 From SoundFx String)

Instance High: 0x6982FA9D (CRC 32 From SoundFx String)

<?xml version="1.0" encoding="UTF-8"?>

<cGZPropertySetUint32>

<AnyUint32 key="0xff099db2" type="0xeb61e4f7">44100</AnyUint32>

<AnyString key="0xff1cdf6a" type="0x0b8bea18">Track</AnyString>

<AnyUint32 key="0xff303b1b" type="0xeb61e4f7">3</AnyUint32>

<AnyUint32 key="0xff3c2160" type="0xeb61e4f7">4285488519</AnyUint32> TRACK INSTANCE

<AnyUint32 key="0xff4c97be" type="0xeb61e4f7">2878355995</AnyUint32>

<AnyUint32 key="0xff53dbf3" type="0xeb61e4f7">790</AnyUint32>

<AnyUint32 key="0xff5f15e1" type="0xeb61e4f7">3911397507</AnyUint32>

<AnyUint32 key="0xff891eaa" type="0xeb61e4f7">2110647613</AnyUint32>

<AnyUint32 key="0xff99d2d5" type="0xeb61e4f7">1770191517</AnyUint32> TRACK INSTANCE HIGH

<AnyUint32 key="0xffa6a614" type="0xeb61e4f7">64</AnyUint32>

<AnyUint32 key="0xffaab623" type="0xeb61e4f7">2</AnyUint32>

<AnyUint32 key="0xffcc156f" type="0xeb61e4f7">1</AnyUint32>

<AnyUint32 key="0xffff3067" type="0xeb61e4f7">2916117068</AnyUint32> MP3 INI (0xADD06A4C)

</cGZPropertySetUint32>

2026960B-6997E472-ADD550A7-FFF85A10.mp3 (INI File)
; This is an audio ini for a download object.
; This file is necessary for the audio resource manager to load sound from a download.
; This file can be used as is for any download.


[PackedDBSegments]

; No sections needed here for downloads, because AudioResourceManager automatically registers any segment with an audio ini record

[TrackDefSegments]
; This group matches the hardcoded one in PackageBuilder
0xeb8ab356=0xeb8ab356

[SampleDataSegments]
; This group matches the hardcoded one in PackageBuilder
0x0b8ab3cd=0x0b8ab3cd