Windows Installation
How to Install the Game on Windows
This document explains how to install the game on Windows using a wizard installer and the provided build.bat
script.
Prerequisites:
- CMake: Ensure you have CMake installed on your system. You can download it from CMake's official website.
- VCPKG: This project uses VCPKG as a package manager for C++. Make sure you have it installed. You can find the instructions here.
- Wizard Installer: The game installation is packaged with a wizard installer.
Steps to Install:
-
Download the Installer:
- First, download the installer from the provided source.
-
Run the Installer:
- Execute the wizard installer by double-clicking on the
.exe
file. - Follow the on-screen instructions to complete the installation process.
- Execute the wizard installer by double-clicking on the
-
Set up VCPKG:
- If you haven't installed VCPKG, set it up following the instructions from the official VCPKG GitHub repository.
- After setting up VCPKG, ensure the environment variable
VCPKG_ROOT
is correctly set. This variable should point to the root of your VCPKG installation.
-
Build the Game Using
build.bat
:- Open a command prompt.
- Navigate to the game’s root directory.
- Run the build script:
- For a Release build, run:
build.bat
- For a Debug build, run:
build.bat -d
- For a Release build, run:
This script will:
- Set the output directory to
build\
within the game's directory. - Use the
vcpkg
toolchain for dependency management. - Configure the build for either
Debug
orRelease
mode. - Run
CMake
to generate and build the project.
-
Running the Game:
- Once the build is complete, navigate to the
build\
directory. - You will find the executable for the game. Simply double-click the executable to start the game.
- Once the build is complete, navigate to the
That’s it! You’ve successfully installed and built the game on your Windows machine.