A native Windows build of Demon's Souls (PS3, USA BLUS-30443 or Europe BLES-00932). The game's PPU and SPU code is statically recompiled to C/C++ with ps3recomp and runs as a normal x64 program on a PS3 runtime and a Direct3D 12 renderer. It is not an emulator.
No game files are included. This repo holds only tools, patches and build scripts. SETUP builds the game on your PC from your own disc image.
Community Discord: [discord.gg/gTvrZZ75G] for questions, setup help and screenshots. Bug reports with a REPORT.bat zip are best as a GitHub issue. Thanks to MrSuS60 for having me in their Discord, and a special thanks to zackcage6 who has been an immense help in testing and polishing.
- The whole game is playable, with sound, music and movies, on keyboard + mouse or an Xbox controller.
- 60 fps is recommended (50 on a 100 Hz screen). 30, uncapped and any custom rate work too. Above 60 fps there are still known bugs, such as the sound drifting out of sync.
- A custom Arabic translation (USA disc): menus, items, dialogue and subtitles right to left, an Arabic title logo and movie, built from your own game files. Made with the help of MrSuS60 and zackcage6, and other native speakers from the Discord. Pick it under Language in the launcher; see Arabic translation.
- Seamless co-op is being worked on. Friends join your world without soul signs, stay through boss fights and follow you between areas. The connection is confirmed working; the remaining bugs are being ironed out. It isn't in a release yet.
- Plays smoothly on Windows, macOS and Linux. The Steam Deck is playable too: not perfectly optimised yet, but very good in most areas. The full development log is docs/NOTES.md.
- Android (arm64) is in an early phase. It boots into the game and plays at 30 fps on a Pixel 10 Pro XL, with a controller or touch controls. The main target is the AYN Thor, which I don't own yet, so it is untested there. See Android. Due to some recent unexpected expenses, the AYN Thor testing has been put on hold for a while.
Hit a stutter or crash? Press F8 when it happens and run REPORT.bat afterwards
(details).
- Windows 10/11 x64 with a Direct3D 12 GPU. AVX2 is used if your CPU has it (Haswell / Ryzen or newer).
- About 14 GB free disk space.
- Your disc image of Demon's Souls USA (BLUS-30443) or Europe (BLES-00932): a
.iso, a Redump.zip, or a dumped folder withPS3_GAMEin it. An encrypted image also needs its disc key: the.dkeyfile from the dump, or the "Disc Key" line on Redump's page for the disc (USA, Europe). SETUP tells the two apart by itself. See European disc. - Nothing else. SETUP downloads what is missing into
deps\, with no installer or admin rights: portable Python and Git, the PS3 keys forEBOOT.BIN(from RPCS3's public source, kept in%LOCALAPPDATA%), and a portable LLVM compiler with Microsoft's SDK via xwin. All downloads are checksum-verified. An existing Python 3.10+, Git, or Visual Studio 2022 (Desktop development with C++) + LLVM 17+ is used instead. - A plain folder path: no
[ ]or&.
Each release has one download per system: DemonsSoulsRecomp-<version>-Windows.zip,
DemonsSoulsRecomp_<version>-Linux.zip (plus the Linux setup AppImage) and DemonsSoulsRecomp_<version>-macOS.zip,
each with only what that system uses. Linux / Steam Deck and macOS (Apple silicon): see their install guides
below (Linux, macOS).
- Download
DemonsSoulsRecomp-<version>-Windows.zipfrom the newest release (orgit clone) and unpack it, e.g. toC:\Games\DemonsSouls. - Start
DemonsSoulsLauncher.exe, press PLAY, and answer Yes to runSETUP.bat. - Give it your disc image: drag it into the window and press Enter. If it needs the disc key, SETUP opens Redump's page; copy the "Disc Key" line and paste it with Ctrl+V. Enter takes the suggested answer to every other question.
- Wait for All done, then press PLAY.
| step | what SETUP does | time* |
|---|---|---|
| 1 | extracts and decrypts the game files into game/ |
2–5 min |
| 2 | decrypts EBOOT.BIN → EBOOT.elf and checks it is the tested version |
seconds |
| 3 | fetches ps3recomp at the tested commit and applies this port's runtime patch | < 1 min |
| 4 | recompiles ~94,000 PPU functions + 12 SPU programs into port/ |
2–4 min |
| 5 | applies this port's edits to the recompiled code | seconds |
| 6 | compiles DemonsSoulsRecomp.exe and the launcher |
10–30 min |
* on a fast 16-core PC. The compiler's full output goes to logs\build_last.txt. If something fails, fix
what it says and run SETUP.bat again: finished steps are skipped.
Recommended: the native Linux build, with its own launcher. The game as a Linux program drawn with Vulkan, with no Proton. On the Steam Deck five of the seven archstones hold 60 fps; the two heaviest spots (Boletarian Palace 1-1 and Latria's second archstone) run at 55-56, and Boletaria around 48 mid-fight (frame rates).
- Install: run
linux/native/install.shfrom agit clone(or from the release's Linux ZIP; the launcher's Update button needs the clone). It opens a one-click installer window: your disc image, its disc key, then Install. - Play:
python3 linux/native/launcher.pyopens the native launcher, which is confirmed to work great. It keeps your settings, updates and rebuilds, adds the game to the applications menu, and Add to Steam makes a shortcut for game mode (a controller works the launcher).linux/native/play.shstarts the game directly.
Details: docs/LINUX_NATIVE.md.
Alternative: the Windows build through Proton (Steam's compatibility layer), built on your PC from your disc image. Use it if the native build does not work for you. It plays on Ubuntu 24.04 and the Steam Deck; the Deck is not perfectly optimised yet, but very good in most areas. You need a Vulkan GPU driver, about 25 GB free, and an internet connection for the first run.
- Download
DemonsSoulsRecomp-Setup-x86_64.AppImagefrom the newest release (between releases: GitHub → Actions → Linux AppImage → the newest run → Artifacts). Make it executable (chmod +x, or right-click → Properties → Permissions → Is executable). On a Steam Deck, do this in desktop mode. - Run it. It asks for your disc image (a file picker, or drag the file in), then the disc key if needed,
and runs the same six steps as SETUP.bat into
~/DemonsSoulsRecomp(DS_HOME=/other/folderputs it elsewhere, e.g. on an SD card). It asks before each download, including Microsoft's SDK license. The first build takes 10–30 minutes on a desktop and 1–2 hours on a Steam Deck. - It offers to start the game; the first start sets up Proton (a few hundred MB). To play later, run the
AppImage again (it updates and rebuilds what changed) or
~/DemonsSoulsRecomp/linux/play.sh.
Settings are the same switches as on Windows, e.g. DES_FPS=60 ./DemonsSoulsRecomp-Setup-x86_64.AppImage play
(a Steam Deck defaults to 30 fps). Steam Deck game mode: add ~/DemonsSoulsRecomp/linux/play.sh as a
non-Steam game, with Start in set to ~/DemonsSoulsRecomp and no forced Proton version. From a git
checkout instead: install Python 3.10+, git, and clang + lld 17 or newer, then run
sh linux/setup.sh /path/to/image.iso and sh linux/play.sh. Troubleshooting: docs/LINUX.md.
A native arm64 build on Metal (by erikomis). It plays smoothly, but it is behind on updates: some of the Windows and Linux features are missing. You need about 14 GB free.
- Install Apple's command-line tools (
xcode-select --install), then with Homebrew:brew install cmake ninja sdl2 glslang spirv-cross ffmpeg python@3.12(FFmpeg is for the movies). - Get this repo (
git clone, or the release'sDemonsSoulsRecomp_<version>-macOS.zip) and, in its folder, runDES_ISO="/path/to/Demon's Souls (USA).iso" mac/install.sh. A Redump image also needsDES_KEY=<32 hex digits or the .dkey file>. It extracts the game, decrypts the EBOOT, recompiles and builds; after a failure or a quit, run it again and it continues where it stopped. - Play with
mac/play.sh. There is no on-screen keyboard yet:DES_NAME=<name> mac/play.shnames your character.DES_FPS=30gives the console's 30 fps (60 is the default).
mac/launcher/ has a desktop app that does all of this without a terminal (see its README). Controls,
settings and what is still missing: docs/MACOS.md.
Early phase. An arm64 build on the same Vulkan renderer as the native Linux build, packed as an APK. It boots into the game and plays: on a Pixel 10 Pro XL (Android 17) it loads a save and holds 30 fps in game, with a Bluetooth controller or the on-screen touch controls. The handheld it is meant for, the AYN Thor, is untested because I don't own one yet, and other phones are untested too. No release: you build the APK yourself, on a Linux PC or a Mac, from your own disc. Never share the APK: it contains the game's code.
- Run the native Linux steps first (
linux/native/build.sh venv game decrypt toolkit lift; on a Macmac/rebuild.sh venv game decrypt toolkit lift): they make the game files and the recompiled code from your disc image. - Install the Android SDK with NDK r28 and a JDK 17, then run
android/build_deps.sh(SDL2 + glslang for arm64),android/build_so.sh(the game, ~10 minutes on an 8-core PC) andandroid/build_apk.sh install(with the phone connected over USB, USB debugging on). android/push_game.shcopies the game files (about 8 GB) to the phone. Then start Demon's Souls (ps3recomp) from the app drawer.
It starts at 30 fps, with no movies, straight to the title screen. Not there yet: 60 fps, movies, the on-screen keyboard (the character is named "Slayer"), and rumble. Details, measurements and the open points: docs/ANDROID.md.
SETUP builds the European release too, from your own European disc image: it reads which disc it is and uses
patches/lifted-code-eu.patch, the port's edits carried over to the European EBOOT. The European game picks its
language from the system language: pick it under Language in the launcher (Windows and native Linux), or set
PS3_LANG=fr (or de, es, it; anything else gives English) before PLAY.bat / linux/play.sh. Notes:
- Use a separate folder for each release. Switching one folder from one disc to the other is not supported.
- European saves are separate from US ones (the save folders are named after the disc, BLES00932...).
- Tested on Linux through Proton: setup, a new character into the tutorial at 30 and 60 fps, and the French text. Not tested on the European release yet: boss rush, the PC Remaster mod, and the native Linux, macOS and Android builds.
An Arabic translation of the USA release, made for this port with native Arabic speakers from the community
(translations/arabic/). Pick العربية (Arabic) under Language in the launcher (Windows and native Linux) and
press Play: the first time it is built from your own game files and installed over them (about two minutes; the
originals are kept in game/arabic_backup), and choosing English puts them back. Without the launcher (or on
macOS), with the game closed:
- Windows:
.venv\Scripts\python translations\translations.py apply ar(apply enfor English) - Linux / macOS:
.venv/bin/python translations/translations.py apply ar - Run it again after an update.
It covers the menus, item text, dialogue and subtitles (right to left, Arabic digits), the title logo and the title
movie (the movie needs ffmpeg: one on PATH, or else the installer fetches the imageio-ffmpeg
package into the port's own Python, like numpy). Still English:
pictures with text (NOW LOADING, YOU DIED, area titles) and the button help line's alignment. The HUD's L / R hand
labels read يس / يم.
Tested on Linux through Proton, except the title movie, which Proton does not play; not tested on Windows yet.
Press Check for updates in the launcher. It downloads the newest release (no Git needed), rebuilds what
changed and reopens. Your game files, saves and settings are kept. Tick Keep my build after updates (or
set DES_NO_REBUILD=1) to play your current build and rebuild later with BUILD.bat.
Copies from before v2026.11.03.7, once: unpack the newest release ZIP over your folder, replacing files, then press Play.
Start DemonsSoulsLauncher.exe and press PLAY. It holds every option (frame rate, resolution, mods,
fullscreen, movies, god mode, Easy mode, OmniRoll, mana regen, recording, keys by letter, CPU pinning, GPU power smoothing) and saves them in launcher.ini.
Extra settings takes any NAME=value switch from this page or from an issue. --play starts the game
straight away, for a shortcut. Without the launcher, set the switches before running PLAY.bat.
| launcher option | switch | what it does |
|---|---|---|
| Frame rate | DES_FPS=30|50|60|unlimited|31-240 |
Auto = an even rate for your screen: 60 on 60 / 120 / 240 Hz, 50 on 100 Hz, 72 on 144 Hz, 55 on 165 Hz, 75 on 75 Hz. Game speed is right at any rate. A rate that divides your refresh rate is perfectly even; others turn vsync off. |
| My screen has G-Sync / FreeSync | DES_VRR=1 |
lets a variable-refresh monitor follow the frames (vsync-off frames may tear, so the monitor shows each when it is ready); Auto is then 60 at any refresh rate. Leave it off on other screens: the picture would tear. |
| Resolution | DES_RES_SCALE=1.25|1.5|2|3|4 |
renders above 1280x720: 1.25 = 1600x900, 1.5 = 1920x1080 (a 1080p screen), 2 = 2560x1440; Sharper shadows = LD_RES_SCALE_SHADOW=1 |
| Game | DES_GAME=game_remaster / game_mod, DES_BOSS_RUSH=1 |
the PC Remaster mod, your imported models (see below), or boss rush mode |
| Dump textures | LD_TEX_DUMP=1 |
saves every texture drawn, for texture packs |
| Skip the intro | DES_SKIP_INTRO=1 |
starts at PRESS START; story movies still play |
| QoL Fixes: Easy mode at start | DES_EASY=1 |
attacks that hit you take half as much HP (F7 toggles it in the game on Windows). DES_EASY_DAMAGE=1-99 sets the percent (default 50). Falls, lava and poison may still do full damage. With god mode also on, god mode wins |
| QoL Fixes: Mana regen | DES_MANA_REGEN=1 |
MP comes back over time: 3 a second of game time, the same at any frame rate (DES_MANA_REGEN_RATE=1-600 MP a minute for another rate; default 180). Only while alive; god mode keeps MP full anyway |
| QoL Fixes: Locked-on rolls follow the stick | DES_OMNIROLL=1 |
locked on, you roll where the stick points instead of in 4 directions: the OmniRoll mod, built in (see Mods) |
| Keep my build after updates | DES_NO_REBUILD=1 |
plays your current build instead of rebuilding |
| Smooth GPU power | LD_GPU_WARM=2 (1-4) |
only if your PC switches itself off or restarts while the port runs (but not in other games): keeps the GPU's power draw steady between frames so a power supply does not trip. No change to the picture or frame rate; the card draws more power. If it still happens, LD_GPU_WARM=3 in Extra settings |
Other switches: DES_MOVIES=0 skips movies, DES_CUT_BLEND=0 restores the original 30 fps cutscene camera,
DES_FULLSCREEN=1 starts fullscreen.
An Xbox (XInput) controller works when plugged in. A DualShock / DualSense needs Steam Input or DS4Windows. Keyboard + mouse work alongside a controller; whichever you touch last takes over.
| key | action |
|---|---|
| WASD | move |
| mouse (or IJKL) | camera (click into the game to capture the mouse) |
| left mouse / Shift | attack (R1) / strong attack (R2) |
| right mouse / Ctrl | block (L1) / parry (L2) |
| Space | roll / dash / back (Circle) |
| E | interact / confirm (Cross) |
| F / R | two-hand (Triangle) / use item (Square) |
| Tab / middle mouse | lock on (R3) |
| arrows | d-pad (switch items) |
| Enter / Backspace | Start / Select |
| Esc or F1 | release the mouse (close the game with the X or Alt+F4) |
| Alt+Enter / F11 | borderless fullscreen |
| F7 | Easy mode (attacks that hit you take half the HP; Windows) |
| F9 | god mode (no death, HP/MP/stamina stay full) |
- The cursor hides over the game after 2 s without moving during play (not in menus); moving the mouse shows it
again.
DES_CURSOR_IDLE_MS=<ms>changes the delay,0keeps it visible. - Menus: the mouse is a pointer. Hover selects, left click confirms, right click goes back, the wheel
scrolls, and side buttons or PageUp / PageDown are L1 / R1.
DES_POINT=0turns pointing off;PAD_MENU_MOUSE=0turns the mouse off in menus. - Button icons show keys or PS3 buttons depending on what you used last (
LD_TEX_KBM=0= always PS3,1= always keyboard). On Windows a controller gets Xbox buttons (A B X Y, LB RB LT RT), unless a PlayStation controller is connected;LD_TEX_PAD=ps3keeps the PS3 buttons,LD_TEX_PAD=xboxalways uses Xbox. - Mouse look follows the game's invert options.
PAD_MOUSE_LOOK_SENS=0.0012sets the sensitivity;PAD_MOUSE_LOOK=0restores the old stick-style mouse. - Keys go by position, so AZERTY uses ZQSD.
PAD_KEYS_BY_LETTER=1= by letter. - Change any key in the launcher: Controls, click a slot, press the key or mouse button (right-click clears it). The button prompts and the title's PRESS ENTER KEY follow your keys.
Saves go to gamedata/, and logs to logs/; they grow ~600 MB an hour, and the previous run is kept.
Game: Boss rush in the launcher (or DES_BOSS_RUSH=1 linux/play.sh, or DES_BOSS_RUSH=1 linux/native/play.sh for
the native Linux build, DES_BOSS_RUSH=1 mac/play.sh on a Mac). Make a new character:
you skip the tutorial and start in the Nexus in soul form, with 7,000 souls and every trader there. Boldwin also
sells every weapon and shield, every armour piece and ring, every upgrade material, Turpentine and Firebombs,
priced by tier: the best weapons 40,000-75,000, top armour sets 30,000-50,000, rings 5,000-50,000, and items normal
shops sell at their usual price, so a run's boss souls buy a build but not everything.
- Pick a boss: each world's archstone offers that world's next unbeaten boss and puts you at its fog gate.
- After a kill: the boss's archstone offers the next boss (Fight the Tower Knight?) or Return to the Nexus?
- Dying: you go back to the same boss's fog in body form.
- The Nexial Binding takes you back to the Nexus and keeps your souls (its description says so too).
- The run ends when King Allant dies; his fight and the ending are the game's own.
- The timer at the bottom of the screen appears once you are in the game. It starts at the first fog and pauses
on loading screens, cutscenes and the title screen (and while the game is closed). Splits and the final time go to
bossrush\splits.txtandbossrush\results.txt. - Boss rush souls in the launcher (2x by default;
DES_BR_SOULS=2, 3, 5 or 10): every enemy and boss gives that many times its souls. The timer shows Souls x2 and so on when it is not 1x, so runs and videos say which they used.
It has its own saves in bossrush\, so your normal saves are never used. Play makes game_bossrush\ from your
game files the first time, in seconds and with no extra disk space (again when you change the souls setting).
Every run records frame timing (about 25 MB an hour, no visible cost; the last 10 sessions stay in perf\).
- Press F8 right after a stutter or slowdown. Each press marks that moment.
- After quitting or a crash, press Report a problem in the launcher (or run
REPORT.bat). It packs the session into one zip and opens GitHub's New issue page. - Pick the Stutter / slowdown or Crash / bug template, drag the zip in, and say where you were.
The zip holds a frame-pacing summary (report.txt), the recording (perf.txt), your system info
(system.txt) and the end of the game log (log_tail.txt). Your Windows user name is removed. Untick
Record frame timing (or set DES_RECORD=0) to play without recording.
PC Remaster mod by fromsoftserve (Nexus Mods, Demon's Souls mod 106): download its zip, then run the line
below. It makes game_remaster/ from hard links, so it uses no extra space and game/ is unchanged.
.venv\Scripts\python tools\install_remaster.py "path\to\the mod.zip" --applyOmniRoll ("Omnidirectional Roll" by hamzafallahi, Nexus Mods, Demon's Souls mod 192) is built into the port, for
both discs: tick Locked-on rolls follow the stick under QoL Fixes in the launcher (or DES_OMNIROLL=1). Locked on, you roll exactly where
the stick points instead of in one of 4 directions (the back half of the stick plays the back roll, aimed along the
stick); unlocked diagonal rolls no longer go to the mirrored diagonal. The backstep, rolls out of a sprint,
stamina, i-frames and roll speed are the game's own. Nothing to download: the mod is an RPCS3 code patch, which a
recompiled game cannot load, so its code is rebuilt in the port (DES_OMNIROLL_LOG=1 prints each roll it changes).
Texture packs:
- Tick Dump textures and play; textures land in
textures\dump\as<KEY>_<w>x<h>_<format>.png. - Put an edited or larger file whose name starts with the same KEY in
textures\replace\..dds(DXT, BC7, BC4, RGBA) loads faster than PNG.
Details are in textures\README.txt.
Models:
- Export armour, weapons, characters or map pieces to glTF, edit them in Blender, and import them back.
- Import writes
game_mod\from hard links; play it with Game: My models, and delete the folder to undo. - Edit the
_llow-detail copy too. Rules are inmodels\README.txt.
.venv\Scripts\python tools\flver_tool.py export game\PS3_GAME\USRDIR\PARTS\bd_f_5010.partsbnd.dcx
.venv\Scripts\python tools\flver_tool.py import models\BD_F_5010\edited.glb game\PS3_GAME\USRDIR\PARTS\bd_f_5010.partsbnd.dcx
Packs and models are the game's art; share them only where that is allowed.
SETUP.bat / BUILD.bat one-time setup / rebuild
DemonsSoulsLauncher.exe the settings window (source in project/launcher/)
PLAY.bat / REPORT.bat start the game / pack a bug report
setup/ setup pipeline, toolchain finder, Linux cross toolchain
project/ CMake project
patches/ ps3recomp-local.patch (runtime, on ps3recomp @ 4e8f3ca) and lifted-code.patch (game code)
tools/ disc extraction, SPU lifting, perf report, mod installer, model tool
translations/arabic/ Arabic translation: our text, fonts (OFL) and the installer that builds it from your game
docs/NOTES.md development log: every fix, why, and how it was measured
linux/, mac/ Linux / Steam Deck kit and macOS build (docs/LINUX.md, docs/MACOS.md)
android/ Android (arm64) build: APK project, entry point, build scripts (docs/ANDROID.md)
Everything SETUP produces (game/, port/, deps/, .venv/, saves, logs) is git-ignored.
Never commit or share those: they are the game.
- "could not get the keys … using RPCS3 instead":
- The key download failed, so SETUP falls back to RPCS3; you can also run SETUP again later.
- If RPCS3 then fails ("did not write EBOOT.elf"), close any open RPCS3 window and retry. Or decrypt
game\PS3_GAME\USRDIR\EBOOT.BINby hand with RPCS3's Utilities → Decrypt PS3 Binaries; install the firmware first if it asks. - In Windows Sandbox or a VM, RPCS3 can crash. Decrypt on another PC, copy
EBOOT.elfinto that folder, and rerun SETUP.
- "EBOOT.BIN is not the tested one": only the USA (BLUS-30443) and European (BLES-00932) discs, version 1.00 as on the disc, are supported.
- Build tools not found: rerun SETUP or BUILD and allow the portable compiler download. Or install VS 2022
Build Tools with C++ and LLVM (
winget install LLVM.LLVM), or setLLVM_DIR. - Setup seems stuck: one file can take a minute; see
logs\build_last.txt. If nothing moves for many minutes, press Enter once. - Black window or crash on start: check the end of
logs\last_run_err.txt. - The game closes by itself with no message: run
REPORT.batright away. Its zip includes Windows' own record of the crash (crash.txt), which the game's log cannot show. - Uneven frames at 100+ fps in busy areas: use 50 or 60 fps. On CPUs with two core complexes the game
pins itself to the one with the largest L3 cache;
DES_AFFINITY=0turns that off. - Something is briefly black or missing the first time you see it: its shaders are compiling in the
background.
LD_PSO_ASYNC=0waits instead. - "needs AVX2": the build was made on another PC. Run BUILD.bat on this one, or
set DS_AVX2=0before building. - Online: the official servers closed in 2018. The game starts straight in offline mode
(
DES_AUTO_OFFLINE=0shows the old boxes).
- ps3recomp by Ned Heller / sp00nznet (MIT): the recompiler and runtime.
- RPCS3: its public source code provides the PS3 keys, it is the decryption fallback, and it is the reference for PS3 behaviour.
- erikomis: the macOS build and launcher.
- The PC Remaster mod is by fromsoftserve.
- Omnidirectional Roll is by hamzafallahi (DeS-OmniRoll, MIT, notice); the port carries its code rebuilt in C.
This repo's code and patches are MIT-licensed (LICENSE). Demon's Souls is © Sony Interactive Entertainment / FromSoftware. This project is not affiliated with or endorsed by them and contains none of their files. Buy the game and dump your own disc.