JGE++ and psplink ? (Solved)

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
willow :--)
Posts: 107
Joined: Sat Jan 13, 2007 11:50 am

JGE++ and psplink ? (Solved)

Post by willow :--) »

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: Select all

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: Select all

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.
willow :--)
Posts: 107
Joined: Sat Jan 13, 2007 11:50 am

Post by willow :--) »

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
Brunni
Posts: 186
Joined: Sat Oct 08, 2005 10:27 pm

Re: JGE++ and psplink ? (Solved)

Post by Brunni »

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
Image Oldschool library for PSP - PC version released
willow :--)
Posts: 107
Joined: Sat Jan 13, 2007 11:50 am

Re: JGE++ and psplink ? (Solved)

Post by willow :--) »

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...).
Post Reply