Skip to content

Releases

Virtua Cop 3 v0.2.1 (Windows, macOS, Steam Frame): auto reload, every switch in the menus, full-width hit flash

Choose a tag to compare

@lialan lialan released this 02 Dec 16:55

Virtua Cop 3 (Sega Chihiro, 2003), statically recompiled to native code for Windows, macOS and Steam Frame (VR and flat). There's no emulator: the arcade game's code runs as native code and draws with Vulkan.

Platform Download
Windows 10/11, x64 VC3Recomp-v0.2.1-Windows.zip
macOS 13+, Apple Silicon VC3Recomp-v0.2.1-macOS.zip
Steam Frame (SteamOS, VR + flat) VC3Recomp-v0.2.1-SteamFrame.tar.gz

The game itself is not included. You need one of these files of your own:

File Size SHA-256
Virtua Cop 3.squashfs 364,109,824 bytes 34bdaf7234f488030584aa4d9f3e3c3241d5aeb17463f3ef090d4a0f40dcec4a
gdx-0003a.chd (MAME's image of the arcade disc, revision A) 872,554,878 bytes 0d2317a6dc746b20676b345a56181fd19b2f89f829deb1191542d167b815f3eb

The first start checks the file and unpacks it once. After that the game starts directly, and you can delete the file. Any other file is refused, including gdx-0003b.chd (revision B is a newer build than the one this port is made from). Settings, saves and the imported game from earlier versions are kept.

What's new in v0.2.1

  • Auto Reload. Controls → Auto Reload (off by default): when a player's gun is empty, it reloads by itself, for both players and with a mouse, a light gun, a gamepad or a VR controller. It reads the game's own ammo count, so it reloads only when the gun is really empty. Setting: auto_reload=1 (VC3_AUTO_RELOAD=1 in the Steam Frame's env.txt).
  • Every switch in the menus. Controls now also turns Light Guns (two guns, two players; Windows), Recoil and Rumble and MAME Outputs on and off while you play. A new Arcade menu inserts coins for player 1 and 2, presses the Test button (the game's operator menu, where difficulty, lives and free play are set) and the Service button, and turns Sound on or off (from the next start; sound=0).
  • macOS: Display → Light Gun Border is now in the menu. The v0.2.0 notes said it was, but it was only in the settings file.
  • 16:9: the hit flash covers the whole screen. When you were hit, the washed-out, cracked-glass picture filled only the 4:3 middle while the game carried on at the sides. It now spans the full width.

Light guns (new in v0.2.0)

  • Light guns aim and fire. Any gun that works as a mouse (Sinden, AimTrak, GUN4IR, OpenFIRE, Retro Shooter RS3 Reaper, Blamcon, a Wii remote on a DolphinBar, …) plays like the arcade gun. Pull the trigger off the screen, or press the gun's right button, to reload. The middle button is the gun's CHANGE button, and Space is still the foot pedal.
  • Two guns, two players (Windows, and the Steam Frame's flat game). Each gun is read on its own. A gun that names its player (OpenFIRE, GUN4IR and Blamcon say P1/P2) becomes that player; any other gun becomes the next free player when its trigger is first pulled. An ordinary mouse is never mistaken for a gun.
  • Recoil and rumble follow the game itself. Recoil fires on a shot the game actually counts, not on every trigger pull, so there's no recoil on an empty gun or a reload. Rumble fires when your player is hit.
    • GUN4IR, OpenFIRE, RS3 Reaper and Blamcon: driven directly over their USB serial port, found automatically.
    • Sinden, and any gun MAMEHooker, OutputHooker or QMamehook drives: through MAME network outputs on 127.0.0.1:8000. The game name is vcop3; the outputs include P1_CtmRecoil / P2_CtmRecoil (a shot), P1_Damaged / P2_Damaged (a hit), P1_Ammo, P1_Life and the start and pedal lamps.
  • Sinden border: Display → Light Gun Border draws the white frame Sinden guns need to find the screen. Play in fullscreen.
  • macOS: a gun aims and fires as player 1 (it's read as the mouse). Recoil works if you name the gun's serial port (gun1_port=/dev/cu.usbmodem…), or through MAME network outputs.
  • Steam Frame (flat game): guns are read through /dev/input, so the user must be in the input group. Options go in env.txt as VC3_GUN1_PORT=/dev/ttyACM0, VC3_RECOIL=0, VC3_GUN_BORDER=2 and so on.

Settings go one per line in the settings file (%LOCALAPPDATA%\VC3\settings on Windows, ~/Library/Application Support/VC3/settings on macOS):

Setting Meaning
gun1_port=COM5 / gun2_port=COM6 the gun's serial port for player 1 / 2; blamcon:COM7 for a Blamcon; auto (default) finds it; off for none
recoil=0 nothing is sent to serial guns
gun_netout=0 no MAME network outputs (gun_netout_port=8001 moves them)
lightguns=0 guns are read as the mouse only (player 1)
gun_border=2 the Sinden border's width, 2% of the screen height (0: none)
auto_reload=1 an empty gun reloads itself (Controls → Auto Reload)
sound=0 no sound, from the next start (Arcade → Sound)

The bundled README.txt has the same list.

Run

Windows: unzip and run VC3Recomp.exe, the whole program. Choose Virtua Cop 3.squashfs or gdx-0003a.chd when asked, or drag the file onto the exe. It needs a GPU with a Vulkan driver (any recent NVIDIA, AMD or Intel driver). If SmartScreen warns, click More info → Run anyway.

macOS: unzip and move VC3Recomp.app to Applications. The app isn't notarized, so the first start needs System Settings → Privacy & Security → Open Anyway (or run xattr -dr com.apple.quarantine /Applications/VC3Recomp.app). Then choose the .squashfs or the .chd when asked.

Steam Frame:

  1. In Desktop Mode, unpack the tarball to e.g. ~/Games/VC3Recomp, and put Virtua Cop 3.squashfs or gdx-0003a.chd in that folder (or in ~/Downloads).
  2. In Steam, add launch.sh (VR) and/or launch-flat.sh (flat) as Non-Steam Games. The first start imports the file; the bundled README.txt lists the VR and gamepad controls.
Mouse or light gun aim
Left / right button fire / reload
Middle button the gun's CHANGE button
Space the cabinet's foot pedal
5 / 6 coin, player 1 / 2
1 / 2 start, player 1 / 2
F2 / F1 test / service
F11 or Alt+Enter fullscreen
F10 60 / 120 fps

The Display menu sets the internal resolution (1x–4x), the aspect ratio (16:9 by default; 4:3 is also available), the frame rate, fullscreen and the light-gun border. The Controls menu has Auto Reload, the light-gun switches and the key bindings. The Arcade menu inserts coins, presses Test and Service, and switches Sound.

Windows macOS
Game (imported) %LOCALAPPDATA%\VC3\game ~/Library/Application Support/vc3/game
Settings %LOCALAPPDATA%\VC3\settings ~/Library/Application Support/VC3/settings
Log of the last run %LOCALAPPDATA%\VC3\vc3.log ~/Library/Logs/vc3/vc3.log

To import again, delete the game folder and start the app.

Build from source

The repository contains no game code or data. A build lifts the game's own program (vc3.xbe, from your copy) to C, then compiles it with the shared Chihiro runtime.

1. Get the code and tools. You need git, CMake, Ninja, Python 3 and glslc (from the Vulkan SDK, or brew install shaderc).

git clone --recursive https://github.com/lialan/chihiro-recomp.git
cd chihiro-recomp
python3 -m venv .venv && .venv/bin/pip install capstone

2. Point it at the game folder (the one holding vc3.xbe and media/). The easiest one is the folder a release imported into (see Run), or unpack the .squashfs yourself (unsquashfs -d vc3-game "Virtua Cop 3.squashfs").

export VC3_GAME_DIR="$HOME/Library/Application Support/vc3/game"

3. Analyze and lift (a few minutes; writes games/vc3/generated, which is never committed). lift.sh refuses any XBE other than the one this port is made from.

scripts/analyze.sh vc3
scripts/lift.sh vc3

4. Build a package:

Target Command Output
Windows (cross-compiled with MinGW-w64 from macOS or Linux, or in MSYS2 UCRT64) scripts/build-windows.sh vc3 --no-lift build-win64/VC3Recomp-v<ver>-Windows.zip
macOS app scripts/package-macos.sh vc3 0.2.1 build-mac-release/VC3Recomp-v0.2.1-macOS.zip
Steam Frame (in an arm64 Ubuntu 24.04 Docker container; OrbStack runs it natively on Apple Silicon) scripts/package-steamframe.sh vc3 0.2.1 build-steamframe/VC3Recomp-v0.2.1-SteamFrame.tar.gz
quick native build (macOS, Linux) cmake -S . -B build -G Ninja -DCHIHIRO_RENDERER=vulkan -DCHIHIRO_GAMES=vc3 && cmake --build build --target vc3 build/vc3, run as build/vc3 "$VC3_GAME_DIR"

Each script's header lists its dependencies: the Windows build needs a MinGW UCRT prefix with SDL2, zstd, zlib and the Vulkan headers/loader (WIN64_DEPS); the macOS package needs SDL2 and Vulkan-Loader built for macOS 13 (MACOS_DEPS) and the zstd source (ZSTD_SRC). Set CHIHIRO_VERSION=0.2.1 for the Windows build's version. steamframe/README.md covers the Steam Frame in more depth.

Tested on

  • Auto reload (v0.2.1), in scripted games on macOS that fire and never reload, aim held on the screen: with it on, the gun refills right after it empties, every time. The switches are checked by a unit test that turns recoil and the MAME outputs off and back on mid-game. The menus build on Windows and macOS but were not clicked through by hand; auto reload has not been tried on a Steam Frame.
  • The hit flash at 16:9 (v0.2.1), in frames dumped from a scripted game: the washed-out picture now covers the whole width, and nothing else in the attract mode or play changes.
  • Light guns, without physical guns: scripted two-player games register both players' shots, with recoil and rumble at the right moments, on a stand-in serial gun and a MAME-outputs client (macOS); the ...
Read more

Virtua Cop 3 v0.2.0 (Windows, macOS, Steam Frame): light guns

Choose a tag to compare

@lialan lialan released this 02 Dec 15:23

Virtua Cop 3 (Sega Chihiro, 2003), statically recompiled to native code for Windows, macOS and Steam Frame (VR and flat). There's no emulator: the arcade game's code runs as native code and draws with Vulkan.

Platform Download
Windows 10/11, x64 VC3Recomp-v0.2.0-Windows.zip
macOS 13+, Apple Silicon VC3Recomp-v0.2.0-macOS.zip
Steam Frame (SteamOS, VR + flat) VC3Recomp-v0.2.0-SteamFrame.tar.gz

The game itself is not included. You need one of these files of your own:

File Size SHA-256
Virtua Cop 3.squashfs 364,109,824 bytes 34bdaf7234f488030584aa4d9f3e3c3241d5aeb17463f3ef090d4a0f40dcec4a
gdx-0003a.chd (MAME's image of the arcade disc, revision A) 872,554,878 bytes 0d2317a6dc746b20676b345a56181fd19b2f89f829deb1191542d167b815f3eb

The first start checks the file and unpacks it once. After that the game starts directly, and you can delete the file. Any other file is refused, including gdx-0003b.chd (revision B is a newer build than the one this port is made from). Settings, saves and the imported game from earlier versions are kept.

What's new in v0.2.0: light guns

  • Light guns aim and fire. Any gun that works as a mouse (Sinden, AimTrak, GUN4IR, OpenFIRE, Retro Shooter RS3 Reaper, Blamcon, a Wii remote on a DolphinBar, …) plays like the arcade gun. Pull the trigger off the screen, or press the gun's right button, to reload. The middle button is the gun's CHANGE button, and Space is still the foot pedal.
  • Two guns, two players (Windows, and the Steam Frame's flat game). Each gun is read on its own. A gun that names its player (OpenFIRE, GUN4IR and Blamcon say P1/P2) becomes that player; any other gun becomes the next free player when its trigger is first pulled. An ordinary mouse is never mistaken for a gun.
  • Recoil and rumble follow the game itself. Recoil fires on a shot the game actually counts, not on every trigger pull, so there's no recoil on an empty gun or a reload. Rumble fires when your player is hit.
    • GUN4IR, OpenFIRE, RS3 Reaper and Blamcon: driven directly over their USB serial port, found automatically.
    • Sinden, and any gun MAMEHooker, OutputHooker or QMamehook drives: through MAME network outputs on 127.0.0.1:8000. The game name is vcop3; the outputs include P1_CtmRecoil / P2_CtmRecoil (a shot), P1_Damaged / P2_Damaged (a hit), P1_Ammo, P1_Life and the start and pedal lamps.
  • Sinden border: Display → Light Gun Border draws the white frame Sinden guns need to find the screen. Play in fullscreen.
  • macOS: a gun aims and fires as player 1 (it's read as the mouse). Recoil works if you name the gun's serial port (gun1_port=/dev/cu.usbmodem…), or through MAME network outputs.
  • Steam Frame (flat game): guns are read through /dev/input, so the user must be in the input group. Options go in env.txt as VC3_GUN1_PORT=/dev/ttyACM0, VC3_RECOIL=0, VC3_GUN_BORDER=2 and so on.

Settings go one per line in the settings file (%LOCALAPPDATA%\VC3\settings on Windows, ~/Library/Application Support/VC3/settings on macOS):

Setting Meaning
gun1_port=COM5 / gun2_port=COM6 the gun's serial port for player 1 / 2; blamcon:COM7 for a Blamcon; auto (default) finds it; off for none
recoil=0 nothing is sent to serial guns
gun_netout=0 no MAME network outputs (gun_netout_port=8001 moves them)
lightguns=0 guns are read as the mouse only (player 1)
gun_border=2 the Sinden border's width, 2% of the screen height (0: none)

The bundled README.txt has the same list. Gameplay, graphics and performance are otherwise unchanged from v0.1.2.

Run

Windows: unzip and run VC3Recomp.exe, the whole program. Choose Virtua Cop 3.squashfs or gdx-0003a.chd when asked, or drag the file onto the exe. It needs a GPU with a Vulkan driver (any recent NVIDIA, AMD or Intel driver). If SmartScreen warns, click More info → Run anyway.

macOS: unzip and move VC3Recomp.app to Applications. The app isn't notarized, so the first start needs System Settings → Privacy & Security → Open Anyway (or run xattr -dr com.apple.quarantine /Applications/VC3Recomp.app). Then choose the .squashfs or the .chd when asked.

Steam Frame:

  1. In Desktop Mode, unpack the tarball to e.g. ~/Games/VC3Recomp, and put Virtua Cop 3.squashfs or gdx-0003a.chd in that folder (or in ~/Downloads).
  2. In Steam, add launch.sh (VR) and/or launch-flat.sh (flat) as Non-Steam Games. The first start imports the file; the bundled README.txt lists the VR and gamepad controls.
Mouse or light gun aim
Left / right button fire / reload
Middle button the gun's CHANGE button
Space the cabinet's foot pedal
5 / 6 coin, player 1 / 2
1 / 2 start, player 1 / 2
F2 / F1 test / service
F11 or Alt+Enter fullscreen
F10 60 / 120 fps

The Display menu sets the internal resolution (1x–4x), aspect ratio (16:9 by default), frame rate, fullscreen and the light-gun border. The Controls menu rebinds keys.

Windows macOS
Game (imported) %LOCALAPPDATA%\VC3\game ~/Library/Application Support/vc3/game
Settings %LOCALAPPDATA%\VC3\settings ~/Library/Application Support/VC3/settings
Log of the last run %LOCALAPPDATA%\VC3\vc3.log ~/Library/Logs/vc3/vc3.log

To import again, delete the game folder and start the app.

Build from source

The repository contains no game code or data. A build lifts the game's own program (vc3.xbe, from your copy) to C, then compiles it with the shared Chihiro runtime.

1. Get the code and tools. You need git, CMake, Ninja, Python 3 and glslc (from the Vulkan SDK, or brew install shaderc).

git clone --recursive https://github.com/lialan/chihiro-recomp.git
cd chihiro-recomp
python3 -m venv .venv && .venv/bin/pip install capstone

2. Point it at the game folder (the one holding vc3.xbe and media/). The easiest one is the folder a release imported into (see Run), or unpack the .squashfs yourself (unsquashfs -d vc3-game "Virtua Cop 3.squashfs").

export VC3_GAME_DIR="$HOME/Library/Application Support/vc3/game"

3. Analyze and lift (a few minutes; writes games/vc3/generated, which is never committed). lift.sh refuses any XBE other than the one this port is made from.

scripts/analyze.sh vc3
scripts/lift.sh vc3

4. Build a package:

Target Command Output
Windows (cross-compiled with MinGW-w64 from macOS or Linux, or in MSYS2 UCRT64) scripts/build-windows.sh vc3 --no-lift build-win64/VC3Recomp-v<ver>-Windows.zip
macOS app scripts/package-macos.sh vc3 0.2.0 build-mac-release/VC3Recomp-v0.2.0-macOS.zip
Steam Frame (in an arm64 Ubuntu 24.04 Docker container; OrbStack runs it natively on Apple Silicon) scripts/package-steamframe.sh vc3 0.2.0 build-steamframe/VC3Recomp-v0.2.0-SteamFrame.tar.gz
quick native build (macOS, Linux) cmake -S . -B build -G Ninja -DCHIHIRO_RENDERER=vulkan -DCHIHIRO_GAMES=vc3 && cmake --build build --target vc3 build/vc3, run as build/vc3 "$VC3_GAME_DIR"

Each script's header lists its dependencies: the Windows build needs a MinGW UCRT prefix with SDL2, zstd, zlib and the Vulkan headers/loader (WIN64_DEPS); the macOS package needs SDL2 and Vulkan-Loader built for macOS 13 (MACOS_DEPS) and the zstd source (ZSTD_SRC). Set CHIHIRO_VERSION=0.2.0 for the Windows build's version. steamframe/README.md covers the Steam Frame in more depth.

Tested on

  • Light guns, without physical guns: scripted two-player games register both players' shots, with recoil and rumble at the right moments, on a stand-in serial gun and a MAME-outputs client (macOS); the two-gun reader on Windows 11 with injected input; gun detection and player assignment on Linux with virtual guns. Not yet tried with a real light gun. Sinden's recoil through MAME outputs is reported by its users but unconfirmed here; its own recoil-on-trigger works either way.
  • Import: both accepted files unpack to the same game on Windows 11 (x64) and macOS (Apple Silicon); the Steam Frame import was checked in an arm64 Linux container.
  • Play: game speed is unchanged from v0.1.1, which ran at 59.8–60 fps on Windows 11 with a Radeon 780M at 1x–2x and 52–60 fps on an Apple M4 Pro. The Steam Frame package has still not been run on a Frame.

Built from games/vc3 and steamframe/ on the lialan/xboxrecomp toolkit. The light-gun code is in runtime/src/host (lightgun_input.c, gun_feedback.c, gun_serial.c, gun_netout.c). Third-party licences are in each download's licenses/.

Virtua Cop 3 v0.1.2 (Windows, macOS, Steam Frame)

Choose a tag to compare

@lialan lialan released this 02 Dec 14:10

Virtua Cop 3 (Sega Chihiro, 2003), statically recompiled to native code for Windows, macOS and Steam Frame (VR and flat). There's no emulator: the arcade game's code runs as native code and draws with Vulkan.

Platform Download
Windows 10/11, x64 VC3Recomp-v0.1.2-Windows.zip
macOS 13+, Apple Silicon VC3Recomp-v0.1.2-macOS.zip
Steam Frame (SteamOS, VR + flat) VC3Recomp-v0.1.2-SteamFrame.tar.gz

The game itself is not included. You need one of these files of your own:

File Size SHA-256
Virtua Cop 3.squashfs 364,109,824 bytes 34bdaf7234f488030584aa4d9f3e3c3241d5aeb17463f3ef090d4a0f40dcec4a
gdx-0003a.chd (new in v0.1.2) 872,554,878 bytes 0d2317a6dc746b20676b345a56181fd19b2f89f829deb1191542d167b815f3eb

The first start checks the file and unpacks it once. After that the game starts directly, and you can delete the file. Any other file is refused.

What's new in v0.1.2

  • The arcade disc itself is now accepted as the game file. Besides the Batocera .squashfs, you can now choose gdx-0003a.chd, MAME's image of the original GD-ROM, revision A (GDX-0003A). The disc's game image is encrypted, and the key it needs is built into the app, so the .chd alone is enough: you don't need MAME's vcop3.zip or its PIC file. The app reads the disc, decrypts the game image and unpacks the same files the .squashfs holds, in a few seconds.
  • Only revision A works. gdx-0003b.chd (revision B) holds a newer build of the game (May 2003) than the one this port is made from (February 2003), so it is refused.
  • Gameplay, graphics and performance are unchanged from v0.1.1.

Install

Windows: VC3Recomp.exe is the whole program. Run it and choose Virtua Cop 3.squashfs or gdx-0003a.chd when asked, or drag the file onto the exe. It needs a GPU with a Vulkan driver.

macOS: move VC3Recomp.app to Applications. The app isn't notarized, so the first start needs System Settings → Privacy & Security → Open Anyway. Then choose the .squashfs or the .chd when asked.

Steam Frame:

  1. In Desktop Mode, unpack the tarball to e.g. ~/Games/VC3Recomp, and put Virtua Cop 3.squashfs or gdx-0003a.chd in that folder (or in ~/Downloads).
  2. In Steam, add launch.sh (VR) and/or launch-flat.sh (flat) as Non-Steam Games.

The first start imports the file. The bundled README.txt lists the VR and gamepad controls.

Play (Windows, macOS)

Mouse aim
Left / right button fire / reload
Middle button the gun's CHANGE button
Space the cabinet's foot pedal
5 / 6 coin, player 1 / 2
1 / 2 start, player 1 / 2
F2 / F1 test / service
F11 or Alt+Enter fullscreen
F10 60 / 120 fps

The Display menu sets the internal resolution (1x–4x), aspect ratio, frame rate and fullscreen. The Controls menu rebinds keys.

Tested on

  • The new import: gdx-0003a.chd unpacks to the .squashfs's 339 files, byte for byte (plus one empty placeholder file the .squashfs leaves out), on Windows 11 (x64, about 10 s including the check) and on macOS (Apple Silicon, about 7 s). The Steam Frame launcher's import was checked in an arm64 Linux container, and it refuses gdx-0003b.chd.
  • Play: the game code is the same as v0.1.1, which ran at 59.8–60 fps on Windows 11 with a Radeon 780M at 1x–2x and 52–60 fps on an Apple M4 Pro. The Steam Frame package has still not been run on a Frame.

Built from games/vc3 and steamframe/ on the lialan/xboxrecomp toolkit. The disc reader is runtime/src/host/chd_import.c. Third-party licences are in each download's licenses/.

The House of the Dead III v0.2.1 (Windows, macOS): auto reload, every switch in the menus

Choose a tag to compare

@lialan lialan released this 02 Dec 16:55

The House of the Dead III (Sega Chihiro, 2002), statically recompiled to native code for Windows and macOS. There's no emulator: the arcade game's code runs as native x86-64 / Apple Silicon code and draws with Vulkan.

Platform Download
Windows 10/11, x64 HOTD3Recomp-v0.2.1-Windows.zip
macOS 13+, Apple Silicon HOTD3Recomp-v0.2.1-macOS.zip

The game itself is not included. You need one of these files of your own:

File Size SHA-256
House Of the Dead 3.squashfs 331,288,576 bytes 5b24985d649b4ccf9e486d8de12bf4b6508fe88740c64c9bf472bed0667308c3
gdx-0001.chd (MAME's image of the arcade disc) 371,014,009 bytes 8567fac3c6e24ba56a201d6cbb3c410f70d4b08a2aa69b98bf59a0845ba0bd48

The first start asks for the file, checks it and unpacks it once. After that the game starts directly, and you can delete the file. Any other file is refused. Settings, saves and the imported game from earlier versions are kept.

What's new in v0.2.1

  • Auto Reload. Controls → Auto Reload (off by default): when a player's gun is empty, it reloads by itself, for both players and with a mouse, a light gun. It reads the game's own ammo count, so it reloads only when the gun is really empty. Setting: auto_reload=1.
  • Every switch in the menus. Controls now also turns Light Guns (two guns, two players; Windows), Recoil and Rumble and MAME Outputs on and off while you play. A new Arcade menu inserts coins for player 1 and 2, presses the Test button (the game's operator menu, where difficulty, lives and free play are set) and the Service button, and turns Sound on or off (from the next start; sound=0).
  • macOS: Display → Light Gun Border is now in the menu. The v0.2.0 notes said it was, but it was only in the settings file.

Light guns (new in v0.2.0)

  • Light guns aim and fire. Any gun that works as a mouse (Sinden, AimTrak, GUN4IR, OpenFIRE, Retro Shooter RS3 Reaper, Blamcon, a Wii remote on a DolphinBar, …) plays like the arcade gun. Pull the trigger off the screen, or press the gun's right button, to reload.
  • Two guns, two players (Windows). Each gun is read on its own. A gun that names its player (OpenFIRE, GUN4IR and Blamcon say P1/P2) becomes that player; any other gun becomes the next free player when its trigger is first pulled. An ordinary mouse is never mistaken for a gun.
  • Recoil and rumble follow the game itself. Recoil fires on a shot the game actually counts, not on every trigger pull, so there's no recoil on an empty gun or a reload. Rumble fires when your player is hit.
    • GUN4IR, OpenFIRE, RS3 Reaper and Blamcon: driven directly over their USB serial port, found automatically.
    • Sinden, and any gun MAMEHooker, OutputHooker or QMamehook drives: through MAME network outputs on 127.0.0.1:8000. The game name is hotd3; the outputs include P1_CtmRecoil / P2_CtmRecoil (a shot), P1_Damaged / P2_Damaged (a hit), P1_Ammo, P1_Life and the start lamps.
  • Sinden border: Display → Light Gun Border draws the white frame Sinden guns need to find the screen. Play in fullscreen.
  • macOS: a gun aims and fires as player 1 (it's read as the mouse). Recoil works if you name the gun's serial port (gun1_port=/dev/cu.usbmodem…), or through MAME network outputs.

Settings go one per line in the settings file (%LOCALAPPDATA%\HOTD3\settings on Windows, ~/Library/Application Support/HOTD3/settings on macOS):

Setting Meaning
gun1_port=COM5 / gun2_port=COM6 the gun's serial port for player 1 / 2; blamcon:COM7 for a Blamcon; auto (default) finds it; off for none
recoil=0 nothing is sent to serial guns
gun_netout=0 no MAME network outputs (gun_netout_port=8001 moves them)
lightguns=0 guns are read as the mouse only (player 1)
gun_border=2 the Sinden border's width, 2% of the screen height (0: none)
auto_reload=1 an empty gun reloads itself (Controls → Auto Reload)
sound=0 no sound, from the next start (Arcade → Sound)

The bundled README.txt has the same list.

Run

Windows: unzip and run HOTD3Recomp.exe, the whole program. Choose House Of the Dead 3.squashfs or gdx-0001.chd when asked, or drag the file onto the exe. It needs a GPU with a Vulkan driver (any recent NVIDIA, AMD or Intel driver). If SmartScreen warns, click More info → Run anyway.

macOS: unzip and move HOTD3Recomp.app to Applications. The app isn't notarized, so the first start needs System Settings → Privacy & Security → Open Anyway (or run xattr -dr com.apple.quarantine /Applications/HOTD3Recomp.app). Then choose the .squashfs or the .chd when asked.

Mouse or light gun aim
Left / right button fire / reload
5 / 6 coin, player 1 / 2
1 / 2 start, player 1 / 2
F2 / F1 test / service
F11 or Alt+Enter fullscreen

The Display menu sets the internal resolution (1x = 640×480, 1.5x, 2x, 3x, 4x), the aspect ratio (16:9 by default; 4:3 is also available), the frame rate, fullscreen and the light-gun border. The Controls menu has Auto Reload, the light-gun switches and the key bindings. The Arcade menu inserts coins, presses Test and Service, and switches Sound.

Windows macOS
Game (imported) %LOCALAPPDATA%\HOTD3\game ~/Library/Application Support/hotd3/game
Settings %LOCALAPPDATA%\HOTD3\settings ~/Library/Application Support/HOTD3/settings
Log of the last run %LOCALAPPDATA%\HOTD3\hotd3.log ~/Library/Logs/hotd3/hotd3.log

To import again, delete the game folder and start the app.

Build from source

The repository contains no game code or data. A build lifts the game's own program (hod3xb.xbe, from your copy) to C, then compiles it with the shared Chihiro runtime.

1. Get the code and tools. You need git, CMake, Ninja, Python 3 and glslc (from the Vulkan SDK, or brew install shaderc).

git clone --recursive https://github.com/lialan/chihiro-recomp.git
cd chihiro-recomp
python3 -m venv .venv && .venv/bin/pip install capstone

2. Point it at the game folder (the one holding hod3xb.xbe, FS/ and MVI/). The easiest one is the folder a release imported into (see Run), or unpack the .squashfs yourself (unsquashfs -d hotd3-game "House Of the Dead 3.squashfs").

export HOTD3_GAME_DIR="$HOME/Library/Application Support/hotd3/game"

3. Analyze and lift (a few minutes; writes games/hotd3/generated, which is never committed). lift.sh refuses any XBE other than the one this port is made from.

scripts/analyze.sh hotd3
scripts/lift.sh hotd3

4. Build a package:

Target Command Output
Windows (cross-compiled with MinGW-w64 from macOS or Linux, or in MSYS2 UCRT64) scripts/build-windows.sh hotd3 --no-lift build-win64/HOTD3Recomp-v<ver>-Windows.zip
macOS app scripts/package-macos.sh hotd3 0.2.1 build-mac-release/HOTD3Recomp-v0.2.1-macOS.zip
quick native build (macOS, Linux) cmake -S . -B build -G Ninja -DCHIHIRO_RENDERER=vulkan -DCHIHIRO_GAMES=hotd3 && cmake --build build --target hotd3 build/hotd3, run as build/hotd3 "$HOTD3_GAME_DIR"

Each script's header lists its dependencies: the Windows build needs a MinGW UCRT prefix with SDL2, zstd, zlib and the Vulkan headers/loader (WIN64_DEPS); the macOS package needs SDL2 and Vulkan-Loader built for macOS 13 (MACOS_DEPS) and the zstd source (ZSTD_SRC). Set CHIHIRO_VERSION=0.2.1 for the Windows build's version.

Tested on

  • Auto reload (v0.2.1), in scripted games on macOS that fire and never reload, aim held on the screen: with it on, the gun refills 0.16 s after it empties, every time; with it off, it stays empty until the player is next hit. The switches are checked by a unit test that turns recoil and the MAME outputs off and back on mid-game. The menus build on Windows and macOS but were not clicked through by hand.
  • Light guns, without physical guns: scripted two-player games register both players' shots, with recoil and rumble at the right moments, on a stand-in serial gun and a MAME-outputs client (macOS); the two-gun reader on Windows 11 with injected input; gun detection and player assignment on Linux with virtual guns. Not yet tried with a real light gun. Sinden's recoil through MAME outputs is reported by its users but unconfirmed here; its own recoil-on-trigger works either way.
  • Import: both files unpack to the same 36 files on Windows 11 (x64) and macOS (Apple Silicon).
  • Play: game speed is unchanged from v0.1.1, which held a steady 59–60 fps on Windows 11 with a Radeon 780M at 1x–2x and on an Apple M4 Pro at 2x.

Built from games/hotd3 on the lialan/xboxrecomp toolkit. The light-gun code is in runtime/src/host (lightgun_input.c, gun_feedback.c, gun_serial.c, gun_netout.c). Third-party licences are in each download's licenses/.

The House of the Dead III v0.2.0 (Windows, macOS): light guns

Choose a tag to compare

@lialan lialan released this 02 Dec 15:22

The House of the Dead III (Sega Chihiro, 2002), statically recompiled to native code for Windows and macOS. There's no emulator: the arcade game's code runs as native x86-64 / Apple Silicon code and draws with Vulkan.

Platform Download
Windows 10/11, x64 HOTD3Recomp-v0.2.0-Windows.zip
macOS 13+, Apple Silicon HOTD3Recomp-v0.2.0-macOS.zip

The game itself is not included. You need one of these files of your own:

File Size SHA-256
House Of the Dead 3.squashfs 331,288,576 bytes 5b24985d649b4ccf9e486d8de12bf4b6508fe88740c64c9bf472bed0667308c3
gdx-0001.chd (MAME's image of the arcade disc) 371,014,009 bytes 8567fac3c6e24ba56a201d6cbb3c410f70d4b08a2aa69b98bf59a0845ba0bd48

The first start asks for the file, checks it and unpacks it once. After that the game starts directly, and you can delete the file. Any other file is refused. Settings, saves and the imported game from earlier versions are kept.

What's new in v0.2.0: light guns

  • Light guns aim and fire. Any gun that works as a mouse (Sinden, AimTrak, GUN4IR, OpenFIRE, Retro Shooter RS3 Reaper, Blamcon, a Wii remote on a DolphinBar, …) plays like the arcade gun. Pull the trigger off the screen, or press the gun's right button, to reload.
  • Two guns, two players (Windows). Each gun is read on its own. A gun that names its player (OpenFIRE, GUN4IR and Blamcon say P1/P2) becomes that player; any other gun becomes the next free player when its trigger is first pulled. An ordinary mouse is never mistaken for a gun.
  • Recoil and rumble follow the game itself. Recoil fires on a shot the game actually counts, not on every trigger pull, so there's no recoil on an empty gun or a reload. Rumble fires when your player is hit.
    • GUN4IR, OpenFIRE, RS3 Reaper and Blamcon: driven directly over their USB serial port, found automatically.
    • Sinden, and any gun MAMEHooker, OutputHooker or QMamehook drives: through MAME network outputs on 127.0.0.1:8000. The game name is hotd3; the outputs include P1_CtmRecoil / P2_CtmRecoil (a shot), P1_Damaged / P2_Damaged (a hit), P1_Ammo, P1_Life and the start lamps.
  • Sinden border: Display → Light Gun Border draws the white frame Sinden guns need to find the screen. Play in fullscreen.
  • macOS: a gun aims and fires as player 1 (it's read as the mouse). Recoil works if you name the gun's serial port (gun1_port=/dev/cu.usbmodem…), or through MAME network outputs.

Settings go one per line in the settings file (%LOCALAPPDATA%\HOTD3\settings on Windows, ~/Library/Application Support/HOTD3/settings on macOS):

Setting Meaning
gun1_port=COM5 / gun2_port=COM6 the gun's serial port for player 1 / 2; blamcon:COM7 for a Blamcon; auto (default) finds it; off for none
recoil=0 nothing is sent to serial guns
gun_netout=0 no MAME network outputs (gun_netout_port=8001 moves them)
lightguns=0 guns are read as the mouse only (player 1)
gun_border=2 the Sinden border's width, 2% of the screen height (0: none)

The bundled README.txt has the same list. Gameplay, graphics and performance are otherwise unchanged from v0.1.2.

Run

Windows: unzip and run HOTD3Recomp.exe, the whole program. Choose House Of the Dead 3.squashfs or gdx-0001.chd when asked, or drag the file onto the exe. It needs a GPU with a Vulkan driver (any recent NVIDIA, AMD or Intel driver). If SmartScreen warns, click More info → Run anyway.

macOS: unzip and move HOTD3Recomp.app to Applications. The app isn't notarized, so the first start needs System Settings → Privacy & Security → Open Anyway (or run xattr -dr com.apple.quarantine /Applications/HOTD3Recomp.app). Then choose the .squashfs or the .chd when asked.

Mouse or light gun aim
Left / right button fire / reload
5 / 6 coin, player 1 / 2
1 / 2 start, player 1 / 2
F2 / F1 test / service
F11 or Alt+Enter fullscreen

The Display menu sets the internal resolution (1x = 640×480, 1.5x, 2x, 3x, 4x), the aspect ratio (16:9 by default; 4:3 is also available), the frame rate, fullscreen and the light-gun border. The Controls menu rebinds keys.

Windows macOS
Game (imported) %LOCALAPPDATA%\HOTD3\game ~/Library/Application Support/hotd3/game
Settings %LOCALAPPDATA%\HOTD3\settings ~/Library/Application Support/HOTD3/settings
Log of the last run %LOCALAPPDATA%\HOTD3\hotd3.log ~/Library/Logs/hotd3/hotd3.log

To import again, delete the game folder and start the app.

Build from source

The repository contains no game code or data. A build lifts the game's own program (hod3xb.xbe, from your copy) to C, then compiles it with the shared Chihiro runtime.

1. Get the code and tools. You need git, CMake, Ninja, Python 3 and glslc (from the Vulkan SDK, or brew install shaderc).

git clone --recursive https://github.com/lialan/chihiro-recomp.git
cd chihiro-recomp
python3 -m venv .venv && .venv/bin/pip install capstone

2. Point it at the game folder (the one holding hod3xb.xbe, FS/ and MVI/). The easiest one is the folder a release imported into (see Run), or unpack the .squashfs yourself (unsquashfs -d hotd3-game "House Of the Dead 3.squashfs").

export HOTD3_GAME_DIR="$HOME/Library/Application Support/hotd3/game"

3. Analyze and lift (a few minutes; writes games/hotd3/generated, which is never committed). lift.sh refuses any XBE other than the one this port is made from.

scripts/analyze.sh hotd3
scripts/lift.sh hotd3

4. Build a package:

Target Command Output
Windows (cross-compiled with MinGW-w64 from macOS or Linux, or in MSYS2 UCRT64) scripts/build-windows.sh hotd3 --no-lift build-win64/HOTD3Recomp-v<ver>-Windows.zip
macOS app scripts/package-macos.sh hotd3 0.2.0 build-mac-release/HOTD3Recomp-v0.2.0-macOS.zip
quick native build (macOS, Linux) cmake -S . -B build -G Ninja -DCHIHIRO_RENDERER=vulkan -DCHIHIRO_GAMES=hotd3 && cmake --build build --target hotd3 build/hotd3, run as build/hotd3 "$HOTD3_GAME_DIR"

Each script's header lists its dependencies: the Windows build needs a MinGW UCRT prefix with SDL2, zstd, zlib and the Vulkan headers/loader (WIN64_DEPS); the macOS package needs SDL2 and Vulkan-Loader built for macOS 13 (MACOS_DEPS) and the zstd source (ZSTD_SRC). Set CHIHIRO_VERSION=0.2.0 for the Windows build's version.

Tested on

  • Light guns, without physical guns: scripted two-player games register both players' shots, with recoil and rumble at the right moments, on a stand-in serial gun and a MAME-outputs client (macOS); the two-gun reader on Windows 11 with injected input; gun detection and player assignment on Linux with virtual guns. Not yet tried with a real light gun. Sinden's recoil through MAME outputs is reported by its users but unconfirmed here; its own recoil-on-trigger works either way.
  • Import: both files unpack to the same 36 files on Windows 11 (x64) and macOS (Apple Silicon).
  • Play: game speed is unchanged from v0.1.1, which held a steady 59–60 fps on Windows 11 with a Radeon 780M at 1x–2x and on an Apple M4 Pro at 2x.

Built from games/hotd3 on the lialan/xboxrecomp toolkit. The light-gun code is in runtime/src/host (lightgun_input.c, gun_feedback.c, gun_serial.c, gun_netout.c). Third-party licences are in each download's licenses/.

The House of the Dead III v0.1.2 (Windows, macOS)

Choose a tag to compare

@lialan lialan released this 02 Dec 14:09

The House of the Dead III (Sega Chihiro, 2002), statically recompiled to native code for Windows and macOS. There's no emulator: the arcade game's code runs as native x86-64 / Apple Silicon code and draws with Vulkan.

Platform Download
Windows 10/11, x64 HOTD3Recomp-v0.1.2-Windows.zip
macOS 13+, Apple Silicon HOTD3Recomp-v0.1.2-macOS.zip

The game itself is not included. You need one of these files of your own:

File Size SHA-256
House Of the Dead 3.squashfs 331,288,576 bytes 5b24985d649b4ccf9e486d8de12bf4b6508fe88740c64c9bf472bed0667308c3
gdx-0001.chd (new in v0.1.2) 371,014,009 bytes 8567fac3c6e24ba56a201d6cbb3c410f70d4b08a2aa69b98bf59a0845ba0bd48

The first start asks for the file, checks it and unpacks it once. After that the game starts directly, and you can delete the file. Any other file is refused. Settings and saves from earlier versions are kept.

What's new in v0.1.2

  • The arcade disc itself is now accepted as the game file. Besides the Batocera .squashfs, you can now choose gdx-0001.chd, MAME's image of the original GD-ROM (GDX-0001). The disc's game image is encrypted, and the key it needs is built into the app, so the .chd alone is enough: you don't need MAME's hotd3.zip or its PIC file. The app reads the disc, decrypts the game image and unpacks the same files the .squashfs holds, in a few seconds.
  • Gameplay, graphics and performance are unchanged from v0.1.1.

Install

Windows: HOTD3Recomp.exe is the whole program. Run it and choose House Of the Dead 3.squashfs or gdx-0001.chd when asked, or drag the file onto the exe. It needs a GPU with a Vulkan driver. If SmartScreen warns, click More info → Run anyway.

macOS: move HOTD3Recomp.app to Applications. The app isn't notarized, so the first start needs System Settings → Privacy & Security → Open Anyway. Alternatively, run xattr -dr com.apple.quarantine /Applications/HOTD3Recomp.app. Then choose the .squashfs or the .chd when asked.

To switch an existing install to the other file, delete the game folder (%LOCALAPPDATA%\HOTD3\game on Windows, ~/Library/Application Support/hotd3/game on macOS) and start again; it isn't needed otherwise.

Play

Mouse aim
Left / right button fire / reload
5 / 6 coin, player 1 / 2
1 / 2 start, player 1 / 2
F2 / F1 test / service
F11 or Alt+Enter fullscreen

The Display menu sets the internal resolution (1x = 640×480, 1.5x, 2x, 3x, 4x), the aspect ratio (16:9 by default, with the HUD at the screen's edges; 4:3 is also available), the frame rate and fullscreen. The Controls menu rebinds keys.

Tested on

  • The new import: gdx-0001.chd unpacks to the same 36 files as the .squashfs, byte for byte, on Windows 11 (x64, about 7 s including the check) and on macOS (Apple Silicon, about 5 s).
  • Play: the game code is the same as v0.1.1, which held a steady 59–60 fps on Windows 11 with a Radeon 780M at 1x–2x and on an Apple M4 Pro at 2x.

Built from games/hotd3 on the lialan/xboxrecomp toolkit. The disc reader is runtime/src/host/chd_import.c. Third-party licences are in each download's licenses/.

Virtua Cop 3 v0.1.1 (Windows, macOS, Steam Frame)

Choose a tag to compare

@lialan lialan released this 01 Dec 17:30

Virtua Cop 3 (Sega Chihiro, 2003), statically recompiled to native code for Windows, macOS and Steam Frame (VR and flat). There's no emulator: the arcade game's code runs as native code and draws with Vulkan.

Platform Download
Windows 10/11, x64 VC3Recomp-v0.1.1-Windows.zip
macOS 13+, Apple Silicon VC3Recomp-v0.1.1-macOS.zip
Steam Frame (SteamOS, VR + flat) VC3Recomp-v0.1.1-SteamFrame.tar.gz

The game itself is not included. You need one file of your own:

File Size SHA-256
Virtua Cop 3.squashfs 364,109,824 bytes 34bdaf7234f488030584aa4d9f3e3c3241d5aeb17463f3ef090d4a0f40dcec4a

The first start checks that file and unpacks it once. After that the game starts directly, and you can delete the .squashfs. Any other file is refused.

What's new in v0.1.1

  • Windows and macOS builds, both new, working like the HOTD3 release: you import one file, then play.
  • 16:9 widescreen by default, with the HUD (score, magazine, weapon, lives, player 2) at the screen's edges. 4:3 is in the Display menu.
  • Shaders compiled before play on first start (about 20 s on a Radeon 780M; the title bar shows Preparing shaders n%), so play has no compile hitches.
  • Steam Frame as a ready-made download, with the same one-file import. v0.1.0 had to be built on the headset.

Install

Windows: VC3Recomp.exe is the whole program. Run it and choose Virtua Cop 3.squashfs when asked, or drag the file onto the exe. It needs a GPU with a Vulkan driver.

macOS: move VC3Recomp.app to Applications. The app isn't notarized, so the first start needs System Settings → Privacy & Security → Open Anyway. Then choose the .squashfs when asked.

Steam Frame:

  1. In Desktop Mode, unpack the tarball to e.g. ~/Games/VC3Recomp, and put Virtua Cop 3.squashfs in that folder (or in ~/Downloads).
  2. In Steam, add launch.sh (VR) and/or launch-flat.sh (flat) as Non-Steam Games.

The first start imports the file. The bundled README.txt lists the VR and gamepad controls.

Play (Windows, macOS)

Mouse aim
Left / right button fire / reload
Middle button the gun's CHANGE button
Space the cabinet's foot pedal
5 / 6 coin, player 1 / 2
1 / 2 start, player 1 / 2
F2 / F1 test / service
F11 or Alt+Enter fullscreen
F10 60 / 120 fps

The Display menu sets the internal resolution (1x–4x), aspect ratio, frame rate and fullscreen. The Controls menu rebinds keys.

Tested on

  • Windows 11, Radeon 780M (Ryzen 7 8845HS), 1920×1080 fullscreen: first start from an empty data folder and driver cache, then 59.8–60 fps in play at 1x, 1.5x and 2x.
  • macOS, Apple M4 Pro: 5 minutes of scripted play at 52–60 fps, with the 16:9 HUD at the edges.
  • Steam Frame: built for SteamOS (aarch64, glibc 2.38 or older). The import and the flat game were checked in an arm64 Linux container; this package has not yet been run on a Frame. Its shaders aren't pre-recorded yet, so a new scene may hitch once the first time it's seen.

Built from games/vc3 and steamframe/ on the lialan/xboxrecomp toolkit. Third-party licences are in each download's licenses/.

The House of the Dead III v0.1.1 (Windows, macOS)

Choose a tag to compare

@lialan lialan released this 01 Dec 17:30

The House of the Dead III (Sega Chihiro, 2002), statically recompiled to native code for Windows and macOS. There's no emulator: the arcade game's code runs as native x86-64 / Apple Silicon code and draws with Vulkan.

Platform Download
Windows 10/11, x64 HOTD3Recomp-v0.1.1-Windows.zip
macOS 13+, Apple Silicon HOTD3Recomp-v0.1.1-macOS.zip

The game itself is not included. You need one file of your own:

File Size SHA-256
House Of the Dead 3.squashfs 331,288,576 bytes 5b24985d649b4ccf9e486d8de12bf4b6508fe88740c64c9bf472bed0667308c3

The first start asks for that file, checks it and unpacks it once. After that the game starts directly, and you can delete the .squashfs. Any other file is refused. Settings and saves from v0.1.0 are kept.

What's new in v0.1.1

  • No shader hitches in play. The game's shaders are compiled on first start, before play, using most of the CPU. The title bar shows Preparing shaders n% while this runs: about 45 s on a Radeon 780M, under 2 s on an Apple M4 Pro. Later starts skip it.
  • Windows: fixed the chapter 1 slowdown. The outdoor ruins dropped to about 4 fps because the texture cache was too small; they now hold 60.
  • The window title is the game's name, followed by FPS and draw count.
  • One shader set covers every internal resolution (1x–4x).

Install

Windows: HOTD3Recomp.exe is the whole program. Run it and choose House Of the Dead 3.squashfs when asked, or drag the file onto the exe. It needs a GPU with a Vulkan driver. If SmartScreen warns, click More info → Run anyway.

macOS: move HOTD3Recomp.app to Applications. The app isn't notarized, so the first start needs System Settings → Privacy & Security → Open Anyway. Alternatively, run xattr -dr com.apple.quarantine /Applications/HOTD3Recomp.app. Then choose the .squashfs when asked.

Play

Mouse aim
Left / right button fire / reload
5 / 6 coin, player 1 / 2
1 / 2 start, player 1 / 2
F2 / F1 test / service
F11 or Alt+Enter fullscreen

The Display menu sets the internal resolution (1x = 640×480, 1.5x, 2x, 3x, 4x), the aspect ratio (16:9 by default, with the HUD at the screen's edges; 4:3 is also available), the frame rate and fullscreen. The Controls menu rebinds keys.

Tested on

  • Windows 11, Radeon 780M (Ryzen 7 8845HS), 1920×1080 fullscreen: first start from an empty data folder and driver cache, then a steady 59–60 fps through chapters 0 and 1 at 1x, 1.5x and 2x.
  • macOS, Apple M4 Pro: first start, then 59–60 fps at 2x.

Built from games/hotd3 on the lialan/xboxrecomp toolkit. Third-party licences are in each download's licenses/.

The House of the Dead III v0.1.0 (Windows, macOS)

Choose a tag to compare

@lialan lialan released this 01 Dec 03:35

First release of The House of the Dead III (Sega Chihiro, 2002) statically recompiled to native code for Windows and macOS. No emulator: the arcade game's code is translated to native x86-64 / Apple Silicon code and draws with Vulkan.

Platform Download
Windows 10/11, x64 HOTD3Recomp-v0.1.0-Windows.zip
macOS 13+, Apple Silicon HOTD3Recomp-v0.1.0-macOS.zip

The game itself is not included. You need one file of your own: the Chihiro "Xbox-compatible" repack

File Size SHA-256
House Of the Dead 3.squashfs 331,288,576 bytes 5b24985d649b4ccf9e486d8de12bf4b6508fe88740c64c9bf472bed0667308c3

There is nothing to unpack or build: the first time you start the game it asks for that file, checks it, and unpacks it into its own data folder (about 360 MB). Later starts go straight to the game, and you can delete or move the .squashfs afterwards. Any other file or version is refused.

Install

Windows: HOTD3Recomp.exe is the whole program (one file, nothing to install). Put it anywhere, run it and choose House Of the Dead 3.squashfs when asked (or drag the file onto HOTD3Recomp.exe). Needs a GPU with Vulkan 1.1 and an up-to-date driver. If SmartScreen warns about an unrecognized app, click More info → Run anyway.

macOS: unzip and move HOTD3Recomp.app to Applications. The app is not notarized: the first time, macOS refuses to open it. Open System Settings → Privacy & Security, click Open Anyway next to HOTD3Recomp, then open it again (or run xattr -dr com.apple.quarantine /Applications/HOTD3Recomp.app). Choose House Of the Dead 3.squashfs when asked.

Play

Mouse aim
Left button fire
Right button reload
5 / 6 coin, player 1 / 2
1 / 2 start, player 1 / 2
F2 / F1 test / service
F11 or Alt+Enter fullscreen

The Display menu (the menu bar on macOS, the window's menu on Windows) sets the internal resolution (1x = the arcade's 640×480, 1.5x, 2x, 3x, 4x), the aspect ratio (16:9 by default: the 3D view extends into the sides and the HUD moves to the edges; 4:3 is available), the frame rate (60, or 120 with motion-interpolated frames) and fullscreen. The Controls menu rebinds the keys.

Note

Your settings and saved cabinet data are stored separately from the game, so a later version can replace this one and keep them.

Windows macOS
Game (imported) %LOCALAPPDATA%\HOTD3\game ~/Library/Application Support/hotd3/game
Log of the last run %LOCALAPPDATA%\HOTD3\hotd3.log ~/Library/Logs/hotd3/hotd3.log

To import the game again, delete the game folder and start the app.

What's in v0.1.0

  • The whole arcade game: attract, coin and start, the chapters, movies, sound and the gun, at the arcade's 60 fps.
  • 16:9 widescreen by default; 4:3 in the Display menu.
  • Built from games/hotd3 of this repository, on the lialan/xboxrecomp toolkit. Both draw with Vulkan (macOS through the bundled MoltenVK). Bundled: SDL2, zstd (Windows), the Vulkan loader, MoltenVK and 7-Zip (macOS); their licences are in licenses/.

Tested on

  • Windows 11, AMD Ryzen 7 8845HS with Radeon 780M graphics, 1920×1080 fullscreen: a steady 60 fps at 1x, 1.5x and 2x internal resolution through chapter 1.
  • macOS 27, Apple M4 Pro: 57–60 fps at 1x, 1.5x and 2x.

Known issue: the first time a scene is seen its shaders are compiled, which can cause short hitches (down to ~50 fps for a moment). They are cached, so later runs are smooth.

v0.1.0: Steam Frame VR

Choose a tag to compare

@lialan lialan released this 03 Nov 17:29

First release of the Virtua Cop 3 (Sega Chihiro) static recompilation. No game data is included: you need your own dump with a decrypted vc3.xbe and media/.

Steam Frame VR (SteamVR/OpenXR, Vulkan): see steamframe/README.md.

  • The game's 3D is re-rendered from each eye with head tracking. The HUD sits on a panel in the scene, and title and attract screens fall back to a flat screen.
  • Native 2160×2160 per eye with foveated shading. Dynamic resolution (90/80/70%) steps in only when frames run late.
  • Combat and E.S. hold 60 fps, shown on a steady 120 Hz headset loop.
  • HOTD4-style VR menu, including Show stats, plus a gun with a red-dot sight. Aiming goes through the 3D scene.
  • Pipelines recorded in earlier runs are compiled at boot, so first-time compile stalls are rare.

Flat builds: macOS and Linux, with mouse/keyboard and gamepad.

Toolkit: the vc3 branch of lialan/xboxrecomp, a fork of sp00nznet/xboxrecomp.