rudi has provided a great Lua test environment in German CHDK forum:
http://forum.chdk-treff.de/viewtopic.php?f=7&t=2973
You can test CHDK lua scripts on the PC or on the camera. The base is the great editor notepad++ (portable or installed) with the plugin NppExec.
You need a compiled hostlua package, a special batch file, emu.lua and chdkptp.exe. The attachment from the link above contains all the necessary things. A batch file create_config.cmd creates a config file for Notepad++. For more informations translate the text file liesmich.txt from zip file
- You can create a CHDK Lua script in Notepad++ and
- run this local in the console of Notepad++
- run this on the camera
- run this on the camera with output on the Notepad++ console
[li]You can copy files.
[/li][li]You can execute chdkptp scripts[/li]
[/list]
For me is this the best way to write and test Lua scripts.
msl