Skip to content

A Hat in Time Android 0.2.0 (Clean-Room Lazy JIT Edition)

Latest

Choose a tag to compare

@zwaetschge zwaetschge released this 04 Dec 22:05

0.2.0 – Clean-Room On-Device Cranelift Lazy JIT Edition

  • Clean-Room Prebuilt APK (HatInTime-Android-Lazy-0.2.0.apk, 3.7 MiB, zero game code):
    • Embeds an on-device iced-x86 + Cranelift (0.138) ARM64 JIT (jit/, libhatjit.a) that compiles Binaries/Win64/HatinTimeGame.exe directly on your Android device at runtime with a persistent disk code cache (user/jit_cache/) and W^X-safe concurrent code emission.
    • Dynamic Win64 PE Import Directory (DataDirectory[1]) binding (463/463 imports bound at runtime, 0 unimplemented) while keeping the native C lzo1x_decompress_safe override (0x140001050) active.
    • Zero copyrighted game bytes or assets are shipped in this APK — install it directly and import your own legally acquired PC copy (Binaries/Win64/HatinTimeGame.exe, Engine/, HatinTimeGame/) on the device.
  • Bilingual Launcher (English + German) & JIT Cache Control:
    • Full automatic English (values/strings.xml) and German (values-de/strings.xml) localization across the launcher, SAF folder importer, and ZIP/ZIP64 unpacker.
    • Added a one-tap Clear JIT Cache button with live cache size readout and version-agnostic PC EXE import in Lazy JIT mode.
  • Verification:
    • Clean-room APK audit: 3,881,080 bytes, 0 lifted symbols, signed with matching key (versionCode: 2).
    • End-to-end Lazy JIT cold & warm-cache boot verified (15,707 cached + 4,096+ functions compiled cleanly through XAudio2, stb_vorbis, and DXVK D3D9 CreateDevice 1280×720 with 0 errors).
    • AOT static build mode remains available via ./build.sh "/path/to/A Hat in Time".

SHA-256

446c0e1683c43d826643359c9c38ebec04fe2f6610b3546153cb8f73e0d10438  HatInTime-Android-Lazy-0.2.0.apk