Talk:RCOXML Objects: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
Line 20: Line 20:
| ZN3paf7Ph'''Plane'''10WidgetTypeEv || {{cellcolors|#00aa00}} <abbr title="the unnofficial name matches with the official name">'''Plane'''</abbr> || 0x02 ||  
| ZN3paf7Ph'''Plane'''10WidgetTypeEv || {{cellcolors|#00aa00}} <abbr title="the unnofficial name matches with the official name">'''Plane'''</abbr> || 0x02 ||  
|-
|-
| 0xE36C18F5 (returns Ph'''PlaneDiv''') || ? || ? || only appears in the [[VSH Exports]] page in wiki, not in the github list
| 0xE36C18F5 (returns Ph'''PlaneDiv''') || ? || ? || only appears in the [[VSH Exports]] page in wiki, not in the [https://gist.github.com/anonymous/331c41b7b60af35c62363700ad88e6b3 github list]
|-
|-
| ZN3paf8Ph'''Button'''10WidgetTypeEv || {{cellcolors|#00aa00}} <abbr title="the unnofficial name matches with the official name">'''Button'''</abbr> || 0x03 ||  
| ZN3paf8Ph'''Button'''10WidgetTypeEv || {{cellcolors|#00aa00}} <abbr title="the unnofficial name matches with the official name">'''Button'''</abbr> || 0x03 ||  
Line 34: Line 34:
| ZN3paf10Ph'''Progress'''10WidgetTypeEv || {{cellcolors|#00aa00}} <abbr title="the unnofficial name matches with the official name">'''Progress'''</abbr> || 0x07 ||  
| ZN3paf10Ph'''Progress'''10WidgetTypeEv || {{cellcolors|#00aa00}} <abbr title="the unnofficial name matches with the official name">'''Progress'''</abbr> || 0x07 ||  
|-
|-
| ZN3paf10Ph'''CheckBox'''10WidgetTypeEv || {{cellcolors|#aa0000}} <abbr title="the unnofficial name matches partially with the official name, but the unnofficial is more explicit, only problem with the unnofficial name is longer">'''CheckBoxItem'''</abbr> || 0X1D ||  
| ZN3paf10Ph'''CheckBox'''10WidgetTypeEv || {{cellcolors|#aa0000}} <abbr title="the unnofficial name matches partially with the official name, but the unnofficial is more explicit, only problem with the unnofficial name is longer">'''CheckBoxItem'''</abbr> || 0x1D ||  
|-
|-
| ZN3paf7Ph'''XmBar'''10WidgetTypeEv || ? || ? ||  
| ZN3paf7Ph'''XmBar'''10WidgetTypeEv || {{cellcolors|#aa0000}} <abbr title="the unnofficial name doesn't matches with the official name">'''XMenu'''</abbr> ? || 0x04 ? ||  
|-
|-
| ZN3paf8Ph'''XmList'''10WidgetTypeEv || ? || ? ||  
| ZN3paf8Ph'''XmList'''10WidgetTypeEv || ? || ? ||  
Line 62: Line 62:


*Other unnofficial "object" names that are not in the table:
*Other unnofficial "object" names that are not in the table:
**type=0x00 '''ObjectTree'''
**General
**type=0x01 '''Page'''
***type=0x00 '''ObjectTree'''
**type=0x12 '''Group'''
***type=0x01 '''Page'''
**type=0x04 '''XMenu'''
***type=0x12 '''Group'''
**type=0x06 '''XList'''
**Lists and Items
**type=0x13 '''LList'''
***type=0x06 '''XList'''
**type=0x05 '''XMList'''
***type=0x13 '''LList'''
**type=0x0C '''XItem'''
***type=0x05 '''XMList'''
**type=0x0A '''MItem'''
***type=0x0C '''XItem'''
**type=0x14 '''LItem'''
***type=0x0A '''MItem'''
**type=0x18 '''IItem'''
***type=0x14 '''LItem'''
**type=0x19 '''Icon'''
***type=0x18 '''IItem'''
**type=0x10 '''Action'''
**Others
**type=0x1A '''UButton'''
***type=0x19 '''Icon'''
**type=0x0E '''ModelObject'''
***type=0x10 '''Action'''
**type=0x15 '''Edit'''
***type=0x1A '''UButton'''
**type=0x0B '''ObjUnknown0xB'''
***type=0x0E '''ModelObject'''
**type=0x1B '''ObjUnknown0xB'''
***type=0x15 '''Edit'''
**Unknowns
***type=0x0B '''ObjUnknown0xB'''
***type=0x1B '''ObjUnknown0x1B'''


=ObjUnknown0xB=
=ObjUnknown0xB=

Revision as of 15:55, 26 November 2016

WidgetType

See the "paf" VSH Exports

It seems the WidgetType is an identifyer of what rcomage and this wiki page baptished as "objects". Of all them, or only a group

By looking at the internal RCO structure is obvious that the value used internally to identify every "object" is the first field of what we has been naming Template:RCO TOC entry common area, or in other words, the Template:RCO TOC entry types

So the question is... all "RCO TOC entry types" should be considered WidgetType ? (and consequentlly needed to be renamed in wiki pages)... or only a group of them are considered "widgets" ? and there is other group (no idea wich one by now, but RCOXML Animations could have a different name)

By looking at this list is posible to make a list of the exports that uses the keyword "WidgetType" and deduce the correspondency with the names we have been using in rcomage/wiki. Some of the "unnofficial" names we have been using matches exactlly, others partially, and there are a few "new" names hard to deduce to wich "object" corresponds, and probably are included the 2 infamous ObjUnknown0xB and ObjUnknown0x1B that are completlly unknown for rcomage and doesnt seems to be used in any of the official PSP and PS3 firmwares

VSH Exports string chunk name in RCOmage internal type value Notes
ZN3paf8PhWidget10WidgetTypeEv ? ? weird, a WidgetType named Widget ?... this sounds too generic
ZN3paf7PhScene10WidgetTypeEv ? ? also, this one sounds too generic too, maybe is the name of the "ObjectTree" (actually, all the trees ?)
ZN3paf7PhPlane10WidgetTypeEv Plane 0x02
0xE36C18F5 (returns PhPlaneDiv) ? ? only appears in the VSH Exports page in wiki, not in the github list
ZN3paf8PhButton10WidgetTypeEv Button 0x03
ZN3paf6PhText10WidgetTypeEv Text 0x0D
ZN3paf8PhScroll10WidgetTypeEv Scroll 0x08
ZN3paf11PhLabelPrim10WidgetTypeEv ? ? candidate to be ObjUnknown0xB or ObjUnknown0x1B
ZN3paf12PhLevelMeter10WidgetTypeEv Meter 0x1E
ZN3paf10PhProgress10WidgetTypeEv Progress 0x07
ZN3paf10PhCheckBox10WidgetTypeEv CheckBoxItem 0x1D
ZN3paf7PhXmBar10WidgetTypeEv XMenu ? 0x04 ?
ZN3paf8PhXmList10WidgetTypeEv ? ?
ZN3paf8PhXmItem10WidgetTypeEv ? ?
ZN3paf10PhItemSpin10WidgetTypeEv ItemSpin 0x11
ZN3paf9PhNumSpin10WidgetTypeEv Spin ? 0x0F ?
ZN3paf6PhList10WidgetTypeEv ? ?
ZN3paf10PhInfoList10WidgetTypeEv IList 0x17
ZN3paf10PhMenuList10WidgetTypeEv MList 0x09
ZN3paf14PhCheckBoxList10WidgetTypeEv CheckBoxGroup 0x1C
ZN3paf11PhLabelText10WidgetTypeEv EditBox ? 0x1F ?
ZN3paf7PhClock10WidgetTypeEv Clock 0x16
ZN3paf8PhIPAddr10WidgetTypeEv ? ? candidate to be ObjUnknown0xB or ObjUnknown0x1B. A widget only to display the IP address ?
  • Other unnofficial "object" names that are not in the table:
    • General
      • type=0x00 ObjectTree
      • type=0x01 Page
      • type=0x12 Group
    • Lists and Items
      • type=0x06 XList
      • type=0x13 LList
      • type=0x05 XMList
      • type=0x0C XItem
      • type=0x0A MItem
      • type=0x14 LItem
      • type=0x18 IItem
    • Others
      • type=0x19 Icon
      • type=0x10 Action
      • type=0x1A UButton
      • type=0x0E ModelObject
      • type=0x15 Edit
    • Unknowns
      • type=0x0B ObjUnknown0xB
      • type=0x1B ObjUnknown0x1B

ObjUnknown0xB

*Superbrainstorming based on smoke. This brainstorming seems to be wrong, because the object named "XMList" by rcomage seems to be an "item" so it cant have other xml "item" childrens **what about this ?, matches prety fine with how are grouped. Main menu separated because is an special object created specifically for top XMB menu, and the others grouped in pairs for "list" and "item". Also matches how are ordered in rcomage. All this attributes appears consecutivelly in groups of two, at top... XMList and XList... then MList MItem... then ObjUnknown0xB and XItem... then LList and LItem... then IList and IItem. Note how XMList doesnt seems to have an XMItem

XMenu

XMList
ObjUnknown0xB <------ is XMItem ?

XList
XItem

MList
MItem

LList
LItem

IList
IItem

If this is true and ObjUnknown0xB is actually XMItem it seems is posible to deduce the attributes because the other "item" objects uses pretty similar attributes (usually 3 attributes, either images or texts), to verify it are needed some/lot of tests by copying the attributes from the other items and creating a 100% custom object for the experiment also a good understanding of all the other rcoxml code, so is hard to know, im not skilled/brave to build this frankenstein but i think the theory is good enought--Sandungas (talk) 08:16, 8 December 2015 (UTC)

Objects using overrides in the "specific" attributes

The "standard" attributes contains 6 overrides and most objects uses the "standard" attributes, but additionally to this ones some of the objects (seems to) use more overrides in the "specific" attributes

  • Some menu builders
    • MList (3 ?)
    • LList (2 ?)
    • IList (1 ?)
  • Text based objects
    • Text (3 ?)
    • EditBox (3 ?)
  • Others
    • CheckboxGroup (1 ?)
    • Meter (1 ?)

Links, notes, etc...

Suggestions