RCOXML Objects: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
Line 255: Line 255:
===Text===
===Text===
{{spoiler|standard object attributes|{{RCOXML standard object attributes}}}}
{{spoiler|standard object attributes|{{RCOXML standard object attributes}}}}
{| class="wikitable"
|+specific object attributes (Text)
! colspan="3" | Attribute !! rowspan="2" | How it works !! rowspan="2" | <abbr title="after verifyed this info needs to be moved to the column at left with an explain of how it works">Research notes (partially speculative)</abbr>
|-
! Name !! Type !! Examples
|-
| textText || text ||  ||  ||
|-
| textFont || ref ||  ||  ||
|-{{cellcolors|#DD6666}}
| textUnknownInt27 || int ||  || ? ||
|-{{cellcolors|#DD6666}}
| textUnknownInt29 || int ||  || ? ||
|-
| textSize || float ||  ||  ||
|-
| textTopRed || float ||  ||  ||
|-
| textTopGreen || float ||  ||  ||
|-
| textTopBlue || float ||  ||  ||
|-
| textBottomRed || float ||  ||  ||
|-
| textBottomGreen || float ||  ||  ||
|-
| textBottomBlue || float ||  ||  ||
|-
| textSpacingHorizontal || float ||  ||  ||
|-{{cellcolors|#DD6666}}
| textUnknown37 || unk ||  || ? ||
|-{{cellcolors|#DD6666}}
| textUnknown38 || unk ||  || ? ||
|-{{cellcolors|#DD6666}}
| textUnknown39 || unk ||  || ? ||
|-
| textSpacingVertical || float ||  ||  ||
|-
| textShadowX || float ||  ||  ||
|-
| textShadowY || float ||  ||  ||
|-
| textShadowPerspective || float ||  ||  ||
|-
| textShadowRed || float ||  ||  ||
|-
| textShadowGreen || float ||  ||  ||
|-
| textShadowBlue || float ||  ||  ||
|-
| textShadowAlpha || float ||  ||  ||
|-{{cellcolors|#DD6666}}
| textUnknown48 || unk ||  || ? ||
|-{{cellcolors|#DD6666}}
| textUnknown49 || unk ||  || ? ||
|-{{cellcolors|#DD6666}}
| textUnknown50 || unk ||  || ? ||
|-{{cellcolors|#DD6666}}
| textUnknownFloat51 || float ||  || ? ||
|-{{cellcolors|#DD6666}}
| textUnknownFloat52 || float ||  || ? ||
|-{{cellcolors|#DD6666}}
| textUnknownFloat53 || float ||  || ? ||
|-{{cellcolors|#DD6666}}
| textUnknownFloat54 || float ||  || ? ||
|-{{cellcolors|#DD6666}}
| textUnknown55 || unk ||  || ? ||
|-{{cellcolors|#DD6666}}
| textUnknownInt56 || int ||  || ? ||
|-{{cellcolors|#DD6666}}
| textUnknownInt57 || int ||  || ? ||
|-{{cellcolors|#DD6666}}
| textUnknown58 || unk ||  || ? ||
|}


===ModelObject===
===ModelObject===

Revision as of 07:23, 19 November 2015

Description

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

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

ObjectTree

Page

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

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

Button

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

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

XMList

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

XList

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

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

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

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

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

ObjUnknown0xB

Unknown attributes

XItem

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

Text

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

Spin

Action

ItemSpin

Group

LList

LItem

Edit

Clock

IList

IItem

Icon

UButton

ObjUnknown0x1B

CheckboxGroup

CheckboxItem

Meter

EditBox

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.