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 

Lua coding sempilfication

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



Joined: 27 Dec 2005
Posts: 27

PostPosted: Tue Dec 27, 2005 9:09 pm    Post subject: Lua coding sempilfication Reply with quote

Hi all,
I'm a noob in Lua coding, I started out with it only for PSP reason.
I have alittle question: is there a method to put the file on the psp without putting it in usb mode via dashboard, trasfer the file, start the palyer, see the errors?
Thanks all
Back to top
View user's profile Send private message
romero126



Joined: 24 Dec 2005
Posts: 200

PostPosted: Tue Dec 27, 2005 10:30 pm    Post subject: Reply with quote

The Lowser file browser has a LTrigger button that you can use to put it into USB Mode. Also refer to http://wiki.ps2dev.org/psp:lua_player for more information about the built in commands through the LUA Player.

some of which are
System.usbDiskModeActivate()
System.usbDiskModeDeactivate()

Which might be helpfull to you.

Just a reminder. If you do not turn off the USB device you can possibly crash your PSP causing you manually restart your PSP. (Only noticed that in 2.0 [through the Eboot loader by fanjta])
Back to top
View user's profile Send private message
swordman



Joined: 27 Dec 2005
Posts: 27

PostPosted: Tue Dec 27, 2005 11:08 pm    Post subject: Reply with quote

Thanks a lot!
I tried something like leave the psp usb ON by FileAssistant and then code directly to the memory stik.
To test the code I started via fileAssistant the luaplayer, but all crached.
Sigh
Back to top
View user's profile Send private message
romero126



Joined: 24 Dec 2005
Posts: 200

PostPosted: Tue Dec 27, 2005 11:50 pm    Post subject: Reply with quote

If there are any errors in the code the file will not load, and will error out.
Back to top
View user's profile Send private message
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