Skip to content

tibia-devs/OTA-otclientv8

This branch is 27 commits behind OTAcademy/otclientv8:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

268d973 · Dec 18, 2024
Feb 27, 2023
Dec 16, 2024
Dec 9, 2024
Oct 29, 2024
Apr 8, 2021
Dec 16, 2024
Apr 6, 2021
Dec 18, 2024
Apr 8, 2021
Jul 18, 2021
Oct 26, 2024
Apr 6, 2021
Oct 13, 2024
Apr 6, 2021
May 18, 2021
Feb 7, 2022
Apr 8, 2021
Apr 6, 2021
Oct 10, 2024
Jul 18, 2021
Jul 18, 2021
Nov 7, 2024
Apr 6, 2021
Apr 6, 2021
Apr 6, 2021

Repository files navigation

OTClientV8

Contribution

If you add custom feature, make sure it's optional and can be enabled via g_game.enableFeature function, otherwise your pull request will be rejected.

Compilation

Automatic

You can clone repoistory and use github action build-on-request workload.

Windows

You need visual studio 2022 and vcpkg with commit 3b3bd424827a1f7f4813216f6b32b6c61e386b2e (download).

Then you install vcpkg dependencies:

vcpkg install boost-iostreams:x86-windows-static boost-asio:x86-windows-static boost-beast:x86-windows-static boost-system:x86-windows-static boost-variant:x86-windows-static boost-lockfree:x86-windows-static boost-process:x86-windows-static boost-program-options:x86-windows-static luajit:x86-windows-static glew:x86-windows-static boost-filesystem:x86-windows-static boost-uuid:x86-windows-static physfs:x86-windows-static openal-soft:x86-windows-static libogg:x86-windows-static libvorbis:x86-windows-static zlib:x86-windows-static libzip:x86-windows-static openssl:x86-windows-static

and then you can compile static otcv8 version.

Linux

on linux you need:

  • vcpkg from commit 761c81d43335a5d5ccc2ec8ad90bd7e2cbba734e
  • boost >=1.67 and libzip-dev, physfs >= 3
  • gcc >=9

Then just run mkdir build && cd build && cmake .. -DUSE_STATIC_LIBS=OFF && make -j8

NOTICE: project comes with USE_STATIC_LIBS=ON set while libzip-dev is supplied with dynamic library only, so for linux build it is required to override USE_STATIC_LIBS to OFF

Android

To compile on android you need to create C:\android with

Also install android extension for visual studio In visual studio go to options -> cross platform -> c++ and set Android NDK to C:\android\android-ndk-r21b Right click on otclientv8 -> proporties -> general and change target api level to android-25

Put data.zip in android/otclientv8/assets You can use powershell script create_android_assets.ps1 to create them automaticly (won't be encrypted)

Useful tips

  • To run tests manually, unpack tests.7z and use command otclient_debug.exe --test
  • To test mobile UI use command otclient_debug.exe --mobile

Releases

No releases published

Packages

No packages published

Languages

  • C++ 43.7%
  • Lua 36.5%
  • C 15.2%
  • CMake 4.3%
  • Shell 0.1%
  • Java 0.1%
  • Other 0.1%