Repository navigation
Releases
Releases · zwaetschge/hatintime-android
A Hat in Time Android 0.2.0 (Clean-Room Lazy JIT Edition)
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 compilesBinaries/Win64/HatinTimeGame.exedirectly 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/463imports bound at runtime,0unimplemented) while keeping the native Clzo1x_decompress_safeoverride (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.
- Embeds an on-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.
- Full automatic English (
- Verification:
- Clean-room APK audit:
3,881,080bytes,0lifted symbols, signed with matching key (versionCode: 2). - End-to-end Lazy JIT cold & warm-cache boot verified (
15,707cached +4,096+functions compiled cleanly throughXAudio2,stb_vorbis, and DXVK D3D9CreateDevice1280×720with0errors). - AOT static build mode remains available via
./build.sh "/path/to/A Hat in Time".
- Clean-room APK audit:
SHA-256
446c0e1683c43d826643359c9c38ebec04fe2f6610b3546153cb8f73e0d10438 HatInTime-Android-Lazy-0.2.0.apk
v0.1.0 — Initial Android arm64 static recompilation
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-2560197f98641c2150c5e90e5e911f4464e38527c241e50817736ca7072c0b99892). - Direct3D 9 SM3 backend over DXVK Native 1.9.2b (Vulkan 1.1) with persistent Adreno
VkPipelineCache, lock-freedxvk-asyncpipeline compilation, and AArch64 C++ member-pointer ABI support. - Native XAudio2.7 COM mixer +
stb_vorbisOgg Vorbis audio on SDL3 (48 kHz stereo). - Native C
lzo1x_decompress_safeoverride (0x140001050), verified byte-for-byte against the lifted code (~5× faster startup). - Physical gamepad support (XInput via SDL3), on-screen
PadView, touch menu support,FileChannelZIP/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,0frames ≥ 30 ms steady-state).