A static recompilation of the original Xbox release of Animaniacs: The Great Edgar Hunt (Ignition / Warthog, 2005) into a native executable, built on xboxrecomp. Windows is the first target; Linux and macOS follow.
No game files are included. You need your own copy of the game.
The whole game plays on Windows through the Vulkan build: the intro movies, the frontend, saving and loading, the Warner lot hub and all five levels, at 60 fps.
- Any output resolution up to 4K, windowed or fullscreen, with an internal render scale chosen to match (up to 6x the console's 640x480).
- Widescreen (Hor+) from 16:10 to 32:9 in the levels; the HUD and menu text keep their shape; in-engine cutscenes without letterbox bars; the movies and the frontend's painted 4:3 stage shown at 4:3.
- Controllers through SDL (Xbox, PlayStation, Switch and others) with rumble, and the keyboard.
settings.inifor everything (docs/SETTINGS.md); a crash writescrash.txtbesidelog.txt.
Linux and macOS are next.
Two builds of the same recompiled game exist:
MSVC build (CMakeLists.txt) |
Vulkan build (vk/) |
|
|---|---|---|
| Runtime | xboxrecomp upstream | ngbrecomp's xboxrecomp fork |
| GPU | CPU pushbuffer rasteriser | xemu's NV2A model on Vulkan |
| Speed | menus ~7-10 fps, level load ~12 min | 60 fps |
| Compiler | MSVC | llvm-mingw (clang) |
The Vulkan build is the one to play; the MSVC build is kept as a reference.
The easiest way to play: install the launcher
(AnimaniacsLauncherSetup-<v>.exe from the releases), point it at your disc
image or game folder, and it builds the game on your PC and keeps it updated
from GitLab. See launcher/README.md.
| Title ID | 0x494F0003 |
| Build | 2004-11-08, XDK 5849, internal version A6.4a |
| Entry point | 0x0010A26A |
| Code | .text 1.25 MB + statically linked D3D8, XGRAPHICS, XMV, D3DX8, DSOUND, XPP sections |
| Functions | 6,284 detected (4,518 game, 1,766 XDK) |
| Kernel imports | 106 |
The US and PAL ("EURPOE") dumps are the same build: every XBE section, every
.hog archive and every .xmv movie is byte-identical. Only the XBE header
differs (the US dump's header is re-flagged as a debug XBE). The EU retail XBE
is used as the reference input, and either region's data runs.
Requirements: Python 3.10+ with capstone, CMake 3.20+. The Vulkan build
needs llvm-mingw (fetched by scripts/setup_vk.sh); the MSVC build needs
Visual Studio 2022+. Optional: Ghidra 12.x and a 64-bit JDK 21 for function
naming (the game builds and plays the same without it).
git clone --recursive https://github.com/Unowa001/AnimaniacsRecompiled.git
cd AnimaniacsRecompiled
pip install capstone
# 1. Put your game files in game/ (default.xbe, resource/, movies/,
# tkaXBoxDSPImage.bin)
# 2. Generate the C from your XBE
GHIDRA_HOME=/path/to/ghidra_12.1.4_PUBLIC JAVA_HOME=/path/to/jdk-21 \
XBE=game/default.xbe scripts/regen.sh
# 3. Build
cmake -S . -B build -A x64
cmake --build build --config Release --parallel
# 4. Run with game/ next to the exe
cp -r game build/Release/game # or a junction/symlink
build/Release/animaniacs_recomp.exe 2>stderr.txtNeeds a GPU with Vulkan 1.3 drivers.
scripts/setup_vk.sh # once: fork, patches, llvm-mingw, libraries
TK=tools/ngbrecomp/xboxrecomp XBE=game/default.xbe scripts/regen.sh
cmake -S vk -B build-vk -G Ninja \
-DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/windows-llvm-mingw.cmake
ninja -C build-vk
# The build folder is a runnable game folder: the DLLs are copied beside the
# exe. Put (or link) your game files in build-vk/game, then:
build-vk/Animaniacs.exeSaves and log.txt go to %LOCALAPPDATA%\AnimaniacsRecompiled (ANI_SAVE_DIR
overrides). settings.ini is written beside the exe on first run: windowed or fullscreen,
output resolution (1080p, 1440p, 4K, ultrawide), aspect ratio (4:3 to 32:9,
or auto), render scale (auto matches the output), MSAA, texture filtering and
skip_intro. Every key is listed in docs/SETTINGS.md.
F11 / Alt+Enter toggles fullscreen and F10 shows the frame rate. Controller
and keyboard keys are in docs/CONTROLS.md.
Test switches: ANI_LEVEL=N (1-5) loads level N instead of the hub;
RECOMP_AUDIO_WAV=out.wav records the audio output.
The Vulkan build has an Archipelago client built in.
Every pickup the game places can be a check: 45 Edgars, 24 ACME letters, 6 script
pages, 30 quest items, the collectibles (72 milestones, or all 1800) and 253 apples,
plus the 11 abilities if they are shuffled. The Edgars you receive open the movie
sets; the goal is an Edgar count or beating CC Deville. The launcher's Archipelago
tab sets the room and saves the .apworld; by hand, python scripts/build_apworld.py
and --ap-server HOST:PORT --ap-slot NAME. After pulling this, re-run
scripts/regen.sh (the hooks wrap four lifted functions). See
docs/ARCHIPELAGO.md.
src/main.c host entry (MSVC build): loads the XBE, boots the kernel layer, calls the guest
src/main_vk.c host entry (Vulkan build): window, GPU model, virtual CPU
src/recomp_manual.c hand-written overrides for lifted functions
src/ap/ the in-process Archipelago client
archipelago/animaniacs/ the Archipelago world (catalog.json holds every ID)
tools/hog/ reads the game's .hog archives (the catalog is built from them)
tests/ap/ host tests for the client, incl. a live-server run
src/recomp/gen/ generated C (not committed; produced by scripts/regen.sh)
tools/xboxrecomp/ the toolkit (git submodule)
tools/ngbrecomp/ ngbrecomp, for its xboxrecomp fork (git submodule)
vk/ the Vulkan build
cmake/toolchains/ llvm-mingw toolchain for the Vulkan build
patches/ local patches applied to the toolkit
scripts/regen.sh the full XBE -> C pipeline
xboxrecomp-0001-ghidra12-java-export.patch— Ghidra 12 no longer ships Jython, so the toolkit'sExportXbeNames.pypost-script aborts. This adds a Java port (functions + symbols export) and makes it the default.scripts/regen.shapplies it automatically.
Third-party parts and their licenses are listed in THIRD_PARTY.md; a built game folder carries it with the license texts. Animaniacs: The Great Edgar Hunt belongs to its rights holders; no game data is included here.