Flash Access

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

Moderators: Shine, Insert_witty_name

Post Reply
Roland35007
Posts: 7
Joined: Sun Jan 07, 2007 11:54 pm

Flash Access

Post by Roland35007 »

Hi

Somewhere I read that in LuaPlayer, I should be able to read flash0:
but when I say

old = System.currentDirectory("flash0:/")
and I ask for a filelist, I get all the files in the appPath. This also happens with flash1:

I try to use sysext but whatever function I try to use, I always get nil value error, so I think the extension doesn't get loaded. For example

System.quit()

complains that quit is a nil value.
Another possibility is that it doesn't load. I put the file in PSP/GAME150/luaplayer with all the other prx files.

I also put it in the system/library (copy). I load it with

sysext = loadlib("sysext","init")
if sysext then sysext() end

but it doesn't work. I use 3.03 OE A' with luaplayer 0.2.
Anyone have suggestions?

Cheerio!
Post Reply