Giter Club home page Giter Club logo

d2rmh's Introduction

D2RMH

Diablo II Resurrected map revealing tool.

What's New

Check ChangeLog

Prerequisite

  • Diablo II v1.13c is required. You can get a minimal subset of v1.13c files HERE

Usage

  1. Download from Releases section, or any snapshot packs from Actions section.
  2. Edit D2RMH.ini, set d2_path to path of your Diablo II v1.13c folder, or just put extracted D2RMH.exe/D2RMH.ini/D2RMH_data.ini to D2 v1.13c folder.
  3. Run D2RMH.exe, enjoy!

How to build

Quick instruction

  • Just use cmake to build, Visual Studio 2019 and MinGW GCC 32bit 9.0+(better using MSYS2) are supported
  • For Visual Studio 2019: add -A Win32 to cmake commandline to ensure builds a 32-bit exe

Detailed instruction

MinGW GCC 32bit

  • Install MSYS2(https://www.msys2.org), type pacman -Syu --noconfirm && pacman -S --noconfirm --needed make cmake git mingw-w64-i686-toolchain in MSYS2 command line to install required components
  • Clone D2RMH source by type git clone https://github.com/soarqin/D2RMH
  • Type cd D2RMH && cmake -Bbuild -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DUSE_STATIC_CRT=ON
  • Then make -Cbuild to get the compiled binary in build/bin folder

Microsoft Visual Studio 2019

  • Install Visual Studio 2019 Community Edition(or Pro/Ent if you have)
  • Unpack downloaded source code file, or you can use git to Clone D2RMH source by type: git clone https://github.com/soarqin/D2RMH. Note: Using git requires Git for windows installed
  • Type cmake -Bbuild -G "Visual Studio 16 2019" -A Win32 -DUSE_STATIC_CRT=ON
  • Now you can either:
    • Type cmake --build build --config Release
    • Open generated D2RMH.sln and build
  • Compiled binaries are located in build\bin folder

Credits

  • Core functions modified from d2mapapi.
  • Idea and memory offsets from MapAssist.
  • Handmade Math for matrix calculations.
  • glad for loading OpenGL(Core)/WGL functions.
  • inih for reading INI files.
  • JSON for Modern C++ for reading JSON files.
  • CascLib for reading Casc Storage from Diablo II Resurrected.
  • stb, stb_truetype and stb_rect_pack are used.

d2rmh's People

Contributors

soarqin avatar mike-code 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.