<p></p>
<p>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.</p>
<p>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.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/ohrrpgce/ohrrpgce/issues/1225">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AMWGWZUIR2ROKI7YSO6ULSLUKCI5XANCNFSM5HH2F3BQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AMWGWZQDIAXU3RK4ASDSMOLUKCI5XA5CNFSM5HH2F3B2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4PRK433Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ohrrpgce/ohrrpgce/issues/1225",
"url": "https://github.com/ohrrpgce/ohrrpgce/issues/1225",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>