Skip to content

0.5.8-mali-alpha-0.8

Pre-release
Pre-release

Choose a tag to compare

@prollynotzjay prollynotzjay released this 11 Oct 04:10
· 43 commits to mali-dimensity-8400 since this release
94f2ad4

Mali Experimental 1 — Dimensity 8400

The first build of LibertyRecompAndroid that runs on ARM Mali GPUs. GTA IV (Xbox 360) runs
natively through static recompilation, with no emulator, using the phone's own Mali Vulkan driver.

⚠️ Experimental pre-release. Tested on one phone only. Expect bugs, crashes and low
performance. If you have a Snapdragon (Adreno) device, use the
original LibertyRecompAndroid instead.

Tested on

  • Xiaomi phone with MediaTek Dimensity 8400 (Mali-G720 MC7)
  • Android 16, Mali driver r49p1

Other Mali / Immortalis GPUs are untested. Reports are welcome.

What works

  • The game installs, boots and runs
  • The world renders with textures; HUD, subtitles, lights and audio work
  • On-screen gamepad and Xbox-layout controllers

Changes for Mali

  • Android build fixes: fallbacks for C++ features missing from the Android NDK
    (std::jthread, floating-point std::from_chars, std::atomic_ref)
  • Clip-distance workaround: Mali drivers lack shaderClipDistance, so the game's shaders are
    adjusted as they load instead of the game refusing to start
  • Texture fix: Mali can't read the game's DXT (BC) compressed textures, which left almost the
    whole world invisible. They're now decoded on load into a format Mali supports.

None of these change anything on Adreno devices.

Known issues

  • Low performance: about 10–25 FPS on the Dimensity 8400, not tuned for Mali yet
  • Some reflections or cut-off geometry may look wrong (clip planes are skipped)
  • Higher memory use, and possible stutter while new textures load
  • Occasional crashes may still happen. Save often.

Requirements

  • An arm64 Android phone with a Mali GPU and Vulkan 1.2, Android 10 or newer
  • Your own USA Xbox 360 GTA IV disc image (.iso) and Title Update 8 (0.0.8.5).
    No game files are included. See the README for setup.
  • About 15 GB free storage during install (about 7 GB afterwards)

Reporting problems

Open an Issue and attach:

  • Android/data/com.libertyrecomp/files/last_launch.txt
  • If the game starts: a log from Play (Debug Log), found in files/debug_logs/

Credits

All the hard work of recompiling GTA IV is by the
Liberty Recompiled team and the
ReXGlue SDK. The Android port is by
vaduur. This fork adds Mali support.

Grand Theft Auto IV is a trademark of Take-Two Interactive. Not affiliated with Rockstar Games.