cd /news/ai-tools/diablo-ii-cain-is-a-cross-platform-s… · home › topics › ai-tools › article
[ARTICLE · art-161373] src=reversedwithai.com ↗ pub= topic=ai-tools verified=true sentiment=↑ positive

Diablo II: Cain is a cross-platform save editor for Diablo II and Project Diablo 2

Developer Jack Musick released Cain, a cross-platform save editor for Diablo II, Lord of Destruction and mods including Project Diablo 2, which reads stats and item bases directly from the game's pd2data.mpq file at runtime so it adapts to new seasons or mods without code changes. Cain reads and writes character files, PlugY personal stashes and shared stash formats, validates edits against game rules to reject changes that would prevent a save from loading, and bundles a Claude skill called pd2-build-advisor for Claude Code that gives gear and skill advice from character JSON output. Musick credits co-authorship with Claude Opus 4.8 and Claude Sonnet 4.6 on the in-memory edit model, background MPQ table warming and asynchronous save functionality; the tool requires Python 3.10+ and PySide6 for the desktop app.

by read1 min views2 publishedOct 31, 2026
Diablo II: Cain is a cross-platform save editor for Diablo II and Project Diablo 2
Image: Reversedwithai (auto-discovered)

Evidence at a glance #

source evidence…

What was done #

Cain is a cross-platform save editor for Diablo II and mods like Project Diablo 2. It uses live game data from MPQ files to adapt to different versions and includes a bundled Claude skill for build advice.

Cain is a cross-platform save editor for Diablo II, Lord of Destruction, and various mods, including Project Diablo 2. The tool reads and writes character files, PlugY personal stashes, and shared stash formats. It operates by reading game-specific data, such as stats and item bases, directly from the game's pd2data.mpq file at runtime, allowing it to adapt to different seasons or mods without requiring code changes. The editor includes a validation feature that checks edits against game rules and rejects changes that would prevent a save from . The project includes a bundled Claude skill, pd2-build-advisor, which can be installed for Claude Code to provide gear and skill advice by analyzing character JSON output. Development of the editor's in-memory edit model, background MPQ table warming, and asynchronous save functionality involved co-authorship with Claude Opus 4.8 and Claude Sonnet 4.6. The source code is available at https://raw.githubusercontent.com/jackmusick/cain/HEAD/README.md.

Reproduce it #

Install via the provided script or from source using Python 3.10+. For the desktop app, install PySide6. The tool requires access to the game's pd2data.mpq file.

Community #

Ask a question, share what worked, or follow the next milestone.

Your library

── more in #ai-tools 4 stories · sorted by recency
── more on @cain 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/diablo-ii-cain-is-a-…] indexed:0 read:1min 2026-10-31 · —