RCOXML Sounds: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(Created page with "=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...")
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Description=
=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 Structure]]
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}}}}
 
=Sounds=
{| class="wikitable"
|-
! Offset !! Length !! Name !! Example !! Notes
|-
| 0x00 || 0x02 || '''file_format''' ||  || <span style="background:#ff9999;">0x0=''unknown'' (WAV ?, or [http://assemblergames.com/l/threads/playstation-sound-artist-dtl-h700-dtl-s710-docs.10146/ SEQ] ?, or...?)</span><br>0x1=VAG
|-
| 0x02 || 0x02 || '''audio_channels''' ||  || 0x1=MONO<br>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 || {{cellcolors|#9999ff}} '''second_channel_size''' ||  || Optional. Only exists if '''audio_channels''' = '''STEREO'''
|-
| 0x10 || 0x04 || {{cellcolors|#9999ff}} '''second_channel_offset''' ||  || Optional. Only exists if '''audio_channels''' = '''STEREO'''
|}


{{File Formats}}
{{File Formats}}
<noinclude>[[Category:Main]]</noinclude>
<noinclude>[[Category:Main]]</noinclude>

Revision as of 03: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