Template:RCO TOC reference types: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
! Reference_type !! Pointer type !! Method !! Loader !! Loads !! From !! Example (XML) !! Notes
! Reference_type !! Pointer type !! Method !! Loader !! Loads !! From !! Example (XML) !! Notes
|-
|-
| rowspan="2" | 0x04000000 || rowspan="2" | relative || rowspan="2" | '''event:''' || rowspan="2" | [[RCOXML Objects]]<br>[[RCOXML Animations]] || code function || associated [[Plugin Interfaces|.SPRX]] || ''event:native:/runFuctionX'' ||  
| rowspan="2" | 0x04000000 || rowspan="2" | relative || rowspan="2" | '''event:''' || rowspan="2" | [[RCOXML Objects]]<br>[[RCOXML Animations]] || code function || associated [[Plugin Interfaces|.SPRX]] || <Entry <span style="color:#000099;">reference</span>=<span style="color:#990000;">"event:native:/runFuctionX"</span>> ||  
|-
|-
| '''VSMXFile'''/[[RCOXML Script]] function || [[VSMX]] inside [[Resource Container (RCO)|RCO]] || ''event:script:/main/runFuctionX'' ||  
| '''VSMXFile'''/[[RCOXML Script]] function || [[VSMX]] inside [[Resource Container (RCO)|RCO]] || <Entry <span style="color:#000099;">reference</span>=<span style="color:#990000;">"event:script:/main/runFuctionX"</span>> ||  
|-
|-
| 0x04010000 || # (0-based) || '''text:''' || [[RCOXML Objects]]<br>[[XMBML Coding|XMBML Code]] || '''TextTree'''/[[RCOXML Texts]] strings || [[Languages|<language>.xml]] inside [[Resource Container (RCO)|RCO]] || ''text:msg_mytext'' ||  
| 0x04010000 || # (0-based) || '''text:''' || [[RCOXML Objects]]<br>[[XMBML Coding|XMBML Code]] || '''TextTree'''/[[RCOXML Texts]] strings || [[Languages|<language>.xml]] inside [[Resource Container (RCO)|RCO]] || <Entry <span style="color:#000099;">reference</span>=<span style="color:#990000;">"text:msg_mytext"</span>> ||  
|-
|-
| 0x04020000 || absolute || '''image:''' || [[RCOXML Objects]]<br>[[XMBML Coding|XMBML Code]] || '''ImageTree'''/[[RCOXML Images]] textures || .GIM .PNG .JPG inside [[Resource Container (RCO)|RCO]] || ''image:tex_mytexture'' ||  
| 0x04020000 || absolute || '''image:''' || [[RCOXML Objects]]<br>[[XMBML Coding|XMBML Code]] || '''ImageTree'''/[[RCOXML Images]] textures || .GIM .PNG .JPG inside [[Resource Container (RCO)|RCO]] || <Entry <span style="color:#000099;">reference</span>=<span style="color:#990000;">"image:tex_mytexture"</span>> ||  
|-
|-
| 0x04030000 || absolute || '''model:''' || [[RCOXML Objects]] || '''ModelTree'''/[[RCOXML Models]] || .GMO inside [[Resource Container (RCO)|RCO]] || ''model:mymodel'' ||  
| 0x04030000 || absolute || '''model:''' || [[RCOXML Objects]] || '''ModelTree'''/[[RCOXML Models]] || .GMO inside [[Resource Container (RCO)|RCO]] || <Entry <span style="color:#000099;">reference</span>=<span style="color:#990000;">"model:mymodel"</span>> ||  
|-{{cellcolors|#ff7777}}
|-{{cellcolors|#ff7777}}
| 0x04040000 || absolute ? || '''sound:''' ? || associated .SPRX || '''SoundTree'''/[[RCOXML Sounds]] || .VAG inside [[Resource Container (RCO)|RCO]] || sound:mysound ? || <abbr title="never found used in RCOXML code... but the reference_types for text, images, model, sound, font... follows the same order than the entry_types for TestTree, ImageTree, ModelTree, SoundTree, FontTree... so is highly probable ths is a reference to a sound file">speculation</abbr>
| 0x04040000 || absolute ? || '''sound:''' ? || associated .SPRX || '''SoundTree'''/[[RCOXML Sounds]] || .VAG inside [[Resource Container (RCO)|RCO]] || <Entry <span style="color:#000099;">reference</span>=<span style="color:#990000;">"sound:mysound"</span>> ? || <abbr title="never found used in RCOXML code... but the reference_types for text, images, model, sound, font... follows the same order than the entry_types for TestTree, ImageTree, ModelTree, SoundTree, FontTree... so is highly probable ths is a reference to a sound file">speculation</abbr>
|-
|-
| 0x04050000 || absolute || '''font:''' || [[RCOXML Objects]] || '''FontTree'''/[[RCOXML Fonts]] styles || ? || ''font:fontstyle_sanserif'' || <abbr title="font management is not fully implemented in rcomage, the pointer could be aiming to one of the '''unknown data tables''' in the RCO header that should be renamed to '''font table'''... so this could be a reference to a font file">speculation</abbr>
| 0x04050000 || absolute || '''font:''' || [[RCOXML Objects]] || '''FontTree'''/[[RCOXML Fonts]] styles || ? || <Entry <span style="color:#000099;">reference</span>=<span style="color:#990000;">"font:fontstyle_sanserif"</span>> || <abbr title="font management is not fully implemented in rcomage, the pointer could be aiming to one of the '''unknown data tables''' in the RCO header that should be renamed to '''font table'''... so this could be a reference to a font file">speculation</abbr>
|-{{cellcolors|#ff7777}}
|-{{cellcolors|#ff7777}}
| 0x04060000 || absolute ? || ''unknown'' ||  ||  ||  ||  || <abbr title="the position matches with the '''unknownTree''' in the RCO header that seems to point to one of the '''unknown data tables''' in the RCO header... so this could be a reference to a file">speculation</abbr>
| 0x04060000 || absolute ? || ''unknown'' ||  ||  ||  ||  || <abbr title="the position matches with the '''unknownTree''' in the RCO header that seems to point to one of the '''unknown data tables''' in the RCO header... so this could be a reference to a file">speculation</abbr>
|-
|-
| 0x04070000 || absolute || '''object2:''' || [[RCOXML Objects]] || '''ObjectTree'''/[[RCOXML Objects]] || [[RCOXML Coding|RCOXML code]] || ''object2:plane_myplane'' || <abbr title="maybe the object2 found is just a variant of object where is specifyed with a sufix the xml hierarchy depth, so to go down in the xml hierarchy maybe is posible to use object3, object4 and so on">speculation</abbr>
| 0x04070000 || absolute || '''object2:''' || [[RCOXML Objects]] || '''ObjectTree'''/[[RCOXML Objects]] || [[RCOXML Coding|RCOXML code]] || <Entry <span style="color:#000099;">reference</span>=<span style="color:#990000;">"object2:plane_myplane"</span>> || <abbr title="maybe the object2 found is just a variant of object where is specifyed with a sufix the xml hierarchy depth, so to go down in the xml hierarchy maybe is posible to use object3, object4 and so on">speculation</abbr>
|-
|-
| 0x04080000 || absolute || '''anim:''' || [[RCOXML Animations]] || '''AnimTree'''/[[RCOXML Animations]] || [[RCOXML Coding|RCOXML code]] || ''anim:myanimation'' ||  
| 0x04080000 || absolute || '''anim:''' || [[RCOXML Animations]] || '''AnimTree'''/[[RCOXML Animations]] || [[RCOXML Coding|RCOXML code]] || <Entry <span style="color:#000099;">reference</span>=<span style="color:#990000;">"anim:myanimation"</span>> ||  
|-
|-
| 0x04090000 || absolute || '''object:''' || [[RCOXML Animations]] || '''ObjectTree'''/[[RCOXML Objects]] || [[RCOXML Coding|RCOXML code]] || ''object:plane_myplane'' ||  
| 0x04090000 || absolute || '''object:''' || [[RCOXML Animations]] || '''ObjectTree'''/[[RCOXML Objects]] || [[RCOXML Coding|RCOXML code]] || <Entry <span style="color:#000099;">reference</span>=<span style="color:#990000;">"object:plane_myplane"</span>> ||  
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
| 0xFFFF0000 || 0xFFFFFFFF || '''nothing''' ||  ||  ||  ||  ||  
| 0xFFFF0000 || 0xFFFFFFFF || '''nothing''' ||  ||  ||  ||  ||  
|}<noinclude>[[Category:Templates]]</noinclude>
|}<noinclude>[[Category:Templates]]</noinclude>

Revision as of 11:15, 26 September 2016

RCO TOC reference types
Reference_type Pointer type Method Loader Loads From Example (XML) Notes
0x04000000 relative event: RCOXML Objects
RCOXML Animations
code function associated .SPRX <Entry reference="event:native:/runFuctionX">
VSMXFile/RCOXML Script function VSMX inside RCO <Entry reference="event:script:/main/runFuctionX">
0x04010000 # (0-based) text: RCOXML Objects
XMBML Code
TextTree/RCOXML Texts strings <language>.xml inside RCO <Entry reference="text:msg_mytext">
0x04020000 absolute image: RCOXML Objects
XMBML Code
ImageTree/RCOXML Images textures .GIM .PNG .JPG inside RCO <Entry reference="image:tex_mytexture">
0x04030000 absolute model: RCOXML Objects ModelTree/RCOXML Models .GMO inside RCO <Entry reference="model:mymodel">
0x04040000 absolute ? sound: ? associated .SPRX SoundTree/RCOXML Sounds .VAG inside RCO <Entry reference="sound:mysound"> ? speculation
0x04050000 absolute font: RCOXML Objects FontTree/RCOXML Fonts styles ? <Entry reference="font:fontstyle_sanserif"> speculation
0x04060000 absolute ? unknown speculation
0x04070000 absolute object2: RCOXML Objects ObjectTree/RCOXML Objects RCOXML code <Entry reference="object2:plane_myplane"> speculation
0x04080000 absolute anim: RCOXML Animations AnimTree/RCOXML Animations RCOXML code <Entry reference="anim:myanimation">
0x04090000 absolute object: RCOXML Animations ObjectTree/RCOXML Objects RCOXML code <Entry reference="object:plane_myplane">
0xFFFF0000 0xFFFFFFFF nothing