[Android] Compiling OTClientV8 Sources
Last updated
Last updated
Visual Studio 2022 Community:
Microsoft Visual C++ Redistributable 2015-2022: (, )
Git:
Android Libs:
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++ and Mobile Development for Android.
Then in Language Packs, select:
English.
Continue the installation and click in the Install button.
Install Git.
Extract the Android.zip folder on C:\.
Example:
Download OTClientV8 sources with the command below in Powershell:
Download Client 11 (Outdated 10.x) and extract the Tibia.dat and Tibia.spr in OTClientV8 /data/things/1100.
Compress the init.lua, data, modules, layouts, mods in data.zip running the create_android_assets.ps1 script in Powershell, the compressed data.zip will be copied to android/otclientv8/assets.
Open android\otclientv8.sln
. This should launch Visual Studio.
Go to Options -> Cross Platforms -> C++ and set the configs like in the example below:
Choose build configuration from the drop downs (Release and ARM).
To start compiling go to the menu Build and choose Build Solution..
After build, the otclientv8_armv7a.apk is generated in android/otclientv8/ARM/Release folder.
Install the otclientv8_armv7a.apk in your Android phone.
Kondrah, Oen, Vithrax (OTClientV8)
Majesty (OTClientV8 Tutorial for Android on VS2022)