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 

JGE++ and psplink ? (Solved)

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



Joined: 13 Jan 2007
Posts: 126

PostPosted: Sun Aug 05, 2007 2:59 pm    Post subject: JGE++ and psplink ? (Solved) Reply with quote

Hello, I'm trying to use JGE++ to build a small application.

I am running on 3.10OE, And I was succesfully able to run a few samples of the SDK with psplink, by compiling .prx files.

However, when I try to do it with JGE++ applications (for example Starbugz provided with JGE++, or, obviously, my own project), I get the following error in PSPLINK:
Code:
Failed to Load/Start module 'host0:/StarBugz.prx' Error: 0x800200D9


The games themselves work fine on the PSP as EBOOT files, so I am asking: did someone manage to develop using JGE++ and use psplink ? If not, should I use another library ? (any suggestion ? I just want to do a 2D game, but I'd like the engine to use the GU as I'll probably need a few 3D features)


While searching the forums I saw that it might have something to do with the way I compile stuff, so here is the Makefile :
Code:

TARGET = temp
OBJS = JGEFramework/main.o src/GameApp.o

INCDIR =
CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CXXFLAGS)
BUILD_PRX = 1

LIBDIR = ../JGE/lib/psp
LDFLAGS =
LIBS = -ljge -ljgesky -lpng -lz -lm -lmikmod -lmmio -lpsppower -lpspaudiolib -lpspaudio -lpspgu -lpsprtc -lstdc++

EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = TEST

PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak


Thanks


Last edited by willow :--) on Sun Aug 05, 2007 4:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
willow :--)



Joined: 13 Jan 2007
Posts: 126

PostPosted: Sun Aug 05, 2007 4:22 pm    Post subject: Reply with quote

Answering to myself :
3.XXOE firmwares allow to run psplink either as 1.5 or 3.XX
if it is run as 3.XX, then only prx files are allowed. Although I don't know the internals very well, it was probably stupid of myself to try to turn a huge application into a prx.

My misunderstanding : I thought that because I was on a 3.XXOE firmware, I HAD to work with prx files instead of EBOOT. But the application I develop is actually a 1.5 one, so no use for me to try to make it work in 3.XX

The real solution was to install the 1.5 version of psplink instead of the 3.XX version and load my EBOOT.


sorry for the noise
Back to top
View user's profile Send private message
Brunni



Joined: 08 Oct 2005
Posts: 186

PostPosted: Wed Aug 08, 2007 6:41 pm    Post subject: Re: JGE++ and psplink ? (Solved) Reply with quote

willow :--) wrote:
The games themselves work fine on the PSP as EBOOT files, so I am asking: did someone manage to develop using JGE++ and use psplink ? If not, should I use another library ? (any suggestion ? I just want to do a 2D game, but I'd like the engine to use the GU as I'll probably need a few 3D features)

There's OSLib too ;)
_________________
Sorry for my bad english
Oldschool library for PSP - PC version released
Back to top
View user's profile Send private message
willow :--)



Joined: 13 Jan 2007
Posts: 126

PostPosted: Wed Aug 08, 2007 7:26 pm    Post subject: Re: JGE++ and psplink ? (Solved) Reply with quote

Brunni wrote:
willow :--) wrote:
The games themselves work fine on the PSP as EBOOT files, so I am asking: did someone manage to develop using JGE++ and use psplink ? If not, should I use another library ? (any suggestion ? I just want to do a 2D game, but I'd like the engine to use the GU as I'll probably need a few 3D features)

There's OSLib too ;)


Thanks for the suggestion. I had to choose between one or the other when I started my project, and I was misguided as I thought your library didn't use the hardware acceleration, so I chose JGE++.

I'm not sure but I think JGE++ is not developed anymore, so I might switch to OSLib...

(je suis français aussi, au passage...).
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 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