GithubHelp home page GithubHelp logo

mcdsaveedit's Introduction

 icon Minecraft: Dungeons Save File Editor

GitHub GitHub release (latest by date) GitHub Release Date GitHub all releases Patreon pledgers

Windows application for modifying Minecraft: Dungeons save files.

DISCLAIMER: Please keep backups of your save files! This app does not guarantee your save file to be playable after editing!


Installing and Running

For full features and functionality you need Minecraft: Dungeons installed and preferably in the default install location.

  1. Download and extract the latest release (MCDSaveEdit_*.zip) from the releases section
  2. If you have the Microsoft Store version of Minecraft: Dungeons you will need to extract the .pak files from the game
    1. Download and run UWPDumper (recommended)
      OR
    2. Download and run the storepatcher.ps1 powershell script if you want to be able to mod your game files
  3. Run MCDSaveEdit.exe
    1. If it can't find the .pak files, it will ask where to find them and you can put in the path to where you had them dumped

How to Use

  1. Go to File > Open in the menu bar.
  2. Open the folder %HOMEPATH%\Saved Games\Mojang Studios\Dungeons. Be sure to backup this folder before editing your save files.
  3. You will see a folder with a 16-digit number (E.g. 2612325419657064). Open this folder, then open the "Characters" folder.
    1. If multiple Mojang or Microsoft accounts were used in-game you might see more than one folder.
  4. Select one of the files ending in .dat. There will be one for each character.
  5. Click Open and edit your save. When ready go to File > Save or File > Save As... to save your edits.

Adding Items

Adding/Changing Enchantments


Troubleshooting

Fix Missing Images

If you see this popup, that means it couldn't find the game content in the default location. You need to provide the path to these .pak files:

The default location for these files is: %localappdata%\Mojang\products\dungeons\dungeons\Dungeons\Content\Paks

If you have the Microsoft Store version, this will need to be changed to the path you selected when you ran the storepatcher script or wherever you copied your game files to.

Application Stopped Working

If during launch you get a popup saying that MCDSaveEdit has stopped working, this means an internal error ocurred and could mean various issues. MCDSaveEdit has a dependency on .NET Framework 4.7.1 so you could try installing that.


Compiling

This application was developed entirely in Visual Studio 2019.

When cloning be sure to recurse through submodules because there are 2:

Provide the AES key to decrypt the game files:

MCDSaveEdit\Data\Secrets.cs

namespace MCDSaveEdit
{
    public static class Secrets
    {
        // Fill in the value for this one
        public static string[] PAKS_AES_KEY_STRINGS = new string[] {
            "<AES key for unlocking the MCD .pak files>",
        };

        // You can leave these empty, they just need to exist
        public const string GAME_ANALYTICS_GAME_KEY = "";
        public const string GAME_ANALYTICS_SECRET_KEY = "";
    }
}

Another bit of trouble you might run into is the error: "The referenced component 'Windows' could not be found" in MCDSaveEdit/Data/Constants.cs line 3: using Windows.Management.Deployment;

  • Try the accepted answer here.
  • This bit of code is only required for the Microsoft Store version, so if you have the launcher version you can just comment out lines 3 and 54 through 61.

Legal Disclaimer

This project is not affiliated with Mojang Studios, XBox Game Studios, Double Eleven or the Minecraft brand.

"Minecraft" is a trademark of Mojang Synergies AB.

Other trademarks referenced herein are property of their respective owners.

External Credits and Licenses

Images from the game are subject to copyright by Mojang. They are extracted at runtime from the .pak files that are installed as part of the Minecraft: Dungeons game files.

DungeonTools © Diego Russi (AGPL 3.0)

Microsoft.Bcl.AsyncInterfaces © Microsoft (MIT)

Fody © Simon Cropp (MIT)

Costura.Fody © Simon Cropp and contributors (MIT)

FModel © Free Software Foundation, Inc. (GPL 3.0)

PakReader © Aleks Margarian (MIT)

Game-icons.net © Lorc, Delapouite and contributors (CC BY 3.0)

mcdsaveedit's People

Contributors

cutflame avatar maksim789456 avatar dependabot[bot] avatar altinctrl avatar tchia04 avatar

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.