07-19-2013, 02:05 PM
|
#27
|
no
Join Date: Jan 2004
Age: 33
Posts: 1,850
|
Re: .sm to .dwi converter
Quote:
Originally Posted by Silvuh
I don't know how to make the executable show a pop-up if it catches something that FFR doesn't support in a file, but that should be something the stepartist should check before sending the file in.
|
i'm not really worried about this yet. in terms of lua, my approach is probably going to be something along the lines of returning data about the conversion process in a lua table to c and using c to handle said data.
Quote:
Originally Posted by Silvuh
... And I don't know how to search directories and files and stuff in Lua
|
http://keplerproject.github.io/luafilesystem/
lua doesn't offer as extensive of a file io library as ruby because it is designed to only include what is maximally portable. luafilesystem isn't quite as portable as the base io libraries, so that's why it isn't included in the standard lua libraries. it will offer all of the functionality i need, though.
|
|
|