Take a look at this sample, is a section taken from impose_plugin.rco 4.84
This same "objects" exists with the same name ("impose_page" and "impose_battery_info") since pre-retail firmwares, and in some of them is even more obvious how this overrides are working, im just posting this example using 4.84 firmware because this way you can check yourself
The 4 "planes" named "led_red_1", "led_red_2", "led_red_3", and "led_red_4" are the tiny red icons that appears in left-bottom corner (with a text number next to them 1,2,3,4), indicating the number assigned to the dualshock controller... in the black screen that appears when you press PS button on XMB
In that screen, if you connect the dualshock by USB to the PS3 this icons does a "tilting" animation indicating the battery is being charged
Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- This XML representation of an RCO structure was generated by Rcomage v1.1.2 -->
<RcoFile UMDFlag="0" rcomageXmlVer="1.1" type="ps3" minFirmwareVer="unknownId0x130">
<MainTree name="impose_plugin">
<ObjectTree>
<Page name="impose_page" pageMode="0x1101" pageOnInit="nothing" pageOnCancel="nothing" pageOnContext="nothing" pageOnActivate="nothing">
<Plane name="impose_battery_info" positionX="0" positionY="0" positionZ="0" colorScaleR="0" colorScaleG="0" colorScaleB="0" colorScaleA="0" sizeX="0" sizeY="0" sizeZ="0" sizeScaleX="1" sizeScaleY="1" sizeScaleZ="1" anchorMode="0x0" onInit="nothing" positionOverrideX="0x4000100" positionOverrideY="0x5000100" positionOverrideZ="0x0" sizeOverrideX="0x7000000" sizeOverrideY="0x8000000" sizeOverrideZ="0x0" planeImage="nothing" planeResizeMode="0x0">
<Plane name="numbers_icon" positionX="0" positionY="1" positionZ="0" colorScaleR="1" colorScaleG="1" colorScaleB="1" colorScaleA="1" sizeX="0" sizeY="0" sizeZ="0" sizeScaleX="1" sizeScaleY="1" sizeScaleZ="1" anchorMode="0x1100" onInit="nothing" positionOverrideX="0xc90d0000" positionOverrideY="0xa10d7000" positionOverrideZ="0x0" sizeOverrideX="0xc70d0000" sizeOverrideY="0xc80d0000" sizeOverrideZ="0x0" planeImage="image:tex_controller_number" planeResizeMode="0x0"></Plane>
<Plane name="led_red_1" positionX="1" positionY="1" positionZ="0" colorScaleR="1" colorScaleG="1" colorScaleB="1" colorScaleA="1" sizeX="0" sizeY="0" sizeZ="0" sizeScaleX="1" sizeScaleY="1" sizeScaleZ="1" anchorMode="0x0" onInit="nothing" positionOverrideX="0xc90d7200" positionOverrideY="0xa10d7100" positionOverrideZ="0x0" sizeOverrideX="0xca0d0000" sizeOverrideY="0xcb0d0000" sizeOverrideZ="0x0" planeImage="image:tex_red" planeResizeMode="0x0"></Plane>
<Plane name="led_red_2" positionX="1" positionY="1" positionZ="0" colorScaleR="1" colorScaleG="1" colorScaleB="1" colorScaleA="1" sizeX="0" sizeY="0" sizeZ="0" sizeScaleX="1" sizeScaleY="1" sizeScaleZ="1" anchorMode="0x0" onInit="nothing" positionOverrideX="0xc90d7300" positionOverrideY="0xa10d7100" positionOverrideZ="0x0" sizeOverrideX="0xca0d0000" sizeOverrideY="0xcb0d0000" sizeOverrideZ="0x0" planeImage="image:tex_red" planeResizeMode="0x0"></Plane>
<Plane name="led_red_3" positionX="1" positionY="1" positionZ="0" colorScaleR="1" colorScaleG="1" colorScaleB="1" colorScaleA="1" sizeX="0" sizeY="0" sizeZ="0" sizeScaleX="1" sizeScaleY="1" sizeScaleZ="1" anchorMode="0x0" onInit="nothing" positionOverrideX="0xc90d7400" positionOverrideY="0xa10d7100" positionOverrideZ="0x0" sizeOverrideX="0xca0d0000" sizeOverrideY="0xcb0d0000" sizeOverrideZ="0x0" planeImage="image:tex_red" planeResizeMode="0x0"></Plane>
<Plane name="led_red_4" positionX="1" positionY="1" positionZ="0" colorScaleR="1" colorScaleG="1" colorScaleB="1" colorScaleA="1" sizeX="0" sizeY="0" sizeZ="0" sizeScaleX="1" sizeScaleY="1" sizeScaleZ="1" anchorMode="0x0" onInit="nothing" positionOverrideX="0xc90d7500" positionOverrideY="0xa10d7100" positionOverrideZ="0x0" sizeOverrideX="0xca0d0000" sizeOverrideY="0xcb0d0000" sizeOverrideZ="0x0" planeImage="image:tex_red" planeResizeMode="0x0"></Plane>
</Plane>
</Page>
</ObjectTree>
</MainTree>
</RcoFile>
This is the same code but keeping only the positions, sizes, and overrides to have a better overiew of the values that matters for this explain, also i added some linebreaks to separate each attribute in a line
Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- This XML representation of an RCO structure was generated by Rcomage v1.1.2 -->
<RcoFile UMDFlag="0" rcomageXmlVer="1.1" type="ps3" minFirmwareVer="unknownId0x130">
<MainTree name="impose_plugin">
<ObjectTree>
<Page name="impose_page">
<Plane name="impose_battery_info">
<Plane name="numbers_icon"
positionX="0"
positionY="1"
positionZ="0"
sizeX="0"
sizeY="0"
sizeZ="0"
sizeScaleX="1"
sizeScaleY="1"
sizeScaleZ="1"
positionOverrideX="0xc90d0000"
positionOverrideY="0xa10d7000"
positionOverrideZ="0x0"
sizeOverrideX="0xc70d0000"
sizeOverrideY="0xc80d0000"
sizeOverrideZ="0x0"
>
</Plane>
<Plane name="led_red_1"
positionX="1"
positionY="1"
positionZ="0"
sizeX="0"
sizeY="0"
sizeZ="0"
sizeScaleX="1"
sizeScaleY="1"
sizeScaleZ="1"
positionOverrideX="0xc90d7200"
positionOverrideY="0xa10d7100"
positionOverrideZ="0x0"
sizeOverrideX="0xca0d0000"
sizeOverrideY="0xcb0d0000"
sizeOverrideZ="0x0"
>
</Plane>
<Plane name="led_red_2"
positionX="1"
positionY="1"
positionZ="0"
sizeX="0"
sizeY="0"
sizeZ="0"
sizeScaleX="1"
sizeScaleY="1"
sizeScaleZ="1"
positionOverrideX="0xc90d7300"
positionOverrideY="0xa10d7100"
positionOverrideZ="0x0"
sizeOverrideX="0xca0d0000"
sizeOverrideY="0xcb0d0000"
sizeOverrideZ="0x0"
>
</Plane>
<Plane name="led_red_3"
positionX="1"
positionY="1"
positionZ="0"
sizeX="0"
sizeY="0"
sizeZ="0"
sizeScaleX="1"
sizeScaleY="1"
sizeScaleZ="1"
positionOverrideX="0xc90d7400"
positionOverrideY="0xa10d7100"
positionOverrideZ="0x0"
sizeOverrideX="0xca0d0000"
sizeOverrideY="0xcb0d0000"
sizeOverrideZ="0x0"
>
</Plane>
<Plane name="led_red_4"
positionX="1"
positionY="1"
positionZ="0"
sizeX="0"
sizeY="0"
sizeZ="0"
sizeScaleX="1"
sizeScaleY="1"
sizeScaleZ="1"
positionOverrideX="0xc90d7500"
positionOverrideY="0xa10d7100"
positionOverrideZ="0x0"
sizeOverrideX="0xca0d0000"
sizeOverrideY="0xcb0d0000"
sizeOverrideZ="0x0"
>
</Plane>
</Plane>
</Page>
</ObjectTree>
</MainTree>
</RcoFile>
If you are a newcomer to the thread and you are reading this post before reading the previous talk, at this point i have to insist again in reading the small "tutorial" at post #6
https://www.psx-place.com/threads/anyone-can-help-with-xml-edits.22678/#post-160304
And some handy examples at post #23
https://www.psx-place.com/threads/anyone-can-help-with-xml-edits.22678/page-2#post-160557
Im not going to convert all the values of this sample... the key concept you need to remember is everyone of the "overrides" is composed by 2 values. Lets say... if we have an:
positionOverrideX="0x11223344"
What we need to "translate" the values is to split it in half and flip the bytes, this way:
-First value is
0x2211 (grid table override)
-Second value is
0x4433 (factor table override)
Now scroll a bit in the list of attributes i just posted above, and keep an eye at the second value (last 2 bytes most at right in the overrides)
We have 0x0071, 0x0072, 0x0073, 0x0074, 0x0075
This is because the values has been "stored" consecutivelly inside the "factor tables" (by the firmware automated official build/compile scripts)
To know the line where the value is stored in the .txt file you need to convert them to decimal and add +1... so we know in 4.84 firmware are stored in line 114, 115, 116, 117, 118 (of the
factor tables)
dev_flash/vsh/etc/layout_grid_table_1080.txt
dev_flash/vsh/etc/layout_
factor_table_1080.txt
dev_flash/vsh/etc/layout_grid_table_720.txt
dev_flash/vsh/etc/layout_
factor_table_720.txt
dev_flash/vsh/etc/layout_grid_table_480.txt
dev_flash/vsh/etc/layout_
factor_table_480.txt
dev_flash/vsh/etc/layout_grid_table_272.txt
dev_flash/vsh/etc/layout_
factor_table_272.txt