System Controller Firmware

From Vita Developer wiki
Revision as of 09:19, 8 February 2021 by CelesteBlue (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Structure (Header)

Offset Size Description Notes
0x0 1 Header Content Index 0x01 / 0x02 / 0x10 / 0x20
0x1 1 Header Size 0x10 / 0x18
0x2 2 Block Size 00 00 / 04 00 / 08 00
78K0R/Kx3: 0x800
78K0R/Kx3-L: 0x400
RL78/G13: 0x400

Structure (Header Content Index 0x01)

Offset Size Description Notes
0x4 4 Ernie Version 05 05 03 01
0x8 4 Hardware Info 38 50 80 00
0xC 4 Padding 00 00 00 00

Structure (Header Content Index 0x02)

Offset Size Description Notes
0x4 4 Unknown 1 00 00 00 00
0x8 4 Encryption Type? 02 00 00 00 for RL78 / 01 00 00 00 for 78K0R / 00 00 00 00 for 78K0R Proto (0.931 has this)
0xC 4 Padding 00 00 00 00
  • Encryption type 00 supported since at least 0.931 (0.902 doesn't support this) until 1.692
  • Encryption type 01 supported since 1.00
  • Encryption type 02 supported since 2.50

Structure (Header Content Index 0x10)

Offset Size Description Notes
0x4 4 Block Index 00 00 00 00 / 01 00 00 00 / etc
0x8 4 Block Size 00 04 00 00 or 00 08 00 00
0xC 4 Padding 00 00 00 00
78K0R/Kx3: 0x800
78K0R/Kx3-L: 0x400
RL78/G13: 0x400

Structure (Header Content 0x20)

Offset Size Description Notes
0x4 0x14 Sha-1 Hash of Decrypted Blocks concatenated