LunaLua - LunaDLL with Lua, is a free extension for SMBX game engine
C++ Lua Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this 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
LuaScriptsLib Implement 'nowaterphysics' NPC config Apr 26, 2017
LuaScriptsLibExt Revise the new version of npcconfig Apr 26, 2017
LunaDll Add onBlockHit Aug 1, 2018
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
luadoc First version of LunaLua luadocs Apr 30, 2015
.gitattributes Update .gitattributes Jan 6, 2017
LICENSE Initial commit Sep 8, 2014
LunaDll.sln Compiler has been changed to MSVC2015 Nov 3, 2015 Update Aug 4, 2017
TODO.txt Finally fixed unicode paths trouble Mar 24, 2016
appveyor.yml Update appveyor.yml Mar 11, 2017
build.bat Fix build.bat for MSVS 2015 Jan 2, 2016
deploy-full.bat Add deploy-full.bat which includes LuaScriptsLibExt Dec 14, 2016


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!