timboat/demons-souls-recomp
Sobre
Native Windows port of Demon's Souls (PS3, BLUS-30443) via ps3recomp static recompilation. Bring your own disc image; no game files included.
Design e mídiaCrescimento medido de estrelas
- em 24 h
- +1
- em 7 dias
- +26
- em 15 dias
- +43
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalDemon's Souls — native PC port (ps3recomp)
A native PC build of Demon's Souls (PS3). 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 (Vulkan on native Linux, Metal on macOS). 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.
Discord: discord.gg/aNVrZTHdz for questions, setup help and screenshots. Bug reports (with a REPORT.bat zip) work 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.
Status
- 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 custom rates work too; above 60 there are still known bugs (the sound can drift out of sync).
- Windows, Linux (native or Proton), Steam Deck and macOS all play. Android is in an early phase.
- Four discs: USA, Europe, Asia and Japan (supported discs).
- Extras: boss rush, Easy mode, god mode, OmniRoll, mana regen, texture packs, model import, and an Arabic translation.
- Seamless co-op (experimental): two players in one world, hosted from the launcher, with no official servers. See docs/COOP.md.
The full development log is docs/NOTES.md.
Supported discs
SETUP reads which disc it is and picks the matching patch by itself. Use a separate folder for each disc; each keeps its own saves.
| disc | serial | text | Redump page (disc key) |
|---|---|---|---|
| USA | BLUS-30443 | English (+ the Arabic translation) | 16199 |
| Europe | BLES-00932 | English, French, German, Spanish, Italian | 28776 |
| Asia | BCAS-20071 | English, Korean, Traditional Chinese | 63200 |
| Japan | BCJS-30022 | Japanese | 59863 |
- Language: pick it under Language in the launcher, or set
PS3_LANG(fr,de,es,it,ko,zh-t, ...); anything else gives English. The Japan disc is always Japanese. - Europe is tested through Proton (setup, the tutorial at 30 and 60 fps, the French text). Not tested yet: boss rush, the PC Remaster mod, and the native Linux, macOS and Android builds.
- Asia and Japan are earlier builds of the game, with their own patches (
patches/asia/,patches/japan/). Tested through Proton: setup, the tutorial at 30 and 60 fps, the languages, the start of boss rush. Co-op works with update 1.04 (below), not on the disc's 1.00. Not tested yet: the native Linux, macOS and Android builds. On Japan, boss rush's prompts are in English, and Cross confirms as on the other discs. - Update 1.04 (Asia and Japan): these two discs have an official update, 1.04, that their players use. SETUP
installs it over the disc's files and builds the updated game: it finds the update's
.pkgnext to the disc image, in theupdatesfolder or in Downloads (from rusty-psn, for example), or offers to download it from Sony's own update server (48 MB; it only works with the disc). 1.04's code is the USA build's, so it gets the USA edits (patches/asia104/).SETUP.bat --no-updatekeeps the disc's 1.00. The native macOS and Linux installs take it too: their installer windows have an "update 1.04" box (ticked by default); by hand,DES_UPDATE=0keeps 1.00. The boss rush, co-op and PC Remaster copies follow the update. Tested through Proton on both discs: setup with the download, the tutorial at 30 and 60 fps, the languages, the button icons, boss rush, co-op, PRESS ENTER on the title. Native Linux on both discs (and DES_UPDATE=0 on Asia). Not tested yet: native macOS on these discs. A "no" to the update is remembered (game/.no_update);SETUP.bat --with-updateinstalls it later.
What you need
| Windows | Linux / Steam Deck | macOS | |
|---|---|---|---|
| computer | Windows 10/11 x64, a Direct3D 12 GPU | x86-64 with a Vulkan driver, or a Steam Deck | Apple silicon |
| free space | about 14 GB | about 14 GB (25 GB for the Proton build) | about 14 GB |
| tools | none: SETUP fetches portable ones | none: the installer adds what is missing | Xcode tools + Homebrew packages |
- Your disc image (any of the four discs): 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 the disc's Redump page. - An internet connection the first time, and a plain folder path (no
[ ]or&). - What gets downloaded: everywhere, ps3recomp and the PS3 keys for
EBOOT.BIN(from RPCS3's public source). On Windows also portable Python, Git and LLVM with Microsoft's SDK via xwin, checksum-verified and with no admin rights (an installed Python 3.10+, Git, or Visual Studio 2022 + LLVM 17+ is used instead). On Linux the build tools come from your package manager; on a Mac from Homebrew.
Each release has one download per system: -Windows.zip, -Linux.zip (plus the setup AppImage) and
-macOS.zip.
Install
Windows
- Download
DemonsSoulsRecomp-<version>-Windows.zipfrom the newest release and unpack it, e.g. toC:\Games\DemonsSouls. - Start
DemonsSoulsLauncher.exe, press PLAY, and answer Yes to runSETUP.bat. SETUP first asks where to install: Enter keeps this folder; another folder (another drive, say) gets a copy of the port and SETUP goes on there. The launcher in the first folder then opens the one there. - Drag your disc image 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 anything else.
- Wait for All done (10–40 minutes; the compile is the long part), then press PLAY.
If something fails, fix what it says and run SETUP.bat again: finished steps are skipped. The compiler's output
is in logs\build_last.txt. Updating: Check for updates in the launcher downloads the newest release,
rebuilds what changed and reopens; game files, saves and settings are kept. An Asian or Japanese setup made
before update 1.04 support is asked once, then, whether to install the update (it then recompiles the game).
What SETUP does
| step | what | 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.
Linux / Steam Deck: native (recommended)
The game as a Linux program drawn with Vulkan, no Proton. On the Steam Deck five of the seven archstones hold 60 fps; the heaviest spots run at 48–56 (frame rates).
git clone https://github.com/timboat/demons-souls-recomp(the release's Linux ZIP works too, but the launcher's Update button needs the clone). On a Steam Deck, do the setup in desktop mode.- Run
demons-souls-recomp/linux/native/install.sh. Its window asks for your disc image and disc key, then Install does the rest: missing build tools come from your package manager after one password prompt (Arch, Debian / Ubuntu, Fedora; on SteamOS a build container), then the build. Run it again after a failure. - Play from the applications menu or
python3 linux/native/launcher.py. The launcher keeps your settings, updates and rebuilds, and Add to Steam makes a game-mode shortcut.linux/native/play.shstarts the game directly.
Details: docs/LINUX_NATIVE.md.
Linux / Steam Deck: through Proton
The Windows build under Steam's compatibility layer. Use it if the native build does not work for you.
- Download
DemonsSoulsRecomp-Setup-x86_64.AppImagefrom the newest release and make it executable (chmod +x, or right-click → Properties → Permissions). - Run it. It asks for your disc image and key and builds into
~/DemonsSoulsRecomp(DS_HOME=for another folder, e.g. an SD card): 10–30 minutes on a desktop, 1–2 hours on a Steam Deck. - It offers to start the game. To play or update later, run the AppImage again (or
linux/play.sh).
Steam game mode and troubleshooting: docs/LINUX.md.
macOS (Apple silicon)
A native arm64 build on Metal, by erikomis. It plays smoothly but is behind on some features.
xcode-select --install, then with Homebrew:brew install cmake ninja sdl2 glslang spirv-cross ffmpeg [email protected].- Get this repo (
git clone, or the release's macOS ZIP) and in its folder runDES_ISO="/path/to/image.iso" mac/install.sh(a Redump image also needsDES_KEY=<32 hex digits or the .dkey>). After a failure, run it again: 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.mac/launcher/has a desktop app that does all of this without a terminal; its Install into picks the folder (another drive, for example; the default is~/Library/Application Support/demons-souls-recomp).
Controls and what is still missing: docs/MACOS.md.
Android (experimental)
An arm64 APK you build yourself from your disc, on a Linux PC or a Mac. It plays at 30 fps on a Pixel 10 Pro XL with a controller or touch controls; the AYN Thor is untested (on hold for now). Never share the APK: it contains the game's code. Guide: docs/ANDROID.md.
Play
Start DemonsSoulsLauncher.exe and press PLAY. The launcher holds every option and saves them in
launcher.ini; Extra settings takes any NAME=value switch, and --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, 72 on 144). Game speed is right at any rate |
| G-Sync / FreeSync | DES_VRR=1 |
lets a variable-refresh monitor follow the frames; leave it off on other screens (tearing) |
| Resolution | DES_RES_SCALE=1.25|1.5|2|3|4 |
above 1280x720: 1.5 = 1080p, 2 = 1440p; 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, or boss rush |
| Skip the intro | DES_SKIP_INTRO=1 |
starts at PRESS START; story movies still play |
| QoL Fixes: Easy mode | DES_EASY=1 |
hits take half your HP (F7 in game; DES_EASY_DAMAGE=1-99 sets the percent) |
| QoL Fixes: Mana regen | DES_MANA_REGEN=1 |
3 MP a second while alive (DES_MANA_REGEN_RATE = MP a minute) |
| QoL Fixes: OmniRoll | DES_OMNIROLL=1 |
locked on, you roll where the stick points instead of in 4 directions (mods) |
| Dump textures | LD_TEX_DUMP=1 |
saves every texture drawn, for texture packs |
| Smooth GPU power | LD_GPU_WARM=2 (1-4) |
only if your PC switches off while the port runs: keeps the GPU's power draw steady |
Also: DES_MOVIES=0 skips movies, DES_FULLSCREEN=1 starts fullscreen, DES_CUT_BLEND=0 restores the 30 fps
cutscene camera. Saves go to gamedata/, logs to logs/.
Controls
An Xbox (XInput) controller works when plugged in; a DualShock / DualSense needs Steam Input or DS4Windows. Keyboard + mouse work alongside it, and whichever you touch last takes over.
| key | action | key | action |
|---|---|---|---|
| WASD | move | mouse (or IJKL) | camera (click to capture) |
| left mouse / Shift | attack / strong attack | right mouse / Ctrl | block / parry |
| Space | roll / dash / back | E | interact / confirm |
| F / R | two-hand / use item | Tab / middle mouse | lock on |
| arrows | switch items | Enter / Backspace | Start / Select |
| Esc or F1 | release the mouse | Alt+Enter / F11 | fullscreen |
| F7 | Easy mode | F9 | god mode |
- Menus: the mouse is a pointer: hover selects, left click confirms, right click goes back, the wheel scrolls.
- Button icons follow what you used last: keys, or Xbox buttons for a controller (
LD_TEX_KBM,LD_TEX_PADto fix one). - Keys go by position, so AZERTY uses ZQSD (
PAD_KEYS_BY_LETTER=1= by letter). Change any key under Controls in the launcher; the prompts and the title's PRESS ENTER KEY follow. - Mouse sensitivity:
PAD_MOUSE_LOOK_SENS=0.0012. The cursor hides after 2 s of play (DES_CURSOR_IDLE_MS).
Boss rush
Pick Game: Boss rush in the launcher (DES_BOSS_RUSH=1 elsewhere) and make a new character. You skip the
tutorial and start in the Nexus in soul form with 7,000 souls, and Boldwin sells every weapon, armour piece, ring
and upgrade material, priced by tier.
- Each world's archstone offers its next unbeaten boss and puts you at the fog gate; after a kill it offers the next one or Return to the Nexus? Dying puts you back at the same fog in body form.
- The Nexial Binding takes you back to the Nexus and keeps your souls.
- The timer starts at the first fog and pauses on loading screens and cutscenes. Splits and the final time
go to
bossrush\splits.txtandbossrush\results.txt. The run ends when King Allant dies. - Boss rush souls (2x by default; 3, 5 or 10): every enemy gives that many times its souls, and the timer says so.
It has its own saves in bossrush\ and its own game_bossrush\ (hard links, no extra space).
Arabic translation (USA disc)
Experimental. Made for this port with MrSuS60, zackcage6 and other native speakers from the Discord:
menus, items, dialogue and subtitles right to left, the title logo and movie. Pick العربية (Arabic) under
Language in the launcher. The first time, it is built from your own game files in about two minutes (the
originals are kept in game/arabic_backup); English puts them back. Without the launcher:
.venv\Scripts\python translations\translations.py apply ar (apply en to undo; run it again after an update).
Pictures with text (NOW LOADING, YOU DIED, area titles) are still English.
Mods
- PC Remaster by fromsoftserve (Nexus Mods, Demon's Souls mod 106): download its zip and run
.venv\Scripts\python tools\install_remaster.py "path\to\the mod.zip" --apply. It makesgame_remaster/from hard links (no extra space); pick it under Game. - OmniRoll ("Omnidirectional Roll" by hamzafallahi, mod 192) is built in: tick it in the launcher. The backstep, stamina, i-frames and roll speed are the game's own.
- Texture packs: tick Dump textures and play; files land in
textures\dump\as<KEY>_<w>x<h>_<format>.png. Put an edited file whose name starts with the same KEY intextures\replace\(.ddsloads faster than PNG). Seetextures\README.txt. - Models:
tools\flver_tool.py export <file>writes glTF for Blender;importwritesgame_mod\(play it with *Game: My models*, delete the folder to undo). Seemodels\README.txt.
Packs and models are the game's art; share them only where that is allowed.
Reporting stutters and crashes
- Press F8 right after a stutter. 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 the frame timing, your system info, the end of the game log and Windows' crash record; your
Windows user name is removed. Recording costs nothing visible (DES_RECORD=0 turns it off).
Troubleshooting
- "EBOOT.BIN is not the tested one": only the four supported discs, version 1.00 as on the disc (Asia and Japan: or with update 1.04, which SETUP installs itself), work.
- "could not get the keys … using RPCS3 instead": the key download failed, so SETUP uses RPCS3. If that fails
too, close any RPCS3 window and retry, or decrypt
game\PS3_GAME\USRDIR\EBOOT.BINwith RPCS3's Utilities → Decrypt PS3 Binaries and rerun SETUP. In Windows Sandbox or a VM, decrypt on another PC. - Build tools not found: rerun SETUP and allow the portable compiler download, or install VS 2022 Build Tools
(C++) and LLVM (
winget install LLVM.LLVM). - Setup seems stuck: one file can take a minute; see
logs\build_last.txt. After many minutes, press Enter. - Black window or crash on start: see the end of
logs\last_run_err.txt. - The game closes with no message: run
REPORT.batright away; it includes Windows' crash record. - Uneven frames at 100+ fps: use 50 or 60. On CPUs with two core complexes the game pins itself to the one
with the most L3 cache (
DES_AFFINITY=0turns that off). - Something is briefly black the first time you see it: its shaders are compiling (
LD_PSO_ASYNC=0waits instead). - "needs AVX2": the build came from another PC; run BUILD.bat on this one, or
set DS_AVX2=0first. - Online: the official servers closed in 2018; the game starts straight in offline mode.
Repo layout
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, disc detection (region.py), toolchain finder
project/ CMake project
patches/ runtime patch (ps3recomp-local.patch) and game-code patches per disc
(lifted-code.patch = USA, -eu, -asia, -japan; update 1.04: -asia104, -japan104)
tools/ disc extraction, SPU lifting, region porter, perf report, mod and model tools
translations/arabic/ the Arabic translation: our text, fonts (OFL) and its installer
linux/, mac/, android/ the other systems' builds (docs/LINUX*.md, docs/MACOS.md, docs/ANDROID.md)
docs/NOTES.md development log: every fix, why, and how it was measured
Everything SETUP produces (game/, port/, deps/, .venv/, saves, logs) is git-ignored. Never commit or
share those: they are the game.
Credits and license
- ps3recomp by Ned Heller / sp00nznet (MIT): the recompiler and runtime.
- RPCS3: its public source provides the PS3 keys; it is the decryption fallback and the reference for PS3 behaviour.
- erikomis: the macOS build and launcher.
- PC Remaster 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.
Explore projetos relacionados
Carregando…