Code Monkey home page Code Monkey logo

d2r-offline's Introduction

Diablo II Resurrected - Offline Patcher

A simple tool that remaps & bypasses Diablo II Resurrected module and then continues to patch connection functions to allow local gameplay.

Setup

Installing

  1. You will need the Diablo II Resurrected game files.

  2. You may also need .NET Framework v4.7.2.

  3. Download the latest release (or clone the project and build it) :
    https://github.com/ferib/D2R-Offline/releases
    Unzip and copy both D2ROffline.exe and patches.txt to your Diablo II Resurrected game folder. They should be in the same directory as Game.exe.

Running

  1. Double-click D2ROffline.exe to start the tool.

  2. A cmd window should open and begin the patching process.

  3. Done!

When loading a character, double clicking the character name or clicking Play will not work by default. See the -FixLocalSave argument under Usage if you would like to edit your saves to play in offline mode (including act1 to act5).

NOTE: You may need to run this tool twice for it to work properly. If after the first try it does not load your save games in offline mode, close the game and run D2ROffline.exe again.

Please see the FAQ if you have any issues.

Usage

Arguments

You can run D2ROffline.exe with arguments to solve some problems.

-FixLocalSave

.\D2ROffline.exe -FixLocalSave This will update your save files to allow you to play your characters in single-player mode (act3 to act5 included) instead of hosting a TCP/IP game. This argument prevents the game from loading and will just patch your save files. Please note that this will also unlock all quests so that you can jump right into all acts.

-FixLocalSaveNoQuests

.\D2ROffline.exe -FixLocalSaveNoQuests Does the same as -FixLocalSave but without unlocking any quests.

-FixLocalSaveResetQuests

.\D2ROffline.exe -FixLocalSaveResetQuests In case you used -FixLocalSave by mistake and now you want to reset the quests back to normal.

-UpdateKeyBinds

.\D2ROffline.exe -UpdateKeyBinds This will sync your keybindings between characters.

-Delay <delay in ms>

.\D2ROffline.exe C:\D2R\Game.exe -Delay 35 This will change the delay amount when patching your game, default is 25. Use this and try different values to help with crashes after being in-game for certain amounts of time.

"Game.exe file path"

.\D2ROffline.exe C:\D2R\Game.exe Use this to specify a path to Game.exe if you're not running D2ROffline.exe from the same directory.

Passing arguments

.\D2ROffline C:\D2R\Game.exe -txt -direct -whatever -w The patcher will pass all other arguments, which are in our case -txt -direct -whatever -w, to the game so that you can launch them as you wish.

Custom Patches

There is a neat little feature that allows you to use the patches.txt file and create your own patching rules, the patches.txt file MUST be in the same folder as the executable! This allows you to create your own patches.

Patches

Offline/Local patch, thanks to king48488

0xD4AD68:9090
0xD4E25F:909090909090
0xCAFB9D:90B001
0x597E1C:90909090909090

All classes, Multiplayer access and unlock act3~5 thanks to shalzuth

0xD615F2:909090909090909090909090909090909090909090909090909090: ~ show all calsses on load (shalzuth)
0x39FC03:9090909090909090909090909090909090909090: ~ allow chars to load (shalzuth)
0x39FCB6:909090909090909090: ~ enable loading into a3-a5 (shalzuth)

Language patches to force the client into loading a language, thanks to Ferib (me).

0x1446C8:+0x00: ~ English *[enUS]*
0x1446C8:+0x270A4: ~ German *[deDE]*
0x1446C8:+0x270AC: ~ Spanish *[esES]*
0x1446C8:+0x270B4: ~ French *[frFR]*
0x1446C8:+0x270BC: ~ Italian *[itIT]*
0x1446C8:+0x270C4: ~ Korean *[koKR]*
0x1446C8:+0x270CC: ~ Polski *[plPL]*
0x1446C8:+0x270D4: ~ Russian *[ruRU]*
0x1446C8:+0x270DC: ~ Chinese (simplified) *[zhCN]*
0x1446C8:+0x270E4: ~ Chinese *[zhTW]*
0x1446C8:+0x270EC: ~ Spanish *[esMX]*
0x1446C8:+0x270F4: ~ Japanese *[jaJP]*
0x1446C8:+0x270FC: ~ Brazilian *[ptBR]*

NOTE: The above patches are modifying the .text section of the game, for those that want to patch the .data section you can simply use Cheat Engine because the anti-cheating does not scan those areas for modified values.

Notices

This repository is for educational purposes only. Please do not perform any of the above actions on the Game client.

Diablo II and Diablo II: Resurrected are registered trademarks of Blizzard Entertainment. This project is not affiliated with Blizzard Entertainment in any way.

Credits

d2r-offline's People

Contributors

csuhta avatar ferib avatar funkymunky1 avatar krydar avatar lciesielski avatar pairofdocs avatar penut85420 avatar pires11d avatar wolfcon avatar

Stargazers

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

Watchers

 avatar

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.