An open source implementation of dota.
Cross platform; multiplayer; lobby system; map editor; replay system; semicolon. Builds in 3 minutes flat on an M1 Air.
- About
- Media
- License
- Compiling NoH
Intended to be the game engine that my 13yo self wished he'd had. Think of it as a baseline "here's a fully working game engine, along with an actual game" reference that you can use for whatever you want. It's small enough that you can understand it, build it yourself, and customize.
My long term goal is to implement a custom game system reminiscent of the StarCraft 1 "Use Map Settings" era. There was something magical about it that modern "custom game" attempts don't really capture. If you remember it, you know what I mean -- point to any modern equivalent that makes you feel the same spark of joy of joining a random lobby and discovering that it's actually a weirdly-detailed esoteric RPG that some 14yo crafted in StarEdit, or an intense tower defense experience that you didn't expect.
It also makes my heart ache that your only realistic choices for becoming a professional gamedev circa 2023 is to build everything from scratch yourself (Celeste) or to spend years learning Unreal Engine or Unity. Good luck understanding the inner workings of those behemoths, much less getting UE to build.
So hopefully this will give you a leg up as a lone wolf gamedev.
Ultimately, I expect this to take somewhere between three months and three years, and for roughly seven people to care about it. But if you're one of those seven, know that you'll have all my heart and soul pushing you forward, for whatever it's worth. I fell in love with the K2 engine when I worked at S2 in 2010. Perhaps one or two others might too.
https://youtu.be/VBj0RcpxCIc?t=132
I wanted to give hackers a sense of how it feels to work with the engine, so I recorded about an hour of random work.
Be sure to read the chapter titles as you watch; it's a detailed blow-by-blow of my thought process as I went.
https://www.reddit.com/r/DotA2/comments/asc14j/i_was_a_former_hon_dev_ama/
This was an AMA I did when S2 officially shuttered Hon after Valve steamrolled them. The timestamp says four years ago, but it feels like a decade.
I originally joined S2 because I loved the game, and a certain bug was so frustrating that I simply had to annihilate it. Joining the company was the only way I could, so I did.
All code and assets are MIT licensed, to the extent that I'm authorized to do so. Which is to say, not at all. But nobody cares at this point.
Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Install the dependencies:
brew install cmake llvm ninja speex speexdsp giflib libpng libjpeg openssl@1.1 freetype fswatch fileicon
git clone --recursive https://github.com/shawwn/noh
cd noh
mkdir build
cd build
cmake ..
cmake --build . -j12
Things you can do:
- Run
./K2\ Model\ Viewer
and play with some effects - Run
./NoH
and click "Local Game" to start a game - Run
./NoH\ Editor
Building NoH on macOS with CLion
Open the repo in CLion:
cd noh
clion .
-
Open Project view (press
Cmd-1
) -
Open
CMakeLists.txt
-
Click "Load CMake project" in the upper right
Ignore the scary-looking errors and just click the play button (Run -> Run 'NoH'
)
If things go well, NoH will launch. Congratulations!
Open CMake tab, click "Reset Cache and Reload Project" (the icon in the upper left of the tab with two arrows)
Build -> Rebuild all in Release
Run -> Run NoH, or just click the play button
If things still aren't working, post an issue or DM me on Twitter: @theshawwn
Clone the repo:
git clone --recursive https://github.com/shawwn/noh && cd noh
Install dependencies:
sudo apt update
# Compiler deps
sudo apt install -y build-essential libtool autoconf
# Build deps
sudo apt install -y cmake ninja-build
# K2 engine deps
sudo apt install -y libspeex-dev libspeexdsp-dev libssl-dev libgif-dev libpng-dev libcurl4-openssl-dev libjpeg-dev libxml2-dev libfreetype-dev libncurses-dev libxrandr-dev
(Useful for servers)
cmake -DK2_NOVID=1 -S . -B build -G Ninja && cmake --build build
Now you can run ./NoH -dedicated
to start a server
Install graphics dependencies:
sudo apt install -y libgl-dev libglu1-mesa-dev libxrandr-dev xorg-dev
cmake -S . -B build -G Ninja && cmake --build build
Now you can run ./NoH
or ./NoH\ Editor
or ./K2\ Model\ Viewer
Install Git for Windows
During setup, you can leave everything as default, except make sure you check "Enable symbolic links":
![image](https://private-user-images.githubusercontent.com/59632/240807458-0d03e2a0-dac6-4176-b427-6c30c3dcec5e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjYwMDIsIm5iZiI6MTcyNDcyNTcwMiwicGF0aCI6Ii81OTYzMi8yNDA4MDc0NTgtMGQwM2UyYTAtZGFjNi00MTc2LWI0MjctNmMzMGMzZGNlYzVlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyMjgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQxZGJmNTI0ZjNmNDVlYTVkZDQ1NmRhYmFjYzZjYjlhNzZhZTFkZjMyMDI1MmI4M2I3OTBmZTkxNDM4ZmVlZmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.EkCWYUwCwdVdVGbk_CtjVJcN7daRvDiWz5RTtPmydUU)
Download CMake (probably choose "Windows x64 Installer")
![image](https://private-user-images.githubusercontent.com/59632/240808273-7735c747-a017-4aae-b775-042fe48c7bfc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjYwMDIsIm5iZiI6MTcyNDcyNTcwMiwicGF0aCI6Ii81OTYzMi8yNDA4MDgyNzMtNzczNWM3NDctYTAxNy00YWFlLWI3NzUtMDQyZmU0OGM3YmZjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyMjgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJhZjk4YmU4ODRkZDI0YWRmOTM2NTA3MDlmOWM4ZmY1MWI4OTlhYWM3OTZjOWY4ZTdhMTQyYTRiNGJlY2FiYzgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.L_UIJd_Fta1pHo46fgzljG68Y9tyTfxYO8yjVvtMC1k)
During setup, click "Add CMake to the system PATH for the current user":
![image](https://private-user-images.githubusercontent.com/59632/240808361-a7e6fde2-ef1e-4e86-b753-416ee6390b4d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjYwMDIsIm5iZiI6MTcyNDcyNTcwMiwicGF0aCI6Ii81OTYzMi8yNDA4MDgzNjEtYTdlNmZkZTItZWYxZS00ZTg2LWI3NTMtNDE2ZWU2MzkwYjRkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyMjgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMzYzljNWQ0MjY5MTE2YTQzNTE2M2E5YzE2YThhY2MzOGZlMzliYWE2NDJmYTQ4YTc3YjVkMDQxNWJmODg1NWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.vWsPRBBdWBIT12dIRPytEZADzMZ-fP6YFoijxWN0cdU)
If you have Visual Studio 2019 or later instsalled, you can skip this step.
Install Visual Studio 2022 Community:
![image](https://private-user-images.githubusercontent.com/59632/240810109-4fde72d4-204b-4a16-a7d6-40e3b2640de2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjYwMDIsIm5iZiI6MTcyNDcyNTcwMiwicGF0aCI6Ii81OTYzMi8yNDA4MTAxMDktNGZkZTcyZDQtMjA0Yi00YTE2LWE3ZDYtNDBlM2IyNjQwZGUyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyMjgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNmNjA1NTM3NDdhZGJlMmNjMjZkZDE4ZDIyM2U0ZjE0OTM5MjVjNTY1NTdmNDViMzBhM2U2ZTdlNDMzNDVlMGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.G_ISRg-jvnO_r2x9cVm7iYNOv0Zqpey4LQGaDLiweOI)
During setup, choose "Desktop development with C++":
![image](https://private-user-images.githubusercontent.com/59632/240810485-ebbeaefd-9d92-4bff-a3e3-f5dd6116e0d3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjYwMDIsIm5iZiI6MTcyNDcyNTcwMiwicGF0aCI6Ii81OTYzMi8yNDA4MTA0ODUtZWJiZWFlZmQtOWQ5Mi00YmZmLWEzZTMtZjVkZDYxMTZlMGQzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyMjgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg4ODlmNzZmMDU3YjA3NDI4NTQ5ZDAyYjgwNjZlMzg2Njg1MTc0NGUxZjdlYmJhMTE4OGVlMGQ4N2JiMzAyMzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.4mp8MORELzJCIgCwpah2WD_XhiNPLOfiMo492mN__ng)
(If you want to save around 6GB, you can you can uncheck ".NET desktop development")
Check "Install", then wait awhile.
Eventually you'll see this:
![image](https://private-user-images.githubusercontent.com/59632/240814519-ad9953d8-685d-4489-b251-a8d7b0daf1ba.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjYwMDIsIm5iZiI6MTcyNDcyNTcwMiwicGF0aCI6Ii81OTYzMi8yNDA4MTQ1MTktYWQ5OTUzZDgtNjg1ZC00NDg5LWIyNTEtYThkN2IwZGFmMWJhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyMjgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE4NTM0N2U5NzE2NGUwYzBmOTJlMDk3ZGZiMGY0YTc4NWJhMzYwZjdmODAzYThjN2JlYzQ2YjE1NTE3YWJlMDImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.z7N7xnZyM9c7n09Fxp4_C4yAiFyEOq7ofv5ttxQfjdE)
Install CLion: https://www.jetbrains.com/clion/download/
Open CLion and clone the repo:
![image](https://private-user-images.githubusercontent.com/59632/240811516-67ec32d6-b4b3-4287-9281-6cb7bc8fc009.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjYwMDIsIm5iZiI6MTcyNDcyNTcwMiwicGF0aCI6Ii81OTYzMi8yNDA4MTE1MTYtNjdlYzMyZDYtYjRiMy00Mjg3LTkyODEtNmNiN2JjOGZjMDA5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyMjgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUyNjJiNGQ3ZDBlNDdjNmUwMmJkYjRlYzY2OTQyYmNlZjZlMzdjMWJlNmZiODkyYzg1OWJmMDNkYWZiYzQ2ZGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.-tBFlR1NMEUUGglizRuAyr9XfnJLO3LPSB9xHXJnn78)
Click "Trust Project"
![image](https://private-user-images.githubusercontent.com/59632/240811654-49fdfb05-fb27-46d3-ae26-d4539ef233ad.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjYwMDIsIm5iZiI6MTcyNDcyNTcwMiwicGF0aCI6Ii81OTYzMi8yNDA4MTE2NTQtNDlmZGZiMDUtZmIyNy00NmQzLWFlMjYtZDQ1MzllZjIzM2FkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyMjgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUyOWQxMmNhM2I0ZGUxOTlhZDVlNjdkNzNlYzg1ZTkwYjQ0Mjk0OGYyNjc0MGIxYTg2NmJlNmQwNGI3MDg3YTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.fP4RMw_T05_63ZJp5dNwwij_vNKr5-5zpfVTsZHb0t8)
Configure Microsoft Defender:
![image](https://private-user-images.githubusercontent.com/59632/240812142-6826b757-5465-4a0e-ab07-b114c310c118.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjYwMDIsIm5iZiI6MTcyNDcyNTcwMiwicGF0aCI6Ii81OTYzMi8yNDA4MTIxNDItNjgyNmI3NTctNTQ2NS00YTBlLWFiMDctYjExNGMzMTBjMTE4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyMjgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRlZjk0ZDVkNmJlMTVlMmMwYmM5NGZkZTUwZTg5MTE5NDE0ZGViNWRjZjYxZGJkYjEyOGYxMjllNDEzZjk3NjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.w0kaHw8U93wRtd1eaR6kR-k_Xr4CKv1-XxDOmyseVQU)
Go to File -> Settings, then "Build, Execution, Deployment" and click "Toolchains". Verify that your settings look similar to this:
![image](https://private-user-images.githubusercontent.com/59632/240812481-cf06074e-1935-4e92-a8b2-5cc232c72688.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjYwMDIsIm5iZiI6MTcyNDcyNTcwMiwicGF0aCI6Ii81OTYzMi8yNDA4MTI0ODEtY2YwNjA3NGUtMTkzNS00ZTkyLWE4YjItNWNjMjMyYzcyNjg4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyMjgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZhODViODdkMzY4M2JkYjYwNDc1ZTEzNzEwNzc1NzJmODM2NWI5NDkxNTQ5MWY4YWIyN2M0MDJkYWE2ODFiZWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.5sk7SoGrpqlMXa5JxQUm6GKp9LCSmwnUQioaqNny-I4)
Open the Project tool window (Press Alt-1
):
![image](https://private-user-images.githubusercontent.com/59632/240813029-d7760437-8338-4ca0-8b3b-10345c50619d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjYwMDIsIm5iZiI6MTcyNDcyNTcwMiwicGF0aCI6Ii81OTYzMi8yNDA4MTMwMjktZDc3NjA0MzctODMzOC00Y2EwLThiM2ItMTAzNDVjNTA2MTlkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyMjgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTcyZjM0ODU3MDE2NmU4Yzc3NGY0ZjgyOTIyMTA1MzFiOGM3ZWQ2Y2FkNDRhYmEyN2JkMDkyM2E4NmE0NDAzYTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.DocrQ76EtlAe2pIKRronUvvrd4ZmZZIsNvVlp76S4ss)
Open CMakeLists.txt, then click "Load CMake project" in the upper right:
You'll see some errors:
![image](https://private-user-images.githubusercontent.com/59632/240813371-467b950c-6f3c-48fb-a9c7-b39c704fc769.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjYwMDIsIm5iZiI6MTcyNDcyNTcwMiwicGF0aCI6Ii81OTYzMi8yNDA4MTMzNzEtNDY3Yjk1MGMtNmYzYy00OGZiLWE5YzctYjM5YzcwNGZjNzY5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyMjgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQxNzc0NzA3NGY5ZmQyNGVhZjM3YjdjMGJmNmEyMjgyZjJhZGFmZDRiYzlmN2VjMTk4ZThhMWMwMTgxN2Y1OTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.iRrPHl0aGDWkDGnS_YzZVkhI5AlNOgxd5DbardmYE8w)
Click the Vcpkg tab:
![image](https://private-user-images.githubusercontent.com/59632/240813451-0d2b9025-8096-4f36-8985-bd445142510c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjYwMDIsIm5iZiI6MTcyNDcyNTcwMiwicGF0aCI6Ii81OTYzMi8yNDA4MTM0NTEtMGQyYjkwMjUtODA5Ni00ZjM2LTg5ODUtYmQ0NDUxNDI1MTBjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyMjgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYzZGQxMzBjMDU2ZDc2ODA0ZmIzMzQ3Y2JhMmIxZjE3MDA4MDg1MTM4NzQ4Nzc3NjZlMTQ5MWJjNTJjMWJiOTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.1C0Yf-L-d3ycEYl7Mbw7gyJ6o-1Fh72BISWD3ioCoVc)
Click the plus sign ("Add vcpkg")
![image](https://private-user-images.githubusercontent.com/59632/240813518-e9cc456a-c127-457b-8082-949e65dc9f66.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjYwMDIsIm5iZiI6MTcyNDcyNTcwMiwicGF0aCI6Ii81OTYzMi8yNDA4MTM1MTgtZTljYzQ1NmEtYzEyNy00NTdiLTgwODItOTQ5ZTY1ZGM5ZjY2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyMjgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNhY2ExODQ1YjIwZjcwODc3MTI3MjhiYTA1YmVkY2UyN2VjYWZjY2IxZDk2OWM2YjMwMzM5NzYxYWFlZjZhZGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.p2H1nH2y2w9GzDzteXk_x1udg55ig41XVclCK2q02O0)
Verify that "Add vcpkg integration to existing CMake profiles" is selected, then click ok:
![image](https://private-user-images.githubusercontent.com/59632/240813669-18ab935b-bf8d-405d-8560-8130ce486014.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjYwMDIsIm5iZiI6MTcyNDcyNTcwMiwicGF0aCI6Ii81OTYzMi8yNDA4MTM2NjktMThhYjkzNWItYmY4ZC00MDVkLTg1NjAtODEzMGNlNDg2MDE0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyMjgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ3N2E3ZjQwNTBmMzM3MGRhMWRiODQxYzkxM2NiZDJjZGVmYjM5Nzc1NjEzOWYyYTRhMjMwNjRhMGY5ZDQyMjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.vjFBQ57aGd990BCJ22f0nnW0tcbb9dY3QwnnxwWms8s)
Vcpkg will now start building the required dependencies:
![image](https://private-user-images.githubusercontent.com/59632/240813819-db1b4bf2-f744-48df-bb21-1e1a6f5ad295.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjYwMDIsIm5iZiI6MTcyNDcyNTcwMiwicGF0aCI6Ii81OTYzMi8yNDA4MTM4MTktZGIxYjRiZjItZjc0NC00OGRmLWJiMjEtMWUxYTZmNWFkMjk1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyMjgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJjMTkzNGM3ZWZkNWVhNjFmOGJjNGQ2MTcwMDA3MGEyMzgyMWVjYjI0YWYwODg4ZWE3YTQ0NjZiM2MzNjQ3OWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.l9NO-vPLl7oTDLVtIBcWKNUI2vKWpWLtIVR9LDJhBu0)
You can click the "CMake" tab to watch its progress:
![image](https://private-user-images.githubusercontent.com/59632/240813979-ae0bdfbb-8d0f-4ce3-883e-b042e12f2c4b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjYwMDIsIm5iZiI6MTcyNDcyNTcwMiwicGF0aCI6Ii81OTYzMi8yNDA4MTM5NzktYWUwYmRmYmItOGQwZi00Y2UzLTg4M2UtYjA0MmUxMmYyYzRiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyMjgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE1MTNmMjdiOTExNjRmNmVlYzQ1ZDQ2ODQ2ZGU4OTc3Njg0ZDc5NWUwMTg4MTdhYWVhZGE3MzU3MmVhYjMzNTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.WZtSdiDxk0Qg0QoImWZbFG6jzkIMe7x1Vocdd8Xm318)
![image](https://private-user-images.githubusercontent.com/59632/240814697-72e1e901-abf8-4c1a-8ff4-43d598f01c02.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjYwMDIsIm5iZiI6MTcyNDcyNTcwMiwicGF0aCI6Ii81OTYzMi8yNDA4MTQ2OTctNzJlMWU5MDEtYWJmOC00YzFhLThmZjQtNDNkNTk4ZjAxYzAyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyMjgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJmYmQ3MGVkYTlkOTFmZWFiOWU4MTkyYzYyZjM0MmUxNTUwOTNiZTM4NmE4NzI0YmViMzY2NzkyMzg5NTQ1YTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.HtJVAqa25_HbpIAGP87WZwObmviPrZvfvAHRcn854HQ)
Wait awhile (~40 minutes, sorry; luckily you only need to do this once, ever).
Eventually "Loading CMake project..." in the status bar will disappear.
![image](https://private-user-images.githubusercontent.com/59632/240820503-29028649-0feb-4a7c-abaa-32daab3c98b4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjYwMDIsIm5iZiI6MTcyNDcyNTcwMiwicGF0aCI6Ii81OTYzMi8yNDA4MjA1MDMtMjkwMjg2NDktMGZlYi00YTdjLWFiYWEtMzJkYWFiM2M5OGI0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyMjgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY4YzQ0NTAzMDE0ZmM5NWE2MDliNmRmZjdlZGYyYTllMjY0ZmM4ZmY5ODNjNWY2ZWUzMjhhNzJkMGYyMTM3YTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.GuuNXs8rZisJ8N-pHc2O3TxQWuVFPFRDD2i967v_mlM)
Click the run button.
![image](https://private-user-images.githubusercontent.com/59632/240820974-b43a48cf-9432-46c9-b9c3-ec9ddbfda110.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjYwMDIsIm5iZiI6MTcyNDcyNTcwMiwicGF0aCI6Ii81OTYzMi8yNDA4MjA5NzQtYjQzYTQ4Y2YtOTQzMi00NmM5LWI5YzMtZWM5ZGRiZmRhMTEwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyMjgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRkNzBlZDUyM2VmMDU4ZTAxODdkOTI0ZjFmNTUyMTQ5NzY3NDcwOTFlZWE4MzdlZjM2MjEyNDcwY2NkMWVlYzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.X6XKMoUq0dl_6B7dOzeh3eVXrVWmuoI_FhX-w8aSSNw)
The engine will start building:
![image](https://private-user-images.githubusercontent.com/59632/240821350-53d043bf-fdc9-4bab-91a7-41a0f8c90f02.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MjYwMDIsIm5iZiI6MTcyNDcyNTcwMiwicGF0aCI6Ii81OTYzMi8yNDA4MjEzNTAtNTNkMDQzYmYtZmRjOS00YmFiLTkxYTctNDFhMGY4YzkwZjAyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDAyMjgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThmOTkyYzI4NDJkY2Y5M2UxN2VkZmY3NjgyOTcyOGQyMzczMDk4NWUzOWRmZWVkMWY4YWYwMDBlMzFhOTA3ZDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.fpPlSIep7GadVqjAErIZsu-SsRpRGXuLoYl9CTrRSF0)
With any luck, it'll launch. You're done!
To get into a game, change the configuration to NoH, then click the run button again. Once NoH starts, click "Local Game" -> Create Game, join a lobby slot, start game, then choose a hero.