Lowser and dofile()

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

Moderators: Shine, Insert_witty_name

Post Reply
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

Lowser and dofile()

Post by LuMo »

heya, i try to modify my game to be compatible with lowser...
well it breaks to blackscreen when i try a dofile()

my game is located at:
K:\PSP\GAME\luaplayer_______________________1\Applications\'mygame'

and i call the file with:
Music.playFile( 'intro.it', true ) --plays intro
dofile("./splash-lp.lua") --luaplayer-splash-screen
so the intro-music starts but black screen
works fine on luaplayerwindows and luaplayer without Applications\'mygame'

so, what do i have to modify to use dofile in lowser?
(i guess you know which folder it uses as default... dont want to try all versions... just to see when i am lucky)

greets
LuMo
cgruber
Posts: 36
Joined: Tue Sep 06, 2005 6:38 am

Post by cgruber »

dofile does work because I use it. What do you have for code in it and the other obvious question are you positive that your path is correct to it?
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

Post by LuMo »

OMG!
shame on me!
seems that i miss a .wav file (would REALLY love a error message when a sound file is missing than turning into blackscreen....)

lp-windows just skipped, luaplayer on psp kills ;)

sorry
someone may delete the post
lumo
PS: thx to cgruber
PPS: screenshots coming soon (alpha version)
nevyn
Posts: 136
Joined: Sun Jul 31, 2005 5:05 pm
Location: Sweden
Contact:

Post by nevyn »

Ai caramba, I really need to fix that sound bug...
Post Reply