Repository navigation
Releases
v0.3.0-alpha — true stereo, head roll, per-eye HUD and shadow fix (EARLY DEVELOPMENT)
⚠️ EARLY DEVELOPMENT — NOT READY FOR A PLAYTHROUGH
An experimental build, published so people can try it and help. It is not a finished VR conversion and should not be treated as one.
🤢 Caution: may cause severe motion sickness and discomfort
The game was not built for VR and this mod does not yet make it comfortable. Play seated, keep sessions short, and take the headset off at the first sign of discomfort. This caution stays until the mod has been confirmed genuinely comfortable to play.
What this is
A VR render-device proxy (D3DDrv.dll) for XIII - Classic (2003, Unreal Engine 2), giving true stereo rendering with head tracking through OpenXR.
✅ What works
- True stereo in the headset, worn and confirmed — each eye gets its own view, not a duplicated picture.
- Head tracking, including head roll (tilting your head sideways now tilts the world correctly).
- The HUD is drawn once per eye at a settable depth, instead of once across both.
- Projected shadows stay on the floor instead of sliding with your eye — measured, not guessed.
- The self-spinning camera bug is fixed. Earlier builds slowly rotated the view on their own when no headset pose was available; hands-off screenshots six seconds apart are now identical.
- Everything is off by default. With no configuration the game runs completely normally on your monitor.
❌ What does not work yet
- This exact build has been proven on a monitor, not in a headset. The stereo, roll and HUD fixes it contains were each verified live on a flat screen; the previous build is the one that has been worn. Yours may be the first headset run of this one — please say what you see.
- No motion controls, no VR menus, no comfort options.
Install
- Copy
D3DDrv.dllinto your XIIISystem\folder (back up the original first — it is the game's own file and this replaces it while the mod is in use). - Copy
openxr_loader.dllinto the same folder. - Open
System\XIII.ini, back it up, and add a[VR]section usingXIII-VR-keys.txtin this download. The important ones:Stereo=1 CameraLiveHmd=1 - Start your OpenXR runtime (developed against Virtual Desktop's VDXR, 32-bit), then start the game.
Live A/B keys while running: numpad 9 toggles the HUD fixes, numpad 3 the shadow fix, numpad 8 / 2 change HUD depth.
To remove it: put the original D3DDrv.dll back.
Requirements
- Your own legitimate copy of XIII - Classic. This mod contains and redistributes no game files.
- A 32-bit OpenXR runtime and a PC VR headset (developed against a Quest 3 with Virtual Desktop).
- Windows 10/11.
Files
D3DDrv.dll— 226,304 bytes, SHA-256 begins2f72793710f5.openxr_loader.dll— the Khronos OpenXR loader (Apache-2.0), included for convenience.XIII-VR-keys.txt— the settings, each one explained.
Credits
See mod/CREDITS.md. If you should be credited and are not, or you are a rights holder who wants something corrected or removed, please get in touch and it will be handled promptly.
Alpha 0.2.0 — First Headset Build (SteamVR / OpenXR, experimental)
⚠️ Experimental — first headset build, UNTESTED on a real headset
This is the first build that tries to put XIII into a VR headset: a flat
"framebuffer in VR" view with live head-look. It has only been verified on a
monitor so far. Whether a frame actually reaches the headset, and whether
head-look feels right, is exactly what this build is for you to try. Expect
rough edges, and please report what you see.
Your game is never at risk — everything is gated off by default, so with
no configuration the game runs normally on your monitor.
Download
XIII2003VR-0.2.0-alpha.zip contains the mod (D3DDrv.dll), Valve's
openvr_api.dll, and READ_ME_FIRST.txt.
Install (game's system\ folder)
- Rename the existing
D3DDrv.dll→D3DDrv_Original.dll(backup and the
file the mod loads underneath itself). - Copy the zip's
D3DDrv.dllin. - Copy the zip's
openvr_api.dllin.
Ships no original game files; you must own a legitimate copy of XIII.
Choose a runtime — enable exactly ONE (in system\XIII.ini)
Option A — SteamVR (recommended). Uses the SteamVR runtime (via Steam).
On a Quest 3, reach it through Virtual Desktop → SteamVR. Needs the included
openvr_api.dll.
[VR]
SteamVR=1
CameraLiveHmd=1Option B — OpenXR. Uses an OpenXR runtime (VDXR / Oculus — not SteamVR).
Needs openxr_loader.dll next to D3DDrv.dll (not included in this zip).
[VR]
OpenXR=1
CameraLiveHmd=1Never enable both. Full details, run steps, diagnostics, and credits are in
READ_ME_FIRST.txt and the repository README.
Uninstall
Delete the mod's D3DDrv.dll and openvr_api.dll, then rename
D3DDrv_Original.dll back to D3DDrv.dll.
Unofficial, non-commercial fan mod. All rights to XIII (2003) belong to Ubisoft.
Includes Valve's OpenVR/SteamVR openvr_api.dll (BSD-3-Clause). Corrections,
credit, or removal requests from rights holders: open an issue on this repository.
Alpha 0.1.0 — Render-Hook Foundation
First alpha. This is NOT a headset build yet — there is no VR output in 0.1.0.
It proves the foundation the VR mod is built on, all testable on a normal monitor (no headset needed):
- Proxy loads cleanly — the mod replaces the game's D3D render device with a pass-through shim (loading the renamed original underneath); the game runs exactly as before.
- Frame capture — grabs the game's finished frames to
%TEMP%\xiii_capture\as proof the render intercept works. - Camera injection — an optional toggle pans the in-game view on its own, proving the camera can be steered externally. In 0.2.0 this becomes your real head orientation.
Install
- In the game's
system\folder, renameD3DDrv.dll→D3DDrv_Original.dll(backup + the mod loads it). - Drop this release's
D3DDrv.dllintosystem\.
Test (monitor only)
- Launch the game — it should play normally (proves the proxy loads).
- Check
%TEMP%\xiii_capture\for captured.bmpframes. - Optional camera sweep: add
[VR]+CameraSyntheticSweep=1tosystem\XIII.ini, launchXIII.exe DM_Base.unr -windowed -nosound, watch the view pan. Set back to0to play normally.
See the README for full details and uninstall.
The headset comes in with 0.2.0 (OpenXR output + live head-tracking).