PhysX (32 bit)
ZLUDA has a limited implementation of 32-bit CUDA tailored for PhysX. There are three ways to use it:
-
Steam game
Open the game’s “Properties” and enter the following in “Launch Options”:
"<PATH_TO_ZLUDA>\32\zluda.exe" -- %command% -
Using launcher directly
Open a command prompt and launch the game with 32-bit
zluda.exe:<PATH_TO_ZLUDA>\32\zluda.exe -- <PATH_TO_GAME_EXE> -
System install
This is not a recommended way to load ZLUDA. Use it only if nothing else works.
- Copy
nvapi.dllandnvcuda.dllfrom the32directory toC:\Windows\SysWOW64(requires Administrator permissions) - Set the
ZLUDA64_PATHenvironment variable to the ZLUDA directory (it must containzluda64_server.exe)
- Copy
Known Issues
- Reinitializing PhysX might fail. Changing in-game PhysX settings can crash or hang the game.
Troubleshooting
If your game does not work, try collecting a trace.
-
When using a launcher (through Steam or directly)
Add the
--zluda-traceoption tozluda.exe. If you have access to an NVIDIA GPU, you can also collect a trace on NVIDIA with--nvidia-trace. -
When using a system install
This is not a recommended way to load ZLUDA. Use it only if nothing else works.
- Copy
nvapi.dllandnvcuda.dllfrom32\tracetoC:\Windows\SysWOW64 - Set environment variable
ZLUDA_NVAPI_LIBto the full path to32\nvapi.dll - Set environment variable
ZLUDA_CUDA_LIBto the full path to32\nvcuda.dll
- Copy
Read more about traces here.
Supported games
ZLUDA was tested with:
- Mirror’s Edge
- Alice: Madness Returns
- Mafia II (Classic)
Most games should work. If your game does not work, see the Troubleshooting section above.