inspect_save
Reads a Diablo II .d2s character save without altering it, exposing header, checksum status, stats, skills, and item details for character inspection.
Instructions
What a Diablo II character save (.d2s) on this machine holds, read without changing it: the header
(version, size, whether the checksum matches), name, class, level, hardcore/expansion/ladder/died flags,
acts completed and where the character last was, the mercenary, the stats section (strength, life,
experience, gold...), points in each class skill, and the items: where each is, simple or full, quality,
item level, ethereal, sockets and what fills them, runeword, personalized, quantity, durability.
path: the .d2s file. version: the table set to read it with (a version imported with
python -m d2mcp.tables, e.g. '1.13c', a mod's name, or 'd2r'); left out, the default Legacy set (or 'd2r'
for a Resurrected save) is used when loaded. A mod's save needs the mod's own tables: its itemstatcost.txt
sets the stat widths. item_detail: list each item's properties (stat name=value), its affix ids and set or
unique row. item_start: skip this many items (the reply lists up to 60 at a time).
Reads Legacy version 96 saves (the layout 1.14d writes) completely. Resurrected version 105 saves: header
(with the flags word raw), stats and skills, and the item count only; this reader doesn't decode their item
records. Other versions, and D2RLoader's extended format: the signature, size and checksum only.
Affix ids and the runeword field are given as stored, not as names.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "inspect_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| version | No | ||
| item_start | No | ||
| item_detail | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |