Skip to content

Armbat 0.1.5

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Nov 12:57
· 53 commits to master since this release

Armbat 0.1.5

New

  • Screen size and refresh rate can be set per game: Auto, 720x1280, 1080x1920 or the panel's native size, and 60, 90 or 120 Hz where the display supports it. Auto keeps the resolution the game was written for.
  • Both settings have a global default, and the game's own choice always wins.
  • Game data can be imported from the launcher: .obb expansion files and .zip archives with textures, caches or saves.
  • A zip can be unpacked as packed (keeping the Android/obb and Android/data prefixes), into internal files, external files or the data folder.
  • Imports are atomic: a cancelled copy leaves nothing behind, progress is shown as a percentage, free space is checked first, and entries that try to leave the destination are skipped.
  • Bypass checks: a per-app list of libraries, native methods and flags that the container answers without calling the game. Shipped defaults cover the checks used by the Crisis Fire builds.
  • Update channel: release or nightly, switchable in settings. A build from the other channel is offered only when it is not older than the installed one.
  • Motion sensors: accelerometer, gyroscope and the rest of android/sensor.h are backed by the real device, with per-queue events, adjustable rates and a bounded queue.
  • Guest device: properties now describe one consistent 32-bit Android 7 device instead of mixing the phone's 64-bit values with emulated ones. cpuinfo, /proc/stat, AT_HWCAP and getauxval agree with it.
  • /proc/self/maps reports the guest's own ranges, not the host's, so libraries that parse it get addresses they can use.
  • System.load of an unpacked 32-bit library goes through the guest linker: JNI_OnLoad runs, Java_* exports are bound, and anything else still uses the platform loader.
  • Working directory: chdir, getcwd and relative paths work; renaming a directory that the platform refuses is completed entry by entry.
  • Paths the guest hands to Java are translated, including file: URLs, so Java and native code open the same file.
  • Guest file APIs (openFileOutput and friends) stay inside the guest's data directory, as protectors and updaters expect.
  • Window focus reaches a guest only while its window is on screen; focus lost is delivered after it was gained, in platform order.
  • ANativeWindow_setBuffersGeometry and buffer refcounts are forwarded to the platform, so engines that pick their own surface size render at it.
  • OpenSL ES is backed by real platform objects behind an ABI adapter: states, queue depth, volume, Clear and callbacks behave as on a device, and PCM is passed without a copy.
  • The rewritten dex cache survives a container update, and the platform dex is cached per build instead of being rebuilt on every launch.
  • Guest service calls are refused instead of reaching host apps, which also removes the implicit-intent crash some SDKs hit at start.
  • JNI: GetStringUTFChars reports isCopy, and natives are bound without running class initializers.

Fixes

  • OpenGL ES 3: missing entry points (glTexStorage2D, glMapBufferRange, glDrawBuffers and others) are resolved from libGLESv3, which fixes black frames in ES 3 games.
  • ES 3 extensions are enumerated through glGetStringi and GL_NUM_EXTENSIONS, and ES 1.x contexts report their own version and shading language version.
  • Vertex and index arrays are bounds-checked, pixel store row length and skip images are honored, and partially mapped uploads are no longer dropped.
  • Mapped buffer ranges can be read back.
  • Audio: direct-buffer mirrors are per thread, so the render thread no longer overwrites the mixer's PCM and sound stops crackling.
  • Buffer-queue callbacks run on the platform thread, in order.
  • N.O.V.A. 3: fixed the black screen and the null VoiceChat fault caused by focus arriving while the window was not yet visible.
  • Doodle Jump: raw touch coordinates are now in guest pixels.
  • FIFA 14: classes whose static initializer calls a native that is not bound yet are no longer left in an erroneous state.
  • Slendytubbies: getApplicationContext returns the archive's Application, so launchers that cast it work.
  • EA push: the helper service intent no longer kills the activity.
  • Syberia: fixed startup and I/O stalls while it loads its data.
  • Returning from background keeps the orientation declared in the manifest.
  • Reading a large file no longer walks the whole heap or calls fstat per read, so loaders and Unity cache staging stop freezing.
  • Minecraft: libmcmusic gets usable addresses from /proc/self/maps.
  • .NET games: a fault handler that returns to the faulting instruction is retried more times before the run is stopped, so Mono can turn it into an exception.