HELP: Creating Directories?

Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
NovaCaine
Posts: 34
Joined: Tue Dec 20, 2005 3:31 pm
Location: New Zealand
Contact:

HELP: Creating Directories?

Post by NovaCaine »

Hey all,

Just starting to play around with my PSP now, am looking at making a small file browser. Was wondering if there is support for creating new directories, and if so how to go about doing so.

Also I'm having problems running the USB, IRDA and WLAN demos. they keep freezing up when i try to run them. I'm running v2.0 on my PSP (have to otherwise I can't play GTA:LCS :P)

Thanks in advance for the help.
User avatar
JoshDB
Posts: 87
Joined: Wed Oct 05, 2005 3:54 am

Post by JoshDB »

Also I'm having problems running the USB, IRDA and WLAN demos.
No kernel-mode related commands are allowed on 2.0 and above as of yet.
NovaCaine
Posts: 34
Joined: Tue Dec 20, 2005 3:31 pm
Location: New Zealand
Contact:

Post by NovaCaine »

Thanks for that JoshDB.

But does anyone know how to create new directories?
User avatar
JoshDB
Posts: 87
Joined: Wed Oct 05, 2005 3:54 am

Post by JoshDB »

LUA (as far as I know) doesn't have file-handling capabilities. I'll go Google it an return shortly.

EDIT: Yep, what I thought is correct as far as I can see. Open, read, write, and rename are what I see.
NovaCaine
Posts: 34
Joined: Tue Dec 20, 2005 3:31 pm
Location: New Zealand
Contact:

Post by NovaCaine »

You missed one

http://www.steve.org.uk/Software/lua-fs/

I'm unsure if it will work wil Lua on the PSP, about to find out thou...


Will post my results.

Thanks again for the reply
NovaCaine
Posts: 34
Joined: Tue Dec 20, 2005 3:31 pm
Location: New Zealand
Contact:

Post by NovaCaine »

Cant seem to compile it nicely with luaplayer, but the code I want is easy enough.. Now if I can only get LuaPlayer to run on my v2.0 PSP
Post Reply