Skip to content

Commit

Permalink
fix up logic for reading/writing 1.00 - 1.06 files
Browse files Browse the repository at this point in the history
add alternate ring/amulet images
fix issue with upgrading unsupported potions
fix dexterity "+" button to work properly
show socketed items in all cases
  • Loading branch information
WalterCouto committed Feb 27, 2022
1 parent 943e1e9 commit f05e47d
Show file tree
Hide file tree
Showing 66 changed files with 109,402 additions and 938 deletions.
Binary file modified D2Editor.exe
Binary file not shown.
17 changes: 16 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ You can edit the following stats:<br>

### Known Issues

- Tested with Diablo II Resurrected v1.1.67554 and Diablo II Classic v1.14d (It has the logic for v1.00 through v1.09 including the Lord of Destruction expansion set so it should work the same as version 1.92 of the orginal code on those files)**
- Tested with Diablo II Resurrected v1.1.67554 and Diablo II Classic v1.14d (It has unit test confirming it supports the older versions from v1.00 through to v1.09 as well but the files used in testing have not been tested in a real game)**
- Starting with Diablo II Classic V1.13c the maximum gold in your stash no longer depends on yoru character's level, and is now a flat cap of 2,500,000 instead. The editor will now use this value when editing Ressurrected files or Classic files marked as v1.10 or higher when determining the limit for your gold in your stash.
- You must close the character file before playing Diablo II. This is because there are no options to enable file sharing for the read and write functions I'm using in ANSI C++.

Expand All @@ -64,6 +64,7 @@ Check the following site for updates at https://github.com/WalterCouto/D2CE<br>

### Useful Links

* https://github.com/zhaoleimxd/JamellaD2E<br>
* https://github.com/dschu012/D2SLib<br>
* https://github.com/squeek502/d2itemreader<br>
* https://github.com/nokka/d2s<br>
Expand All @@ -73,13 +74,27 @@ Check the following site for updates at https://github.com/WalterCouto/D2CE<br>
* [d2s Binary File Format](d2s_File_Format.md)<br>

### Revision History
**Version 2.13 (Feb 26, 2022)**
- Updated: Fix detection of ID for set items.<br>
- Updated: Fix up logic for reading/writing 1.00 - 1.06 files<br>
- Updated: Add alternate ring/amulet images<br>
- Updated: Fix issue with upgrading unsupported potion<br>
- Updated: Fix dexterity "+" button to work properly<br>
- Updated: Display items in sockets in all locations.<br>
<br>

- Added: Ability to personalize items or remove the personalization from items.<br>
- Added: Ability to make weapons or armor indestructible.<br>
<br>

**Version 2.12 (Feb 14, 2022)**
- Updated: Fix detection of change in Character Form.<br>
- Updated: Fix logic for handling character title/progression<br>
- Updated: Fix logic handling skill choices left that could cause duplication of skill points<br>
<br>

- Added: Ability to add sockets to all items or in the Item form. Number of sockets that can be added it limited by the type of item and the item level.<br>
<br>

**Version 2.11 (Feb 6, 2022)**<br>
- Updated: Fix bug in Gem convertor in Resurrected when new huffman code is of a different size then the original, the result caused game to crash on startup.<br>
Expand Down
7 changes: 6 additions & 1 deletion source/D2Editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,13 @@
Revision History
================
Version 2.13 (Feb 16, 2022)
Version 2.13 (Feb 26, 2022)
- Updated: Fix detection of ID for set items.
- Updated: Fix up logic for reading/writing 1.00 - 1.06 files
- Updated: Add alternate ring/amulet images
- Updated: Fix issue with upgrading unsupported potion
- Updated: Fix dexterity "+" button to work properly
- Updated: Display items in sockets in all locations.
- Added: Ability to personalize items or remove the personalization
from items.
Expand Down
Binary file modified source/D2Editor.rc
Binary file not shown.
9 changes: 7 additions & 2 deletions source/D2Editor.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,8 @@
<Image Include="res\Misc\a Jade Figuring.bmp" />
<Image Include="res\Misc\Amethyst.bmp" />
<Image Include="res\Misc\Amn Rune.bmp" />
<Image Include="res\Misc\Amulet 2.bmp" />
<Image Include="res\Misc\Amulet 3.bmp" />
<Image Include="res\Misc\Amulet.bmp" />
<Image Include="res\Misc\Antidote Potion.bmp" />
<Image Include="res\Misc\Arrows.bmp" />
Expand Down Expand Up @@ -486,6 +488,10 @@
<Image Include="res\Misc\Ral Rune.bmp" />
<Image Include="res\Misc\Reiuvenation Potion.bmp" />
<Image Include="res\Misc\Rejuvenation Potion.bmp" />
<Image Include="res\Misc\Ring 2.bmp" />
<Image Include="res\Misc\Ring 3.bmp" />
<Image Include="res\Misc\Ring 4.bmp" />
<Image Include="res\Misc\Ring 5.bmp" />
<Image Include="res\Misc\Ring.bmp" />
<Image Include="res\Misc\Rpl.bmp" />
<Image Include="res\Misc\Rps.bmp" />
Expand All @@ -504,9 +510,8 @@
<Image Include="res\Misc\Skeleton Flag.bmp" />
<Image Include="res\Misc\Skeleton Heart.bmp" />
<Image Include="res\Misc\Skeleton Horn.bmp" />
<Image Include="res\Misc\Skeleton Jawbone.bmp" />
<Image Include="res\Misc\Skeleton Jaw.bmp" />
<Image Include="res\Misc\Skeleton Quill.bmp" />
<Image Include="res\Misc\Skeleton Scalp.bmp" />
<Image Include="res\Misc\Skeleton Soul.bmp" />
<Image Include="res\Misc\Skeleton Spleen.bmp" />
<Image Include="res\Misc\Skeleton Tail.bmp" />
Expand Down
27 changes: 21 additions & 6 deletions source/D2Editor.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -1190,15 +1190,9 @@
<Image Include="res\Misc\Skeleton Horn.bmp">
<Filter>Resource Files</Filter>
</Image>
<Image Include="res\Misc\Skeleton Jawbone.bmp">
<Filter>Resource Files</Filter>
</Image>
<Image Include="res\Misc\Skeleton Quill.bmp">
<Filter>Resource Files</Filter>
</Image>
<Image Include="res\Misc\Skeleton Scalp.bmp">
<Filter>Resource Files</Filter>
</Image>
<Image Include="res\Misc\Skeleton Soul.bmp">
<Filter>Resource Files</Filter>
</Image>
Expand Down Expand Up @@ -1352,5 +1346,26 @@
<Image Include="res\gemsocket.png">
<Filter>Resource Files</Filter>
</Image>
<Image Include="res\Misc\Amulet 2.bmp">
<Filter>Resource Files</Filter>
</Image>
<Image Include="res\Misc\Amulet 3.bmp">
<Filter>Resource Files</Filter>
</Image>
<Image Include="res\Misc\Ring 2.bmp">
<Filter>Resource Files</Filter>
</Image>
<Image Include="res\Misc\Ring 3.bmp">
<Filter>Resource Files</Filter>
</Image>
<Image Include="res\Misc\Ring 4.bmp">
<Filter>Resource Files</Filter>
</Image>
<Image Include="res\Misc\Ring 5.bmp">
<Filter>Resource Files</Filter>
</Image>
<Image Include="res\Misc\Skeleton Jaw.bmp">
<Filter>Resource Files</Filter>
</Image>
</ItemGroup>
</Project>
Loading

0 comments on commit f05e47d

Please sign in to comment.