How ravi9733/glue5-android works
Glue 5 recompiles user-supplied GTA V WebAssembly game code into a native app and supplies the host compatibility layer. The main workflow is app launch and game-file selection, native game execution through runtime imports, and rendering through the GPU backend; users can also stream files, play online, and manage mods through Studio. The graph preserves these documented capabilities and central modules. Some connections are documented at package level; unsampled implementation details are not asserted.
Main entry points: app.rs App and Event Loop · lib.rs Host Runtime · pipeline.rs Render Pipelines · engine.rs Mod Engine
Components 24
Application
- App and Event Loop
crates/glue5/src/app.rs - Launcher UI
crates/glue5/src/ui.rs - Home and Settings
crates/glue5/src/ui/pages.rs - Touch Controls
crates/glue5/src/touch.rs - App Settings
crates/glue5/src/settings.rs - Game Paths
crates/glue5/src/paths.rs - Game Sharing
crates/glue5/src/sharing.rs
Game Runtime
- Recompiled Game
crates/glue5-game/src/lib.rs - Host Runtime
crates/glue5-runtime/src/lib.rs - WASM Memory
crates/glue5-runtime/src/memory.rs
Graphics
- GPU Renderer
crates/glue5-gpu/src/lib.rs - GPU Formats
crates/glue5-gpu/src/format.rs - Render Pipelines
crates/glue5-gpu/src/pipeline.rs - Shader Translation
crates/glue5-gpu/src/shader.rs
Network and Social
- File Streaming
crates/glue5-stream/src/client.rs - File Catalog
crates/glue5-stream/src/catalog.rs - Friends Service
crates/glue5-runtime/src/friends/mod.rs - Peer Networking
crates/glue5-runtime/src/p2p.rs - Peer Discovery
crates/glue5-runtime/src/dht.rs - Online Services
crates/glue5-runtime/src/online.rs
Mods and Studio
- Mod Engine
crates/glue5-mods/src/engine.rs - Game Natives
crates/glue5-mods/src/natives.rs - Studio IDE
crates/glue5-studio/src/lib.rs
Other components
- Player
Connections 22
- Player → App and Event Loop: launches
README.md - App and Event Loop → Launcher UI: shows
crates/glue5/src/app.rs - Launcher UI → Home and Settings: renders
crates/glue5/src/ui.rs - App and Event Loop → App Settings: loads and saves
crates/glue5/src/app.rs - App and Event Loop → Game Paths: resolves game files
crates/glue5/src/app.rs - App and Event Loop → Touch Controls: handles input
crates/glue5/src/app.rs - App and Event Loop → Recompiled Game: starts
README.md - Recompiled Game → Host Runtime: uses host imports
README.md - Host Runtime → GPU Renderer: submits rendering
README.md - GPU Renderer → Render Pipelines: executes draws
crates/glue5-gpu/src/lib.rs - Render Pipelines → Shader Translation: builds variants
crates/glue5-gpu/src/pipeline.rs - Render Pipelines → GPU Formats: uses formats
crates/glue5-gpu/src/pipeline.rs - Host Runtime → WASM Memory: manages shared memory
crates/glue5-runtime/src/lib.rs - App and Event Loop → File Streaming: configures streamed files
README.md - File Streaming → File Catalog: uses file catalog
crates/glue5-stream/src/client.rs - Host Runtime → Friends Service: provides social features
README.md - Friends Service → Peer Networking: uses peer transport
crates/glue5-runtime/src/friends/mod.rs - Peer Networking → Peer Discovery: uses discovery
crates/glue5-runtime/src/p2p.rs - Host Runtime → Online Services: provides online support
README.md - Host Runtime → Mod Engine: hosts script threads
README.md - Mod Engine → Game Natives: invokes game natives
crates/glue5-mods/src/engine.rs - Mod Engine → Studio IDE: serves IDE
README.md