A simple, safe, and powerful Python utility to manage your Terraria World Difficulty on Linux. Switch between Classic, Expert, and Master modes instantly with a single click.
- Automatic World Detection: Scans your
~/.local/share/Terraria/Worlds/directory. - Safe Mode: Verifies file integrity before writing any changes. Prevents corruption by checking for valid world headers.
- Instant Difficulty Switch: Change between Classic, Expert, and Master modes seamlessly.
- One-Click Backup: Creates immediate backups of your worlds directly to your Desktop.
- Error Handling: Robust error catching to ensure your save files remain safe.
- Python 3.x
- Tkinter (
sudo dnf install python3-tkinteron Fedora)
-
Clone this repository:
git clone https://github.com/jjjulianleon/TerrariaDifficultyModifier.git cd TerrariaDifficultyModifier -
Run the application:
python3 terraria_modifier.py
To run this tool from anywhere by typing ctdf:
- Make the script executable:
chmod +x terraria_modifier.py
- Add an alias to your
.bashrcor.zshrc:alias ctdf="python3 /path/to/TerrariaDifficultyModifier/terraria_modifier.py"
This tool modifies binary data in your .wld files. While it includes safety checks and automatic backups, always ensure you have a separate backup of your important worlds before using any third-party tool.
- Language: Python 3 + Tkinter
- Target OS: Linux (Tested on Fedora 41)
- Terraria Version: Compatible with Terraria 1.4.4+ file structure.
MIT License - feel free to modify and share!