#Compilar un otserver Tibia facilmente y rapidamente en 2022
Hola, hoy mostraré como compilar un OT Facilmente.
Perdonen por soplar en el microfono u__u.
Visita el foro para ver un tutorial escrito con el código al día !
Foro Official: https://opengamescommunity.com/
GitHub Official: https://github.com/open-games-community
1- Descargar Visual Studio 2019 Community: https://visualstudio.microsoft.com/pt-br/thank-you-downloading-visual-studio/?sku=Community&rel=16
2- Microsoft Visual C++ 2015-2019 Redistributable:
32 bits: https://aka.ms/vs/16/release/vc_redist.x86.exe
64 bits: https://aka.ms/vs/16/release/vc_redist.x64.exe
3- Git 2.26.0 ( 64 bits): https://www.filehorse.com/download-git-64/48996/
Git 2.26.2 (32 bis) : https://www.filehorse.com/download-git-32/50141/
4 - Instalacion VCPKG:
Abre powershell.
1-Escribe: cd C:\
Asi estaras en C:.
1.1 -Para los que tengan windows 32, ir en C:\Program Files\Git\vcpkg\scripts
Abrir el bootstrap.ps1 y buscar la linea /p:PreferredToolArchitecture=x64 y cambiar por /p:PreferredToolArchitecture=x86
2- Me olvidé de un comando en el video, aqui lo tendreis.
Escribiremos: git clone https://github.com/Microsoft/vcpkg
Instalara vcpkg.
3- escribir: cd vcpkg
4- Escribir: .\bootstrap-vcpkg.bat
5- Vamos a clonar la database del server
Escribir: cd C:\
Escribir: git clone --recursive https://github.com/opentibiabr/otservbr-global.git
6- La instalacion de bibliotecas de vcpkg:
En 32 bits escribireis:
.\vcpkg install --triplet x64-windows boost-asio boost-filesystem boost-iostreams boost-lockfree boost-system boost-variant cryptopp libmariadb luajit mpir pugixml
En 64 bits escribireis: .\vcpkg install boost-asio boost-filesystem boost-iostreams boost-lockfree boost-system boost-variant cryptopp libmariadb luajit mpir pugixml
Una vez esto hecho, ya estara casi.
7- Escribir: .\vcpkg integrate install
8- vamos en c:\otservbr-globa\vc14\ Y aqui vamos a darle doble click en el fichero llamado otservbr-global.vcxproj , esto abrira visual studio.
Aqui, arriba seleccionaran si es 32 bits o 64 bits su ordenador, seleccionaran RELEASE al lado, y arriba en la pestana ' BUILD ' le daran click en BUILD SOLUTION.
9- Van en la carpeta de su otserv, en VC14 , x64 ( o x32 si es 32 tu ordenador ) , carpeta RELEASE, y aqui copian todos los ficheros .DLLS y el ejecutable del juego, van a la raiz del servidor y copian estos ficheros, ya esta tienen un servidor compilado.
Compilado quiere decir que los DLLS y el Ejecutable los hace para tu ordenador si es 32 o 64 y para que funcione mejor, libre de errores.
Espero que te haya gustado el video, y si lees aqui y aun no te has subscrito, te aconsejo de hacerlo y darle like :), saludos!
Other Videos By Open Games Community
Other Statistics
Tibia Statistics For Open Games Community
Currently, Open Games Community has 68,413 views for Tibia across 35 videos. His channel uploaded 8 hours worth of Tibia videos, roughly 10.38% of the content that Open Games Community has uploaded to YouTube.