Talk:RCOXML Animations: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (not much happy with it but is not so bad... now is posible to represent a whole RCO TOC entry of any type)
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Tests=
=Lock and Unlock=
{{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''') ?


==Dual table with common and specific attributes + using the same headers than the tables on [[Resource Container (RCO)]]==
The value 0xffffffff could be bit flags (for all the supported input devices) so is locking/unlocking all them ?
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" 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|00 00 00 48|<Recolour />}}
|-
| colspan="9" {{cellcolors|lightgrey}}
|-
| {{RCO TOC Animations standard attributes|Recolour}}
|-
| colspan="9" {{cellcolors|lightgrey}}
|-
| 0x38 || 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]]
|-
| 0x3C || 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]]
|-
| 0x40 || 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]]
|-
| 0x44 || 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]]
|}

Latest revision as of 05:18, 30 August 2021

Lock and Unlock[edit source]

				<Lock unknownInt0="0xffffffff" />
				<Unlock unknownInt0="0xffffffff" />

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 ?