FableDroid

FableDroid is a native Android port of Fable II, recompiling its Xbox 360 code to C++ and translating GPU commands to Vulkan.

README

FableDroid

Fable II, running natively on Android.

FableDroid is an Android port of the Fable 2 ReXGlue recompilation. The game's Xbox 360 PowerPC code is statically recompiled to C++ and built for arm64. Xbox 360 GPU commands are translated to Vulkan. Nothing is emulated instruction by instruction: the game runs as a native Android app.

Bring your own game. FableDroid contains no game content. You supply a disc image (ISO) of a Fable II version you own, and the launcher installs it on the device.

This project does not condone piracy. Any mention of or link to pirated copies will be removed and will get you banned from the repository.

Hero and dog at the forest camp, AYN Thor Running through the forest, AYN Thor


Status

Playable and stable. About 99% of the game's code is now decompiled to native code (59,958 of 60,481 functions). On a Snapdragon 8 Gen 2 handheld the game boots, loads saves and plays the full forest route with no crashes, at about 57 FPS with the new 60 FPS option or a steady 30 FPS at the default cap. A few bugs remain (see Known issues). This is an unofficial fan project.

Version0.9.0
Decompiled to native code99.14% (59,958 / 60,481 functions): game code 99.54%, library code 98.47%
Primary test deviceAYN Thor, Snapdragon 8 Gen 2 / Adreno 740, Android 13
PerformanceNative 720p: median about 57 FPS at the 60 FPS setting (lows about 37), or a locked 30 FPS at the default cap
Game versionsFable II Game of the Year: USA/Europe, Germany, France, Italy, Russia, Spain

What it can do

