This is the first and working attempt to backport the LunaDLL Autocode engine as a native part of TheXTech. The SMBX memory emulator is also has been implemented to make scripts with mem commands work. The thing is not fully ready and needs some debugging at more amount of existing levels and episodes, but even now, the thing works fine. This build runs on Linux Mint 20.3 x86_64. In the past, LunaDLL was a hacking module used to modify the SMBX engine without having the source code. Now, these add-ons became a native part of TheXTech. At the moment of this video, code isn't at the mainstream branch yet but can be retrieved at the "wip-memory-emulator" to see how the thing was been implemented.
The level I played here is from the "A2MBXT, Episode 1: Analog Funk" game. I took the "Science Final Battle" level as one of the best examples to show as much as possible working at LunaDLL Autocode. With Autocode I also backported level-specific C++ codes. They will keep here until a suitable lua engine will be done to replace them.
收起