Skip to content
LunaLua - LunaDLL with Lua, is a free extension for SMBX game engine
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
Analysis Adding some WIP analysis scripts, because why not Jan 6, 2017
GameConfig Added assignNoDestruct and game title can now be patched. Dec 6, 2015
HelpAutocode Stored old Autocode stuff Jan 4, 2015
HelpLua Some more work Oct 14, 2014
LunaHexer Fixed code compatibility with C++ compiler Sep 7, 2016
LunaLoader Merge branch 'master' of Jan 3, 2017
MemoryScanner/MemoryScanner MemoryScanner: Small fix with headers May 22, 2015
ini_examples Oops :P Feb 4, 2015
.gitignore Update SDL Mixer X build May 27, 2018
.gitmodules Replace PGE_File_Formats with a submodule May 10, 2018
LICENSE Initial commit Sep 8, 2014 Append new-added files into project May 15, 2018
build.bat Fixed section management in the new MusicChange calls Sep 12, 2018
deploy.bat Experiment with a FreeImageLite on LunaLUA Jan 10, 2016 Convert all files to space-based indentation Sep 13, 2018


Build status

LunaLua - LunaDLL with Lua is a free extension for SMBX game engine This version is based on LunaDLL ver. 8 with Lua Support.

Quick Overview


  • Increasing of total performance
  • Fixes of some bugs
  • npc-*.txt with decimal numbers will no more crash SMBX with "runtime error 13"
  • fixes a random crash caused by contacting of the mushrooms with a lava blocks
  • OpenGL render support
  • SMBX's audio engine has been replaced with the better and more flexible SDL2_mixer library which also gives to SMBX the internal support of a lots of additional music formats
  • Added PGE's sounds.ini and music.ini support which gives ability to have custom musics (include world map musics!) and custom sound effects per episode.

Download links

Requirements to build LunaLua yourself

Visual Studio 2015 (msvc140 compiler)

Note for Qt Creator IDE

If you wish you edit code via Qt Creator, you still must have Visual Studio because MSVC compiler is required. How to setup building from Qt creator

  • Open project and configure it
  • Go to the "Projects" tab
  • Disable shadow build for both Debug and Release
  • remove ALL items from "Building" and "Cenaring" sections
  • Add into "Building" a special item with: ** Command "build.bat" ** Argument "Debug" for debug build and "Release" argument for release build
  • Add into "Clearing" a special item with "clear.bat" command
  • Try to build project. If you have "MSBuild" in another path, please modify build.bat to take working build!
You can’t perform that action at this time.