I know there has to be a way to do this since I have seen it done, I am just not sure how.
I would like to be able to have my program just be a selection in the game menu of my memstick.
I assume to do this you just use the lua player code directed to initially load your file instead of lowser?
Anyone got a quick writeup on how to accomplish this feat?
StandAlone Lua Programs
Moderators: Shine, Insert_witty_name
Take a look at PSP Millionaire 1.01. It is a stand-alone game in Lua. A good example how to make one.
Ref: http://psp-news.dcemu.co.uk/pspmillionaire.shtml
Have fun!
Ref: http://psp-news.dcemu.co.uk/pspmillionaire.shtml
Have fun!
Geo Massar
Retired Engineer
Retired Engineer
from luaplayer readme:
but i've dependance problems with libpng building :(
can someone give all build library (png, zlib...) needed to build a stand-alone lua game using "make -f Makefile.psp-standalone"
i've cygwin, psptoolchain and pspsdk installed, i follow this tuto : http://wiki.ps2dev.org/psp:lua_player:compilingPut your lua app files (either a Lowser-compatible folder or package, or just loose files with a main script.lua) in standalone/app folder.
Modify the Makefile.psp-standalone makefile to match your app name, change title-icon.png, and run
$ make -f Makefile.psp-standalone standalone10 -- for firmware 1.0
or
$ make -f Makefile.psp-standalone standalone15 -- for firmware 1.5
from the luaplayer directory.
but i've dependance problems with libpng building :(
can someone give all build library (png, zlib...) needed to build a stand-alone lua game using "make -f Makefile.psp-standalone"
This is pretty simple, guys.
Download and extract Lua Player 0.11. Change [system\system.lua] in the extracted LuaPlayer folder to go to your file. Mine (from Concept) is:
Therefore, it will go into the folder named Core (in the LuaPlayer folder, not the system folder), and then launch [DESKTOP.lua]
To change the title and icon of the game (in your PSPs game menu), download PBP Unpacker and open up the EBOOT.PBP in the LuaPlayer% folder.
Download and extract Lua Player 0.11. Change [system\system.lua] in the extracted LuaPlayer folder to go to your file. Mine (from Concept) is:
Code: Select all
System.currentDirectory("Core")
appsDir = System.currentDirectory()
dofile("DESKTOP.lua")
To change the title and icon of the game (in your PSPs game menu), download PBP Unpacker and open up the EBOOT.PBP in the LuaPlayer% folder.