Talk:RCOXML Fonts

From PS3 Developer wiki
Revision as of 05:18, 30 August 2021 by Sandungas (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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