Skip to content

Patches for Demon's Souls to add functionality such as enabling debug menus.

License

Notifications You must be signed in to change notification settings

gibbed/DemonsSoulsDebug

Repository files navigation

Demon's Souls Debug Patch

This is some code to patch Demon's Souls eboot.bin with debug functionality.

Like what I've done? Consider supporting me on Patreon.

Build status

What it achieves

  • Enables the title debug menu.
  • Enables the runtime debug menu (press start+select to toggle).
  • Increases memory arena sizes so the Northern Limit area files can be loaded.

Requires

  • LLVM (if building from source).
  • US retail copy of Demon's Souls.

Instructions

Obtain Decrypted Executable

Obtain Decrypted Exectuable via RPCS3

  1. Run rpcs3.
  2. Click the Utilities menu, then the Decrypt PS3 Binaries menu item.
  3. Select eboot.bin from Demon's Souls directory and click open.
  4. rpcs3 will create an eboot.elf file next to eboot.bin, this is the decrypted file.

Building From Release

  1. Download the latest release (not the source ZIP!).
  2. Place a decrypted copy of Demon's Souls eboot.bin at bin\boot.elf.
  3. Run build.bat, if all goes well bin\debug.elf will be created.
  4. Run it on a real PS3 or otherwise.
    • Replace the original EBOOT.BIN with debug.elf in the game directory.
      • Will probably require turning it into a SELF for running it on a real PS3.
    • Or just place it alongside EBOOT.BIN.

Building From Source

  1. Open tools\Tools.bin and build the entire solution with the Debug configuration.
  2. Place a decrypted copy of Demon's Souls eboot.bin at bin\boot.elf.
  3. Run build.bat, if all goes well bin\debug.elf will be created.
  4. Run it on a real PS3 or otherwise.
    • Replace the original EBOOT.BIN with debug.elf in the game directory.
      • Will probably require turning it into a SELF for running it on a real PS3.
    • Or just place it alongside EBOOT.BIN.

TODO

  • Build scripts for *nix.
  • Porting the patches to EU/JP retail copies.