Editing Template:RCO TOC reference types

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 3: Line 3:
! <abbr title="First byte = ref_type, second byte = ref_id, last 2 bytes = padding">reference_type</abbr> !! pointer !! Method !! Loader !! Loads !! From !! Example (XML) !! Notes
! <abbr title="First byte = ref_type, second byte = ref_id, last 2 bytes = padding">reference_type</abbr> !! pointer !! Method !! Loader !! Loads !! From !! Example (XML) !! Notes
|-{{cellcolors|lightgrey}}
|-{{cellcolors|lightgrey}}
| 0xFFFF0000 || 0xFFFFFFFF || ''n/a'' || All || Nothing || None || class="nowrap | {{#tag:syntaxhighlight|<Entry reference="nothing"/>|lang=xml|inline=yes}} ||  
| 0xFFFF0000 || 0xFFFFFFFF || ''n/a'' || All || Nothing || None || class="nowrap | {{#tag:syntaxhighlight|<Entry reference="nothing"/>|lang=xml|enclose=none}} ||  
|-
|-
| rowspan="2" | 0x04000000 || rowspan="2" | <abbr title="relative to the start of the '''event_string_table'''">relative</abbr> || rowspan="2" | '''event:''' || rowspan="2" | [[RCOXML Objects]]<br>[[RCOXML Animations]] || Code function || Associated [[Plugin Interfaces|.SPRX]] || class="nowrap | {{#tag:syntaxhighlight|<Entry event="event:native:/runFuctionX"/>|lang=xml|inline=yes}} ||  
| rowspan="2" | 0x04000000 || rowspan="2" | <abbr title="relative to the start of the '''event_string_table'''">relative</abbr> || rowspan="2" | '''event:''' || rowspan="2" | [[RCOXML Objects]]<br>[[RCOXML Animations]] || Code function || Associated [[Plugin Interfaces|.SPRX]] || class="nowrap | {{#tag:syntaxhighlight|<Entry event="event:native:/runFuctionX"/>|lang=xml|enclose=none}} ||  
|-
|-
| '''ScriptTree'''/[[RCOXML Script|Script]] || File inside [[Resource Container (RCO)|RCO]] || class="nowrap | {{#tag:syntaxhighlight|<Entry event="event:script:/main/runFuctionX"/>|lang=xml|inline=yes}} ||  
| '''ScriptTree'''/[[RCOXML Script|Script]] || File inside [[Resource Container (RCO)|RCO]] || class="nowrap | {{#tag:syntaxhighlight|<Entry event="event:script:/main/runFuctionX"/>|lang=xml|enclose=none}} ||  
|-
|-
| 0x04010000 || <abbr title="The text entry #.  For example, 0 = the first text entry"># (0-based)</abbr> || '''text:''' || [[RCOXML Objects]]<br>[[XMBML Coding|XMBML Code]] || '''TextTree'''/[[RCOXML Texts|Text]] || Strings inside [[Resource Container (RCO)|RCO]] || class="nowrap | {{#tag:syntaxhighlight|<Entry text="text:msg_mytext"/>|lang=xml|inline=yes}} ||  
| 0x04010000 || <abbr title="The text entry #.  For example, 0 = the first text entry"># (0-based)</abbr> || '''text:''' || [[RCOXML Objects]]<br>[[XMBML Coding|XMBML Code]] || '''TextTree'''/[[RCOXML Texts|Text]] || Strings inside [[Resource Container (RCO)|RCO]] || class="nowrap | {{#tag:syntaxhighlight|<Entry text="text:msg_mytext"/>|lang=xml|enclose=none}} ||  
|-
|-
| 0x04020000 || absolute || '''image:''' || [[RCOXML Objects]]<br>[[XMBML Coding|XMBML Code]] || '''ImageTree'''/[[RCOXML Images|Image]] || File inside [[Resource Container (RCO)|RCO]] || class="nowrap | {{#tag:syntaxhighlight|<Entry image="image:tex_mytexture"/>|lang=xml|inline=yes}} ||  
| 0x04020000 || absolute || '''image:''' || [[RCOXML Objects]]<br>[[XMBML Coding|XMBML Code]] || '''ImageTree'''/[[RCOXML Images|Image]] || File inside [[Resource Container (RCO)|RCO]] || class="nowrap | {{#tag:syntaxhighlight|<Entry image="image:tex_mytexture"/>|lang=xml|enclose=none}} ||  
|-
|-
| 0x04030000 || absolute || '''model:''' || [[RCOXML Objects]] || '''ModelTree'''/[[RCOXML Models|Model]] || File inside [[Resource Container (RCO)|RCO]] || class="nowrap | {{#tag:syntaxhighlight|<Entry model="model:mymodel"/>|lang=xml|inline=yes}} ||  
| 0x04030000 || absolute || '''model:''' || [[RCOXML Objects]] || '''ModelTree'''/[[RCOXML Models|Model]] || File inside [[Resource Container (RCO)|RCO]] || class="nowrap | {{#tag:syntaxhighlight|<Entry model="model:mymodel"/>|lang=xml|enclose=none}} ||  
|-{{cellcolors|#ff7777}}
|-{{cellcolors|#ff7777}}
| 0x04040000 || absolute ? || '''sound:''' ? || associated .SPRX || '''SoundTree'''/[[RCOXML Sounds|Sound]] || File inside [[Resource Container (RCO)|RCO]] || class="nowrap | {{#tag:syntaxhighlight|<Entry sound="sound:mysound"/>|lang=xml|inline=yes}} ? || <abbr title=" the reference_types follows the same order than the entry_types for TextTree, ImageTree, ModelTree, SoundTree, FontTree... so is highly probable this is a reference to a sound file from SoundTree">speculation</abbr>
| 0x04040000 || absolute ? || '''sound:''' ? || associated .SPRX || '''SoundTree'''/[[RCOXML Sounds|Sound]] || File inside [[Resource Container (RCO)|RCO]] || class="nowrap | {{#tag:syntaxhighlight|<Entry sound="sound:mysound"/>|lang=xml|enclose=none}} ? || <abbr title=" the reference_types follows the same order than the entry_types for TextTree, ImageTree, ModelTree, SoundTree, FontTree... so is highly probable this is a reference to a sound file from SoundTree">speculation</abbr>
|-
|-
| 0x04050000 || absolute || '''font:''' || [[RCOXML Objects]] || '''FontTree'''/[[RCOXML Fonts|Font]] || File inside [[Resource Container (RCO)|RCO]] ? || class="nowrap | {{#tag:syntaxhighlight|<Entry font="font:fontstyle_sanserif"/>|lang=xml|inline=yes}} ||  
| 0x04050000 || absolute || '''font:''' || [[RCOXML Objects]] || '''FontTree'''/[[RCOXML Fonts|Font]] || File inside [[Resource Container (RCO)|RCO]] ? || class="nowrap | {{#tag:syntaxhighlight|<Entry font="font:fontstyle_sanserif"/>|lang=xml|enclose=none}} ||  
|-{{cellcolors|#ff7777}}
|-{{cellcolors|#ff7777}}
| 0x04060000 || absolute ? || '''anim2:''' ? || [[RCOXML Objects]] ? || '''AnimTree'''/[[RCOXML Animations|Animation]] ? || [[RCOXML Coding|RCOXML code]] ? || class="nowrap | {{#tag:syntaxhighlight|<Entry anim2="anim2:myanimation"/>|lang=xml|inline=yes}} ? || <abbr title="last 4 reference types could be crosslinks in between objecttree and animtree">speculation</abbr>
| 0x04060000 || absolute ? || '''anim2:''' ? || [[RCOXML Objects]] ? || '''AnimTree'''/[[RCOXML Animations|Animation]] ? || [[RCOXML Coding|RCOXML code]] ? || class="nowrap | {{#tag:syntaxhighlight|<Entry anim2="anim2:myanimation"/>|lang=xml|enclose=none}} ? || <abbr title="last 4 reference types could be crosslinks in between objecttree and animtree">speculation</abbr>
|-
|-
| 0x04070000 || absolute || '''object2:''' || [[RCOXML Objects]] || '''ObjectTree'''/[[RCOXML Objects|Object]] || [[RCOXML Coding|RCOXML code]] || class="nowrap | {{#tag:syntaxhighlight|<Entry object2="object2:plane_myplane"/>|lang=xml|inline=yes}} ||  
| 0x04070000 || absolute || '''object2:''' || [[RCOXML Objects]] || '''ObjectTree'''/[[RCOXML Objects|Object]] || [[RCOXML Coding|RCOXML code]] || class="nowrap | {{#tag:syntaxhighlight|<Entry object2="object2:plane_myplane"/>|lang=xml|enclose=none}} ||  
|-
|-
| 0x04080000 || absolute || '''anim:''' || [[RCOXML Animations]] || '''AnimTree'''/[[RCOXML Animations|Animation]] || [[RCOXML Coding|RCOXML code]] || class="nowrap | {{#tag:syntaxhighlight|<Entry anim="anim:myanimation"/>|lang=xml|inline=yes}} ||  
| 0x04080000 || absolute || '''anim:''' || [[RCOXML Animations]] || '''AnimTree'''/[[RCOXML Animations|Animation]] || [[RCOXML Coding|RCOXML code]] || class="nowrap | {{#tag:syntaxhighlight|<Entry anim="anim:myanimation"/>|lang=xml|enclose=none}} ||  
|-
|-
| 0x04090000 || absolute || '''object:''' || [[RCOXML Animations]] || '''ObjectTree'''/[[RCOXML Objects|Object]] || [[RCOXML Coding|RCOXML code]] || class="nowrap | {{#tag:syntaxhighlight|<Entry object="object:plane_myplane"/>|lang=xml|inline=yes}} ||  
| 0x04090000 || absolute || '''object:''' || [[RCOXML Animations]] || '''ObjectTree'''/[[RCOXML Objects|Object]] || [[RCOXML Coding|RCOXML code]] || class="nowrap | {{#tag:syntaxhighlight|<Entry object="object:plane_myplane"/>|lang=xml|enclose=none}} ||  
|}
|}
*A reference attribute is composed by two values, the first is the '''reference_type''' that indicates the "tree" of the entry that is going to be loaded, and the second is a '''pointer''' to a text string with the '''label''' of the entry that is going to be loaded
*A reference attribute is composed by two values, the first is the '''reference_type''' that indicates the "tree" of the entry that is going to be loaded, and the second is a '''pointer''' to a text string with the '''label''' of the entry that is going to be loaded
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)

Templates used on this page: