Talk:RCOXML Animations: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(14 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"
|+(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:x-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
|}

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 ?