Lua coding sempilfication

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

Moderators: Shine, Insert_witty_name

Post Reply
swordman
Posts: 27
Joined: Tue Dec 27, 2005 9:04 pm

Lua coding sempilfication

Post by swordman »

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
romero126
Posts: 200
Joined: Sat Dec 24, 2005 2:42 pm

Post by romero126 »

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])
swordman
Posts: 27
Joined: Tue Dec 27, 2005 9:04 pm

Post by swordman »

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
romero126
Posts: 200
Joined: Sat Dec 24, 2005 2:42 pm

Post by romero126 »

If there are any errors in the code the file will not load, and will error out.
Post Reply