Project
Back to projects
Rapunzel painting in a forest clearing in Disney Dreamlight Valley

Disney Dreamlight Valley © Disney. © Disney/Pixar. Developed by Gameloft.

Script

Disney Dreamlight Valley Profile Tool

Decrypts Dreamlight Valley profiles to JSON and rebuilds the save after editing.

Overview


profile.json is not actually JSON on disk. It is an AES-encrypted ZIP containing the real profile data. The tool opens that save for editing and puts it back together when the changes are done.

Prerequisites


The script requires the third-party cryptography package. Install it from a terminal before running the script:

1
python -m pip install cryptography

Usage


Keep a backup of the original profile.json before changing anything. The first path passed to the script is the input file. The second is where the result will be written.

Decrypt the existing save:

1
python .\ddv_profile.py --decrypt .\profile.json .\profile-decrypted.json

Make the changes you want in profile-decrypted.json, then rebuild the encrypted save:

1
python .\ddv_profile.py --encrypt .\profile-decrypted.json .\profile-new.json

The script leaves the original file alone unless you use it as the output path. To test the rebuilt save, copy profile-new.json into the game’s save folder as profile.json.

Compatibility


Tested with game version 1.24.13.33. A later update may change the key or the way the profile is stored.