Perfect Dark Zero Restored
Perfect Dark Zero Restored is a native PC port of Perfect Dark Zero that restores cut features like Counter-Op and optional stealth.
- Type: PC port
- Game: Perfect Dark Zero
- Runs on Windows
- By PDZRestored
- Latest release v1.0.3, 2026-11-28
- Source: https://github.com/PDZRestored/PerfectDarkZeroRestored
README
Perfect Dark Zero Restored
Perfect Dark Zero Restored (PDZ Restored) is a native PC version of Rare's Xbox 360 launch game Perfect Dark Zero.
As well as bringing the game to PC, it restores a number of features cut by Rare during development.
The game's own code, including Title Update 3, has been recompiled into a Windows program, and a native Direct3D 12 renderer draws the graphics. The game runs as native code, not in an emulator.
It is built on nikolaygorb's PerfectDarkZeroRecomp and the ReXGlue SDK.
This project contains no game files. You need your own copy of the game.
AI was used to help with the game's code and settings window.
What this project is about
PDZ Restored focuses on restoring Rare's original game rather than modernising it: finishing what Rare left unfinished, fixing its bugs and making it run well on PC. Anything added is built from what's already in the code, and most of the additions can be turned off.
Other projects take the game in different directions, and they're all well worth a look:
- PerfectDarkZeroRecomp by nikolaygorb, the recompilation this project is built on, with its own enhancements such as a third-person camera. Now also including some of the fixes and improvements from this project.
- Perfect Dark Zero: Reinstated by 2023PerfectDark, which adds new content and options of its own.
- Perfect Dark Zero Reworked by zerocore, with controller, gyro, aiming and presentation enhancements.
Download
Get the latest version from the Releases page. Unzip it into its own folder and read the README.md inside.
New in 1.0
- Counter-Op. The fan favourite mode from the N64 game returns! Player 1 plays as Joanna and player 2 plays the enemy guards, including taking on the role of bosses in boss battles.
- Stealth (optional). Guards in PDZ can already search, check out noises, run for alarms and find bodies, but in the original game you hardly ever get to see it, and more often than not, being seen resulted in all enemies suddenly knowing your exact location. PDZ Restored V1.0 restores a stealth layer Rare had planned for the game but never finished. Guards now react to shot out lights and Joanna is harder to see in darkness. Players can now lure guards using broken lights for an unseen kill. If you're detected, you will have a short window in which to contain the alarm if you can eliminate the guard who has spotted you quickly enough. Rare's levels already mark which walls should block sound for the guards, but the game only ever used this for footsteps. Gunfire now uses it too, so walls muffle shots and a single gunshot no longer alerts every guard at once. The restored stealth layer is available in Nightclub, Subway, Mansion and Lab levels.
- Sounds Rare recorded but never used. About forty sound effects have been wired into Rare's code, making the game world feel more alive.
- Graphics and Gameplay tabs in the settings window, with Performance (up to 4K 120fps) and Quality (Enhanced lighting, shadows and draw distance at up to 4K 60fps) presets. The Gameplay tab allows you to play the game in Original mode, close to how Rare made it, or in Restored mode which adds in a number of fixes and features found in Rare's code.
Full list of changes
Campaign
- Added Counter-Op mode for two players.
- In Counter-Op, player 2 can also play the spiderbots on Datacore, one of the twins on Trinity Infiltration, Mai Hem on Mansion and Outpost, enemy hovercraft on the River and jetpack guards on Datacore, Trinity Escape and Jungle.
- Added optional stealth to the Laboratory, Nightclub docks, Subway and Mansion grounds.
- With stealth on, one guard spotting you doesn't tell the whole squad where you are.
- With stealth on, walls muffle gunshots, giving you the opportunity to contain any alerts before they spread, only guards who actually see a kill react to it, and guard searches eventually end.
- With stealth on, guards come to look when you shoot out a lamp, and you can hear them call for help.
- Guard voices are slightly louder, and there's a slider for them.
- Fixed Jo going to the wrong wall when taking cover, and the cover prompt lagging behind.
- Fixed guards in cover (they now hold it and peek out properly instead of hesitating or entering cover and leaving it immediately).
- Included Rare's Title Update 3 fix for cover.
- Fixed guards firing semi-automatic guns too fast at 60 and 120 fps.
- Fixed guards throwing grenades at the wrong height.
- Fixed guards only ever dodging three ways, and dodging backwards into walls.
- Fixed guards stopping dead at sharp corners.
- Fixed guards picking cover too close to you.
- Fixed guards twitching when they lose sight of you for a moment.
- Laboratory: fixed the keycard and desk being thrown about at the start.
- Laboratory: the blackout announcement doesn't repeat forever any more.
- Laboratory: fixed some generator room guards missing Rare's darkness rule.
- Laboratory: fixed vent grates falling out on their own at high frame rates.
- Laboratory: the staff's lights-out conversation now plays.
- Subway: fixed not being able to get up the ramp into the end train at high frame rates.
- Fixed doors stopping half open at 120 fps, including Mansion's front door.
- Bridge: fixed a crash on the turret at the start, and the ship turret turning too fast.
- Datacore: included Rare's Title Update 3 fix for a script crash.
Sounds
- About forty sounds Rare recorded but the game never played: bodies hitting the floor, flickering strip lights, fuse boxes, sparks, pigeons, flies round bins, the jellyfish tanks, water in the Rooftops pipes, and bullets hitting water.
- Crates, cabinets, drums, pots, melons, tables and cans make their own sounds when knocked.
- Security cameras and vent grates make their own sounds when they break or fall.
- Office chairs and metal doors use their own sounds instead of wooden ones.
- The audioscope zoom, the torch, locked doors and the CamSpy all have their sounds back.
- Round doors on Datacore and Trinity don't play a wooden creak on top of their metal sound any more.
- Fixed sounds that Rare's data had the wrong name for.
- Walls and floors make sounds quieter, so you don't hear things through buildings.
- Fixed the Nightclub brooms being heard from the docks.
- Restored the interactive music (stealth and action tracks) that Title Update 3 removed.
Aiming and controls
- Fixed auto-aim pulling zoomed shots onto the wrong target.
- Fixed the spread limit for crouching and standing not being applied to your shots.
- Fixed the CMP150's first shot being heard 50 m away.
- Fixed the look curve below the default sensitivity.
- Added optional aim assist settings (still lock, headshots and zoomed assist).
- Added a field of view slider.
- Mouse and keyboard: WASD always moves and the mouse always looks, whatever controller layout you pick.
- Every key, mouse button and the mouse wheel can be rebound.
- The mouse aims turrets, steers the Locktopus and turns the CamSpy.
- Added a Locktopus practice dial to the settings window.
Multiplayer
- Finished Plant the Flag and Protection, both with bots.
- Added bots to Sabotage.
- Up to 31 bots, 32-player Infection, and bots can use turrets.
- Fixed bots getting stuck reloading, and bots crowding the terminal in Protection.
- Map packs can be imported from your own console, and a fault in some copies of Map Pack One is repaired on install.
- Included Rare's Title Update 3 fixes for Township, Chinatown, Desert, flag drops, teleporters and the Facility and Ruin rules.
- Added a music selector, including your own MP3s.
Graphics
- Native Direct3D 12 renderer, up to 4K.
- Up to 120 fps in the campaign, with even frame pacing.
- VRR support (G-Sync and FreeSync).
- Render scale up to 200%, upscaling, anti-aliasing and 16x anisotropic filtering.
- Performance and Quality presets.
- Far lighting, so distant lights and windows stay lit.
- Optional longer sun shadows and full streetlight beams.
- Fixed far buildings showing through the fog at the edge of the screen.
- Fixed tall buildings disappearing from water reflections.
- Fixed lamp glows over water and water animations jumping.
- Fixed two-frame texture animations only showing one frame.
- Fixed the death "de-rez" effect.
- Fixed pink squares around glows on AMD cards and the Steam Deck.
- Added a split screen frame cap for co-op and multiplayer.
- Fixed flicker effects and idle animations running too fast at 60 and 120 fps.
- Physics runs at Rare's original 1/60 s step at every frame rate.
Performance
- Fewer hitches the first time you play through a level.
- The game's code uses about a fifth less CPU time.
- Fixed stutter when things explode or guards die.
Settings and setup
- Settings window with Display, Graphics, Gameplay, Frame rate, Map packs and Controls tabs.
- Gameplay presets: Restored, Original or Custom.
- Fixed Desktop resolution not actually using your desktop's resolution.
- Fixed fullscreen starting minimised and the mouse cursor popping up in game.
- Update check when the settings window opens.
- Setup works with any genuine disc and tells you what's wrong if it can't.
- The US Platinum Hits disc works without Title Update 3.
- A big crash-safety pass, plus crash fixes on Datacore, jetpacks and Counter-Op.
- If the game ever does crash, it writes a crash file and says so in the log.
- Safe mode.
Features
- Counter-Op for two players in split screen.
- Optional stealth on the Laboratory, the Nightclub docks, the Subway and the Mansion grounds.
- Restored sounds, using only Rare's own previously unused recordings.
- Two cut multiplayer modes restored. Rare left Plant the Flag and Protection unfinished. Both are now finished and playable, including with bots.
- Bots in Sabotage. Sabotage on Xbox 360 shipped without bot support. After 85 commits and 70+ test runs, the bots can finally play the mode properly.
- Up to 31 bots in a match, and 32-player Infection. Bots can use turrets. Facility and Ruin stay 8-player maps, per Rare's original settings.
- Both official map packs can be imported from your own console. A known fault in some copies of Map Pack One is repaired when you install it. The US Platinum Hits disc already has them.
- A native Direct3D 12 renderer that matches the Xbox 360 graphics, up to 4K, with higher frame rates and much lower GPU use than emulated rendering.
- Up to 120 fps in the campaign, if your PC and screen support it. Multiplayer is locked at 60 fps.
- Built on Title Update 3, with all of Rare's tweaks and bug fixes.
- Dozens of additional bug fixes (full list above).
- A music selector for multiplayer matches, and an option to play your own MP3s.
- A settings window with display, graphics, gameplay, frame rate, map pack and control options, including a field of view slider.
- Safe mode - just in case.
- This release was primarily designed and tested using a controller. Mouse and keyboard are supported and fully remappable.
What you need
- Windows 10 or 11, 64-bit.
- A processor with AVX2: Intel 4th generation ("Haswell", 2013) or newer, or AMD Ryzen or newer.
- A graphics card that supports DirectX 12.
- The Microsoft Visual C++ Redistributable (x64).
- Your own Perfect Dark Zero disc, as a disc image (
.iso) or its extracted files. Any of the five original retail discs works, and so does the US Platinum Hits disc (see below). - Title Update 3 for Perfect Dark Zero, copied from your own Xbox 360. Any disc's Title Update 3 works. The US Platinum Hits disc doesn't need it.
- Optional: the two official map packs, copied from your own Xbox 360.
No game files are included, and none can be downloaded through PDZ Restored.
Setting it up
- Unzip the release into its own folder, for example
C:\Games\PDZRestored. - Put your disc image (or the extracted disc) and the Title Update 3 file into the
gamefolder. - Start
PDZRestored.exe. The first start checks your files and prepares them. This takes about 20 seconds. - The settings window opens. Add your map packs on the Map packs tab if you have them, then press Play.
To update, just unzip the new version over your old folder. Your settings and saves are kept.
US Platinum Hits
The US Platinum Hits disc works as it is:
- Put its disc image (
.iso), or the extracted disc, into thegamefolder. - You don't need Title Update 3. If one is in the
gamefolder, it isn't used for this disc. - Both map packs are already on this disc. The Map packs tab shows them as included; there's nothing to add there.
Status
Status: 1.0 is the current release (November 2026), out for the game's 21st anniversary. It's playable from start to finish; see the release notes for what's new. So far it has been tested on one PC with an NVIDIA GPU.
Reports from other PCs are very welcome, especially with AMD or Intel graphics cards or older processors. Please open an issue and attach the newest log from the logs folder next to PDZRestored.exe. The settings window's Advanced tab has a button that opens it.
Known issues are listed in the release's README.md (tools/release/README.md).
What's next
Being explored for future versions:
- Duel and Team Duel, another multiplayer mode Rare left unfinished.
- Round-based Eradication, a cut version of Eradication that is still in the game's code.
- Artefact, a carry-the-item mode Rare cut early. Only its announcer lines survive, so it would have to be rebuilt.
- Online play with friends over the internet.
Building from source
This part is for developers. Players only need the release zip.
Requirements
-
Windows 10 or 11, 64-bit. The Linux and macOS CMake presets come from upstream and are not tested here.
-
CMake 3.25 or newer, Ninja, and Clang/LLVM. MSVC alone won't build it. Build from a Visual Studio developer command prompt so Clang finds the Windows SDK.
-
Python 3, for the scripts in
tools/. -
The game's files, extracted from your own disc, to recompile from:
assets/default.xexand the rest of the disc (assets/pdz/...). extract-xiso can extract a disc image.- Title Update 3's
default.xexp, asassets/default.xexp. The code generator applies it.
The code in this repository is generated from media ID
6A78E206(default.xexSHA-1c24ae39fb18a22de1f18e61dc498393d25eadcaf) and its Title Update 3 (TU_16L61UJ_000000G000000.00000000000O4,default.xexpSHA-1b148ab898498a4dbdd494ddaf0e7d826612a6126). Every disc and Title Update 3 pairing gives the same patched program, see docs/RELEASE_FIRST_RUN.md.assets/is gitignored apart from its README and icon.
Build
-
Clone the repository with its submodules. The ReXGlue SDK is built from source in
thirdparty/rexglue-sdk.git clone --recursive https://github.com/EddieVanHelgen/PerfectDarkZeroRestored.gitIf you cloned without
--recursive, rungit submodule update --init --recursive. -
Put the game's files into
assets/as described above. -
Configure and build:
cmake --preset win-amd64-release-v3lto cmake --build --preset win-amd64-release-v3ltoThe code generator runs as part of the build and writes
generated/.win-amd64-release-v3lto: AVX2 (x86-64-v3) with ThinLTO, like the release.win-amd64-release-v3: the same without LTO, so it links faster.win-amd64-release: for any x86-64 processor.
The release is also built with profile-guided optimisation (
win-amd64-release-pgousev3). That needs a local.profdataprofile of your own.
Title Update 3 removed the interactive (stealth / action) music. This build can restore it from
src/music/music_lifted.inc, which tools/lift_music.py makes from your own launch version of the game. That file
is not in the repository. Without it, the build plays Title Update 3's music.
Run
out\build\win-amd64-release-v3lto\PDZRestored.exe
- Game files are read from
<repo>\assets, found by searching upwards from the exe.--game_data_rootpoints somewhere else. - Title Update 3's data files are read from
Documents\perfectdarkzerorecomp-tu3\update(update\Pdz\Assets\PackageData\1726605008.pkgmust exist).--update_data_rootpoints somewhere else. - If the files aren't found there, the exe runs the release's first-run setup instead: it looks in
game\next to the exe and prepares the files indata\. - Saves and the shader cache are in
Documents\perfectdarkzerorecomp-tu3. - Logs are written to
logs\next to the exe, asPDZRestored_NNN.log. tools/release/stage_release.pymakes the release folder and zip. It refuses game files, translated shaders, audio, and Microsoft files other thandxcompiler.dllanddxil.dll.
Settings and documentation
- The settings are in
settings/and are read at start-up.hardware.tomlcovers the renderer, window, frame rate, fixes and options.mapping.tomlcovers the keyboard and mouse. The settings window (hold Shift while starting) writes some of them. The release shipssettings/release/hardware.toml. - Confirmed bug fixes are on by default. Most enhancements are off unless the release settings turn them on. What each fix does and why: docs/BUG_AUDIT.md and src/mod/README.md.
- More notes: docs/MAP_PACKS.md, docs/MOUSE_KEYBOARD.md, docs/MP_MUSIC_CUSTOM.md, docs/MULTIPLAYER_GUIDE.md, docs/RELEASE_FIRST_RUN.md, docs/RELEASE_SHADERS.md, docs/SETTINGS_WINDOW.md.
Credits
- Rare, who made Perfect Dark Zero.
- nikolaygorb, for PerfectDarkZeroRecomp, the recompilation this project grew from (MIT licence), and 2023PerfectDark for its local profile manager.
- The ReXGlue SDK and its authors. Its runtime is derived from Xenia.
- XenosRecomp by hedge-dev, the shader translator built into PDZ Restored.
- Perfect Dark Zero: Reinstated (2023PerfectDark / PerfectDark023), for finding that Rare's physics step is a fixed 1/60 s, and for the approach behind the Laboratory keycard fix.
- xenia-canary/game-patches, where the 60 fps and 16:9 patches come from.
- The authors of the other libraries, listed with their licences in THIRD_PARTY_NOTICES.md and docs/CREDITS.md.
PDZ Restored is an unofficial fan project. Perfect Dark Zero belongs to Rare and Microsoft, and this project is not made, approved or supported by them.
PDZ Restored was made with a lot of help from Claude (Anthropic's AI assistant).
Made by a fan, out of love for Perfect Dark Zero and respect for the people at Rare who made it.
Licence
MIT, see LICENSE. It covers this project's own code only, not the game or its assets.