Editing Talk:Rcomage
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
=Missing descriptors in rcomage current version (1.1.1)= | =Missing descriptors in rcomage current version (1.1.1)= | ||
Line 182: | Line 12: | ||
[languages] | [languages] | ||
00_Japanese ; ja | 00_Japanese ; ja | ||
01_English_US ; | 01_English_US ; us | ||
02_French ; fr | 02_French ; fr | ||
03_Spanish ; es | 03_Spanish ; es | ||
Line 203: | Line 33: | ||
*changes | *changes | ||
**Added the 4 unknown languages (Polish, Portuguese_BR, English_GB, Turkish) | **Added the 4 unknown languages (Polish, Portuguese_BR, English_GB, Turkish) | ||
**Added " | **Added "2 digits language code" before name, and language variant after name | ||
**Changed names for variants of English_US/GB, Portuguese_PT/BR, and Chinese_T/S | **Changed names for variants of English_US/GB, Portuguese_PT/BR, and Chinese_T/S | ||
**Changed commented languages to " | **Changed commented languages to "2 letters language code" standards<!-- taken from "string viewer plugin" iirc--> | ||
**Fixed "Portugese" typo | **Fixed "Portugese" typo | ||
==objattribdef-ps3.ini== | ==objattribdef-ps3.ini== | ||
This file defines the names of the object attributes used in the XML descriptor at the root of the .rco | This file defines the names of the object attributes used in the XML descriptor at the root of the .rco | ||
Lot of unknowns, some of them was not posible to identify in PSP times because PSP never used them... but in PS3 is posible to identify a few more, please help to fill an "unnofficial" list here | |||
[Page] | [Page] | ||
unknownInt0 ???????? <---- used 1174 times in retail firmware 4.76 all them with value: 0x1110000<!-- page objects are the most importants because are the parents of the others and this attribute is located in the first position because is prioritary for efficiency purposes (seems to be something needed to be readed by the firmware as soon as posible to decide what to do with his childrens), probably related with some execution mode of the firmware, target_id, enviroments, or something like that--> | |||
onInit <------------- used 625 times in firmware 4.76. Around 607 onInit, 18 onOpen | onInit <------------- used 625 times in firmware 4.76. Around 607 onInit, 18 onOpen | ||
onContextMenu onContext <--- better to use a more generic name because "onContext" is used in several other objects and is technically the same event for all them | onContextMenu onContext <--- better to use a more generic name because "onContext" is used in several other objects and is technically the same event for all them | ||
Line 261: | Line 58: | ||
unknownEvent43 onFocusDown | unknownEvent43 onFocusDown | ||
unknownEvent45 onContext | unknownEvent45 onContext | ||
unknownInt47 ?????????????? <--- used 624 times in firmware 4.76 with values: 0x0 (560 times), or 0xffffffff (64 times) | |||
[XMenu] | [XMenu] | ||
onEnter onPush <---- used 2 times in firmware 4.76. Both onPush | onEnter onPush <---- used 2 times in firmware 4.76. Both onPush | ||
unknownEvent28 onCursorMove | unknownEvent28 onCursorMove | ||
onLabelLoad onScrollIn <---- official name | onLabelLoad onScrollIn <---- better, official name | ||
unknownRef32 onScrollOut | unknownRef32 onScrollOut | ||
[XMList] | [XMList] | ||
unknown0 ???????? <---- used 20 times in firmware 4.76 all them with value 0x0 (the 10 main XMB icons in xmb normal/ingame) | |||
unknownRef3 text | unknownRef3 text | ||
[XList] | [XList] | ||
unknownInt23 <-------- used 18 times in firmware 4.76 all them with value 0x0 | |||
unknownEvent36 <------ used 18 times in firmware 4.76 all them with value "nothing" | |||
[MList] | [MList] | ||
unknownRef32 ?????? | |||
unknownRef33 onPush | unknownRef33 onPush | ||
unknownRef35 onCursorMove | unknownRef35 onCursorMove | ||
Line 290: | Line 87: | ||
unknownRef51 onScrollOut | unknownRef51 onScrollOut | ||
[ | [Text] & [EditBox] | ||
unknown37 ?????????????? <--- speculative, font setings related (x axis line displacement?) | |||
unknown38 ?????????????? <--- speculative, font setings related (y axis line displacement?) | |||
unknown39 ?????????????? <--- speculative, font setings related (z axis line displacement?) | |||
unknown48 glowX <--- speculative | |||
unknown49 glowY <--- speculative | |||
unknown50 glowPerspective <--- speculative | |||
unknownFloat51 glowRed <--- speculative | |||
unknownFloat52 glowGreen <--- speculative | |||
unknownFloat53 glowBlue <--- speculative | |||
unknownFloat54 glowAlpha <--- speculative | |||
[Spin] | [Spin] | ||
Line 304: | Line 110: | ||
unknownEvent33 onDecide | unknownEvent33 onDecide | ||
unknownEvent35 onCancel | unknownEvent35 onCancel | ||
unknownRef37 ??? <------- | |||
unknownRef39 ??? <------- | |||
unknownRef41 onFocusIn | unknownRef41 onFocusIn | ||
unknownRef43 onFocusOut | unknownRef43 onFocusOut | ||
unknownRef45 onFocusLeft | unknownRef45 onFocusLeft | ||
unknownRef47 onFocusRight | unknownRef47 onFocusRight | ||
[Edit] | [Edit] | ||
unknownEvent31 onDecide | unknownEvent31 onDecide | ||
unknownRef33 onCancel | unknownRef33 onCancel | ||
unknownRef35 ??? <------- OnRollIn ? | |||
unknownRef37 ??? | |||
unknownEvent39 onFocusLeft | unknownEvent39 onFocusLeft | ||
unknownEvent41 onFocusRight | unknownEvent41 onFocusRight | ||
unknownObject43 | unknownObject43 object2 ? | ||
unknownObject45 object2 | unknownObject45 object2 ? | ||
[Clock] | [Clock] | ||
unknownEvent33 onDecide | unknownEvent33 onDecide | ||
unknownEvent35 onCancel | unknownEvent35 onCancel | ||
unknownRef37 ??? <------- | |||
unknownRef39 ??? <------- | |||
unknownEvent41 onFocusLeft | unknownEvent41 onFocusLeft | ||
unknownEvent43 onFocusRight | unknownEvent43 onFocusRight | ||
unknownRef45 ??? <------- | |||
unknownRef47 ??? <------- | |||
unknownEvent49 onTickClock <!--ticks from system timer ?--> | unknownEvent49 onTickClock <!--ticks from system timer ?--> | ||
[IList] | [IList] | ||
unknownRef25 ??? <------- | |||
unknownRef27 ??? <------- | |||
unknownEvent29 onFocusLeft | unknownEvent29 onFocusLeft | ||
unknownRef31 onFocusRight | unknownRef31 onFocusRight | ||
unknownRef33 onFocusUp ? <------- speculative | |||
unknownRef35 onFocusDown | unknownRef35 onFocusDown | ||
unknownRef37 | unknownRef37 ??? <------- is the last attribute of "IList" group, is an event <!-- found unknownRef37="event:native:/OnPushIlistBtDeviceManager" on deviceconf_plugin.rco but is using OnPush as a generic event--> | ||
[CheckboxGroup] | [CheckboxGroup] | ||
unknownRef33 onPush | unknownRef33 onPush | ||
unknownRef35 onCursorMove | unknownRef35 onCursorMove | ||
unknownRef37 onFocusIn | unknownRef37 onFocusIn | ||
Line 355: | Line 157: | ||
unknownRef47 onFocusDown | unknownRef47 onFocusDown | ||
unknownRef49 onScrollIn | unknownRef49 onScrollIn | ||
unknownRef51 onScrollOut ? <------- speculative, is the last attribute of "checkbox" group | |||
[CheckboxItem] | [CheckboxItem] | ||
unknownRef1 text | unknownRef1 text | ||
unknownRef3 ??? | |||
unknownRef5 ??? | |||
[EditBox] | [EditBox] | ||
unknownRef59 image | unknownRef59 image <--------- name is too generic, is better a more explicit name as "shadow" | ||
unknownRef61 image2 | unknownRef61 image2 <--------- name is too generic, is better a more explicit name as "glow" | ||
unknownRef63 onClick | |||
unknownRef65 onFocusIn | unknownRef65 onFocusIn | ||
unknownRef67 onFocusOut | unknownRef67 onFocusOut | ||
Line 369: | Line 174: | ||
unknownRef73 onFocusUp | unknownRef73 onFocusUp | ||
unknownRef75 onFocusDown | unknownRef75 onFocusDown | ||
<!-- STANDARD POSITION DEFINITION | |||
onLoad onInit <---- better, official name (in rcomage are swapped onInit & onLoad) | |||
--> | |||
*Examples: | *Examples: | ||
Line 428: | Line 237: | ||
**unknownRef1="text:msg_update_auto_off_ps3_after_update" | **unknownRef1="text:msg_update_auto_off_ps3_after_update" | ||
**unknownRef3="text:msg_game" | **unknownRef3="text:msg_game" | ||
* | |||
**< | In the previous examples the ''MlistID'' is the owner of the attribute that specifyes the event... so ''MlistID'' needs to be removed to deduce the event name | ||
Probably another unknown is ''OnFocusOut'' (because ''Out'' is the opposite state of ''In'', it seems ''Focus'' and ''Scroll'' are intended to have 2 states) | |||
* | |||
** | OnPush is used a lot instead of the pad directions, as example on some menues of xmb settings column, when moving right is taken as a push | ||
onPanelCommand seems to be an special event that can replace some of the standard events (used as a ''Button'' attribute) | |||
==animattribdef-ps3.ini== | |||
This file defines the names of the animation attributes used in the XML descriptor at the root of the .rco | |||
PS3 doesnt seems to use too much animations inside rco's (with a few exceptions like gameboot animation, and inside system_plugin.rco etc...) | |||
Only 5 unknowns. It seems that unknownInt5, unknownInt6, unknown7 has been implemented with rco 2.0 format specifically for PS3 (not supported in PSP). The others for lock/unlock existed before in rco 1.0 format (supported in PSP) | |||
[MoveTo] | |||
unknownInt5 = int | |||
unknownInt6 = int | |||
unknown7 = unk | |||
[Lock] | |||
unknownInt0 = int | |||
[Unlock] | |||
unknownInt0 = int | |||
==tagmap.ini== | |||
This file defines the names of the tags used in the XML descriptor at the root of the .rco | |||
Only 2 unknowns: | |||
[Object] | |||
ObjUnknown0xB | |||
ObjUnknown0x1B | |||
=Other descriptors, not in setting files (seem to be hardcoded)= | |||
==unknownByte== | |||
In the xml representation of the .rco structure... every image inside the imagetree uses an unknown attribute named '''unknownByte'''. Is an attribute related with the image format and is equal to 0 in most of the PS3 images (very rarelly used) | |||
*After searching in ALL the images contained inside ALL .rco files from firmware 4.76... there is a total of 72 images using '''unknownByte="1"''' (and 3098 images using '''unknownByte="0"''' for a total of 3170 images inside .rco's) | |||
**7 images inside [[eula_net_plugin]].rco | |||
**34 images inside [[newstore_plugin]].rco | |||
**29 images inside [[regcam_plugin]].rco | |||
**2 images inside [[system_plugin]].rco | |||
from [[system_plugin]].rco | |||
{{Boxcode|content=<syntaxhighlight lang="xml"> | |||
<Image name="tex_optionmenu_bg" src=".\RCO 476 ofw\system_plugin\Images\tex_optionmenu_bg.gim" format="gim" compression="zlib" unknownByte="1" /> | |||
<Image name="tex_optionmenu_base" src=".\RCO 476 ofw\system_plugin\Images\tex_optionmenu_base.gim" format="gim" compression="zlib" unknownByte="1" /> | |||
</syntaxhighlight>}} | |||
*The 2 .gim files found using '''unknownByte="1"''' has some things in common: | |||
**The size of both .gim file is exactlly 452KB (463.232 bytes) | |||
**The resolution of both images in pixels is 512x206 | |||
**The first 0x80 bytes of the header in both is exactlly the same (see example below) | |||
unknownByte .gim header example | |||
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | |||
00000000 2E 47 49 4D 31 2E 30 30 00 50 53 50 00 00 00 00 .GIM1.00.PSP.... | |||
00000010 00 02 00 00 00 07 11 70 00 00 00 10 00 00 00 10 .......p........ | |||
00000020 00 03 00 00 00 07 11 60 00 00 00 10 00 00 00 10 .......`........ | |||
00000030 00 04 00 00 00 07 11 50 00 07 11 50 00 00 00 10 .......P...P.... | |||
00000040 00 30 00 00 00 03 00 00 02 18 00 D8 00 20 00 10 .0.........Ø. .. | |||
00000050 00 01 00 02 00 00 00 00 00 00 00 30 00 00 00 40 ...........0...@ | |||
00000060 00 07 11 40 00 00 00 00 00 01 00 01 00 03 00 01 ...@............ | |||
00000070 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00 ...@............ | |||
==minFirmwareVer== | |||
This is a very important unknown. See: [[Talk:Resource_Container_%28RCO%29]] | |||
==UMDFlag== | |||
This attribute was named UMDFlag unofficially because it was found used in the .rco files contained inside PSP UMD discs only | |||
The name seems not accurate enought (because PS3 cant read UMD discs) so maybe is something more generic like "disc media", though never has been found a PS3 disc containing .rco's and the '''HYBRID_FLAG''' used in the bluray contents descriptor file [[PS3_DISC.SFB]] for "music bluray" and "photo bluray" are completlly speculative |