Skip to content

v0.1.0 — Initial Android arm64 static recompilation

Choose a tag to compare

@zwaetschge zwaetschge released this 26 Nov 05:53
· 1 commit to main since this release

First public source release of A Hat in Time – Android port (build it yourself).

No prebuilt APK is attached and no game files are included. Build the APK yourself from your own legally acquired PC copy using ./build.sh "/path/to/A Hat in Time".

Highlights

  • Static x86-64 → C → ARM64 recompilation of Binaries/Win64/HatinTimeGame.exe (48,095 functions across 126 generated C units, 0 lift errors; SHA-256 0197f98641c2150c5e90e5e911f4464e38527c241e50817736ca7072c0b99892).
  • Direct3D 9 SM3 backend over DXVK Native 1.9.2b (Vulkan 1.1) with persistent Adreno VkPipelineCache, lock-free dxvk-async pipeline compilation, and AArch64 C++ member-pointer ABI support.
  • Native XAudio2.7 COM mixer + stb_vorbis Ogg Vorbis audio on SDL3 (48 kHz stereo).
  • Native C lzo1x_decompress_safe override (0x140001050), verified byte-for-byte against the lifted code (~5× faster startup).
  • Physical gamepad support (XInput via SDL3), on-screen PadView, touch menu support, FileChannel ZIP/ZIP64 & SAF folder importer, and synchronous Android background/resume lifecycle.
  • Verified on AYN Odin 3 (Snapdragon 8 Elite / Adreno 830, 1280×720): steady 59.6–60.0 fps across intro, 3D title screen (incl. Seal the Deal & Nyakuza Metro), file select, and Spaceship gameplay (p50 = 16.6–17.1 ms, 0 frames ≥ 30 ms steady-state).