Roblox ModLoader is a powerful mod loader for Roblox Studio, enabling developers to load custom mods (DLLs and Luau scripts) into Studio for enhanced functionality, automation, and experimentation.
- Features
- Installation
- Building from Source
- Usage
- Mod Development
- Configuration
- Logging
- Troubleshooting
- Contributing
- License
- Keywords
- Load C++ DLL mods and Luau scripts into Roblox Studio
- Hot-reload mods and scripts (debug mode)
- Custom mod configuration via TOML files
- Logging to file and console (configurable)
- Event system for mod communication
- Script scheduling and sandboxing
- Example mods provided
-
Download the Latest Release
- Go to the releases page
- Download the latest
roblox-modloader-<version>.zip
-
Extract Files
- Extract the contents to a folder of your choice
-
Run the Installer
- Run
ROBLOX Mod Loader.exe - Click
Installand follow the instructions
- Run
-
Open Roblox Studio
- Launch Roblox Studio
-
Open Mods Folder
- In Studio, go to
Plugins→ROBLOX Mod Loader→Open Mods Folder
- In Studio, go to
-
Add Mods
- Place your mods (DLLs, scripts, configs) in the opened folder
- CMake >= 3.22.1
- Visual Studio 2022 or Clang (Windows)
- Ninja (recommended for fast builds)
- Git (for submodules)
- Roblox Studio (for testing)
-
Clone the Repository
git clone --recursive https://github.com/iRevolutionDev/roblox-modloader.git cd roblox-modloader -
Configure the Project
cmake -B build -G "Ninja" -
Build
cmake --build build --parallel
-
(Optional) Run Tests
ctest --test-dir build
-
Find Output
- DLL:
build/Release/roblox_modloader.dll - PDB:
build/Release/roblox_modloader.pdb
- DLL:
- Place
roblox_modloader.dllin the appropriate folder as instructed by the installer. - Mods should be placed in
RobloxModLoader/mods/(DLLs, scripts, configs). - Example mods are available in
examples/.
- Create a new folder in
examples/(e.g.,my_mod/) - Add a
main.cppimplementing a class derived frommod_base - Use the provided CMake functions to build your mod as a DLL
- Place
.luaor.luauscripts in thescripts/subfolder of your mod directory - Reference scripts in your mod's
mod.tomlconfiguration
- Each mod should have a
mod.tomlfile describing metadata and settings:name = "My Mod" version = "1.0.0" author = "Your Name" description = "Description of your mod" [runtime] enabled = true auto_load = true priority = 0 dependencies_path = "deps/" [resources] max_memory_usage = 104857600 max_execution_time_ms = 1000 assets_path = "assets/"
- Core configuration is stored in
RobloxModLoader/config.toml - Mod configurations are stored in each mod's folder as
mod.toml - See
include/RobloxModLoader/config/config_helpers.hppfor available config options
- Logs are written to the directory specified in the config (
log_directory) - Console logging can be enabled/disabled via config
- Log retention and max log files are configurable
- DLL Not Loading: Ensure the DLL is in the correct folder and built for the right architecture.
- Mod Not Detected: Check
mod.tomlfor errors and ensureenabled = true. - Script Errors: Review logs in the log directory for details.
- Build Issues: Make sure all dependencies are fetched and CMake version is correct.
- Fork the repository and submit pull requests
- See CONTRIBUTING.md for guidelines
- See LICENSE for details
Roblox, ModLoader, Studio, DLL, Luau, C++, CMake, Ninja, Plugins, Scripting, TOML, Logging, Hot Reload, Event System, Configuration, Example Mods, Native Mods, Script Mods, Automation, Sandbox, Security, Performance, Debugging, Release, Build, Artifacts,