# Census of the CPS-3 sets Run with `python -I scripts/census.py` on 2026-11-11; the full output is [`tests/detectors/census-2026-11-11.txt`](../tests/detectors/census-2026-11-11.txt). The script asks MAME 0.285 (`mame -listsource`, `-listxml`) for every machine of `capcom/cps3.cpp` and looks for each set in the local libraries, matching zip members by CRC and hashing every BIOS file it finds. Nothing is copied or unpacked. The CHD rows below were added on 2026-11-12 from `chdman info -v` on each disc `[ran]`. ## Sets **60 sets** in `capcom/cps3.cpp`: 52 game sets of six games, and 8 bootleg sets (replacement BIOS images and multi-game CDs, parent `cps3boot`). | Game | MAME parent | Sets | NO CD sets | CD sets | NO CD SIMM images (files / bytes) | | --- | --- | --- | --- | --- | --- | | Red Earth / War-Zard | `redearth` | 6 | 2 (`redearthn`, `redearthnr1`) | 4 | 22 / 46,137,344 | | Street Fighter III: New Generation | `sfiii` | 7 | 2 (`sfiiin`, `sfiiina`) | 5 | 22 / 46,137,344 | | Street Fighter III 2nd Impact | `sfiii2` | 4 | 1 (`sfiii2n`) | 3 | 32 / 67,108,864 | | JoJo's Venture | `jojo` | 15 | 3 (`jojon`, `jojonr1`, `jojonr2`) | 12 | 26 / 54,525,952 | | Street Fighter III 3rd Strike | `sfiii3` | 10 | 4 (`sfiii3n`, `sfiii3na`, `sfiii3nar1`, `sfiii3nr1`) | 6 | 40 / 83,886,080 | | JoJo's Bizarre Adventure | `jojoba` | 10 | 6 (`jojoba` itself, `jojoban`, `jojobaner1/2`, `jojobanr1/2`) | 4 | 32 / 67,108,864 | | bootleg BIOS and CDs | `cps3boot` | 8 | | 8 | | So **18 NO CD game sets** carry their SIMMs as chip images (2 MiB each, one file per flash chip), and **34 CD game sets** carry only the BIOS and need a CHD. `jojoba`, a parent, is itself a NO CD set. A NO CD set's file count is the number of populated flash chips: SIMM 1 and 2 have 4 chips, SIMM 3 to 6 have 8, a half SIMM 5 has 2. Red Earth and New Generation: SIMMs 1, 3, 4, 5 (half). JoJo's Venture: 1, 2, 3, 4, 5 (half). 2nd Impact and JoJo BA: 1 to 5. 3rd Strike: 1 to 6. ## Where the sets are | Library | Complete sets | | --- | --- | | MAME `ROMs (merged)` and `ROMs (non-merged)` (the local MAME sets) | all 60 | | MAME `CHDs (merged)` (the local MAME sets) | every CHD MAME lists for the 60 sets | | `/mame` | `sfiii`, `sfiii2`, `redearthnr1`, `cps3boot` (with their CHDs) | | `/fbneo` | `sfiii`, `sfiii2`, `jojojr2`, `jojobajr2` complete; partial others; FinalBurn Neo hack sets MAME does not list | ## BIOS images (the security cartridge's 29F400 flash) **29 distinct images**, 524,288 bytes each, one per game, region and CD/NO CD combination, plus two bootleg images (`no-battery_bios_29f400_for_hd6417095_sh2.u2` for a stock CPU, `no-battery_bios_29f400_for_dead_security_cart.u2` for a dead cartridge). **Every one was found locally and its SHA-1, computed from the bytes, matches MAME's.** The per-set table with CRC and SHA-1 is in the census file. All six games' BIOS images decrypt with their key pair to the same reset vectors (PC `00000400`, SP `02080000`) ([encryption.md](encryption.md)). ## CDs (CHD files) **19 distinct CHDs: 11 game discs and 8 bootleg discs.** (The status page of 2026-11-11 said "19 game CHDs"; that was the total, not the game count.) All are CHD version 5, one data track. | Disc | Used by (MAME parent) | Track | Frames | Hunk codecs used `[ran]` | | --- | --- | --- | --- | --- | | `cap-wzd-3` | `redearth` | MODE1_RAW | 22,792 | LZMA 4,708, Deflate 990 | | `cap-wzd-5` | `redearth` | MODE1_RAW | 22,792 | LZMA 2,433, Deflate 416 | | `cap-sf3-3` | `sfiii` (5 sets) | MODE1_RAW | 22,792 | LZMA 2,590, Deflate 259 | | `cap-3ga000` | `sfiii2` (3 sets) | MODE1_RAW | 33,032 | LZMA 4,076, Deflate 53 | | `cap-jjk000` | `jojo` | MODE1_RAW | 26,888 | LZMA 3,146, Deflate 215 | | `cap-jjk-2` | `jojo` | MODE1_RAW | 26,888 | LZMA 3,146, Deflate 215 | | `cap-jjk-3` | `jojo` | **MODE1** (2,048-byte sectors) | 26,888 | copy 21, LZMA 3,105, Deflate 234, **FLAC 1** | | `cap-33s-1` | `sfiii3` | MODE1_RAW | 41,224 | LZMA 4,969, Deflate 184 | | `cap-33s-2` | `sfiii3` | MODE1_RAW | 41,224 | LZMA 4,973, Deflate 180 | | `cap-jjm-0` | `jojoba` | **MODE1** | 33,032 | copy 20, LZMA 3,935, Deflate 173, **FLAC 1** | | `cap-jjm-1` | `jojoba` | MODE1_RAW | 33,031 | copy 22, LZMA 7,800, Deflate 436 | | 8 bootleg discs | `cps3boot` | | | copy, LZMA, Deflate, FLAC 3-7 each | Two facts for the disc reader (U11, now answered): **some data hunks are FLAC-coded** (one each in `cap-jjk-3` and `cap-jjm-0`, several in every bootleg disc), and some hunks are copies of other hunks; and two discs store 2,048-byte cooked sectors, the rest 2,352-byte raw sectors. A reader that handles only LZMA and Deflate (Python's standard library) cannot read every disc. `chdman extractcd` to BIN/CUE avoids the question. Disc sizes agree with the SIMM contents they carry: 22,792 frames × 2,048 bytes = 46.7 MB for Red Earth and New Generation (44 MiB of SIMMs plus bitmaps), 33,032 frames = 67.7 MB for 2nd Impact and JoJo BA (64 MiB), 26,888 = 55.1 MB for JoJo's Venture (52 MiB), 41,224 = 84.4 MB for 3rd Strike (80 MiB). Only `cap-sf3-3` was opened file by file ([boot.md](boot.md)); the size agreement is consistent with the same file pattern on the other ten, not a check of it (U6). ## What the census decides - The first target can be a NO CD set (no SCSI, no CD, no flashing): `redearthnr1` is present in two libraries, is the smallest (44 MiB), and runs in MAME here ([mame-oracle.md](mame-oracle.md)). - The six games need one board and six rows of data (key pair, SIMM population); region and NO CD are properties of the BIOS image, not rows. - Nothing is missing locally.