RCOXML Sounds: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (→‎Sounds: maybe is this simple, file_format 0x0 = WAV ?)
Line 11: Line 11:
! Offset !! Length !! Name !! Example !! Notes
! 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
| 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] ?, or WAV ?, or...?)</span><br>0x1=VAG
|-
|-
| 0x02 || 0x02 || '''audio_channels''' ||  || 0x1=MONO<br>0x2=STEREO
| 0x02 || 0x02 || '''audio_channels''' ||  || 0x1=MONO<br>0x2=STEREO
Line 27: Line 27:
| 0x10 || 0x04 || {{cellcolors|#9999ff}} '''right_channel_offset''' ||  || 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 02:07, 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 inside .rco uses .vag format. See Multimedia Formats and Tools

Sounds

Offset Length Name Example Notes
0x00 0x02 file_format 0x0=unknown (SEQ ?, or WAV ?, or...?)
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