RCOXML Sounds: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
Line 2: Line 2:
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]]
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]]
All the sounds found inside official PS3 .rco uses .vag format (this is speculation, has not been verifyed accuratelly). See [[Multimedia Formats and Tools]]


{{spoiler|RCOXML contents PS3|{{RCOXML contents PS3}}}}
{{spoiler|RCOXML contents PS3|{{RCOXML contents PS3}}}}

Revision as of 02:26, 22 October 2018

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 found inside official PS3 .rco uses .vag format (this is speculation, has not been verifyed accuratelly). See Multimedia Formats and Tools

Sounds

Offset Length Name Example Notes
0x00 0x02 file_format 0x0=unknown (WAV ?, or SEQ ?, or...?)
0x1=VAG
0x02 0x02 audio_channels 0x1=MONO
0x2=STEREO
0x04 0x04 file_size Either one or two channels, this is the sum of first_channel_size + second_channel_size
0x08 0x04 file_offset Relative offset of the sound data, from the start of the sound data table
0x0C 0x04 first_channel_size Size of the left channel
0x10 0x04 first_channel_offset Relative offset of the left channel, from the start of the sound data table
0x0C 0x04 second_channel_size Optional. Only exists if audio_channels = STEREO
0x10 0x04 second_channel_offset Optional. Only exists if audio_channels = STEREO