forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

HELP: Creating Directories?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
NovaCaine



Joined: 20 Dec 2005
Posts: 34
Location: New Zealand

PostPosted: Tue Dec 20, 2005 3:41 pm    Post subject: HELP: Creating Directories? Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
JoshDB



Joined: 05 Oct 2005
Posts: 87

PostPosted: Wed Dec 21, 2005 2:04 am    Post subject: Reply with quote

Quote:
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.
Back to top
View user's profile Send private message Send e-mail AIM Address
NovaCaine



Joined: 20 Dec 2005
Posts: 34
Location: New Zealand

PostPosted: Wed Dec 21, 2005 7:39 am    Post subject: Reply with quote

Thanks for that JoshDB.

But does anyone know how to create new directories?
Back to top
View user's profile Send private message Visit poster's website
JoshDB



Joined: 05 Oct 2005
Posts: 87

PostPosted: Wed Dec 21, 2005 7:50 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail AIM Address
NovaCaine



Joined: 20 Dec 2005
Posts: 34
Location: New Zealand

PostPosted: Wed Dec 21, 2005 8:53 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
NovaCaine



Joined: 20 Dec 2005
Posts: 34
Location: New Zealand

PostPosted: Wed Dec 21, 2005 3:11 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group