[Ohrrpgce] [ohrrpgce/ohrrpgce] Android: Don't unzip game data from the .apk (Issue #1225)

Ralph Versteegen notifications at github.com
Tue Nov 2 18:54:35 PDT 2021


On Android, when a packaged game (not the generic ohrrpgce-game.apk) is played for the first time the .rpgdir is unzipped from the .apk. We really need to get rid of this unzipping step, which can be slow (extremely on a very old phone), more than doubles the amount of space needed (which means the size requirement shown in the app store is wrong) and causes users who run out of storage space to experience strange errors. Both Surlaw and WillyElectrix have forwarded error reports from their players complaining about error messages, so this is a significant problem.

The solution is to directly read .rpgdir lumps from inside the .apk, using the APIs for doing so, and disable/bypass the unzipping which is done automatically by the commandergenius sdl_android port. I've made already a lot of progress towards this. The filelayer.cpp layer needs to be extended to be able to handle reading files as well as just opening and closing them.

-- 
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/1225
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20211102/a5c4f653/attachment.html>


More information about the Ohrrpgce mailing list