RCOXML Objects

From PS3 Developer wiki
Revision as of 10:48, 19 November 2015 by Sandungas (talk | contribs) (→‎MItem)
Jump to navigation Jump to search

Description

RCOXML Objects are defined in the XML code embedded inside .rco files. See Resource Container (RCO)

There are a lot of objects, should be considered the "construction blocks" of the XMB

Warning
Standard object attributes are repeated in several object and shares the same names
Specific object attributes listed here has been given an unique name to allow a better identification
The order of objects listed here follows the same order than Rcomage animattribdef-ps3.ini to dont break compatibility with it
This wiki page is only about the object attributes, for more info about how to use and combine to create things with them see: RCOXML Structure and RCOXML Examples

ObjectTree

Page

Info
Standard object attributes: No
Specific object attributes: Yes (5)



specific object attributes (Page)
Attribute How it works Research notes (partially speculative)
Name Type Examples
pageUnknownInt0 int ?
pageOnInit event
pageOnCancel event
pageOnContext event
pageOnActivate event

Plane

Info
Standard object attributes: Yes (21)
Specific object attributes: Yes (2)



specific object attributes (Plane)
Attribute How it works
Name Type Examples
planeImage image
planeDisplayMode int

Button

Info
Standard object attributes: Yes (21)
Specific object attributes: Yes (13)



specific object attributes (Button)
Attribute How it works Research notes (partially speculative)
Name Type Examples
buttonImage image
buttonShadow image
buttonFocus image
buttonText text
buttonOnPush event
buttonOnFocusIn event
buttonOnFocusOut event
buttonOnFocusLeft event
buttonOnFocusRight event
buttonOnFocusUp event
buttonOnFocusDown event
buttonOnContext event
buttonUnknownInt47 int ?

XMenu

Info
Standard object attributes: Yes (21)
Specific object attributes: Yes (6)



specific object attributes (XMenu)
Attribute How it works
Name Type Examples
xmenuMenus int
xmenuOnPush event
xmenuOnContext event
xmenuOnCursorMove event
xmenuOnScrollIn event
xmenuOnScrollOut event

XMList

Info
Standard object attributes: No
Specific object attributes: Yes (3)



specific object attributes (XMList)
Attribute How it works Research notes (partially speculative)
Name Type Examples
xmlistUnknown0 unk ?
xmlistImage image
xmlistText text

XList

Info
Standard object attributes: Yes (21)
Specific object attributes: Yes (8)



specific object attributes (XList)
Attribute How it works Research notes (partially speculative)
Name Type Examples
xlistUnknownInt23 int ?
xlistOnMove event
xlistOnScrollIn event
xlistOnScrollOut event
xlistOnPush event
xlistOnContext event
xlistOnCancel event
xlistUnknownEvent36 event ?

Progress

Info
Standard object attributes: Yes (21)
Specific object attributes: Yes (5)



specific object attributes (Progress)
Attribute How it works Research notes (partially speculative)
Name Type Examples
progressUnknownFloat23 float ?
progressUnknown24 unk ?
progressUnknownRef25 ref ?
progressUnknownRef27 ref ?
progressUnknownRef29 ref ?

Scroll

Info
Standard object attributes: Yes (21)
Specific object attributes: Yes (8)



specific object attributes (Scroll)
Attribute How it works Research notes (partially speculative)
Name Type Examples
scrollUnknownFloat23 float ?
scrollUnknownFloat24 float ?
scrollUnknown25 unk ?
scrollUnknownRef26 ref ?
scrollUnknownRef28 ref ?
scrollUnknownRef30 ref ?
scrollUnknownRef32 ref ?
scrollUnknownRef34 ref ?

MList

Info
Standard object attributes: Yes (21)
Specific object attributes: Yes (19)



