| View previous topic :: View next topic |
| Author |
Message |
Bob535
Joined: 04 Nov 2005 Posts: 56
|
Posted: Mon Nov 07, 2005 3:54 am Post subject: StandAlone Lua Programs |
|
|
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? |
|
| Back to top |
|
 |
KawaGeo
Joined: 27 Aug 2005 Posts: 191 Location: Calif Mountains
|
Posted: Mon Nov 07, 2005 4:12 am Post subject: |
|
|
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! _________________ Geo Massar
Retired Engineer |
|
| Back to top |
|
 |
cybercouf
Joined: 05 Nov 2005 Posts: 6
|
Posted: Mon Nov 07, 2005 6:34 am Post subject: |
|
|
from luaplayer readme:
| Quote: | Put 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. |
i've cygwin, psptoolchain and pspsdk installed, i follow this tuto : http://wiki.ps2dev.org/psp:lua_player:compiling
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" |
|
| Back to top |
|
 |
JoshDB

Joined: 05 Oct 2005 Posts: 87
|
Posted: Sat Nov 12, 2005 10:44 am Post subject: |
|
|
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:
| Code: | System.currentDirectory("Core")
appsDir = System.currentDirectory()
dofile("DESKTOP.lua") |
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. |
|
| Back to top |
|
 |
|