- Clone the repo
- Change directory into the repo and run the following commands:
git submodule initgit submodule update
- Open the project in Visual Studio and run it.
Set the following environment variables according to your setup, change the folder to your Diablo II folder. This can either be done in the environment variable tab, or open up powershell as administrator and run the following commands to set it system wide:
[System.Environment]::SetEnvironmentVariable('DIABLO_DEBUG_FOLDER','C:\Program Files (x86)\Diablo II\ProjectD2',[System.EnvironmentVariableTarget]::Machine)
- Open the project in Visual Studio and run it.
To push a new version run the scripts/Compile.ps1
To compile the beta version add -IsBeta
To push to live, add -PushToBucket
Compiling the latest beta launcher and pushing it to live would be:
.\scripts\Compile.ps1 -IsBeta -PushToBucket
Compiling the latest live launcher and pushing it to live would be:
.\scripts\Compile.ps1 -PushToBucket