Repository navigation
Armbat 0.1.4
New
- Assets are now read through the platform's AssetManager instead of a ZIP reader of our own. Resource packs and large archives load in full, and compression and directory listings behave as they do in a native app.
- Assets can be streamed straight out of the APK (AAsset_openFileDescriptor), so games that stream large files no longer trip over them.
- OpenGL ES 1.x: added GL_OES_framebuffer_object, without which older engines refused to start.
- .NET games: a bad memory access is no longer lost silently. Mono receives SIGSEGV and turns it into a NullReferenceException, as it does on a device.
- Signal masks and SA_RESTART/EINTR are emulated and epoll_pwait is implemented; garbage collectors and engines that rely on them work.
- Shared file mappings (mmap MAP_SHARED) are written back on munmap and msync, so a cached asset bundle is not a file of zeros after a restart.
- Dynamic DEX loading works on Android 14 and newer.
- The archive's JNI_OnLoad runs when its Java side calls System.loadLibrary, as on the platform: Unity archives that load their libraries from assets start.
- The JNI pool grew to 2048 methods, so SDKs that register about a thousand natives fit.
Fixes
- JIT cache: Mono, which rewrites code at run time, no longer leaves other threads on stale blocks.
- Threads: the contexts the platform borrows no longer overwrite each other. Previously several threads spun at a full core while TLS and stack pointed at garbage.
- A mutex with three or more waiters no longer strands one of them asleep for good.
- Fixed a lost futex wakeup.
- Two threads reading one descriptor no longer interleave their bytes, and an asset bundle is not read with a hole in the middle.
- A guest that ends its own process (System.exit, abort) ends the session instead of leaving the last frame on screen.
- GameMaker: the request to the BDA controller service no longer kills the activity at start.
- Memory the guest releases is actually returned to the system, so a long session no longer bloats the process.
- DNS resolution is thread-safe.