How fable2recomp/fable-return-to-albion works
Return to Albion is a native PC/Android remake runtime for Fable II and III, combining statically recompiled game simulation with a new Godot presentation layer. The player supplies game media and title updates; the launcher verifies/extracts inputs and compiles a native payload, then Godot hosts gameplay, rendering, controls, and co-op. The repository also includes asset virtualization, shader translation, and an integrated modding SDK. README documents the broad runtime flow; source excerpts substantiate selected VFS and editor relationships, so unsampled subsystem links are omitted or marked unverified.
Main entry points: GameWorld.cs Godot game runtime · BnkMountPlugin.cs Modding hub and SDK · payload_bridge.h Native payload · engine.rs Recompiler
Components 19
Setup and compilation
- Game media and TU
- Install wizard
Godot/addons/bnk_mount/BnkMountPlugin.cs - Recompiler
rexglue-net/shadow/rexglue-sdk/src/rexnet/core/src/engine.rs
Game runtime
- Native payload
src/runtime/include/core/payload_bridge.h - Godot game runtime
Godot/src/game/GameWorld.cs - Host bridge
Godot/src/host/HostBridge.cs - Fable II hooks
Fable2/src/hooks/src/receive_items_hooks.cpp
Assets and rendering
- Fable II virtual filesystem
Fable2/src/vfs/src/index/open_pipeline.cpp - Fable III virtual filesystem
Fable3/src/vfs - Host asset reader
src/runtime/include/core/host_asset_reader.h - Shader bank pipeline
src/shader/src/shader_sbk_pipeline.cpp
Modding tools
- Modding hub and SDK
Godot/addons/bnk_mount/BnkMountPlugin.cs - Mod value editor
Godot/addons/bnk_mount/EditorModValueService.cs - Mod exporter
Godot/addons/bnk_mount/EditorModExporter.cs - Babel localization
src/formats/src/babel/babel_database.cpp - GDB database
src/formats/src/gdb/gdb_database.cpp
Co-op networking
- RexNet multiplayer
rexglue-net/shadow/rexglue-sdk/src/rexnet/core/src/engine.rs - Local and online co-op
Fable2/src/hooks/src/coop_player_hooks.cpp
Other components
- Player
Connections 19
- Player → Install wizard: selects title
README.md - Game media and TU → Install wizard: provides inputs
README.md - Install wizard → Recompiler: requests recompilation
README.md - Recompiler → Native payload: compiles payload
README.md - Native payload → Godot game runtime: runs with
README.md - Godot game runtime → Host bridge: bridges simulation
Godot/src/host/HostBridge.cs - Native payload → Fable II hooks: uses game hooks
- Native payload → Fable II virtual filesystem: requests assets
- Fable II virtual filesystem → Host asset reader: reads host assets
Fable2/src/vfs/src/index/open_pipeline.cpp - Godot game runtime → Shader bank pipeline: uses translated shaders
- Godot game runtime → Fable III virtual filesystem: loads Fable III assets
- Player → Modding hub and SDK: creates mods
README.md - Modding hub and SDK → Mod value editor: edits values
Godot/addons/bnk_mount/BnkMountPlugin.cs - Modding hub and SDK → Mod exporter: exports packages
Godot/addons/bnk_mount/BnkMountPlugin.cs - Mod value editor → Mod exporter: supplies edits
Godot/addons/bnk_mount/EditorModExporter.cs - Modding hub and SDK → Babel localization: supports overlays
README.md - Modding hub and SDK → GDB database: supports patches
README.md - Godot game runtime → RexNet multiplayer: connects sessions
README.md - Godot game runtime → Local and online co-op: supports local play
README.md