specific object attributes (MList)
Attribute How it works Research notes (partially speculative)
Name Type Examples
mlistUnknown23 unk ?
mlistUnknown24 unk ?
mlistUnknown25 unk ?
mlistUnknown26 unk ?
mlistUnknown27 unk ?
mlistUnknown28 unk ?
mlistUnknown29 unk ?
mlistUnknown30 unk ?
mlistUnknownRef32 ref ?
mlistOnPush event
mlistOnCursorMove event
mlistOnFocusIn event
mlistOnFocusOut event
mlistOnFocusLeft event
mlistOnFocusRight event
mlistOnFocusUp event
mlistOnFocusDown event
mlistOnScrollIn event
mlistOnScrollOut event

MItem

Info
Standard object attributes: No
Specific object attributes: Yes (3)



specific object attributes (MItem)
Attribute How it works Research notes (partially speculative)
Name Type Examples
mitemText text
mitemTextAlt text
mitemUnknownRef4 ref ?

ObjUnknown0xB

Info
Standard object attributes: Unknown
Specific object attributes: Unknown



XItem

Info
Standard object attributes: No
Specific object attributes: Yes (3)



specific object attributes (XItem)
Attribute How it works Research notes (partially speculative)
Name Type Examples
xitemImage image
xitemText text
xitemUnknownRef4 ref ?

Text

Info
Standard object attributes: Yes (21)
Specific object attributes: Yes (34)



specific object attributes (Text)
Attribute How it works Research notes (partially speculative)
Name Type Examples
textText text
textFont ref
textUnknownInt27 int ?
textUnknownInt29 int ?
textSize float
textTopRed float
textTopGreen float
textTopBlue float
textBottomRed float
textBottomGreen float
textBottomBlue float
textSpacingHorizontal float
textUnknown37 unk ?
textUnknown38 unk ?
textUnknown39 unk ?
textSpacingVertical float
textShadowX float
textShadowY float
textShadowPerspective float
textShadowRed float
textShadowGreen float
textShadowBlue float
textShadowAlpha float
textUnknown48 unk ?
textUnknown49 unk ?
textUnknown50 unk ?
textUnknownFloat51 float ?
textUnknownFloat52 float ?
textUnknownFloat53 float ?
textUnknownFloat54 float ?
textUnknown55 unk ?
textUnknownInt56 int ?
textUnknownInt57 int ?
textUnknown58 unk ?

ModelObject

Info
Standard object attributes: Yes (21)
Specific object attributes: Yes (1)



specific object attributes (ModelObject)
Attribute How it works
Name Type Examples
modelobjectModel model

Spin

Info
Standard object attributes: Yes (21)
Specific object attributes: Yes (14)



specific object attributes (Spin)
Attribute How it works Research notes (partially speculative)
Name Type Examples
spinUnknown23 unk ?
spinUnknownInt24 int ?
spinUnknownRef25 ref ?
spinUnknownRef27 ref ?
spinOnDecide event
spinOnCancel event
spinOnRollIn event
spinUnknownRef35 ref ?
spinUnknownRef37 ref ?
spinUnknownRef39 ref ?
spinUnknownRef41 ref ?
spinUnknownRef43 ref ?
spinUnknownRef45 ref ?
spinUnknownRef47 ref ?

Action

Info
Standard object attributes: Yes (21)
Specific object attributes: Yes (1)



specific object attributes (Action)
Attribute How it works
Name Type Examples
actionText text

ItemSpin

Info
Standard object attributes: Yes (21)
Specific object attributes: Yes (18)



specific object attributes (ItemSpin)
Attribute How it works Research notes (partially speculative)
Name Type Examples
itemspinUnknownInt23 int ?
itemspinUnknownInt24 int ?
itemspinUnknownInt25 int ?
itemspinUnknownInt26 int ?
itemspinUnknownInt27 int ?
itemspinUnknownFloat28 float ?
itemspinUnknownRef29 ref ?
itemspinUnknownRef31 ref ?
itemspinOnDecide event
itemspinOnCancel event
itemspinUnknownRef37 ref ?
itemspinUnknownRef39 ref ?
itemspinOnFocusIn event
itemspinOnFocusOut event
itemspinOnFocusLeft event
itemspinOnFocusRight event
itemspinObjPrev object
itemspinObjNext object

