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 

System.listDirectory() in luaplayer for windows

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



Joined: 18 Nov 2005
Posts: 30
Location: France

PostPosted: Mon Nov 21, 2005 11:50 pm    Post subject: System.listDirectory() in luaplayer for windows Reply with quote

Hi,

Need some help.
I can't get the System.listDirectory() to be working when using the luaplayer for windows (I have version 0.13 but was also not working in 0.12)
Do I have to set up some parameters?
Would be nice to have it otherwise I will have to make all the debugging on the PSP.

Thanks.
Back to top
View user's profile Send private message Visit poster's website
Shine



Joined: 03 Dec 2004
Posts: 728
Location: Germany

PostPosted: Mon Nov 21, 2005 11:55 pm    Post subject: Re: System.listDirectory() in luaplayer for windows Reply with quote

cancan wrote:

I can't get the System.listDirectory() to be working when using the luaplayer for windows (I have version 0.13 but was also not working in 0.12)
Do I have to set up some parameters?
Would be nice to have it otherwise I will have to make all the debugging on the PSP.


Sorry, currently it is not implemented. Perhaps the new PSPSDK supports the standard Unix directory listing functions, then it would be a good idea to change luasystem.cpp to use this, instead of the PSP functions and it should work automaticly for the Windows version, too. If not, someone has to improve emulator.cpp and implement wrappers for sceDOpen etc.

I have no time until next weekend, but if someone send me a patch, I'll release a new version earlier (and with the new IRDA support, which is already in SVN).
Back to top
View user's profile Send private message
cancan



Joined: 18 Nov 2005
Posts: 30
Location: France

PostPosted: Tue Nov 22, 2005 12:07 am    Post subject: Reply with quote

Thank you for the quick reply.
Back to top
View user's profile Send private message Visit poster's website
sweetlilmre



Joined: 01 Oct 2005
Posts: 27

PostPosted: Wed Nov 23, 2005 1:37 am    Post subject: Reply with quote

This was on my list of things to do.
Wife permitting ( :) ) I'll try and fix it and checkin by Friday
-(e)
Back to top
View user's profile Send private message
cancan



Joined: 18 Nov 2005
Posts: 30
Location: France

PostPosted: Wed Nov 23, 2005 9:30 pm    Post subject: Reply with quote

Sounds good.
Thank you (and your wife for giving you the time to do it ;o) )
Back to top
View user's profile Send private message Visit poster's website
sweetlilmre



Joined: 01 Oct 2005
Posts: 27

PostPosted: Thu Nov 24, 2005 1:57 am    Post subject: Reply with quote

Done, see the SVN Update post I made.
-(e)
Back to top
View user's profile Send private message
cancan



Joined: 18 Nov 2005
Posts: 30
Location: France

PostPosted: Thu Nov 24, 2005 6:40 am    Post subject: Reply with quote

Cool, thanks
Will try asap

Oups, must wait until the compile object is available.
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