Run map server from source code - joffreybesos/d2r-mapview GitHub Wiki
If you have trouble running the map server (it just flashes the window) you can try running directly from source.
1. Download and install Node 16
- Go to this link https://nodejs.org/en/download/
- Download the Windows installer
- While installing, tick the box to 'Automatically install the necessary tools'
- After installing it will show a cmd prompt and ask to press any key to continue, it will install Chocolatey
2. Download the source code bundle
It will include the map server source code, it's dependencies, and the D2LoD game files.
- Download this zip https://mega.nz/file/J8EGQJwL#5GRJ2LsH_8D8IlNAMh6kz6tyovfDgPKL8YimytZkDLE
- Extract the files to a folder on your PC
- Run serversetup.bat and press any key once it finishes
- Run startserver.bat
- If you get a firewall prompt click Allow
3. Test the map server
Once it's running open this URL in your browser http://localhost:3002/v1/map/12345/2/129/image?edge=true&isometric=true If a map image displays then your map server is working correctly.
You can now start the game and then run d2r-map.exe
to start the MH
It's always recommended to run the latest version of the MH, which you can get from here:
https://github.com/joffreybesos/d2r-mapview/releases/latest