Giter VIP home page Giter VIP logo

demonssoulsdebug's Introduction

Demon's Souls Debug Patch

This is some code to patch Demon's Souls eboot.bin with additional functionality, such as debug menus.

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 Select to toggle).
  • Increases memory arena sizes so the Northern Limit area files can be loaded.

Requires

  • LLVM, if building from source.
  • A retail copy of Demon's Souls. The following releases are supported:
    • US 1.00 (BLUS30443)
    • JP 1.04 (BCJS30022)
    • Asia v1.04 (BCAS20071)
    • Support for additional regional releases to come!

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 for your release (not the source ZIP!).
  2. Place a decrypted copy of Demon's Souls eboot.bin at boot.elf.
  3. Run build.bat, if all goes well 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 in the appropriate bin directory.
    • For example, US 1.00 you would put it at bin\US_v100\boot.elf.
  3. Run the build .bat for your release. If all goes well debug.elf will be created in the appropriate bin directory.
    • For example, US 1.00 would be build_US_v100.bat.
  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 patches to additional regional releases.
    • EU v1.00 (BLES00932)

demonssoulsdebug's People

Contributors

gibbed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

demonssoulsdebug's Issues

Error when trying to patch US boot.elf

Getting this when running build.bat, changing the patch name doesn't help.

Unhandled Exception: System.IO.FileNotFoundException: Could not find file 'C:\Users\Infallible Daystar\Desktop\DSDB\debug.patch.elf'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.IO.File.OpenRead(String path)
at PatchElf.Program.Run(String inputPath, String patchPath, String outputPath, String verifyHash, Boolean addCave, Nullable1 desiredCaveAddress, Nullable1 desiredCaveSize, Nullable`1 originalCodeSize)
at PatchElf.Program.Main(String[] args)

BCAS20071 v1.00

Hi,
I have a Version which doesn't seem to be supported by the current releases.
RPCS says it's BCAS20071 v1.00 and the EBOOT.elf has the following checksum
actual: e5b0469148f4217a540f1bae33bbd2bf63648c2d

Any chance to get the patch working for my version?

Thanks a lot in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.