Editing Talk:RCOXML Animations

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 1: Line 1:
=Lock and Unlock=
=Tests=
{{Boxcode|code=<syntaxhighlight lang="xml"> <Lock unknownInt0="0xffffffff" /></syntaxhighlight>}}
{{Boxcode|code=<syntaxhighlight lang="xml"> <Unlock unknownInt0="0xffffffff" /></syntaxhighlight>}}
Related with [[VSH Exports#paf]] NID 0x55EE69A7 ('''InputDevice_Lock'''), and NID 0xE26BBDE4 ('''InputDevice_Unlock''') ?


The value 0xffffffff could be bit flags (for all the supported input devices) so is locking/unlocking all them ?
==Dual table with common and specific attributes + using the same headers than the tables on [[Resource Container (RCO)]]==
The purpose is to standarize a bit the tables used in wiki by creating tables that contains templates, and move all the info related to attribute entry types to separated wiki pages
 
Also, is needed to include in the table info about how are represented the values inside the TOC (raw values like in an hexeditor view with offset, length, etc...) and in the RCOXML (values converted to XML), also the data types that indicates the conversion method from TOC to XML for every value
 
{| class="wikitable"
|+(0x09 0x03) Recolour
! colspan="5" | Attribute !! rowspan="2" | How it works
|-
! Name !! Type !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Examples
|-
| object || ref || {{yes}} || {{yes}} || {{icon content ps3|50px}} object:ps3logo || links the animation to an [[RCOXML Objects|object]]
|-
| duration || float || {{yes}} || {{yes}} || 1000 ||
|-
| accelMode || int || {{yes}} || {{yes}} || 0x0 ||
|-
| red || float || {{yes}} || {{yes}} ||  || updates the value of attribute '''ColorScaleR''' from the animated [[RCOXML Objects|object]]
|-
| green || float || {{yes}} || {{yes}} ||  || updates the value of attribute '''ColorScaleG''' from the animated [[RCOXML Objects|object]]
|-
| blue || float || {{yes}} || {{yes}} ||  || updates the value of attribute '''ColorScaleB''' from the animated [[RCOXML Objects|object]]
|-
| alpha || float || {{yes}} || {{yes}} ||  || updates the value of attribute '''ColorScaleA''' from the animated [[RCOXML Objects|object]]
|}
 
{| class="wikitable" style="font-size:small;"
|+Attributes for entry_type 0x09030000 (Recolour)
! rowspan="2" | Offset !! rowspan="2" | Length !! rowspan="2" | Data type !! colspan="2" | Console !! colspan="2" | Example !! rowspan="2" | Name !! rowspan="2" | Notes
|-
! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! HEX !! XML
|-
| 0x00 || 0x08 || reference || {{yes}} || {{yes}} || FF FF 00 00 FF FF FF FF || {{icon content ps3|50px}} object:ps3logo || '''object''' || links the animation to an [[RCOXML Objects|object]]
|-
| 0x08 || 0x04 || float || {{yes}} || {{yes}} || 44 7A 00 00 || 1000 || '''duration''' ||
|-
| 0x0C || 0x04 || integer || {{yes}} || {{yes}} || 00 00 00 03 || 3 || '''accelMode''' ||
|-
| 0x10 || 0x04 || float || {{yes}} || {{yes}} || 3F 80 00 00 || 1 || '''red''' || updates the value of attribute '''ColorScaleR''' from the animated [[RCOXML Objects|object]]
|-
| 0x14 || 0x04 || float || {{yes}} || {{yes}} || 3F 80 00 00 || 1 || '''green''' || updates the value of attribute '''ColorScaleG''' from the animated [[RCOXML Objects|object]]
|-
| 0x18 || 0x04 || float || {{yes}} || {{yes}} || 3F 80 00 00 || 1 || '''blue''' || updates the value of attribute '''ColorScaleB''' from the animated [[RCOXML Objects|object]]
|-
| 0x1C || 0x04 || float || {{yes}} || {{yes}} || 3F 80 00 00 || 1 || '''alpha''' || updates the value of attribute '''ColorScaleA''' from the animated [[RCOXML Objects|object]]
|}
 
<syntaxhighlight lang="xml"><entry duration="1000" /></syntaxhighlight>
 
 
 
{| class="wikitable" style="font-size:small;"
|+RCO TOC entry_type 0x09030000 (Recolour)
! Offset !! Length !! Data type !! Name !! {{icon content psp|50px}} !! {{icon content ps3|50px}} !! Example (HEX) !! Example (RCOXML) !! Notes
|-
| colspan="9" {{cellcolors|lightgrey}}
|-
| {{RCO TOC entry common area|09 03 00 00|FF FF FF FF|<Recolour />}}
|-
| colspan="9" {{cellcolors|lightgrey}}
|-
| {{RCO TOC Animations standard attributes|Recolour}}
|-
| colspan="9" {{cellcolors|lightgrey}}
|-
| 0x10 || 0x04 || float || '''red''' || {{yes}} || {{yes}} || 3F 80 00 00 || <Recolour <span style="color:#000099;">red</span><span style="color:#990000;">="1"</span> /> || updates the value of attribute '''ColorScaleR''' from the animated [[RCOXML Objects|object]]
|-
| 0x14 || 0x04 || float || '''green''' || {{yes}} || {{yes}} || 3F 80 00 00 || <Recolour <span style="color:#000099;">green</span><span style="color:#990000;">="1"</span> /> || updates the value of attribute '''ColorScaleG''' from the animated [[RCOXML Objects|object]]
|-
| 0x18 || 0x04 || float || '''blue''' || {{yes}} || {{yes}} || 3F 80 00 00 || <Recolour <span style="color:#000099;">blue</span><span style="color:#990000;">="1"</span> /> || updates the value of attribute '''ColorScaleB''' from the animated [[RCOXML Objects|object]]
|-
| 0x1C || 0x04 || float || '''alpha''' || {{yes}} || {{yes}} || 3F 80 00 00 || <Recolour <span style="color:#000099;">alpha</span><span style="color:#990000;">="1"</span> /> || updates the value of attribute '''ColorScaleA''' from the animated [[RCOXML Objects|object]]
|}
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)

Template used on this page: