Skip to content

nokia197s/MCDSaveEdit

 
 

Repository files navigation

 icon Minecraft: Dungeons Save File Editor

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

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 the storepatcher.ps1 powershell script
      OR
    2. Download and run UWPDumper if you don't want to change your game files
  3. Run MCDSaveEdit.exe
    1. If it can't find the .pak files, it will ask where to find them

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.
  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 where 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 on your save.
  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.


Compiling

This application was developed entirely in Visual Studio 2019.

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

Provide your own 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)

About

Minecraft: Dungeons Save File Editor

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%