Talk:RCOXML Fonts: Difference between revisions
Jump to navigation
Jump to search
m (→Examples) |
|||
Line 113: | Line 113: | ||
| 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) | ||
|} | |} | ||
Some info related to font "families" and font "styles" from the file '''dev_flash\vsh\resource\hknw_plugin\parameters.txt''' | |||
///////////////////////////////////////////////////// | |||
// 新フォント | |||
///////////////////////////////////////////////////// | |||
// NEWFONT_FAMILY_CODEの値 | |||
// 0 SCE_FONT_DEFAULT_FAMILY_CODE | |||
// 1 SCE_FONT_FAMILY_SANSERIF | |||
// 2 SCE_FONT_FAMILY_SERIF | |||
// 3 SCE_FONT_FAMILY_ROUNDED | |||
// 4 SCE_FONT_FAMILY_ROUNDED_CASUAL(従来の丸文字) | |||
// 5 SCE_FONT_FAMILY_ROUNDED_CASUAL2 | |||
// 61440 azukiLB | |||
// 61441 uzura | |||
// 61442 aqua | |||
// 61443 aqua_pfont | |||
#define NEWFONT_FAMILY_CODE 61440//61443 | |||
// NEWFONT_STYLE_CODEの値 | |||
// 101 細い | |||
// 102 ↑ | |||
// 103 | | |||
// 104 | | |||
// 105 ↓ | |||
// 106 太い | |||
#define NEWFONT_STYLE_CODE 104 | |||
See also: [[XMB Fonts]] |
Revision as of 12:16, 27 September 2016
Examples
PS3 sysconf_plugin.rco 4.76
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 00
- Attributes
- 01 00 00 00 00 00 00 41 60 00 00
In rcomage
Code Sample
- (0x7) Font
Offset | Length | Name | Example | Notes | Speculation |
---|---|---|---|---|---|
0x00 | 0x02 | file_format | 01 00 | 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
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
Code Sample
- (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) |
Some info related to font "families" and font "styles" from the file dev_flash\vsh\resource\hknw_plugin\parameters.txt
///////////////////////////////////////////////////// // 新フォント ///////////////////////////////////////////////////// // NEWFONT_FAMILY_CODEの値 // 0 SCE_FONT_DEFAULT_FAMILY_CODE // 1 SCE_FONT_FAMILY_SANSERIF // 2 SCE_FONT_FAMILY_SERIF // 3 SCE_FONT_FAMILY_ROUNDED // 4 SCE_FONT_FAMILY_ROUNDED_CASUAL(従来の丸文字) // 5 SCE_FONT_FAMILY_ROUNDED_CASUAL2 // 61440 azukiLB // 61441 uzura // 61442 aqua // 61443 aqua_pfont #define NEWFONT_FAMILY_CODE 61440//61443 // NEWFONT_STYLE_CODEの値 // 101 細い // 102 ↑ // 103 | // 104 | // 105 ↓ // 106 太い #define NEWFONT_STYLE_CODE 104
See also: XMB Fonts