autoplay2c Overview


A small utility that allows the AMS8 or Lua developer to transpile Lua code into C code and automatically compile that C code into a Lua module. This tool, based on lua2c, completely translates Lua to a Lua AST, then translates that AST to a C AST and generates C code from that final translation step.

It can be used to add a layer of difficulty in reverse engineering AMS8 applications to Lua source code, as the Lua source code is gone.

self-hosted tracking/analytics pixel without sharing your data to other parties.



Filename Version / Changelog  
autoplay2c-win32- Sun 09 Oct 2022, version - View changes.
  • Changed: all compiler options are now under the "Options" button next to the "Compile" button
  • Fixed: Generate intermediate files checkbox state was not stored as project setting
  • Added: Object serialization (no more objects in _proj.dat)
  • Added: Object serialization exclusion rules (exclude object types or specific objects from serialization)
  • Added: Generate code to imitate TAB-order where possible, which is not entirely the same due to AMS limitations
  • Added: Generate code to also automatically add items from the AMS environment to serialized objects, where applicable
  • Added: Feature to replace references to AutoPlay directory with a directory of choice
x Download
autoplay2c-win32- Sun 25 Sep 2022, version - View changes.
  • Comment: initial release as zip
x Download

Additional Information

Please click the 'help' label on the main application screen to read how to use the application. This help dialog also shows you the limitations of lua2c.

Compatibility Information

This application runs on any Windows based OS after Windows 2000, using either a x86 (32bit) or a x64 (64bit) setup.