Runs the game natively

  • About 99% of the game's functions are decompiled into readable native C++ and built for arm64; the remaining ~520 still run through the recompiled path and are being rewritten by hand.
  • Vulkan renderer tuned for Adreno 7xx.
  • Frame rate setting: 30 (the Xbox 360's cap, steadiest), 40 (even pacing on 120 Hz screens) or 60. At 60 an Adreno 740 runs the forest at a median of about 57 FPS at 1x resolution.
  • Persistent shader and pipeline cache. Shaders compile once, then load at startup on later launches.
  • Optional intro-video skip.

Low input latency

  • Low-latency mode (on by default) lets the game queue at most one frame ahead of the GPU. That cut the measured frame-queue delay from 45–55 ms to about 33 ms, with no FPS loss at the 30 FPS cap.
  • High tick rate (on by default) doubles the game's input/logic update rate (15 → 30 Hz, and 30 → 60 Hz for the fast tick). Before this, the 15 Hz tick was the biggest source of input delay.
  • MAILBOX presentation, and controller input is polled within about 4 ms.

Graphics

  • FXAA plus a dithered alpha pattern for grass and foliage, at about the same image quality as the game's own MSAA and much faster on mobile GPUs.
  • Resolution scale 1x (native 1120×720), 2x and 3x.
  • Optional MSAA and triple buffering.
  • GPU driver manager: bundled Mesa Turnip, the system driver, or verified Turnip downloads, with an automatic recommendation based on the detected GPU.

Launcher

  • Installs straight from an Xbox 360 ISO on the device. No PC or extraction tools needed.
  • Detects the game version (SHA-256 of default.xex) and warns about unsupported discs.
  • Checks free space and shows progress. Cancelled or failed installs never leave a half-installed game or touch your saves.
  • One-tap save backup to a ZIP anywhere you choose.
  • Works with touch or a gamepad.

Controls

  • Built-in handheld controls, Bluetooth and USB gamepads work out of the box.
  • Controller button remapping.
  • On-screen touch controls: two sticks, ABXY, D-pad, bumpers, analog triggers, stick clicks, Start and Back.
  • Touch layout editor: drag, resize (50–250%) or hide any control.
  • Touch mode Auto: touch controls hide when a gamepad connects and return when it disconnects.

Audio

  • Forced stereo output, so dialogue isn't lost in Android's 5.1 downmix.

Launcher Control settings Touch layout editor


Requirements

Android12 (API 31) or newer, 64-bit (arm64-v8a)
GPUVulkan 1.1+. Adreno 7xx strongly recommended (Snapdragon 8 Gen 1 or newer)
RAM8 GB minimum, 12 GB+ recommended
StorageAbout 7 GB for the game files, plus the ISO while installing (about 7.8 GB)
GameAn ISO of a supported Fable II version (below)
Supported game versions
VersionSupported
Game of the Year: USA/EuropeYes (primary test version)
Game of the Year: Germany, France, Italy, Russia, SpainYes
German retail / Title Update 1No
Japan, Asia, Latin AmericaNo

The reference disc is GOTY USA/Europe, ISO SHA-256 685a0d3bea9718812f17bcd155907a5359a548b6d3d8342dd2a6c944f45e35ff. Other dumps of the same version work as long as default.xex matches; the launcher shows which version it detected.


Installing

No PC or build tools needed.

  1. Download the APK from the latest release (FableDroid-0.9.0.apk) on your device and open it. Allow installing from your browser or file manager if Android asks.
  2. Copy your Fable II ISO to the device, for example into Download, over USB, microSD or a network share.
  3. Open the app (it appears as Fable II), tap Select game ISO and choose the file. Installing takes from about 10 seconds to a few minutes depending on storage speed.
  4. When the status card says the game is ready, tap Play.

You can delete the ISO afterwards. The game files live in the app's own storage.

Updating: install the new APK over the old one (0.9.0 installs over 0.6.x as a normal update). Game files, saves and settings are kept. Uninstalling deletes everything, including saves. Use Back up saves first.

Non-Adreno GPUs (Mali, Xclipse, PowerVR): open GPU drivers / downloads and choose System driver. The bundled Turnip driver only supports Adreno.

Full settings, controls, file locations and troubleshooting: android/README.md.


Hardware testing

DeviceSoC / GPUAndroidResult
AYN ThorSnapdragon 8 Gen 2 / Adreno 74013Main test device. 0.9.0 boots, loads saves and plays the full forest route with no crashes. Median about 57 FPS at 1x with the 60 FPS setting (lows about 37); 30 FPS cap holds 29.9 with frame-queue delay about 33 ms.
OnePlus OpenSnapdragon 8 Gen 2 / Adreno 74016 (API 36)Boots and plays on the cover display with touch controls, no crashes. Tested on 2026-10-22, before the latest graphics fixes; not re-benchmarked since.

Other Snapdragon 8 Gen 2 / 8 Gen 3 devices (AYN Odin 2, Retroid Pocket 5, Galaxy S23/S24, OnePlus 11/12…) should behave similarly but haven't been verified. Adreno 8xx (Snapdragon 8 Elite / 8 Elite Gen 5, e.g. AYN Odin 3) and Mali are untested on 0.9.0. Reports are welcome.

How performance was measured

All Thor numbers come from the same save and the same scripted route (walking and turning the camera in the opening forest), sampled over ten 5-second windows after the shader cache was warm, with saves backed up and restored around every run. Settings: 1x resolution, MSAA off, FXAA on, low latency on, high tick rate on, bundled Turnip.

The biggest wins on the way from about 15 FPS to the 30 FPS cap. Each was measured against the build just before it; the benchmark route was tightened along the way, so numbers from different rows aren't directly comparable.

ChangeBefore → after (FPS)
Shader: relaxed zero-multiply handling14.6 → 17.1
Shader: implicit-LOD texture sampling17.1 → 18.1
Shader: cheaper texture-fetch format handling20.3 → 21.5
Game MSAA off, replaced by FXAA + dithered foliage21.7 → 26.9
Upload-first texture path26.9 → 29.6
Skip useless render-target copies before full-screen clears (movement route)23.7 → 29.6

The GPU is still about 97% busy at 30 FPS, so 2x and 3x resolution are far from playable on current handhelds. Details: docs/ANDROID_PERFORMANCE.md.


Known issues

Graphics

  • Item wheel in the on-screen display occasionally draws incorrectly (new in the 0.9.0 native-code builds; under investigation).
  • Hero and dog skin morphing is off by default. Fable II builds aged, scarred and tattooed skin textures on the GPU. A shader translation bug turned these textures black; it is fixed (the texture exponent was read from the wrong fetch-constant word), but morphing stays off until the remaining side effects below are cleared. With it off, the hero and dog use their base skin.
  • Black items in the "take item" preview (opening a chest) were reported on 2026-10-29. The exponent fix above may cover it, but it hasn't been confirmed yet.
  • Corrupted lower screen when the camera is pressed against a wall. (The purple strip along the bottom of the screen is fixed in 0.6.1.)
  • Jumbled loading-screen text seen in some runs with morphing on.
  • Morphing on only: the face can look slightly off, and makeup is not rendered correctly (same limitation as the Xenia patch this setting is based on).

Performance

  • 40 and 60 FPS are experimental: smoother when standing or turning, but walking can cause brief stutters. 30 is the steadiest.
  • Occasional slow frames of 38–54 ms while the GPU is near its limit.
  • Short hitches the first time an area is visited while shaders compile. They go away once cached.
  • 2x and 3x resolution are experimental and well below playable speed.

Other

  • Uninstalling the app deletes saves. Back up first.
  • Triggers and sticks can't be remapped.
  • Only the versions in the table above are supported; others crash or misbehave.

Dungeon scene in 0.6.0 showing the purple strip at the bottom of the frame
A dungeon on the Thor in 0.6.0. The purple strip at the bottom edge is fixed in 0.6.1.


Building from source

Only needed if you want to change the code. You need a Mac (Apple Silicon) or Linux host, the Android SDK with NDK 29.0.14206865, CMake 3.25+, Ninja, JDK 21, Python 3, and a supported default.xex in the project root (code generation reads it at build time).

The ReXGlue SDK submodule is stock rexglue-sdk plus this project's Android changes in thirdparty/rexglue-sdk-android.patch: Android platform support, Vulkan backend fixes and performance work, the shader-cache fix, the texture exponent fix, low-latency frame pacing, forced stereo audio, and libadrenotools for custom driver loading.

git clone https://github.com/hardsilinder/FableDroid.git
cd FableDroid
git submodule update --init --recursive
git -C thirdparty/rexglue-sdk apply ../rexglue-sdk-android.patch

Then follow android/README.md → Building from source: build the host code generator and the Android runtime, build the game library, and package the APK with Gradle.


Credits and licenses

  • Fable II © Microsoft / Lionhead Studios. FableDroid is an unofficial fan project, not affiliated with or endorsed by Microsoft. No game content is distributed.
  • Fable 2 ReXGlue recompilation by Himdo: the desktop recompilation FableDroid is built on. Its original README is in docs/FABLE2_RECOMP_README.md.
  • ReXGlue SDK: recompiler and runtime.
  • Xenia: reference for Xbox 360 GPU behaviour, and the "Disable Texture Morphing" game patch.
  • Mesa Turnip (MIT), libadrenotools (BSD 2-Clause, © Billy Laws), SDL3 (zlib).
  • This project's own code is under the MIT license in LICENSE.
How FableDroid was made

The Android port was directed and play-tested by hardsilinder and written with AI coding agents, which did the coding, on-device testing and debugging. Every result in this README was measured on real hardware.

ModelWork sessionsRole
Claude Opus 5.5 (Anthropic)~23Lead developer. The Android port itself (build system, launcher, ISO installer, touch controls and editor, remapping, driver manager), the Vulkan rendering fixes (missing world and cyan sky, black skin from the texture exponent bug), the performance work that took the game from ~15 FPS to the 30 FPS cap, low-latency frame pacing, the high tick rate and this README.
GPT-6.1 Sol (OpenAI, via ChatGPT/Codex)~29Early Vulkan fixes (unused colour attachments, occlusion-query cleanup), code reviews during the cyan-sky and slowdown investigations (including finding that the transfer-skip diagnostic didn't actually skip transfers), the offline shader and frame-pacing reviews, the swap-timing capture and analyzer, and the save-preserving test harness.
GPT-6 Astra (OpenAI, via ChatGPT/Codex)~15Shader-compilation diagnostics, the frame-timing build and its verification (32 offline tests), and the frames-in-flight comparison that settled on two frames in flight.
Claude Sonnet 5 (Anthropic)2Small supporting tasks.

Session counts are approximate and include short review and status sessions. The commit history shows "claude" as a contributor because some upstream commits were made under Anthropic's shared commit identity.