Full-package name coverage: 177,087 named streams across 150 GiB, and where the mount XMLs are

Aperta
#1,790 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
8/100
Tipo di issue
Documentazione
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

The report extends docs/rpf.md and points to tools/name_recover.py and tools/merge_index.py in the linked research repository, with coverage numbers in docs/INDEX.md. The issue does not say what change to the project is wanted, and the full index is withheld by its author. Reading docs/rpf.md first would show what a maintainer might accept as a doc update, but the issue alone does not define done.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Ran the same walker across all 22 RPF archives of a retail package (150.2 GiB, 71 chunks of
2.2 GB). Sharing the numbers because they extend what docs/rpf.md reports and they answer a
question the doc leaves open.

Totals

streams            1,489,677
with a name          177,087   (11.89%)
unique paths         155,214
unique identifiers   200,184
path mentions        526,581

Coverage by stream type

sgd5_shader_dxbc    25,043 /  25,043   100.00%
xml                    191 /     332    57.53%
rsc50              123,889 / 531,370    23.32%
xml_chunk              109 /     504    21.63%
raw                 26,766 / 690,003     3.88%
PSIN                   465 /  15,380     3.02%
0DRP                   624 / 227,045     0.27%

Where the paths come from. Not from the TOC. The mount XMLs in the payload list them in
plain text, including the directory form your doc says the recovery view does not have:
pack:/receptionist_starts_filming_office_chair.clip, platform:/levels/americas/gameshapes/…,
Tequesta/Perschars/Peds/Player/bk_lucia_penthouse_treadmill. One 8 KB stream in
common.head.bin at 0xb000 declares 473 .bk2 paths on its own.

Three findings that may be useful

  1. Alignment is not universal. Inflated streams sit at 4 KB boundaries in data.rpf
    (295/301) but not in levels.rpf (8/26), packs.rpf (0/301) or textures.rpf (0/3). A
    walker that assumes 4 KB skips most streams in three of those four.
  2. anim.rpf is the richest archive, not levels: 64,785 named streams and 367,190 path
    mentions from 130 GB worth of clips, almost all .clip and biped_q*.
  3. movies.rpf produced zero streams and script.rpf / story000_script zero names, so
    "no zlib, no XML" is the accurate description for those three.

What I could not do. Decrypt the TOC. Confirmed it is not ECB (no duplicate blocks in
62,487), which is consistent with the chained mode your doc describes, and the key is not in the
package. The 11.89% is a ceiling for this method, not a progress bar.

If the per-archive breakdown or a 20-row sample with offsets is useful, I can post it. I am not
publishing the full index.


Everything above is reproducible from https://github.com/JoshRob297/rpf9-research, which now
includes:

  • tools/name_recover.py and tools/merge_index.py, the walker and the merge step
  • docs/INDEX.md with the per-archive and per-type coverage
  • raw/paths.sha256 and raw/ids.sha256: 155,214 and 200,184 salted hashes, so you can diff
    your own run against mine without either of us publishing a name
  • raw/index.schema.json with the column layout

The full index stays private on purpose: it is the asset manifest, not a format. If the hashes
help you find streams your walker misses, that is exactly what they are for.

Lingua principale
Python
Stelle
14.9k
Fork
1.2k
Merge medio
1h 58m
PR unite (30g)
40

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ItsNotRexed/Leonida

Tutte le issue di ItsNotRexed/Leonida

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.