Prev Previous Post   Next Post Next
Old 03-26-2010, 01:14 AM
Tetrajak Tetrajak is offline
Join Date: Feb 2010
Location: Oceania
Posts: 124
Default [ Tool ] Lua file search + demo

In between making the graphics for Incandescent, I wanted to see if I could make a function that searched for and returned locations for all .lua files at the location given to it, and the subfolders of the location. The attached is the result of that.

Keep in mind that it only works in the simulator because it uses DOS commands. If someone finds a way of doing it on the device, I'll update this to work on it as well.

What this is useful for is building libraries of level files from folders on the users computer so they can be used on the device without the user having to type on a touch keyboard to locate the files themselves.

At the moment it doesn't deal well with symbols in the folder names (spaces are fine), but it does work with folders that have numbers in their names. If anyone has a solution for the symbol problem, let me know.

Special thanks to ThievingSix for his LUAC, because it was very helpful towards creating this.
Attached Files
File Type: zip (1.3 KB, 135 views)
Reply With Quote

Advertisement [Remove Advertisement]


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 11:33 PM.