Talk:RCOXML Fonts: Difference between revisions
Jump to navigation
Jump to search
m (→Examples) |
mNo edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 25: | Line 25: | ||
*'''FontStyle''' TOC entry (children of FontTree) | *'''FontStyle''' TOC entry (children of FontTree) | ||
**07 01 00 00 00 00 B1 BC 00 00 00 28 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 28 | **07 01 00 00 00 00 B1 BC 00 00 00 28 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 28 00 00 00 00 00 00 00 00 | ||
**Attributes | **Attributes | ||
***01 00 00 00 00 00 00 41 60 00 00 | ***00 01 | ||
***00 00 | |||
***00 00 00 00 | |||
***41 60 00 00 | |||
In rcomage | In rcomage | ||
{{Boxcode| | {{Boxcode|code=<syntaxhighlight lang="xml"> | ||
<RcoFile> | <RcoFile> | ||
<MainTree name="sysconf_plugin"> | <MainTree name="sysconf_plugin"> | ||
Line 39: | Line 42: | ||
</RcoFile> | </RcoFile> | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||
*(0x7) Font | *(0x7) Font | ||
Line 46: | Line 48: | ||
! Offset !! Length !! Name !! Example !! Notes !! Speculation | ! Offset !! Length !! Name !! Example !! Notes !! Speculation | ||
|- | |- | ||
| 0x00 || 0x02 || {{cellcolors|#ff7777}} '''file_format''' || 01 | | 0x00 || 0x02 || {{cellcolors|#ff7777}} '''file_format''' || 00 01 || <span style="background:#ff9999;">0x0=''unknown''</span><br>0x1=? || 0x0=font file is inside the RCO container ?<br>0x1=system font from firmware ? | ||
|- | |- | ||
| 0x02 || 0x02 || {{cellcolors|#ff7777}} '''file_compression''' || 00 00 || 0x0=NONE ?<br>0x1=ZLIB ?<br>0x2=RLZ ? || | | 0x02 || 0x02 || {{cellcolors|#ff7777}} '''file_compression''' || 00 00 || 0x0=NONE ?<br>0x1=ZLIB ?<br>0x2=RLZ ? || | ||
Line 82: | Line 84: | ||
**07 01 00 00 00 00 19 64 00 00 00 28 00 00 00 00 00 00 00 00 00 00 00 34 00 00 00 00 00 00 00 28 00 00 00 00 00 00 00 00 | **07 01 00 00 00 00 19 64 00 00 00 28 00 00 00 00 00 00 00 00 00 00 00 34 00 00 00 00 00 00 00 28 00 00 00 00 00 00 00 00 | ||
**Attributes | **Attributes | ||
***00 00 00 00 00 00 00 00 41 60 00 00 | ***00 00 | ||
***00 00 | |||
***00 00 00 00 | |||
***41 60 00 00 | |||
*'''FontStyle''' TOC entry (second children of FontTree) | *'''FontStyle''' TOC entry (second children of FontTree) | ||
**07 01 00 00 00 00 19 78 00 00 00 28 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 34 00 00 00 5C 00 00 00 00 00 00 00 00 | **07 01 00 00 00 00 19 78 00 00 00 28 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 34 00 00 00 5C 00 00 00 00 00 00 00 00 | ||
**Attributes | **Attributes | ||
***00 00 01 01 00 00 00 00 41 60 00 00 | ***00 00 | ||
***01 01 | |||
***00 00 00 00 | |||
***41 60 00 00 | |||
In rcomage | In rcomage | ||
{{Boxcode| | {{Boxcode|code=<syntaxhighlight lang="xml"> | ||
<RcoFile> | <RcoFile> | ||
<MainTree name="sysconf_plugin"> | <MainTree name="sysconf_plugin"> | ||
Line 100: | Line 108: | ||
</RcoFile> | </RcoFile> | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||
*(0x7) Font | |||
{| class="wikitable" | |||
|- | |||
! Offset !! Length !! Name !! Example !! Notes !! Speculation | |||
|- | |||
| 0x00 || 0x02 || {{cellcolors|#ff7777}} '''file_format''' || 00 00 || <span style="background:#ff9999;">0x0=''unknown''</span><br>0x1=? || 0x0=font file is inside the RCO container ?<br>0x1=system font from firmware ? | |||
|- | |||
| 0x02 || 0x02 || {{cellcolors|#ff7777}} '''file_compression''' ? || 01 01 || || wtf ! | |||
|- | |||
| 0x04 || 0x04 || {{cellcolors|#ff7777}} ''unknown'' || 00 00 00 00 || ''file_offset'' ? || | |||
|- | |||
| 0x08 || 0x04 || {{cellcolors|#ff7777}} ''unknown'' || 41 60 00 00 || character_heigth ? || this looks like a float... 0x41600000 = 14.0 (float) | |||
|} | |||
See also: [[XMB Fonts]] |
Latest revision as of 05:18, 30 August 2021
Examples[edit source]
PS3 sysconf_plugin.rco 4.76[edit source]
After TOC decompressed manually...
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 00000000 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 28 ...............( 00000010 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000020 00 00 00 00 00 00 00 00 ........ 000011A0 07 00 00 00 FF FF FF FF ....ÿÿÿÿ 000011B0 00 00 00 00 00 00 00 28 00 00 00 01 00 00 00 5C .......(.......\ 000011C0 00 00 00 00 00 00 11 A8 00 00 00 00 00 00 00 00 .......¨........ 000011D0 07 01 00 00 00 00 B1 BC 00 00 00 28 00 00 00 00 ......±¼...(.... 000011E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 28 ...............( 000011F0 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 ................ 00001200 41 60 00 00 A`.. *offsets are relative to the TOC start offset
- MainTree TOC entry (it has 4 children "trees")
- 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 28 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- FontTree TOC entry (is one of the childrens of MainTree, and only has 1 children)
- 07 00 00 00 FF FF FF FF 00 00 00 00 00 00 00 28 00 00 00 01 00 00 00 5C 00 00 00 00 00 00 11 A8 00 00 00 00 00 00 00 00
- FontStyle TOC entry (children of FontTree)
- 07 01 00 00 00 00 B1 BC 00 00 00 28 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 28 00 00 00 00 00 00 00 00
- Attributes
- 00 01
- 00 00
- 00 00 00 00
- 41 60 00 00
In rcomage
<RcoFile> <MainTree name="sysconf_plugin"> <FontTree> <FontStyle name="fontstyle_sanserif" unknownShort1="0x1" unknownShort2="0x0" unknownInt3="0x0" unknownInt4="0x41600000" /> </FontTree> </MainTree> </RcoFile>
- (0x7) Font
Offset | Length | Name | Example | Notes | Speculation |
---|---|---|---|---|---|
0x00 | 0x02 | file_format | 00 01 | 0x0=unknown 0x1=? |
0x0=font file is inside the RCO container ? 0x1=system font from firmware ? |
0x02 | 0x02 | file_compression | 00 00 | 0x0=NONE ? 0x1=ZLIB ? 0x2=RLZ ? |
|
0x04 | 0x04 | unknown | 00 00 00 00 | file_offset ? | |
0x08 | 0x04 | unknown | 41 60 00 00 | character_heigth ? | this looks like a float... 0x41600000 = 14.0 (float) |
PS3 hknw_plugin.rco 4.76[edit source]
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 00000000 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 28 ...............( 00000010 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00000020 00 00 00 00 00 00 00 00 ........ 00000F50 07 00 00 00 FF FF FF FF 00 00 00 00 00 00 00 28 ....ÿÿÿÿ.......( 00000F60 00 00 00 02 00 00 00 90 00 00 00 00 00 00 0F 50 ...............P 00000F70 00 00 00 00 00 00 00 00 07 01 00 00 00 00 19 64 ...............d 00000F80 00 00 00 28 00 00 00 00 00 00 00 00 00 00 00 34 ...(...........4 00000F90 00 00 00 00 00 00 00 28 00 00 00 00 00 00 00 00 .......(........ 00000FA0 00 00 00 00 00 00 00 00 41 60 00 00 07 01 00 00 ........A`...... 00000FB0 00 00 19 78 00 00 00 28 00 00 00 00 00 00 00 00 ...x...(........ 00000FC0 00 00 00 00 00 00 00 34 00 00 00 5C 00 00 00 00 .......4...\.... 00000FD0 00 00 00 00 00 00 01 01 00 00 00 00 41 60 00 00 ............A`.. *offsets are relative to the TOC start offset
- MainTree TOC entry (it has 4 children "trees")
- 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 28 00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
- FontTree TOC entry (is one of the childrens of MainTree, and has 2 children)
- 07 00 00 00 FF FF FF FF 00 00 00 00 00 00 00 28 00 00 00 02 00 00 00 90 00 00 00 00 00 00 0F 50 00 00 00 00 00 00 00 00
- FontStyle TOC entry (first children of FontTree)
- 07 01 00 00 00 00 19 64 00 00 00 28 00 00 00 00 00 00 00 00 00 00 00 34 00 00 00 00 00 00 00 28 00 00 00 00 00 00 00 00
- Attributes
- 00 00
- 00 00
- 00 00 00 00
- 41 60 00 00
- FontStyle TOC entry (second children of FontTree)
- 07 01 00 00 00 00 19 78 00 00 00 28 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 34 00 00 00 5C 00 00 00 00 00 00 00 00
- Attributes
- 00 00
- 01 01
- 00 00 00 00
- 41 60 00 00
In rcomage
<RcoFile> <MainTree name="sysconf_plugin"> <FontTree> <FontStyle name="fontstyle_default" unknownShort1="0x0" unknownShort2="0x0" unknownInt3="0x0" unknownInt4="0x41600000" /> <FontStyle name="fontstyle_light" unknownShort1="0x0" unknownShort2="0x101" unknownInt3="0x0" unknownInt4="0x41600000" /> </FontTree> </MainTree> </RcoFile>
- (0x7) Font
Offset | Length | Name | Example | Notes | Speculation |
---|---|---|---|---|---|
0x00 | 0x02 | file_format | 00 00 | 0x0=unknown 0x1=? |
0x0=font file is inside the RCO container ? 0x1=system font from firmware ? |
0x02 | 0x02 | file_compression ? | 01 01 | wtf ! | |
0x04 | 0x04 | unknown | 00 00 00 00 | file_offset ? | |
0x08 | 0x04 | unknown | 41 60 00 00 | character_heigth ? | this looks like a float... 0x41600000 = 14.0 (float) |
See also: XMB Fonts