# Census: discs and firmware (2026-11-26) Commands (run with `nice`, one process, CPUs 24-31): ```sh # (set REDUMP_DIR and MAME_ROMPATH in your environment first) python -I scripts/census_redump.py > tests/detectors/census-redump-ps2-2026-11-26.txt # 3-4 min mame -listxml ps2 sys246 sys256 kpython kpython2 > tests/mame_traces/listxml-ps2.xml python -I scripts/census_bios.py --listxml tests/mame_traces/listxml-ps2.xml \ > tests/detectors/census-bios-2026-11-26.txt # 15 s ``` Both scripts read file names and zip directories; the BIOS census hashes zip members in memory. Nothing is extracted or copied. The outputs (file names, sizes, SHA-1s: facts, no firmware) are committed under `tests/detectors/`, as psx-python does. ## Discs: `$REDUMP_DIR/Sony - PlayStation 2` **The local set is partial.** 2,536 disc zips are present; a note beside the set says "Moved to external 18TB NFFS drive". The present ones are almost all USA releases (2,527 of 2,536 carry USA in their region field), so this is a subset, not the whole Redump PS2 set, whose total we do not have locally (no DAT beside it): **the full counts are to be taken when the drive is attached**. | Media | Discs | Bytes | | --- | ---: | --- | | DVD (`.iso`) | 1,968 | 5.38 TiB | | of which above DVD-5 size (4,700,372,992 bytes): dual layer, DVD-9 | 27 | largest 8,539,963,392 bytes (Midnight Club 3: DUB Edition Remix (USA)) | | CD (`.cue` + `.bin`) | 566 | 292.0 GiB | | a `.cue` only | 1 | | | unreadable zip directory | 1 | | CD track counts: 562 single-track, 1 with 2, 1 with 5, 2 with 6. Distinct base titles (text before the first parenthesis): 2,053. Tags: Demo 217, Unl 135, Beta 85, Disc 1 21, Disc 2 16, Rev 14, Proto 5. **The PS2 is mostly a DVD machine** (78 % of the present discs), and the CD titles are early releases and demos: the CDVD must handle both from the first disc milestone (M6). ## Firmware: SHA-1s only Hashed: the Redump "Sony - PlayStation 2 - BIOS Images" set (140 dumps, 140 distinct SHA-1s) and MAME's `ps2.zip` plus the PS2-based arcade BIOS sets (67 images, 66 distinct). **All 63 of MAME 0.285's `ps2` BIOS entries are present.** 55 images appear in both sets; 151 distinct SHA-1s in all. | Redump group (by file name) | Dumps | Size | | --- | ---: | --- | | `ps2--` console BIOS (EE kernel, IOP modules, OSDSYS, PS1DRV, TBIN) | 82 | 4 MB | | `ps2-dvd-*` DVD player ROMs | 39 | 2 MB (23), 4 MB (15), 8 MB (1) | | `ps2-mechacon-500` ... `-612` MechaCon firmware | 14 | 278,528 bytes | | `ps2-arcade-*` (arcade units) | 5 | 2 MB | MAME-only images: `scph50006_j`, `scph70002_a`, `kdl22px300_j` (a Sony television with a PS2 inside), `unknown0`-`unknown6`, and Konami Python's `b22a01.u42`. **Reference BIOS proposal (decision P12)** by SHA-1 (MAME label, Redump file): | Role | MAME label | SHA-1 | Why | | --- | --- | --- | --- | | first boot target | `scph10000_t` (v5.0 01/17/00 T, the oldest) | `aea061e6e263fdcc1c4fdbd68553ef78dae74263` | MAME's default; the recipe's BIOS; the first retail kernel | | USA reference | `scph39001_a` (v5.0 02/07/02 A) | `f9a5d629a036b99128f7cb530c6e3ca016e9c8b7` | a common fat USA model, matching the local disc set's region | | late slim | `scph77001_a` (v5.0 02/10/06 A) | `92e488d5b2705e4cca83d4d1efbc421012faf83e` | to find what changed in late models (iop.md U27) | | PAL / Japan | to choose from the table in `tests/detectors/census-bios-2026-11-26.txt` | | | No free PS2 BIOS exists that we know to be clean: `fps2bios` (a fork in uyjulian's account, no licence stated) is not used; the BIOS always runs as itself and is the player's own dump.