forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

StandAlone Lua Programs

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
Bob535



Joined: 04 Nov 2005
Posts: 56

PostPosted: Mon Nov 07, 2005 3:54 am    Post subject: StandAlone Lua Programs Reply with quote

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
View user's profile Send private message
KawaGeo



Joined: 27 Aug 2005
Posts: 191
Location: Calif Mountains

PostPosted: Mon Nov 07, 2005 4:12 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
cybercouf



Joined: 05 Nov 2005
Posts: 6

PostPosted: Mon Nov 07, 2005 6:34 am    Post subject: Reply with quote

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
View user's profile Send private message
JoshDB



Joined: 05 Oct 2005
Posts: 87

PostPosted: Sat Nov 12, 2005 10:44 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group