RCOXML Sounds

From PS3 Developer wiki
Revision as of 06:01, 17 October 2016 by Sandungas (talk | contribs) (moved from Resource Container (RCO))
Jump to navigation Jump to search

Description

The sounds inside .rco files are indexed in the embedded RCOXML code of the .rco container under the XML element SoundTree. See Resource Container (RCO) and RCOXML Coding

All the sounds inside .rco uses .vag format. See Multimedia Formats and Tools

Sounds

Offset Length Name Example Notes
0x00 0x02 file_format 0x0=unknown (SEQ ?)
0x1=VAG
0x02 0x02 audio_channels 0x1=MONO
0x2=STEREO
0x04 0x04 file_size either one or two channels, this is the final size of the file stored inside the rco
0x08 0x04 file_offset Offset of the sound data to the beginning of the sound data section
0x0C 0x04 left_channel_size This is the size of left channel file
0x10 0x04 left_channel_offset Offset of left channel VAG to the beginning of the sound data section
0x0C 0x04 right_channel_size Optional. Only exists if audio_channels = STEREO
0x10 0x04 right_channel_offset Optional. Only exists if audio_channels = STEREO