This XAPK Creation Tool is designed to generate XAPK files from a directory containing an APK file and OBB files. It also generates the icon.png
and manifest.json
files from the APK file.
To use the tool, follow these steps:
-
Clone or download this repository.
-
Open a terminal in the repository directory.
-
Run the following command:
python3 xapktool.py <apk_obb_directory>
Replace
<apk_obb_directory>
with the path to the directory containing the APK and OBB files.Example:
python3 xapktool.py D:\Programs\xapktool\xapk
-
Generates XAPK file from APK and OBB files.
-
Automatically creates
icon.png
andmanifest.json
files from the APK. -
Supports multiple OBB files.
Before using the XAPK creation tool, ensure you have Python 3 installed on your system.
To install any necessary dependencies, run the following command in your terminal:
python -m pip install -r requirements.txt
OR (only in linux):
sudo apt install adroguard
This installs all necessary dependencies with androguard.
-
The tool expects a directory with a single APK file and one or more OBB files.
-
It's recommended to follow the Android expansion file naming convention for OBB files:
[main|patch].<expansion-version>.<package-name>.obb
as described in the Android documentation. -
If you encounter a module error related to importing
APK
fromandroguard.core.bytecodes.apk
, modify the import statement,
From:
from androguard.core.bytecodes.apk import APK
To:
from androguard.core.apk import APK
-
XAPK Creation Tool V2: KNIGHTFALL
-
Androguard + tools: Anthony Desnos (desnos at t0t0.fr)
-
DAD (DAD is A Decompiler): Geoffroy Gueguen (geoffroy dot gueguen at gmail dot com)
This XAPK Creation Tool V2 is licensed under the MIT License. See the LICENSE file for details.
The development of XAPK Creation Tool V2 was influenced by BryghtShadow's xapktool, which provided the groundwork for this project.
Author: KNIGHTFALL