Skip to content
This repository was archived by the owner on Dec 21, 2022. It is now read-only.

Commit 9a1bd60

Browse files
committed
Updated readme
1 parent 0227b3a commit 9a1bd60

File tree

5 files changed

+25
-11
lines changed

5 files changed

+25
-11
lines changed

README.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,21 @@ This repo will fetch the map from a backend map server and display it in the top
1010

1111
## Usage
1212

13-
1. Download the latest release (on the right side).
13+
1. Download the latest `drrmap.exe` release (on the right side).
1414
2. Launch D2R.
1515
3. Run the `d2rmap.exe`
1616
4. Map should appear at the top left and change as you move through the levels.
1717

18-
Note:
18+
That's the lazy method, but running unknown executables is not a great idea.
1919

20-
- Purple icon for exits
21-
- Yellow for waypoints
22-
- Red for NPCs
20+
Instead you can download and install <https://www.autohotkey.com/>
21+
Then you can directly run `src/d2r-map.ahk` instead of the executable
22+
23+
**Notes:**
24+
25+
- Purple icon for exits
26+
- Yellow for waypoints
27+
- Red for NPCs
2328
- Cyan for chests
2429

2530
- A tray icon will be present which you can right click to exit.
@@ -58,7 +63,14 @@ Refer to `log.txt` to view any error messages.
5863

5964
Tested and working on Diablo 2 Resurrected 1.0.66606
6065

66+
## TODO
67+
68+
- Currently only reads maps from Hell difficulty
69+
- Need to add more info for NPCs and others
70+
- Replace coloured blocks with icons
71+
- The script will occasionally exit when switching games
72+
6173
## Donations
6274

63-
If you'd like to donate, please send to my Bitcoin wallet below
75+
If you'd like to donate, some BTC will be appreciated:
6476
`18hSn32hChp1CmBYnRdQFyzkz5drpijRa2`

bin/d2rmap.exe

0 Bytes
Binary file not shown.

bin/settings.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ baseUrl=http://diab.wikiwarsgame.com:8080
33

44
[MapSettings]
55
width=1000
6-
height=1000
7-
opacity=100
6+
; -1 means maintain aspect ratio
7+
height=-1
88
; opacity is 0-255 - lower is more transparent
9+
opacity=100
910

1011
[Memory]
1112
playerOffset=0x2027660

src/include/showMap.ahk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ShowMap(sMapUrl, width, height, opacity) {
88

99
color = FFFFFF ; White
1010
Gui, Map:New
11-
Gui, Add, Picture, x0 y0 w%width% h%height%, %sFile%
11+
Gui, Add, Picture, x0 y0 w%width% h-1, %sFile%
1212
Gui, Color, %color%
1313
Gui +E0x20 +LastFound +AlwaysOnTop -Caption +ToolWindow
1414
Winset, TransColor, %color% %opacity%

src/settings.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ baseUrl=http://diab.wikiwarsgame.com:8080
33

44
[MapSettings]
55
width=1000
6-
height=1000
7-
opacity=100
6+
; -1 means maintain aspect ratio
7+
height=-1
88
; opacity is 0-255 - lower is more transparent
9+
opacity=100
910

1011
[Memory]
1112
playerOffset=0x2027660

0 commit comments

Comments
 (0)