Halbu Editor
A native save editor for Diablo II: Resurrected.
Download the latest release | Changelog
About
Halbu Editor is a fully offline native editor, focused on graceful handling of mangled saves, compatibility with the latest patches, and validation to help prevent broken save states. It avoids bundling game assets where possible.
Save parsing and writing is handled by halbu, the Rust library the editor is built directly on top of.
Features
- Safe save workflow with validation, compatibility checks, change review, and automatic backups
- Edit character, skills, quests, waypoints, and mercenary data
- Built-in skill planner/editor
- Create new characters from built-in templates
- Open and manage saves from the character library
- Inspect save metadata and parse issues for broken or mangled saves
Limitations
- D2R only. Saves from 1.10+ classic D2 may parse correctly, but they will be written back in D2R format. Do not overwrite non-D2R saves.
- No item editing
- Some minion skills display incorrect values and some rounding errors may occur in the skill calculator.
D2R must be relaunched after saving for changes to take effect.
Development
Halbu Editor is a Tauri application with a Svelte frontend. Save parsing and serialization live in the halbu Rust library, so changes to .d2s format handling should be made there.
Prerequisites
Setup
Initialize the halbu submodule and install dependencies:
git submodule update --init --recursive
npm install
Running
npm run tauri dev
Building
npm run tauri build
Testing
Frontend tests currently use Vitest.
Run with:
npm test
Skill Data Preprocessing
The skill calculator is backed by versioned JSON files generated from D2 data text files. The preprocessor lives in /static/tools/preprocess/ and outputs files like:
static/data/generated/skills/v99/skills_complete.json
static/data/generated/skills/v105/skills_complete.json
To regenerate all supported version datasets:
npm run preprocess:skills
评论