RVGL Lua Modloader

  • Download count 12
  • Pageviews 173
  • Unique foldername
  • Skin for
  • Track Mod for
  • Based on
  • Release date 2026-04-04
  • Version from
  • Version
  • RVW-ID 46561
  • Category
  • Score
    100/100 (4 votes)
  • Unconventional car?
  • Construction
  • Engine
  • Transmission
  • Top speed mph
  • Total weight kg
  • Acceleration m/s²
  • Construction
  • Track difficulty
  • Track length m
  • Reverse version available?
  • Time trial times available?
  • Practice mode star available?
  • Online multiplayer compatible?

    After Years of playing around with the idea of "modding" RVGL to add custom modes in it (and more) I finally came up with something I decided was worth releasing. This modification adds Lua script support to RVGL, this allows anyone to make custom scripts for the game!

    IMPORTANT! Before you start:
    1) This modification ONLY works with this specific version of RVGL: Build 23.1030a1 - win64
    link to this RVGL version: https://forum.rvgl.org/viewtopic.php?t=1642&sid=af8290180e4e212cd0e7ea393db88950
    2) This modification will NOT work in multiplayer. If you regularly play online multiplayer it is strongly recommended to create a separate installation of RVGL
    3) This project is still very incomplete, so the stuff you can do with it is limited (better than nothing i guess) and bugs/crashes are to be expected.
    4) This modification will almost certainly trigger your antivirus because it does runtime memory patching to interface with the game engine.
    5) For transparency sake, this project was AI assisted.

    _________________________________
    How to install the modloader:
    1) go in your RVGL game folder and rename your SDL2.dll in SDL2_real.dll
    2) drag and drop the content of the "modloader" folder inside your RVGL game folder
    3) the modloader is now installed! (to check if it worked, open RVGL.exe and it should display a yellow text on the top right corner of the screen saying "No scrpits loaded")

    _________________________________
    How to install mods:
    1) put the lua script of the mod you want to install inside the "mods" folder in your RVGL game folder (there are some example mods you can test in the "other_files" folder if you want to try)
    2) the mod is now installed! if you want to unistall it just remove the lua file from the "mods" folder.

    _________________________________
    How to make mods:
    1) in the "other_files" folder there is a file called "modloader_functions_documentation.txt" it containes a list of all functions and callbacks (with short descriptions on what they do) currently available to be used to make your mod
    2) also inside "other_files" there are some example scripts you can study and/or edit to get started with your mod creation

    _________________________________
    How to unistall the modloader:
    1) go in your RVGL game folder and delete SDL2.dll
    2) rename SDL2_real.dll in SDL2.dll
    3) the modloader is now uninstalled!

    _________________________________
    Additional special commands added by the modloader:
    Ctrl + M to refresh all the loaded scripts (DEV mode only).
    Hold F9 while executing RVGL.exe to launch it without loading any script.


1 comment on “RVGL Lua Modloader

Leave a comment