A static recompilation of WET (2009, Xbox 360, Title ID 425307DB) to native Windows/Linux x86-64, built on the ReXGlue SDK.
Fully playable: video, audio, gameplay, achievements, and progression all work.
- CMake 3.25+, Ninja, Clang/LLVM (clang-cl works too)
- extract-xiso and your own legally-owned copy of WET:
Title ID
425307DB(disc XA-2498), Media ID3077A693, Module hash9A084828F85F951B
Extract the Xbox 360 ISO with extract-xiso.exe -x WET.iso, then copy the contents into assets/ (gitignored):
assets/
default.xex
nxeart
lu0/ lu1/
media/ movies0/ movies1/
streams0/ streams1/
git clone --recurse-submodules <repo-url>The ReXGlue SDK is built from the thirdparty/rexglue-sdk submodule; no prebuilt SDK is needed.
cmake --preset win-amd64-relwithdebinfo
cmake --build out\build\win-amd64-relwithdebinfocmake --preset linux-amd64-relwithdebinfo
cmake --build out/build/linux-amd64-relwithdebinfoOptional, for a second build beside the baseline one: -DREXGLUE_RECOMP_ISA=x86-64-v3 (or fma) builds the generated code for AVX2/FMA CPUs (checked at start), -DREXGLUE_RECOMP_PGO=generate / =<file>.profdata does profile-guided optimization with clang. See codegen-performance.md.
cd out\build\win-amd64-relwithdebinfo
.\wetrecomp_launcher.exe # or .\wetrecomp.exe to start the game directlyThe launcher picks the main settings (display, renderer, upscaling, controls, language, the game's own patches), writes them to settings/*.toml and starts the game with Play; after a crash it reopens with Safe mode (emulated renderer, scale 1). Its page is launcher/launcher.toml (format: launcher.md), fonts in launcher/fonts/.
Logs land in out\build\<preset>\logs\*.log.
settings/hardware.toml (rendering/perf, including gpu_plugin — "native" for the SDK's native Vulkan renderer (the file's choice) or "xenos" for GPU emulation on D3D12/Vulkan/D3D11 — wet_gpu_wait_mode for GPU-wait CPU usage and user_language for the game language: 1 English, 3 German, 4 French, 5 Spanish, 6 Italian) and settings/mapping.toml (input) load automatically. CLI flags and REX_* env vars override them. See settings/README.md for the reference, settings/faq.md for every graphics option (including the experimental graphics_backend = "d3d11") and settings/texture-replacement.md for HD texture packs.