[Windows][VC2022][Solution] Compiling OTClientV8 Sources
1 - Downloads Required:
- Visual Studio 2022 Community: https://visualstudio.microsoft.com/pt-br/thank-you-downloading-visual-studio/?sku=Community&rel=17 
- Microsoft Visual C++ Redistributable 2015-2022: (32-bit download, 64-bit download) 
2 - Visual Studio 2022:
- On the Visual Studio home screen, in the Visual Studio Community 2022 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: 
 
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 - OTClientV8 Sources:
- Download OTClientV8 sources with the command below in Powershell: 
7 - Install libraries:
- The libs are installed automatically following the next step. 
8 - Compiling OTClientV8 Sources:
- Open - vc16\otclient.sln. This should launch Visual Studio.
- Choose build configuration from the drop downs (DirectX and x64) or (OpenGL and x64). 
- To start compiling go to the menu Build and choose Build Solution. 
- After build, the executable is automatically copied to the otclient main folder. 
9 - How to connect with OTClientV8:
10 - Credits:
Kondra, Oen, vithrax (OTClientv8)
Majesty (OTClient tutorial on VS2022)
Microsoft - VCPKG: https://github.com/Microsoft/vcpkg
Last updated
