LunaDLL

LunaDLL is the name of the hex hack of SMBX that gives it the ability to process Autocode TXT scripts.

Kil has written an LunaDLL Tutorial.

History
In 9th of May 2013, a user named kil3 released a hack of SMBX which expands the possibilities of what you can do with SMBX.

Later, he named this hack "LunaDLL" (The name has the origin from the "Luna Tower" level developed by Kil for the "ASMBXT: Prelude To The Stupid" game). With the help of a DLL injection, he forces SMBX to load his code from the DLL he created. In the early versions, there were two hooks: one hook when the level loads and one hook for every frame in a level. With its scripting language, you can make your own modifications.

At end of the year 2014, Kevsoft implemented the lua language support at the LunaDLL causing it renamed into LunaLua, leading LunaDLL Autocode language to become deprecated.

Since the 30th of January 2022, Luna Autocode implemented the latest Dev Build of TheXTech as a native part intending to bring old LunaDLL based projects to work on TheXTech.

Features

 * Levels can be enhanced with scripts, allowing for previously impossible modifications.
 * Simplifies task that was previously hard.
 * Total control over the game.

Limitations

 * The scripting language has a low-level and is less flexible than other languages are. It lacks features such as basic variables. Kevsoft has done efforts to solve this problem.
 * It requires knowledge on direct memory manipulation.

Links

 * First thread of Kil after creation of LunaDLL
 * Official Kil's LunaDLL thread
 * Tutorial: How to download, install and use LunaDLL