Native macOS / Apple Silicon client for World of Warcraft 3.3.5a (build 12340), with a direct Metal renderer and optional native mods. No Direct3D or OpenGL translation layer.
Built from the wowdecomp reconstruction. Game data is not included; use your own compatible 3.3.5a installation.
| Branch | Purpose |
|---|---|
WowRe |
Default development branch: native client, Metal renderer and mods |
WoWReMac-Warden |
Separate Warden / Warmane compatibility work on top of the native client |
epoch-native |
Separate Epoch integration; not merged into the default or Warden branch |
Server-specific integrations stay on their own branches. The old macos branch is obsolete.
- macOS on Apple Silicon (tested on Apple M4)
- Xcode Command Line Tools and the Metal shader compiler
- CMake and Ninja
- xvidcore (
brew install xvid; linked statically into the client) - A World of Warcraft 3.3.5a (12340) game directory
git clone https://github.com/fmustafayaman/WoWReMac.git
cd WoWReMac
# Build without copying anything into an existing game installation.
cmake -S . -B build/mac -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DWOWREMAC_GAME_DIR="" -DWOWREMAC_APP_NAME=WoWReMac
cmake --build build/mac --target Wow LuxShoulderCam AwesomeWotlk LuxVelumThe application is written to bin/Mac/WoWReMac.app.
To deploy after each build, configure -DWOWREMAC_GAME_DIR="/path/to/World of Warcraft".
Keep different branches in separate game directories so their mods and settings do not conflict.
| CMake option | Default | Purpose |
|---|---|---|
WOWREMAC_CLIENT_PATCHES |
ON |
Native client improvements and conveniences |
WOWREMAC_MODS |
ON |
Load native libraries from the game's Mods/ folder |
WOWREMAC_BUILD_MODS |
ON |
Build the bundled mods |
WOWREMAC_BUILD_MACDEV_TESTS |
OFF |
Build and register headless macOS developer tests with CTest |
WOWREMAC_GAME_DIR |
empty | Optional deployment directory |
WOWREMAC_APP_NAME |
WoWReMac |
Deployed application name, without .app |
Older build-cache variable names remain compatibility aliases. Private compile-time identifiers and diagnostic environment variables are retained to avoid breaking existing tools.
Copy WoWReMac.app, the matching Mods/ files and optional Interface/AddOns/ files
into the game directory, alongside Data/. Set Data/<locale>/realmlist.wtf for your server,
then open the application. A release package may include additional installation instructions.
| Mod | Purpose | Settings |
|---|---|---|
| LuxVelum | Reforged atmospheric fog, regional lighting, god rays, colour grading and FFT water | /luxvelum or Control/Option+F7 |
| AwesomeWotlk | API extensions and client settings | /awesome |
| LuxShoulderCam | Over-the-shoulder camera | /lsc |
Mods are optional. Remove a mod's .dylib from Mods/ to disable it.
Use Mods/LuxVelum/ sources, the LuxVelum build target, LuxVelum.ini and the /luxvelum command.
Remove previous fog-mod libraries when upgrading; only one atmospheric renderer should be loaded.
See mod documentation for the corresponding data and addon files.
Open /hdr (Control/Option + F8) and select Temporal or Spatial, then a quality preset.
Only the 3D world is upscaled; interface text remains native. Upscaling is off by default.
To enable Temporal quality mode directly:
/console metalFXTemporal 1
/console metalFX 1
Temporal requires macOS 14.4+ and a supported GPU; unavailable paths fall back to Spatial. This initial implementation uses depth-reprojected camera motion and reactive history rejection, not per-object/bone motion vectors. Animation/particles can therefore retain artifacts; there is no frame generation or promised FPS gain. See controls, pipeline, limitations and tests.
HDR is optional and off by default. Open /hdr (or Control/Option + F8) to enable it in the
MetalFX / HDR panel. /hdr on, /hdr off, or /console hdr 1 / /console hdr 0 also work;
the preference is saved in WTF/Config.wtf. No restart is needed.
- On an HDR/EDR-capable display, the client presents RGBA16Float in extended-linear sRGB through Metal. The current game window's display is checked continuously; unsupported displays keep the SDR path.
- This is SDR-to-HDR highlight reconstruction, not a scene-linear HDR renderer. The legacy world, LuxVelum and FFX still render as before. After world effects (and MetalFX, if enabled), bright world pixels are expanded in linear light. Shadows and midtones are preserved. Already-clipped SDR detail cannot be recovered.
- The interface is drawn after the world conversion, at normal SDR brightness. Login/loading screens are not expanded. Resolution, MSAA, fog/water settings and MetalFX mode are not changed by HDR.
/console hdrHeadroom 2sets the highlight peak to at most 2× SDR white (default; range 1–8). The actual peak is also limited by the display's currently available EDR headroom. This is a relative brightness limit, not an absolute nit calibration. macOS display brightness/settings can limit it to 1×.- Existing TGA/JPEG screenshots remain SDR; HDR highlights clip to SDR white in those files. They cannot demonstrate the display's HDR brightness. HDR also adds a full-resolution FP16 intermediate and a world conversion pass; it is not a performance optimisation.
For automated tests, WRATHMODERN_HDR=0/1 overrides the mode without saving the override. The production
HDR shaders have an offscreen regression test in Tools/MacDev/test-hdr.mm (build command in its header).
After building the client, python3 Tools/MacDev/test-hdr-device.py build/mac also checks the real native
device's target swaps, SDR UI/readback, MetalFX interaction, resize, 1×/2×/4× MSAA, display detection and
CVar/Lua validation with Metal API/GPU validation enabled. It does not launch the game or access its settings.
See implementation and validation notes for the pipeline and in-game smoke test.
The native client and LuxVelum automatically learn a shared, on-disk Metal pipeline pool in
Cache/WrathModern/Metal/ and reuse it on later launches. Client source prewarm is limited to recent
shaders on two background workers, rather than recompiling the whole history on all cores. This targets
compilation stutters/repeat-launch costs, not a guaranteed steady-state FPS gain. Install the matching
client and mod together. See cache behavior, limits and tests.
FFT threadgroup ping-pong, FP32 initial-spectrum caching, independent constant bindings and fog temporal/depth reuse retain reference A/B paths. Workgroup-size tuning and a split composite are optional candidates, not claimed FPS wins. See correctness tests, defaults and measurement limits.
On macOS, idle file readers block until work arrives instead of polling every millisecond. The FPS limiter uses fractional, monotonic deadlines and kernel sleep without changing your FPS settings. Native draw preparation reuses immutable sampler objects and avoids redundant small float-constant updates; large constant blocks keep the copy path by default. New passes still rebind required state, and texture identity/depth-comparison semantics are preserved. Large texture-pool accounting also avoids signed overflow.
An experimental, byte-exact MPQ decompression cache can trade extra RAM for fewer repeated decodes:
WOWREMAC_DECOMPRESSION_CACHE_MB=0..2048 (default 0, off), additionally capped at one eighth of
physical RAM. It grows on demand, releases/disables itself on memory pressure or allocation failure,
and does not lower graphics quality. WOWREMAC_DECOMPRESSION_CACHE_STATS=1 reports counters on exit.
Cold misses cost extra work; warmed gameplay FPS/power/thermal acceptance is still required.
See the fanless audit, RAM limits, tests and remaining candidates.
Headless Metal regressions need no game data, window or deployment:
cmake -S . -B build/mac -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DWOWREMAC_GAME_DIR="" -DWOWREMAC_BUILD_MACDEV_TESTS=ON
cmake --build build/mac --target macdev-tests
ctest --test-dir build/mac --output-on-failure -L macdevThis registers devicetest, shadercompile --self-test (embedded bytecode fixtures),
test-opaque-shaders, test-clip-shaders, test-metalfx, ffcompile 400, CPU frame-pacing/decompression-cache
regressions, byte-exact bounded float-range tests, sanitized runtime/async-idle fixtures (with Python 3)
and the CMake-option compatibility test. The separate test-native-bindings.py build/clean-check driver
compares real device outputs, binding counts and optional warmed encode timings; see the fanless audit.
devicetest checks the production Metal context/resources/pipelines, not the removed D3D9 device.
ffcompile uses a fixed random seed and every current StageOp; add new operations to its ops[]
table when extending the generator. These compile checks do not prove arithmetic/rendering equivalence.
The macOS CI job builds Wow and the headless test tools, then runs CTest. On hosts without a Metal GPU,
Metal tests explicitly report Skipped (exit 77); compilation and the CMake test still run.
On Apple Paravirtual CI GPUs, only shader instrumentation is disabled after a device probe;
API validation and all pixel assertions still execute. Physical GPUs retain instrumentation by default.
See native test commands, capability handling and diagnostic evidence.
For the native ElvUI/ProjectZidras/iTargetingFrames nameplate contract, including read-only addon-source
integration tests and remaining in-game checks, see nameplate compatibility.
Tools/autotest.sh <output dir> "world@N,..." [timeout]captures a bounded test run. It stops only its own process and restores the player'sWTF/directory afterwards.WRATHMODERN_FRAMESTATS=1records CPU/GPU frame times and presentation statistics.WRATHMODERN_NO_VSYNC=1allows uncapped performance measurements.LUXVELUM_GPU_PROFILE=1records individual fog/water passes.MTL_DEBUG_LAYER=1 MTL_SHADER_VALIDATION=1enables Metal validation; disable it for timing runs.
Performance and compatibility are measured per scene and server; this project does not claim that every feature or server integration is complete. Warden and Epoch results belong to their respective branches, not to the default client.
Engine/Source/— platform, rendering, UI framework, audio and engine modulesWoW/Source/— client networking, world, objects, game UI and databasesPlatform/Mac/— macOS application supportMods/— optional native modsTools/— development and regression-test toolsThirdParty/— vendored dependencies
The reconstruction retains original // OFFSET: and // VERIFY: comments for comparison
with build 12340. Upstream Windows support remains in the source tree but is not this project's
primary target.
Based on wowdecomp, with thanks to binana, thunderbrew, whoa, TOMRUS and the WoW modding community.