View Single Post
Old 07-19-2013, 02:05 PM   #27
Fission
no
Simfile JudgeFFR Simfile AuthorFFR Veteran
 
Fission's Avatar
 
Join Date: Jan 2004
Age: 33
Posts: 1,850
Default Re: .sm to .dwi converter

Quote:
Originally Posted by Silvuh View Post
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 View Post
... 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.
Fission is offline   Reply With Quote