Skip to content

Latest commit

 

History

History
38 lines (20 loc) · 1.49 KB

README.md

File metadata and controls

38 lines (20 loc) · 1.49 KB

DarkestDungeonParser

Programatically Modify .darkest dungeon files.

What this does

Exposes an API for reading and writing darkest dungeon files. This allows you to make global, sweeping changes to the game without editing one file at a time.

Multiply Damage Mod

How to get started

git clone https://github.com/eraether/DarkestDungeonParser.git

Install Eclipse. Get the Windows 64 bit version.

Install the JDK. Get the Windows 64 bit version.

Import the project into eclipse. (File -> Import -> Navigate to where you cloned this repo.)

Open Runner.java

Change "E:/steam/steamapps/common/DarkestDungeon/" to the location of your darkest dungeon installation.

Run the project (Run->Run)

How to write new mods

Look at MultiplyAllDamageAndHealth.java

Your mod will need to extend GameplayChange.java and override the makeGameplayChanges(Map<File,DarkestFile>) method.

Lastly, you will need to add your gameplay change to Runner.java's public void main method.

For reference, here is how MultiplyAllDamageAndHealth.java was added:

gameplayChanges.add(new MultiplyAllDamageAndHealth());

That's it! After your run Runner.java your changes will be in the game!