lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Ivan Kolev wrote:
And what about glueing several Lua modules together into a common .exe? How would they find and load each other?

This is quite tricky, I guess you should paste the included files into the main file.

And what about compressing them into a .zip file and attaching that file to the exe? Maybe http://luaforge.net/projects/luazip/ would help here?

Well, you have to have a quite large Lua script to make it worth including the unzipping library... That, or a lot of Lua data, like the guy putting binary image data in Ascii form.

--
Philippe Lhoste
--  (near) Paris -- France
--  Professional programmer and amateur artist
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --