**Requirements: Windows 10 or 11**
-
Download Vulkan SDK v1.3.261.1. This is the version used during the development of the project. However, newer versions of the Vulkan SDK are likely to be compatible.
-
Run the installer and select the following components:
- Shader Toolchain Debug Symbols - 64-bit
- DLM headers
- SDL2 libraries and headers
- Volk header, source, and library
- Vulkan Memory Allocator header
-
After installation, verify the environment variables:
- Visit the CMake downloads page.
- Download the latest stable release suitable for Windows. CMake provides both installer and ZIP versions. The installer version is generally more convenient.
- Execute the downloaded installer file.
- Agree to the license terms.
- Choose whether to install CMake for all users (requires administrative privileges) or just for the current user.
- During the installation, you'll be prompted to select additional options. One important option is whether to add CMake to the system PATH.
- Adding CMake to the PATH is highly recommended as it allows you to run CMake from any command line or terminal window, which is convenient.
- Proceed with the installation. The installer will set up CMake on your system.
- After installation, open a command prompt or terminal window.
- Type
cmake --versionand press Enter. This command should return the installed version of CMake, confirming that it is correctly installed and accessible from the command line.
- Administrator Rights: If you choose to install CMake for all users, you will need administrator rights on your computer.
- ZIP Version: If you download the ZIP version instead of the installer, you will need to manually extract the files and add the CMake binary directory to your system's PATH variable.
- Visit the Visual Studio downloads page.
- Choose the edition of Visual Studio 2022 that you want (e.g., Community, Professional, or Enterprise).
- Download the installer.
- Execute the downloaded installer file on your machine.
- In the installer interface, look for the "Workloads" tab.
- Under this tab, find and select the "Desktop development with C++" workload. This workload includes the C++ compiler, standard libraries, and other necessary tools needed to compile the project.
- After selecting the necessary workloads and options, proceed with the installation.
- The installer will download and install Visual Studio along with the selected components.
-
Visit the GitHub repository or the my personal Git website repository.
-
Navigate to the latest release and download the 'Source Code (zip)'.
-
Extract the .zip file to your preferred location.
-
If you're familiar with Git and have it installed, open PowerShell or your preferred terminal.
-
Clone the repository with submodules:
** Ensure the URL is up-to-date.**
git clone --recurse-submodules https://github.com/greenmatthew/HarvestHavoc.gitOr, if using my Git website:
git clone --recurse-submodules https://git.matthewgreen.gg/mgreen/HarvestHavoc.git -
Navigate to the repository directory and check out the specific commit hash of the latest release:
cd HarvestHavoc -
Switch to the latest release commit:
git checkout <HASH>
-
Create a Build Directory:
mkdir binThis command creates a directory named bin where the build files will be placed.
-
Generate Build System Files:
cmake -G "Visual Studio 17 2022" -A x64 -B binThis command tells CMake to generate build system files for Visual Studio 2019 (specifically for the x64 architecture) in the bin directory.
After generating the build system files, you have two main ways to build and run your project:
- Open the generated Visual Studio Solution file (.sln) located in the bin directory using Visual Studio 2022.
- Select the appropriate build configuration (like Debug or Release).
- Build the project by using the Build menu or pressing Ctrl+Shift+B.
- Run the project by pressing F5 to start debugging, or Ctrl+F5 to start without debugging.
-
Use the following command to build the project:
cmake --build bin --config ReleaseHere, bin is the directory where the build files are located, and Release is the build configuration. You can replace Release with another configuration like Debug depending on your needs.
-
Run the Executable:
- For a Release build, use:
./bin/Release/HarvestHavoc.exe - For a Debug build, use:
./bin/Debug/HarvestHavoc.exe
- For a Release build, use:
To see the credits please go here.




