[Windows][VC2026][CMake] Compiling OTClient Redemption Sources
1 - Downloads Required:
Visual Studio 2026 Community: Download
Microsoft Visual C++ Redistributable 2017-2026: (32-bit download, 64-bit download)
2 - Visual Studio 2026:
On the Visual Studio home screen, in the Visual Studio Community 2026 product click the Install button.
On the next screen, select Desktop Development with C++.
On the same screen under Installation Details, select:

Then in Language Packs, select English:

3 - Install the necessary software:
Install Git.
4 - VCPKG:
5 - Integration of VCPKG into Visual Studio:
Execute the following command in Powershell with Administrator permission to set vcpkg environment variable:
6 - OTClient Redemption Sources:
Download OTClient Redemption sources with the command below in Powershell:
7 - Compiling OTClient Redemption Sources:
Open Visual Studio 2026, in the "Get Started" window, select "Open the local folder" and open the otclient root folder.
Wait for the Visual Studio to load. It will automatically install the libraries and generate the cmake cache. (Be patient, the first cache may take a few minutes).
After the cmake cache is successfully generated, you can compile the otclient by going to the Build > Build All menu.
After build, the DLL's and the executable are automatically copied to the otclient main folder.
8 - How to connect with OTClient Redemption:
9 - Credits:
Edubart, Mehah and Collaborators (OTClient)
Majesty (OTClient tutorial on VS2026)
Microsoft - VCPKG: https://github.com/Microsoft/vcpkg
Last updated