Group

Info
Standard object attributes: Yes (21)
Specific object attributes: No



LList

Info
Standard object attributes: Yes (21)
Specific object attributes: Yes (13)



specific object attributes (LList)
Attribute How it works Research notes (partially speculative)
Name Type Examples
llistUnknownInt23 int ?
llistUnknown24 unk ?
llistUnknownFloat25 float ?
llistUnknownUnk26 unk ?
llistUnknownUnk27 unk ?
llistUnknownRef28 ref ?
llistUnknownRef30 ref ?
llistUnknownRef32 ref ?
llistUnknownRef34 ref ?
llistUnknownRef36 ref ?
llistUnknownRef38 ref ?
llistUnknownEvent40 event ?
llistUnknownRef42 ref ?

LItem

Info
Standard object attributes: No
Specific object attributes: Yes (3)



specific object attributes (LItem)
Attribute How it works Research notes (partially speculative)
Name Type Examples
litemText text
litemUnknownRef2 ref ?
litemUnknownRef4 ref ?

Edit

Info
Standard object attributes: Yes (21)
Specific object attributes: Yes (15)



specific object attributes (Edit)
Attribute How it works Research notes (partially speculative)
Name Type Examples
editUnknown23 unk ?
editUnknown24 unk ?
editUnknown25 unk ?
editUnknown26 unk ?
editUnknownRef27 ref ?
editUnknownRef29 ref ?
editOnDecide event
editOnCancel event
editUnknownRef35 ref ?
editUnknownRef37 ref ?
editOnFocusLeft event
editOnFocusRight event
editUnknownObject43 object ?
editUnknownObject45 object ?
editUnknownRef47 ref ?

Clock

Info
Standard object attributes: Yes (21)
Specific object attributes: Yes (15)



specific object attributes (Clock)
Attribute How it works Research notes (partially speculative)
Name Type Examples
clockUnknownInt23 int ?
clockUnknownFloat24 float ?
clockText text
clockTextAlt text
clockUnknownRef29 ref ?
clockUnknownRef31 ref ?
clockOnDecide event
clockOnCancel event
clockUnknownRef37 ref ?
clockUnknownRef39 ref ?
clockOnFocusLeft event
clockOnFocusRight event
clockUnknownRef45 ref ?
clockUnknownRef47 ref ?
clockOnTickClock event

IList

Info
Standard object attributes: Yes (21)
Specific object attributes: Yes (9)



specific object attributes (IList)
Attribute How it works Research notes (partially speculative)
Name Type Examples
ilistUnknown23 unk ?
ilistUnknown24 unk ?
ilistUnknownRef25 ref ?
ilistUnknownRef27 ref ?
ilistOnFocusLeft event
ilistOnFocusRight event
ilistUnknownRef33 ref ?
ilistOnFocusDown event
ilistUnknownRef37 ref ?

IItem

Info
Standard object attributes: No
Specific object attributes: Yes (3)



specific object attributes (IItem)
Attribute How it works Research notes (partially speculative)
Name Type Examples
iitemUnknown1 unk ?
iitemText text
iitemTextAlt text

Icon

Info
Standard object attributes: Yes (21)
Specific object attributes: Yes (3)



specific object attributes (Icon)
Attribute How it works Research notes (partially speculative)
Name Type Examples
iconImage image
iconUnknownImage25 image ? shadow ?
iconUnknownImage27 image ? focus ?

UButton

Info
Standard object attributes: Yes (21)
Specific object attributes: Yes (9)



specific object attributes (UButton)
Attribute How it works Research notes (partially speculative)
Name Type Examples
ubuttonImage image
ubuttonOnPush event
ubuttonOnFocusIn event
ubuttonOnFocusOut event
ubuttonOnFocusLeft event
ubuttonOnFocusRight event
ubuttonOnFocusUp event
ubuttonOnFocusDown event
ubuttonUnknownInt39 int ?

