Patches · Policenauts
Policenauts · PC-9821
Play Policenauts from one hard-disk image, with no CD drive, NECCDD.SYS or MSCDEX. To play from the CD image instead, follow the Policenauts setup guide.
Patch files only. This site does not provide game files, CD images or DOS system files. Policenauts in the compatibility list
Release 05
Play from hard disk, no CD-ROM
Copies everything the game reads from its CD onto one hard-disk image, so Policenauts runs without a CD drive, NECCDD.SYS or MSCDEX. A 2 KB patch to ITP.EXE swaps its CD library for one that reads the voices with ordinary DOS calls. The CD music (the startup jingle, the five-minute opening and the ending theme) is converted to small files and played through the game's own PCM mixer, like the voices. Everything else is the original game.
Playing on MiSTer
- Copy
PNAUTS.HDI to /media/fat/games/PC98/.
- In the core's menu (F12), mount
PNAUTS.HDI under IDE hard disk. No floppy and no CD image are needed.
- Reset. DOS starts from the hard disk and runs the game.
The builder copies the DOS of your user disk (IO.SYS, MSDOS.SYS, COMMAND.COM, HIMEM, EMM386 and the sound driver AVSDRV.SYS) onto the image, with a small boot loader of our own; no DOS files come from this site. CONFIG.SYS loses the CD driver NECCD.SYS, and AUTOEXEC.BAT loses MSCDEX and starts the game from \PNAUTS. That also frees the conventional memory the music needs. Saves on your user disk are copied to \PNAUTS, where the game keeps them from now on. It also boots in NP2kai and other emulators that take HDI images. A user disk without DOS still works: you then get a data-only image plus a changed copy of the floppy to boot from.
Music quality: 16.5 kHz mono, the same as the voices, rather than CD stereo. The level matches the original CD audio.
IPS · ITP.EXE
No CD + CD music
The patch the builder uses. On its own it needs the TRACK02.MUS–TRACK05.MUS files the builder makes; without them the game simply plays no CD music.
2,136 bytes · SHA-256 c982f7b0b97c7b3547ed01d1ef1a6a9aa142c6c3734f00b18fe2203c2a178156
IPS · ITP.EXE
No CD only
Without the music code. Apply to the original ITP.EXE (670,384 bytes, the same on the system disk and the user disk).
1,468 bytes · SHA-256 e0eb68e5d149394b71498ec0052f7d5c4054deb0753fdf4fe27abb5ab54446ad
A patched ITP.EXE needs the CD's files next to it: PNAUTS.WLD, PNAUTS.NAM and the seven *.TBL files from the CD's PAC folder, PNAUTS.PCM from PCM, and a PNAUTS.BAT with the line nauts /P.\ %1 %2 %3. Voice files in other folders: add /V<dir>+<dir>.
Exact input and output hashes
- ITP.EXE · 670,384 bytes · before
- SHA-256 34683d9b3aae483add6e9b5a5887ec3710f94636043665933a8789a5cf183efa
CRC32 66445c0f · MD5 0ef64ea99fabfb334637cb3879119ea6
- ITP.EXE · no CD + CD music · after
- SHA-256 a5e90a8a42566ee34eafe1958afe9cbce51e0862d909ca96f152492b6cc73cf7
CRC32 15339176 · MD5 3971a8a503001c03dc4c40dfdde7c256
- ITP.EXE · no CD only · after
- SHA-256 4d0408ee9dfd5b645eb6b3e3156668fe408f6f9a70520b6ded40997bcf00b964
CRC32 67eef60a · MD5 15585419e43d032fd1095dc03d060fc7
How it works
The game has a hidden developer switch (/H) that reads its scripts and graphics with DOS file calls; only the voices (PNAUTS.PCM, 350 MB) and the CD audio always went through MSCDEX. The patch replaces the CD library (resident code at file offset 0xF79A) with one that switches that mode on, reads the voices with lseek/read and reports a healthy drive. The game already mixes all its PCM itself (16,537.5 Hz, 16-bit, for the PC-9801-86 board or the PC-9821's built-in PCM through AVSDRV.SYS), so the CD music is added there as an extra mixer channel: the CD-audio helpers (0xF560) are replaced by a player that streams TRACKnn.MUS (8-bit μ-law) through a 32 KB buffer, and the mixer's block end calls it. The game's own "sound off" before the opening, which would stop the mixer, keeps it running instead. Track 6 of the CD is never played by the game and is not converted.
Verified in NP2kai (PC-9801VX, 86 board): the browser-built disks boot, the opening music plays in sync with the picture, the voiced monologue follows when the music ends, as with the CD, and the level matches the CD audio. Not yet tested on the MiSTer core or on real hardware: please report how it runs.