Skip to content

Releases

Assassin's Creed II Android — Direct Lazy JIT Edition (v0.1.1-lazy)

Choose a tag to compare

@zwaetschge zwaetschge released this 03 Dec 22:43

Assassin's Creed II Android — Direct Lazy JIT Edition (v0.1.1-lazy)

100% clean-room ARM64 Android APK (4.0 MB, zero copyrighted game files, zero lifted game code, no PC or Docker build required).

Quick Start (Android)

  1. Download and install AssassinsCreed2-Android-0.1.1-lazy.apk below on your ARM64 Android device (Android 10+, Vulkan 1.1+).
  2. Open AC II Recomp → Import game data, and select your legally owned PC Steam Assassin's Creed II folder (or a ZIP archive of it, ~5.8 GB).
  3. Tap PLAY.
    • Boot #1 transparently decrypts SteamStub 3.1 .text in memory and lazily compiles encountered x86 functions from AssassinsCreedIIGame.exe and binkw32.dll on-device via Cranelift ARM64 JIT into a persistent ASLR-safe cache (acjit-v1) with live progress on screen.
    • Boot #2+ loads compiled native ARM64 code directly from cache in seconds alongside offline Ubisoft Orbit R2 + ServerBox, DXVK-Native Vulkan, and DirectSound 8 / AAudio.

Highlights in v0.1.1-lazy (commit c53f9e7)

  • Clean-room x86-32 → ARM64/x86-64 Lazy JIT (jit/): Rust iced-x86 + Cranelift backend with native 128-bit NEON SIMD lowering, full x87 FPU + MMX support (with non-clobbering x87 fcom/fucom/ftst status-word semantics for Flash UI textboxes & thumbnails), dead-flag elimination, return-address-matching trampoline for jump tables/tail calls/C++ EH (eh_table.inc, 250 wrappers), and on-device JIT of binkw32.dll cinematics.
  • Transparent SteamStub 3.1 + Offline Orbit R2 / ServerBox: Unmodified Steam AssassinsCreedIIGame.exe unpacks in memory (0x00401000..0x01CA5000, .bind excluded from JIT bounds) and runs offline with local savegames and ServerBox mission-step resolution (no Animus white-screen stalls, synchronous D3D9 occlusion queries to prevent 3D flicker).
  • Strict W^X Arena & Persistent Disk Cache (acjit-v1): Android 10–15 SELinux & 16 KiB page compliant (mmap RX -> RW -> RX + ARMv8 icache flush), relocatable Abs8 helper table across ASLR restarts.
  • Updated Lazy Launcher (EN / DE / FR / IT / ES): Shows Lazy JIT edition badge, live on-device compile/cache progress during startup, Clear JIT Cache (with size readout), and Copy Log (100 Lines) under Settings.
  • Expert AOT Mode Preserved: ./build.sh "/path/to/Assassin's Creed 2" continues to build the full ahead-of-time Clang -O1/-O2 APK (v0.1.1 with Flash UI fix & 91 extra catalog functions); ./build.sh --lazy builds this clean-room Lazy JIT APK with zero game inputs.

Verification & Checksum

  • Clean-tree audit: python3 tools/audit_clean_tree.py PASS (209 files clean; 0 game files/binaries/private refs).
  • Clean-room APK check: AssassinsCreed2-Android-0.1.1-lazy.apk (4.0 MB), 0 lifted sub_00* symbols, 16 KiB ELF LOAD alignment (0x4000), apksigner verify v2 PASS.
  • Host end-to-end verified: Boot #1 cold JIT compiled 25,436 functions (46.9 MB cache) through SteamStub 3.1 unpack, CRT, DirectInput8, DirectSound, offline Orbit R2 + ServerBox, DXVK D3D9, UBI_LOGO.bik, Warning_Disclaimer.bik, and Animus 2.0 Title Screen; Boot #2 warm cache loaded all 25,436 functions cleanly at 55.9–57.3 fps during Bink playback with audio (mix peak 0.166, 25,465 unique functions total: 25,300 EXE + 165 binkw32.dll).
  • AArch64 cross-codegen sweep: 25,465 / 25,465 functions compiled to 35.7 MB (37,481,740 bytes) native ARM64 machine code in 22.09 s (0 errors); Rust unit tests 2/2 PASS.
  • Android device runtime testing of the Lazy JIT edition on Snapdragon/Adreno handhelds is open for feedback (use Settings → Copy Log (100 Lines) for any bug report).
31842f8994d3b1e85caf90acac5f268b0cb26cf1bae346082bd24ba715fbb1b7  AssassinsCreed2-Android-0.1.1-lazy.apk