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 

Luaplayer standalone Makefile issues

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



Joined: 26 Jan 2007
Posts: 16

PostPosted: Thu Feb 08, 2007 6:36 am    Post subject: Luaplayer standalone Makefile issues Reply with quote

All,

I was trying to produce a standalone EBOOT.PBP for a lua script, so I tried to use the standalone makefile, (as in svn), and I found a few minor issues.

I created another adhoc Makefile (mixing the common and standalone Makefiles) and I managed to run the standalone PBP sucessfully in OE 303. The issues seem trivial, (unless I am messing up), I thought I would post them:

* The original Makefile.psp-standalone imports Makefile.psp.common, and the end TARGET remains luaplayer (thus creating luaplayer luaplayer% and luaplayer.elf/prx). I tend to think the target should be appshortname, so the appshortname{%} and appshortname.elf/prx are generated.

* The original Makefile tries to copy System files to a folder that does not exist. adding
Code:

mkdir -p $(APPSHORTNAME)/System

just before solves this.



On a side note, in 303OE, I don't know why, but copying the kxploited target target% into PSP/GAME150 the PSP restarts when launching the standalone PBP. Another lua developer reproduced this with his script.

I tried generating a single EBOOT.PBP in "target", containing the user mode target.prx (since in OE) and changed the "pack-pbp" line so it uses $(APPSHORTNAME).prx as the penultimate argument in the Makefile (In summary, no need to kxploit in OE). The final "target" folder, containing the EBOOT.PBP with target.prx and the System files and app scripts is copied to PSP/GAME150 and the application launches and executes ok.

Thanks,



Edit: one bullet did not apply, removed. Last bullet edited for clarity
Back to top
View user's profile Send private message
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