RCOXML Objects

From PS3 Developer wiki
Revision as of 10:40, 21 November 2015 by Sandungas (talk | contribs) (→‎Text)
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

Template:BoxwarningRCOXMLObjects

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 0x1110000 ? used 1174 times in retail firmware 4.76 all them with value: 0x1110000
pageOnInit event event:native:/OnControlPanelButtonInit
pageOnCancel event event:native:/OnControlPanelButtonCancel
pageOnContext event event:native:/OnControlPanelButtonContextMenu
pageOnActivate event event:native:/OnControlPanelButtonActivate

Plane

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



specific object attributes (Plane)
Attribute How it works Research notes (partially speculative)
Name Type Examples
planeImage image image:tex_indi_message Loads a image from ImageTree
planeDisplayMode int 0x0
0x1
0x3
0xffff0000
used 2599 times in firmware 4.76 with values: "0x0" (2426 times), "0x1" (38 times), "0x3" (123 times), "0xffff0000" (12 times)

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 image:tex_cp_volume Loads a image from ImageTree
buttonShadow image image:tex_cp_volume_shadow Loads a image from ImageTree
buttonFocus image image:tex_cp_volume_focus Loads a image from ImageTree
buttonText text text:msg_ok Loads a text from TextTree
buttonOnPush event event:native:/AudioPlayerPlugin::OnVolumeButtonPush
buttonOnFocusIn event event:native:/AudioPlayerPlugin::OnViewControlPanelButtonFocusIn
buttonOnFocusOut event event:native:/AudioPlayerPlugin::OnViewControlPanelButtonFocusOut
buttonOnFocusLeft event event:native:/AudioPlayerPlugin::OnControlPanelButtonFocusNaviLeft
buttonOnFocusRight event event:native:/AudioPlayerPlugin::OnControlPanelButtonFocusNaviRight
buttonOnFocusUp event event:native:/AudioPlayerPlugin::OnControlPanelButtonFocusNaviUp
buttonOnFocusDown event event:native:/AudioPlayerPlugin::OnControlPanelButtonFocusNaviDown
buttonOnContext event event:native:/VideoEditorUpload::ServiceSelect::OnContextMenuButton1
buttonUnknownInt47 int 0x0
0xffffffff
? used 624 times in firmware 4.76 with values: "0x0" (560 times), or "0xffffffff" (64 times)

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 0xa number of main icons of XMB (10 categories)
xmenuOnPush event event:native:/Bar::onPush
xmenuOnContext event event:native:/Bar::onContextMenu
xmenuOnCursorMove event event:native:/Bar::onCursorMove
xmenuOnScrollIn event event:native:/Bar::onScrollIn
xmenuOnScrollOut event event:native:/Bar::onScrollOut

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 0x0 ? used 20 times in firmware 4.76 all them with value "0x0"
xmlistImage image image:tex_game Loads a image from ImageTree
xmlistText text text:msg_game Loads a text from TextTree

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 0x0 ? used 18 times in firmware 4.76 all them with value "0x0"
xlistOnCursorMove event event:native:/XmbMenu::OnCursorMoveXmList
xlistOnScrollIn event event:native:/XmbMenu::OnScrollInXmList
xlistOnScrollOut event event:native:/OnScrollOut_VmcAppearSettingList
xlistOnPush event event:native:/OnPush_VmcAppearSettingList
xlistOnContext event used 18 times in 4.76 firmware all them with value "nothing" (so no example available). Maybe is "onDecide" ? (because onDecide uses to appear before onCancel)
xlistOnCancel event event:native:/OnCancelMenuGameConfig
xlistUnknownEvent36 event nothing ? used 18 times in firmware 4.76 all them with value "nothing"

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 100
1
? used 52 times in 4.76 firmware with values: "100" (50 times), "1" (2 times)
progressUnknown24 unk ? used 52 times in 4.76 firmware all them wit value "0x0"
progressImage image image:tex_progress_bar empty progress bar
progressImage2 image image:tex_progress_bar_in filled progress bar
progressUnknownRef29 ref ? used 52 times in 4.76 firmware all them wit value "nothing"

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 ? used 88 times in 4.76 firmware all them with value "100"
scrollUnknownFloat24 float ? used 88 times in 4.76 firmware all them with value "100"
scrollUnknown25 unk ? used 88 times in 4.76 firmware all them with value "0x0"
scrollUnknownRef26 ref ? used 88 times in 4.76 firmware all them with value "nothing"
scrollUnknownRef28 ref ? used 88 times in 4.76 firmware all them with value "nothing"
scrollUnknownRef30 ref ? used 88 times in 4.76 firmware all them with value "nothing"
scrollUnknownRef32 ref ? used 88 times in 4.76 firmware all them with value "nothing"
scrollUnknownRef34 ref ? used 88 times in 4.76 firmware all them with value "nothing"

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 ? used 409 times in 4.76 firmware with values: 0x17000000 (1 time), 0x16000000 (1 time), 0x15000000 (127 times), 0x12000000 (14 times), 0x10000000 (4 times), 0xe000000 (31 times), 0xc000000 (5 times), 0xa000000 (2 times), 0x9000000 (5 times), 0x8000000 (6 times), 0x7000000 (20 times), 0x6000000 (104 times), 0x5000000 (3 times), 0x4000000 (9 times), 0x3000000 (13 times), 0x2000000 (39 times), 0x1000000 (20 times), 0x0 (5 times)
mlistUnknown24 unk ? used 409 times in 4.76 firmware all them with value "0x0"
mlistUnknown25 unk ? used 409 times in 4.76 firmware with values: 0x0 (7 times), 0x1 (7 times), 0x2 (8 times), 0x3 (6 times), 0x4 (4 times), 0x5 (6 times), 0x6 (2 times), 0xa (2 times), 0xb (2 times), 0xd (2 times), 0xffffffff (363 times)
mlistUnknown26 unk ? used 409 times in 4.76 firmware with values: 0x0 (395 times), 0x1000000 (10 times), 0x2000000 (4 times)
mlistUnknown27 unk ? used 409 times in 4.76 firmware all them with value "0x0"
mlistUnknown28 unk ? used 409 times in 4.76 firmware with values: 0x0 (333 times), 0x4c090100 (6 times), 0x7f090100 (1 times), 0x1f070100 (8 times), 0x1f070000 (14 times), 0x69070000 (39 times), 0xc4040000 (8 times)
mlistUnknown29 unk ? used 409 times in 4.76 firmware with values: 0x0 (208 times), 0x95080000 (1 time), 0xdc050000 (1 time), 0xe7050000 (2 times), 0xe0050000 (1 time), 0x3a040000 (4 times), 0x83040000 (2 times), 0x7f030000 (125 times), 0x87040000 (2 times), 0xc7020000 (1 time), 0xfc010000 (15 times), 0x21030000 (2 times), 0x1e030000 (5 times), 0x3f040000 (2 times), 0x20070000 (4 times), 0x63070000 (31 times), 0xbf070000 (2 times), 0x8f030000 (1 time)
mlistUnknown30 unk ? used 409 times in 4.76 firmware with values: 0x0 (282 times), 0xe8050000 (2 times), 0x80030000 (125 times)
mlistUnknownRef32 ref ? used 409 times in 4.76 firmware all them with value "nothing" (probably is an event)
mlistOnPush event event:native:/OnSettingPagePushList
mlistOnCursorMove event event:native:/OnSettingPageCursorMoveList
mlistOnFocusIn event event:native:/Bookmark::onBookmarkListFocusIn
mlistOnFocusOut event event:native:/Menu::cbFocusOut
mlistOnFocusLeft event event:native:/Menu::cbFocusLeft
mlistOnFocusRight event event:native:/Menu::cbFocusRight
mlistOnFocusUp event event:native:/Menu::cbFocusUp
mlistOnFocusDown event event:native:/cbFocusDown
mlistOnScrollIn event event:native:/cbScrollIn
mlistOnScrollOut event event:native:/cbScrollOut

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
mitemTextOrImage1 text text:msg_latin2_852
image:tex_vc_mpeg2
weird, in videoeditor_plugin.rco is an image (used 5 times), but in the others is a text (used 1053 times), or "nothing" (used 68 times)
mitemTextOrImage2 text text:msg_centraleurope_1250
image:tex_search
weird, in webbrowser_plugin.rco is used as an image
mitemTextOrImage3 text text:msg_none
image:tex_search_s
? weird, used 1126 times in 4.76 firmware with values: "nothing" (1093 times), with an "image" (32 times), or with a text (1 time)

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 Object not used in PS3 firmware
xitemText text Object not used in PS3 firmware
xitemUnknownRef4 ref ? Object not used in PS3 firmware

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 text:msg_pw_changed
textFont ref font:fontstyle_light
textUnknownInt27 int ? used 1305 times in 4.76 firmware with values: "0x1" (351 times), "0x101" (3 times), "0x10001" (246 times), "0x1000101" (70 times), "0x1010001" (148 times), "0x1010101" (3 times), "0x1000001" (384 times), "0x2000001" (96 times), "0x2010001" (4 times)
textUnknownInt29 int ? used 1305 times in 4.76 firmware with values: "0x1000000" (1275 times) or "0x0" (30 times)
textSize float 10
8.19
7.605
0
textTopRed float 1
0.5
0
textTopGreen float
textTopBlue float
textBottomRed float
textBottomGreen float
textBottomBlue float
textSpacingHorizontal float 0
textUnknown37 unk ? used 1305 times in 4.76 firmware all them with value "0x0"
textUnknown38 unk ? used 1305 times in 4.76 firmware all them with value "0x0"
textUnknown39 unk ? used 1305 times in 4.76 firmware all them with value "0x0"
textSpacingVertical float 0
2
textShadowX float 0
4
textShadowY float 0
-5
textShadowPerspective float 0
textShadowRed float 0
0.25
0.9
textShadowGreen float
textShadowBlue float
textShadowAlpha float 1
0
textUnknown48 unk ? used 1305 times in 4.76 firmware all them with value "0x0"
textUnknown49 unk ? used 1305 times in 4.76 firmware all them with value "0x0"
textUnknown50 unk ? used 1305 times in 4.76 firmware all them with value "0x0"
textUnknownFloat51 float ? used 1305 times in 4.76 firmware all them with value "1"
textUnknownFloat52 float ? used 1305 times in 4.76 firmware all them with value "1"
textUnknownFloat53 float ? used 1305 times in 4.76 firmware all them with value "1"
textUnknownFloat54 float ? used 1305 times in 4.76 firmware all them with value "1"
textUnknown55 unk ? used 1305 times in 4.76 firmware with values: "0xffffffff" (719 times) or "0x0" (586 times)
textUnknownInt56 int ? used 1305 times in 4.76 firmware with values: "0x3", "0x13", "0x14", "0x15", "0x17", "0x10013", "0x10014", "0x10015", "0x10016", "0x5f2", "0x5f5", "0x6bd", "0x6d7", etc... (seems to follow some rules, but varies too much to find a pattern)
textUnknownInt57 int ? used 1305 times in 4.76 firmware with values: "0x3" (1235 times), "0x1be" (2 times), "0x1039a" (19 times), "0x10b48" (4 times), "0x10f77" (2 times), etc... (seems to follow some rules, but varies too much to find a pattern)
textUnknown58 unk ? used 1305 times in 4.76 firmware all them with value "0x0"

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 ?
llistOnScrollIn event event:native:/OnScrollInListEdyViewer ?
llistUnknownRef42 ref ? OnScrollOut ?

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
editObject1 object object2:ipaddr_network_address_setting_ipaddress ? "object2" used here replacing pad directions ?
editObject2 object object2:ipaddr_network_address_setting_defaultrooter ? "object2" used here replacing pad directions ?
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 ? onFocusUp ?
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 0x0 ? used 136 times in firmware 4.76 all them with value "0x0"
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 nothing ? used 23 times in firmware 4.76, all them with the value "nothing"
checkboxgroupUnknownRef33 ref ?
checkboxgroupOnCursorMove event
checkboxgroupOnFocusIn event
checkboxgroupOnFocusOut event
checkboxgroupOnFocusLeft event
checkboxgroupOnFocusRight event
checkboxgroupOnFocusUp event
checkboxgroupOnFocusDown event
checkboxgroupOnScrollIn event
checkboxgroupUnknownRef51 ref nothing ? used 23 times in firmware 4.76, all them with the value "nothing" (onScrollOut ?)

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 nothing ? used 2 times in 4.76 firmware, all them with the value "nothing"
checkboxitemUnknownRef5 ref nothing ? used 2 times in 4.76 firmware, all them with the value "nothing"

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 image:avc2_main_back_paper
editboxImage2 image image:avc2_main_back_paper name is too generic, is better a more explicit name as "focus" or "shadow"
editboxOnPush 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.