RCOXML Sounds: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
Line 5: Line 5:


{{spoiler|RCOXML contents PS3|{{RCOXML contents PS3}}}}
{{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'' ([http://assemblergames.com/l/threads/playstation-sound-artist-dtl-h700-dtl-s710-docs.10146/ SEQ] ?)</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 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''' ||  || <!--If '''audio_channels''' = '''MONO''' this is the size of the whole audio file, if '''STEREO''' -->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 || {{cellcolors|#9999ff}} '''right_channel_size''' ||  || Optional. Only exists if '''audio_channels''' = '''STEREO'''
|-
| 0x10 || 0x04 || {{cellcolors|#9999ff}} '''right_channel_offset''' ||  || Optional. Only exists if '''audio_channels''' = '''STEREO'''
|}


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

Revision as of 07:01, 17 October 2016

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