ObjUnknown0x1B

Info
Standard object attributes: Unknown
Specific object attributes: Unknown



CheckboxGroup

Info
Standard object attributes: Yes (21)
Specific object attributes: Yes (19)



specific object attributes (CheckboxGroup)
Attribute How it works Research notes (partially speculative)
Name Type Examples
checkboxgroupUnknown23 unk ?
checkboxgroupUnknown24 unk ?
checkboxgroupUnknown25 unk ?
checkboxgroupUnknown26 unk ?
checkboxgroupUnknown27 unk ?
checkboxgroupUnknown28 unk ?
checkboxgroupUnknown29 unk ?
checkboxgroupUnknown30 unk ?
checkboxgroupUnknownRef31 ref ?
checkboxgroupUnknownRef33 ref ?
checkboxgroupOnCursorMove event
checkboxgroupOnFocusIn event
checkboxgroupOnFocusOut event
checkboxgroupOnFocusLeft event
checkboxgroupOnFocusRight event
checkboxgroupOnFocusUp event
checkboxgroupOnFocusDown event
checkboxgroupOnScrollIn event
checkboxgroupUnknownRef51 ref ?

CheckboxItem

Info
Standard object attributes: No
Specific object attributes: Yes (3)



specific object attributes (CheckboxItem)
Attribute How it works Research notes (partially speculative)
Name Type Examples
checkboxitemText text
checkboxitemUnknownRef3 ref ?
checkboxitemUnknownRef5 ref ?

Meter

Info
Standard object attributes: Yes (21)
Specific object attributes: Yes (9)



specific object attributes (Meter)
Attribute How it works Research notes (partially speculative)
Name Type Examples
meterUnknown23 unk ?
meterUnknown24 unk ?
meterUnknown25 unk ?
meterUnknown26 unk ?
meterUnknown27 unk ?
meterUnknownRef28 unk ?
meterUnknownRef30 unk ?
meterUnknownRef32 unk ?
meterUnknownRef34 unk ?

EditBox

Info
Standard object attributes: Yes (21)
Specific object attributes: Yes (43)



specific object attributes (EditBox)
Attribute How it works Research notes (partially speculative)
Name Type Examples
editboxUnknownRef23 ref ?
editboxUnknownRef25 ref ?
editboxUnknown27 unk ?
editboxUnknown28 unk ?
editboxUnknown29 unk ?
editboxUnknownFloat30 float ?
editboxUnknownFloat31 float ?
editboxUnknownFloat32 float ?
editboxUnknownFloat33 float ?
editboxUnknownFloat34 float ?
editboxUnknownFloat35 float ?
editboxUnknown36 unk ?
editboxUnknown37 unk ?
editboxUnknown38 unk ?
editboxUnknown39 unk ?
editboxUnknown40 unk ?
editboxUnknownFloat41 float ?
editboxUnknown42 unk ?
editboxUnknown43 unk ?
editboxUnknownFloat44 float ?
editboxUnknownFloat45 float ?
editboxUnknownFloat46 float ?
editboxUnknownFloat47 float ?
editboxUnknown48 unk ?
editboxUnknown49 unk ?
editboxUnknown50 unk ?
editboxUnknownFloat51 float ?
editboxUnknownFloat52 float ?
editboxUnknownFloat53 float ?
editboxUnknownFloat54 float ?
editboxUnknown55 unk ?
editboxUnknown56 unk ?
editboxUnknown57 unk ?
editboxUnknown58 unk ?
editboxImage image
editboxImage2 image
editboxOnClick event
editboxOnFocusIn event
editboxOnFocusOut event
editboxOnFocusLeft event
editboxOnFocusRight event
editboxOnFocusUp event
editboxOnFocusDown event

Object examples

Changing color, size & shadow of TEXTS

Tutorial link: Changing the XMB Colour

Located into .xml files of .rco files, scale R G B α colors go between 0 to 1.

e.g.: Decimal value divided by 255 to get into this scale.