Skip to content

Android APK GitHub Actions

Majesty edited this page May 26, 2026 · 1 revision

Android APK GitHub Actions

This guide provides a comprehensive walkthrough for modifying and repackaging the OTClient Android APK to include custom assets, scripts, or configurations.

Table of Contents


1. Prerequisites

Before beginning the process, ensure you have the following requirements ready:

  • Android Device: An Android-based smartphone
  • GitHub Account: Necessary to access and download the automated builds.
  • APK Editor Studio (v1.7.2): Download via Google Drive

2. Obtaining the Base APK via GitHub Actions

The latest versions of the APK are automatically compiled through GitHub workflows.

  1. Navigate to the OTClient Actions repository page.

  2. Select the "CI" workflow from the sidebar.

  3. Filter the results by the main branch and select the most recent successful commit. image

  4. Scroll to the Artifacts section at the bottom of the page and download the APK package.

image

3. APK Editor Studio

  1. Launch APK Editor Studio.
  2. Click the Folder Icon (Select APK) to load your downloaded file.
  3. In the central menu, click the Open Contents button. This will unpack the APK into a temporary directory within your AppData folder for editing. Select APK Open Contents

4. Extracting and Modifying data.zip

The client's logic and visual assets are stored within the data.zip file.

  1. Navigate to the assets folder within the unpacked project.
  2. Locate data.zip. Note: You must extract this file to a separate directory to perform edits. Assets Directory
  3. Inside your extraction folder, you can modify UI components, update Lua scripts, or add asset or .spr and .dat.

Warning

Lua 5.2 Compatibility: Ensure your scripts do not use ::goto:: or continue keywords, as they are not supported in this version. Additionally, remember that Lua is strictly case-sensitive.


5. Repackaging the Data

Once your modifications are complete, you must rebuild the internal archive.

  1. Select all files and folders within your modified workspace.
  2. Compress them using the native Windows tool (Right-click -> Compress to ZIP file).
  3. Important: The resulting archive must be named exactly data.zip. Compression Process

6. Replace data.zip

  1. Replace the original data.zip file in the assets folder of your APK Editor Studio project with your newly created version. File Replacement

7. Compiling in APK Editor Studio

  1. Return to the APK Editor Studio interface.
  2. Select Save APK from the central menu. The software will recompile and sign the modified APK. Save APK

8. Installation and Testing

  1. Transfer the newly generated APK to your Android device.
  2. Install the application and launch it to verify that your changes have been applied correctly.
Screen_Recording_20260511_205843_otclient.mp4

9. Credits

@kokekanon

Clone this wiki locally