KXploit on Linux
KXploit on Linux
Hi all,
First off, thanks a million to ps2dev.org for the awesome sdk for the PSP.
I've got the toolchain and got it compiled in Linux and am able to generate EBOOT's which work the PSP(v1.5).
However I have a small problem, each time I create a EBOOT I have to reboot to windows and use KXploit to generate the folders and the dummy EBOOT and put it on PSP.
Is there a script/program which do this this for me in Linux ?
Basically I need something similar to KXploit for Linux.If the alternate is a compination of programs and scripts I'm fine with it.
Thanks.
First off, thanks a million to ps2dev.org for the awesome sdk for the PSP.
I've got the toolchain and got it compiled in Linux and am able to generate EBOOT's which work the PSP(v1.5).
However I have a small problem, each time I create a EBOOT I have to reboot to windows and use KXploit to generate the folders and the dummy EBOOT and put it on PSP.
Is there a script/program which do this this for me in Linux ?
Basically I need something similar to KXploit for Linux.If the alternate is a compination of programs and scripts I'm fine with it.
Thanks.
[quote="sandberg"]This is already supported.
Pardon me, but I didn't quite get that.
Is kxploit source available for it to be compiled in linux ?
Code: Select all
gmake kxploit
Is kxploit source available for it to be compiled in linux ?
OK. Got it.sandberg wrote:When you build your homebrew, there is a target named kxploit, which creates the directories for you (and it also support adding custom icons etc.).
So if you e.g. make the samples/gu/cube sample you just use
gmake -f Makefile.sample kxploit
instead of
gmake -f Makefile.sample
Now I'm faced with a new problem:
Code: Select all
sekrity:/opt/mips_psp/progs# make -f Makefile kxploit
mkdir -p ""
mkdir: cannot create directory `': No such file or directory
make: *** [kxploit] Error 1
[/code
It attempts to create a "NULL" directory.Are there any additional parameters which I'm missing ?
Could you post your makefile, I can take a look. Otherwise compare it to one of the sample makefiles. I've added one below
Code: Select all
TARGET = cube
OBJS = cube.o logo.o ../common/callbacks.o ../common/vram.o
INCDIR =
CFLAGS = -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
LIBDIR =
LDFLAGS =
LIBS= -lpspgum -lpspgu -lm
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Cube Sample
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
logo.o: logo.raw
bin2o -i logo.raw logo.o logo
Br, Sandberg
This is my Makefile
Code: Select all
TARGET = test
OBJS = test.o
INCDIR =
CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
LIBDIR =
LDFLAGS =
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Prog Test
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
-
- Posts: 171
- Joined: Mon Nov 14, 2005 1:32 am
- Location: Boston, Massachusetts
- Contact:
re-checked the makefile, no trailing whitespace.Dr. Vegetable wrote:Make sure there is no whitespace at the end of any of the lines in your makefile. I've seen some buggy behavior from make when trailing whitespace is present. This could be your problem here.
Still having to boot into Linux for Kxploit(sucks)
This is kind of a hack, but if you really can't get it working, do
The resulting EBOOT goes in the TEST directory (as opposed to TEST%) on the psp... it's doing the same thing as make kxploit, just without the directories. Still weird that it doesn't work properly, though... is your build.mak messed up somehow?
By the way, the '-f Makefile' part of the command is implied, you don't need to type it. make searches for Makefile, makefile and GNUmakefile automatically.
-ReK
Code: Select all
psp-strip test.elf -o EBOOT.PBP
By the way, the '-f Makefile' part of the command is implied, you don't need to type it. make searches for Makefile, makefile and GNUmakefile automatically.
-ReK