Giter Club home page Giter Club logo

d2s_edit_recalc's Introduction

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

d2s_edit_recalc's People

Contributors

pairofdocs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

d2s_edit_recalc's Issues

ValueError: invalid literal for int() with base 10:

I keep getting this error when trying to reset quests like Forge or Izual

ValueError: invalid literal for int() with base 10: {name of quest}

I uncomment the line for the quest I want, i.e.:

reset hellforge quest NM

495, 00 00

to

reset hellforge quest NM
495, 00 00

Or even removing the space, but same error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.