Skip to content

pairofdocs/d2s_edit_recalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

D2S Save File Editor (LoD and D2R)

Features

  • Reset the cowking quest so the portal can be opened after killing the king (Norm, NM, and Hell)
  • Reset the izual quest
  • Reset the hell forge quest
  • Reset the larzuk item socket quest
  • Set your character's Map ID / Seed (like the -seed launch option in LoD)

Usage

  1. Download d2s_edit.exe and patches.txt (right click "Raw" and "Save Link As") to the same folder
  2. Edit patches.txt for quests that you want to reset by commenting/uncommenting specific lines (example below)
  3. Double click d2s_edit.exe to start the app
  4. Click on "Open File and Run" to select you .d2s character file and apply the edits from patches.txt. Save files are in Saved Games\Diablo II Resurrected Tech Alpha\
  5. Start D2
  • GUI

Note: The first time d2s_edit.exe is run on a char file (e.g. MyAwesomeChar.d2s), it creates a backup file (MyAwesomeChar.d2s.bak). This backup can be moved/copied and used if you want to undo any changes.

Example

patches.txt:

This is the NM larzuk quest edit disabled:

# reset larzuk quest NM
# 511, 00 00

This is the quest edit enabled:

# reset larzuk quest NM
511, 00 00

This is the Map ID, Seed edit enabled:

# set the char seed to `1337`
171, 1337, decimal

Reset Other Quests

To reset quests that are not in patches.txt currently see this table's section Quest Completion Data from Trevin https://user.xmission.com/~trevin/DiabloIIv1.09_File_Format.shtml.
The quest block starts at position 345 for a character savefile and the position for Andariel in Normal difficulty (quest name Sisters to the Slaughter), for example, would be 345 + 12 (from the Byte Position Column) = 357. And for higher difficulties add the offset 96 per difficulty. So Andariel at Nightmare would be at position 357 + 96 = 453 and for Hell the position would be 453 + 96 = 549.
Once the correct position for a quest is determined, add the corresponding lines to patches.txt:

# Reset Andariel Normal
357, 00 00

Build GUI

pip install wxpython pyinstaller
pyinstaller --add-data 'd2logo_sm.png;.' --onefile -w d2s_edit.py (Note: use d2logo_sm.png;. on windows and d2logo_sm.png:. on most unix systems)

Credits and Tools