Editing Talk:RCOXML Fonts

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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:
=Examples=
=Examples=
==PS3 sysconf_plugin.rco 4.76==
==PS3 sysconf_plugin.rco 4.76==
After TOC decompressed manually...
After TOC decomperssed manually...


  Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
  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          ....ÿÿÿÿ
  000011A0                          07 00 00 00 FF FF FF FF          ....ÿÿÿÿ
Line 16: Line 12:
  000011F0  00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00  ................
  000011F0  00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00  ................
  00001200  41 60 00 00                                      A`..
  00001200  41 60 00 00                                      A`..
*offsets are relative to the TOC start offset


*'''MainTree''' TOC entry (it has 4 children "trees")
*'''FontTree''' TOC entry
**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
**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)
*'''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
**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 00
**Attributes
**Attributes
***00 01
***01 00 00 00 00 00 00 41 60 00 00
***00 00
***00 00 00 00
***41 60 00 00


In rcomage
In rcomage
{{Boxcode|code=<syntaxhighlight lang="xml">
{{Boxcode|content=<syntaxhighlight lang="xml">
<RcoFile>
<RcoFile>
<MainTree name="sysconf_plugin">
<MainTree name="sysconf_plugin">
Line 42: Line 31:
</RcoFile>
</RcoFile>
</syntaxhighlight>}}
</syntaxhighlight>}}


*(0x7) Font
*(0x7) Font
Line 48: Line 38:
! Offset !! Length !! Name !! Example !! Notes !! Speculation
! Offset !! Length !! Name !! Example !! Notes !! Speculation
|-
|-
| 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 ?
| 0x00 || 0x02 || {{cellcolors|#ff7777}} '''file_format''' || 01 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''' || 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 56: Line 46:
| 0x08 || 0x04 || {{cellcolors|#ff7777}} ''unknown'' || 41 60 00 00 || character_heigth ? || this looks like a float... 0x41600000 = 14.0 (float)
| 0x08 || 0x04 || {{cellcolors|#ff7777}} ''unknown'' || 41 60 00 00 || character_heigth ? || this looks like a float... 0x41600000 = 14.0 (float)
|}
|}
==PS3 hknw_plugin.rco 4.76==
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
{{Boxcode|code=<syntaxhighlight lang="xml">
<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>
</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]]
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)

Templates used on this page: