upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNotRexed <therealnothingfn@gmail.com>2026-11-27 10:12:20 -0500
committerNotRexed <therealnothingfn@gmail.com>2026-11-27 10:12:20 -0500
commit312c2dd4b248dfbcabece33d15336e708c9dbbeb (patch)
treed7ada0ee951a370999051ad9d9bdb549cee8cb45 /docs
parentf49220b64f77ceed57dbf6e399ff7621569f3f7a (diff)
docs: the PS5 package is encrypted; its glyphs are not read
The user's PS5 copy is one .pkg (magic 7F 46 49 48); 64 KiB samples across it measure 7.85-8.00 bits/byte. Under the ground rules nothing is decrypted, so the PlayStation prompts stay the replacement set built by tools/ps_prompt_glyphs.py. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/design.md2
-rw-r--r--docs/prompt_glyphs.md9
2 files changed, 11 insertions, 0 deletions
diff --git a/docs/design.md b/docs/design.md
index e6792eaf1..1324452ca 100644
--- a/docs/design.md
+++ b/docs/design.md
@@ -17,6 +17,8 @@ executable is in place; booting can start as soon as `game_scarlett_master.exe`
17 (`0x41`, ReadOnly and RegionIdInXts; EncryptionDisabled `0x2` is clear); ContentType at 0x284 (1, Title); 17 (`0x41`, ReadOnly and RegionIdInXts; EncryptionDisabled `0x2` is clear); ContentType at 0x284 (1, Title);
18 XvcDataLength at 0x290 (non-zero for an XVC); PackageVersion at 0x3BC, four u16 stored lowest part first 18 XvcDataLength at 0x290 (non-zero for an XVC); PackageVersion at 0x3BC, four u16 stored lowest part first
19 (1, 2, 0, 1 is 1.0.2.1). No key field is read. 19 (1, 2, 0, 1 is 1.0.2.1). No key field is read.
20- A PS5 package (`.pkg`, magic `7F 46 49 48`) is encrypted in the same sense: 64 KiB samples across a 212 GB one
21 measure 7.85-8.00 bits/byte. Nothing reads its contents ([prompt_glyphs.md](prompt_glyphs.md)).
20 22
21## Why a loader before a recompiler 23## Why a loader before a recompiler
22 24
diff --git a/docs/prompt_glyphs.md b/docs/prompt_glyphs.md
index 893c5f212..d30bf5c5d 100644
--- a/docs/prompt_glyphs.md
+++ b/docs/prompt_glyphs.md
@@ -52,6 +52,15 @@ Not identified: nothing is unknown by shape, but the Xbox/Guide button has no gl
52rotate variants (20/29 against 58/59) the title picks for which prompt is not known. N 8 and 9 are told apart only 52rotate variants (20/29 against 58/59) the title picks for which prompt is not known. N 8 and 9 are told apart only
53by the lighting; which one the title uses for a plain "D-pad" prompt is not measured. 53by the lighting; which one the title uses for a plain "D-pad" prompt is not measured.
54 54
55## The PlayStation package (not read)
56
57The user's PS5 copy is one package file, `EP1004-PPSA38500_00-GRANDTHEFTAUTO00-A0102-V0102.pkg` (212,421,953,822
58bytes; header magic `7F 46 49 48`). Samples of 64 KiB at 5, 25, 50, 75 and 95 % of the file measure 7.85-8.00 bits a byte:
59the game's files inside are encrypted (a package's image is, until the console's keys open it). Under the ground rules
60nothing is decrypted, so the title's own PlayStation glyph movie, if the PS5 build has one, is not read from it; the
61replacement below stays the PlayStation set. A PS5 build's files already extracted by the user's own console as a plain
62folder could be read like the Xbox archive (2026-11-27).
63
55## The PlayStation replacement 64## The PlayStation replacement
56 65
57`tools/ps_prompt_glyphs.py` writes a movie with the same export names, canvas sizes and class names: 66`tools/ps_prompt_glyphs.py` writes a movie with the same export names, canvas sizes and class names: