Compiling - jainafrost/MapAssist GitHub Wiki

Status: DETECTED

Do Not Use on B.net

Using this program on B.net will result in a permanent account suspension from D2R online.

MapAssist users reported being banned from D2R online services beginning June 14, 2022.

Compiling

This is the compilation guide for those who want to build it from source. To install without compiling, see the installation guide.

How to compile from the GitHub Repository

1. Go to the repository HERE.

Select the 'main' branch (default) and then click the green 'Code' button. Copy the URL from the textbox.


2. Open Visual Studio 2019.


3. From the start window select ‘Clone a repository’.


4. Paste the GitHub Clone link that you just copied into the 'Repository Location' textbox and click ‘Clone’.

Here you can select which branch you would like to build from the dropdown:


5. Make sure the ‘Solution Explorer’ tab is selected from the window on the right and double-click the 'MapAssist.sln' solution file.


6. At the top of the screen you’ll see Debug -> Any CPU -> Start. We'll be changing these. Don't press Start.

Change the two dropdown menus from ‘Debug’ to ‘Release’ and ‘Any CPU’ to ‘x64’.


7. Now use the hotkey 'CTRL+SHIFT+B' to compile and build the code. You should see the Output window with the successful build notification and the directory that the compiled build was pushed to. Your MapAssist.exe will be in that folder and ready to run.

NOTE: The name of the MapAssist.exe may be randomized to prevent detection. (example: 38013b2r-432e-774t-69t10-1c2320314j9.exe)


You may receive an error upon building that references 'Newtonsoft.dll'. You will need to restore NuGet packages.

On the right side of your screen in the Solutions Explorer, right-click ‘References’ and choose ‘Manage NuGet Packages’.