To run CHDK scripts under Windows, hostlua used from CHDK-trunk/tools/hostlua.
This is a Lua compiler with the special features of CHDK, such as integer
or limited mathematical functions. Deposited are not camera-specific functions.
These are largely supplemented by an emulator script.