[Ohrrpgce] [ohrrpgce/ohrrpgce] Android apk export from distribute game menu (Issue #1228)

James Paige notifications at github.com
Fri Nov 5 17:30:44 PDT 2021


The current android packaging system is based on rebuilding the whole commandergenius-based port of the ohrrpgce source with additional data files, but this is unnecessary and overcomplicated

Instead we should have a pre-compiled apk template, and then the distribute game menu can download it, and handle
* adding the rpg datafiles
* updating whatever apk metadata needs to change
* updating the icon
* updating the button images
* zip aligning
* apk signing

# template build
The template build will be similar to the existing ohrrpgce-game-android-debug.apk build, except that it will be a release build instead of a debug build, and that it will not attempt any signing

Getting this into the build system is a necessary prerequisite to have a template that can be used to perform all the other steps on

# dependencies

We need to figure out the minimum set of tools necessary to make all the needed changes to the apk file. Then we can check the licensing on those, and determine if we can distribute them the same way as we currently distribute other helper applications. If that isn't possible, either because of licenses or because of the number of tools, or their own chain of dependencies, then it might turn out to be simpler to require the user to install the Android SDK themselves, and the distribute game menu would just have to know the location of it before it could proceed with exporting for android. (That would still be a big improvement on the current build android system)

# Icon and button images

These could conceivable be included in the rpg file, although we would probably still make copies of them in the apk file. We could also just require them to be placed into a special subfolder with a simple naming scheme

# Signing

The signing certificates can be automatically generated, but they CANNOT be embedded into the rpg file, and it will be important to let the users know the importance of protecting them and keeping them backed up, as we will not be able to recover lost certificates, and we need to make sure people understand the importance of not sharing them. Possible naming scheme: **gamename-please-backup-this-file-and-seriously-do-not-share-it-with-anyone.keystore**


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/1228
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20211105/35eb5f69/attachment.html>


More information about the Ohrrpgce mailing list