-
Notifications
You must be signed in to change notification settings - Fork 21
Development Environment Installation
Colin Basnett edited this page Aug 18, 2024
·
44 revisions
This guide will walk you through the steps needed to install the development environment on your Windows machine.
- You must be on a Windows OS (eg. Window 7, 8, 10 etc.)
- You must have added the RODIR Environment Variable.
- You must have completed the SDK Installation.
- Make sure to have at least 32GB of free disk space on the drive that Steam is installed on.
We use Python to supplement our various build processes.
- Download and run the Python 3.5.4 installer.
- During the installation, ensure that Add Python to environment variables is checked.
- Download and run the Git for Windows installer.
- During the installation, check Use Git from the Windows Command Prompt when prompted.
- Install Git Large File Storage. (Modern versions of the Git installer will have this as a built-in option!)
- Open a Command Window in Administrator mode by pressing ⌘, typing
cmd
, then pressing Ctrl+Shift+Enter. - Enter the following commands, hitting Enter after each line:
cd /d "%RODIR%"
git lfs install --skip-smudge
git clone https://github.com/DarklightGames/DarkestHour.git tmp
xcopy tmp . /e /h /y
rmdir /s /q tmp
git lfs pull
git lfs install --force
- Install the latest version of Fork.
- Run Fork.
- From the top menu, select File > Open Repository... or press Ctrl+O.
- Enter the path to your Red Orchestra directory (
RODIR
) (eg.C:/Program Files (x86)/Steam/steamapps/common/Red Orchestra
) and click Select Folder.
Nice work! You're now ready to work with DarkestHourDev! Now what?
- You can now run the development version of the game by running
%RODIR%/System/DarkestHourDev.bat
. Be aware that this batch file will compile the game's code files if necessary. Compilation can fail if there are errors in your code. - You can run the development version of the SDK by running
%RODIR%/System/DHEd.bat
.
This wiki is a work in progress. If you require more in-depth support, please contact us on Discord.
- IMPORTANT: Disclaimer For Server Owners
- Dedicated Server Installation
- Basic Server Configuration
- Server Troubleshooting
- Debug & Admin Commands
- Programming Standards
- WOTgreal Installation
- WOTgreal Debugging
- Creating a Mutator
- Creating Custom Constructions