| View previous topic :: View next topic |
| Author |
Message |
swordman
Joined: 27 Dec 2005 Posts: 27
|
Posted: Tue Dec 27, 2005 9:09 pm Post subject: Lua coding sempilfication |
|
|
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 |
|
 |
romero126
Joined: 24 Dec 2005 Posts: 200
|
Posted: Tue Dec 27, 2005 10:30 pm Post subject: |
|
|
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 |
|
 |
swordman
Joined: 27 Dec 2005 Posts: 27
|
Posted: Tue Dec 27, 2005 11:08 pm Post subject: |
|
|
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 |
|
 |
romero126
Joined: 24 Dec 2005 Posts: 200
|
Posted: Tue Dec 27, 2005 11:50 pm Post subject: |
|
|
| If there are any errors in the code the file will not load, and will error out. |
|
| Back to top |
|
 |
|