Skip to content
All patches

Patches · Doom II

Doom II · PC-98

Two patches for PC-98 Doom II's DOOM2.EXE (382,210 bytes): a fix for the 86 board's sound blips, and a PC-9801-86 music upgrade that includes it. For Doom, including John Romero's SIGIL, see Doom patches.

Patch files only. This site does not provide game executables, disk images or WAD files. Doom II in the compatibility list

Release 02

Sound blip fix

With PC-9801-86 sound effects, Doom II now and then plays a loud, high-pitched blip (about 5.5 kHz, a twentieth of a second). It comes from the game's own 86-board driver, not from the core: when its sound interrupt arrives while the previous one is still being serviced, the driver should send a block of silence, but a XOR EAX,80808080h where MOV EAX,80808080h was meant fills the block with whatever was left in EAX. NP2kai plays the same blips. The IPS changes that one byte (35h to B8h).

  1. Copy the executable off your installed game and check its SHA-256 against the base hash below. IPS does not validate its input, so stop if the hash differs.
  2. Apply the IPS to a copy, check the result hash, and put it back in the game directory.
  3. Other releases: look for the bytes 8B CA 35 80 80 80 80 C1 E9 02 F3 AB and change the 35 to B8. The pattern occurs once in the executable.
Exact input and output hashes
DOOM2.EXE · before
SHA-256 149c75a8db5cd5cffcd57754de519833a7505c6b9d1f116dddb54a6123b5cc29
CRC32 d5c1b12b · MD5 2b3e503f9132072518a034302388f339
DOOM2.EXE · after
SHA-256 c8ba79927cde3e5905696623b7db897656bc1d29cf5fc1e4704289f033f96216
CRC32 55c8dbd9 · MD5 4bd2184c4fdfca50229879221ff87303

Verified in NP2kai with a logged 86-board data stream: the unpatched game wrote three garbage blocks in 43 s of play, the patched one none in 2,275 blocks (about 106 s). Found while testing the PC98-486 core, which plays the same data.

Release 03

PC-9801-86 music upgrade

Gives the PC-9801-86 FM music a new four-operator bass with a dark sub-octave and a punchy attack, tuned for Doom II's driver, plus a small driver change that lets it sit level with the guitars. Doom II already plays its drums on the YM2608's rhythm section. The IPS includes the sound blip fix above, so apply only this one. Hear the upgrade in Doom's E1M1, before and after.

PC-9801-86

Music upgrade

New bass for GM programs 32–35, bass level boost, blip fix. Apply to the original DOOM2.EXE (382,210 bytes); the patcher also takes one that has the blip fix.

176 bytes · SHA-256 a73c57a6155eb3ea9f16fba0480298a49b4518c65e67e416b1991a2fa03fbe02

  1. Check the base hash (the same before hash as the blip fix), apply the IPS to a copy and check the result hash below.
  2. Run the game's SETUP.EXE and choose PC-9801-86 as the music device (in DEFAULT.CFG this is snd_musicdevice 3). Keep PC-9801-86 for sound effects.
  3. General MIDI users are unaffected: with music on the MPU-PC98 the upgrade only adds the blip fix.
Result hash and what changes
DOOM2.EXE · after
SHA-256 061118161f89bbf9842d0acce970a935bfd5ce7f3249b486a4cb5e460b756fe8
CRC32 89b2f214 · MD5 207408035cced706e0017beb00839215

The game carries its own bank of native four-operator OPNA instruments. The patch replaces the bass entries and adds a 40-byte hook to the driver's volume routine that raises the bass carriers by 5.25 dB. Nothing else in the bank changes; guitars and leads are original.

Tuned by ear on a MiSTer running the PC98-486 core and checked in NP2kai renders (no clipping in the bass parts).