explaingit

xefinity/monetloadeross

22CAudience · developerComplexity · 4/5Setup · hard

TLDR

A native Android library that loads Lua scripts into GTA: San Andreas and SAMP on Android, aiming for compatibility with the PC modding tool MoonLoader so mobile scripts feel familiar to existing PC mod authors.

Mindmap

mindmap
  root((MonetLoader Android))
    What it does
      Android Lua loader
      GTA SA modding
      SAMP support
    Tech stack
      C
      Android NDK
      Lua
      ImGui
    Use cases
      Mobile mod scripting
      Port PC mods
      Custom game UI
    Audience
      Game modders
      Mobile developers
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Run PC-style GTA San Andreas Lua mods on Android using the MoonLoader-compatible scripting environment.

USE CASE 2

Create custom game modifications for the Android version of SAMP with ImGui-based overlay menus written in Lua.

USE CASE 3

Build and deploy the loader to your Android device using the NDK toolchain, then load custom Lua scripts from external storage.

USE CASE 4

Use the bundled example scripts as a reference starting point for writing your own GTA SA Android mods.

Tech stack

CAndroid NDKLuaImGui

Getting it running

Difficulty · hard Time to first run · 1day+

Requires an Android NDK build environment to compile, the Lua scripting API is not yet documented in the README.

No license information is provided in the explanation.

In plain English

MonetLoader is a tool that lets Android users run Lua scripts inside GTA: San Andreas, including the mobile version of San Andreas Multiplayer (SAMP). Lua is a lightweight scripting language widely used for game mods, and this project acts as the bridge that loads those scripts into the game at runtime on Android devices. The project aims to keep its Lua script support as compatible as possible with MoonLoader, which is the equivalent tool for the PC version of the game. That goal means mobile scripts can be written in a style similar to PC mods, reducing the need to rewrite them from scratch for the Android platform. From a technical standpoint, the source code is organized into several areas: the core loader, game-specific hooks for GTA and SAMP, a UI layer based on the ImGui library, the main script runtime engine, and a collection of bundled Lua modules. Packaged Lua libraries are included in the distribution folder, and example scripts are provided for reference. Building the project requires an Android NDK environment, the standard toolkit for compiling native Android code. You configure the build system with the appropriate toolchain settings, run the build, then deploy the resulting library file to external storage on the device alongside a Lua runtime binary and the bundled script data. The README is brief and covers code layout and build steps, but does not describe the available Lua scripting API or document which specific MoonLoader features are and are not supported on the mobile platform.

Copy-paste prompts

Prompt 1
I have monetloadeross deployed on my Android device. Write me a basic Lua script for GTA SA on Android that uses ImGui to show a simple overlay menu when I press a key.
Prompt 2
I'm porting a MoonLoader PC script to Android using monetloadeross. What differences should I expect between the PC and mobile Lua APIs based on the README?
Prompt 3
Walk me through the Android NDK build process for monetloadeross, what toolchain settings do I configure and how do I copy the library to external storage?
Prompt 4
Explain the structure of the monetloadeross codebase: what do the core loader, GTA game hooks, SAMP hooks, and script runtime each handle?
Open on GitHub → Explain another repo

← xefinity on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.