General Discussion • Re: How could i make a luanti apk file bundled with game
The engine files are stored in a ZIP archive in the APK, at assets/assets.zip. At first bootup, this will get extracted into the app data folder. You can take it out, add games into the ZIP in a new games folder you create (as well as mods & texture packs), and put it back into the APK. However when you do this you also need to resign the APK with your own signing key. There are more detailed guides online to do this but basically generate a keystore with jarsigner, then sign the APK using apksigner. This will also, for security reasons, make it incompatible with the official Luanti app if it is already installed, so you will need to uninstall it before your new version can be installed.
If you want to send people just one APK file it may also be useful to merge together the ABI split APKs so you can have one that works for both 64-bit and 32-bit ARM, for instance. You can download the armeabi-v7a APK and then go into the lib/ folder, then copy the armeabi-v7a folder there into the lib/ folder in your arm64-v8a APK. You can do the same for the x86-based ones but no regular phones are gonna need that so it will just bloat the APK you're distributing.
If you wanna do further simple modifications to the app that don't require rebuilding it from source (e.g. changing the app ID or name so it can be installed alongside a regular version of luanti, if desired) I would recommend APK Explorer & Editor on F-Droid, alternatively APKTool if you're more of a command-line type. The former can also resign APKs for you with its own signing key so you don't need to mess with apksigner on the command-line.
Statistics: Posted by ROllerozxa — Tue May 19, 2026 11:36
Discussion in the ATmosphere