# Disc library census (2026-11-26) Command (zip central directories and the small `.cue` member of each zip only; no image extracted, copied or hashed; one process under `nice`, CPUs 24-31; 87 s): ```sh REDUMP_DIR= \ python -I scripts/census_redump.py --softlist /usr/share/games/mame/hash/cdi.xml \ > tests/detectors/census-redump-cdi-2026-11-26.txt ``` The script takes `$REDUMP_DIR` (or its `Philips - CD-i` folder). The firmware census is in [bios-and-models.md](bios-and-models.md). ## Redump "Philips - CD-i" | | Count | | --- | ---: | | discs (one zip each) | **2,421** | | distinct base titles (text before the first parenthesis) | 1,782 | | discs tagged (Disc N) | 288 | | Europe / USA / Japan / Netherlands / Germany / France / Korea | 556 / 442 / 360 / 279 / 211 / 209 / 107 | | UK, Italy, Spain, Belgium, Austria, others | 80, 77, 65, 21, 14, ~50 | | Beta / Rev / Alt / Proto / Demo / Unl | 112 / 76 / 28 / 21 / 21 / 10 | | one track (a single `CDI/2352` track) | **2,104** | | a CD-i track plus CD-DA tracks | 213 (183 with one audio track) | | audio tracks only (**CD-i Ready** candidates: the program hides in track 1's pre-gap) | **80** | | `MODE1/2352` tracks (not CD-i) | 2 | | zips holding only a `.cue` (no image in this mirror) | 9 | | uncompressed images | 1,315,015,023,504 bytes (1.2 TiB), 559,105,027 sectors of 2,352 bytes | Facts the board must honour, from the census: - Every CD-i disc's data track is typed `CDI/2352` in the cue sheet (raw 2,352-byte sectors, Mode 2 Form 1/Form 2 with the CD-i subheader: Green Book chapter III). The disc reader must accept that cue keyword, not only `MODE2/2352`. - 293 discs carry CD-DA tracks: CD-DA playback through the CDIC (or the slave/servo path on later boards) is required, not optional. - 80 discs are audio-only in the cue sheet: CD-i Ready titles whose CD-i program sits in the pre-gap of track 1 (ICDIA application note "CD-i Ready"). The image reader must expose `INDEX 00` pre-gap sectors as readable data, which a naive cue reader skips. Track 1's pre-gap is present in Redump images (HYPOTHESIS until one is opened in milestone 4). ## Digital Video Cartridge titles (estimate) MAME's CC0 software list `hash/cdi.xml` (646 entries, 529 base titles) marks 142 base titles `compatibility=DVC`. Matching Redump base titles by normalised name finds 246 shared titles, **60 of them DVC**. That is a floor, not a count: names differ between the lists, and the list is TOSEC-derived (its own header). The DVC row is a later milestone (dvc.md); a title-by-title DVC flag will come from the disc itself (the MPEG sectors' coding bytes and the `vmpega`/`fmv` driver modules a title loads), not from a list. ## Curated library There is no CD-i folder in the curated library (`roms-retrobat` has none). The Redump set is the only disc source; the board reads `.cue`/`.bin` first and CHD later (CHD needs a reader whose licence is checked first: libchdr is BSD-3-Clause). ## Arcade MAME's Quizard machines (`quizard`, `quizard2`, `quizard3`, `quizard4`; TAB Austria) are a Mono-I CD-i (`cdi220b.rom`) plus an Intel 8751 protection MCU and a disc (MAME CHDs `quizard*` are in the mirror's `CHDs (merged)`). They are a late row at most: the 8751 is an MCS-51 part, and the family has no MCS-51 core (`mcs48-python` is the 8048 family, a different instruction set).