Usage: <lua-interperter> oric_tst5.lua <filename>.<ext>
- <lua-intepreter> is the lua interpreter you want to use (LuaJIT.exe for instance under windows)
- <filename>.<ext> is the full path to the picture you want to convert
I'll also produce a <filename>.sap.bmp file next to the source to allow easy viewing of the result without an oric emulator.
Typical usage under Cygwin:
Code: Select all
for i in c:/path/to/folder/*; do ./luajit.exe oric_tst5.lua "$i"; done
 I did not provide it in the ZIP because it is about 5Mb compressed and I'm not sure the forum can handle such a huge attachment. Pick the one from ImageMagick-7.0.8-64-portable-Q16-x86.zip for windows (exe is ~12Mb, but it can convert almost all files to BMP and is stand-alone).
 LuaJIT.exe: a small 32bits exe for windows. Linux guys do usually have LUA already installed or can compile LuaJIT easily.