PSP LINK and Slim

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

Moderators: cheriff, TyRaNiD

Post Reply
gambiting
Posts: 154
Joined: Thu Aug 17, 2006 5:39 pm

PSP LINK and Slim

Post by gambiting »

Hi! I have a problem - I've bought psp slim mainly for writing multiplayer games(I already have phat psp),but now it turned out that psplink does not work on slim.That's very sad ;/ I can't imagine copying eboots after every compilation. Could Tyranid or anyone else port it to 3.x kernels please?
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

a) It has worked on 3.X for a long time now, psplink doesn't, psplinkusb does. b) Sony semi broke it in 3.5X which i've fixed. c) works fine on slim although still sub-optimal on 3.71 due to me not changing the nids yet :)

Oh and worth pointing out don't download some warez version of psplink (I haven't released a binary version in a good long while, certainly before I split into psplinkusb). The toolchain script will not build a copy of psplinkusb for you.
gambiting
Posts: 154
Joined: Thu Aug 17, 2006 5:39 pm

Post by gambiting »

Ok,thanks for the reply.I have psplinkusb sources from svn,but there are only psplink,and psplinu_user folders - which one I have to compile to get a working version??
gambiting
Posts: 154
Joined: Thu Aug 17, 2006 5:39 pm

Post by gambiting »

I mean - I have PSP Link v.3.0 and it loads on psp,usbhostfs on pc shows "Device connected" but there is nothing when I start pspsh,and that's most important thing here.Please help?
weltall
Posts: 310
Joined: Fri Feb 20, 2004 1:56 am
Contact:

Post by weltall »

when built you will find a releaseoe folder: that's what you need, even if you want to use it as a plugin you will use prx from that folder
gambiting
Posts: 154
Joined: Thu Aug 17, 2006 5:39 pm

Post by gambiting »

I'm trying to build it,but when I type "make" inside psplinkusb folder I get:

Code: Select all

gambiting@gambiting-desktop:~/psplinknew/psplinkusb$ make
make -f Makefile.psp all
make[1]: Entering directory `/home/gambiting/psplinknew/psplinkusb'
make -C libpsplink all
make[2]: Entering directory `/home/gambiting/psplinknew/psplinkusb/libpsplink'
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_0000 psplink.S -c -o psplink_0000.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_0001 psplink.S -c -o psplink_0001.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_0002 psplink.S -c -o psplink_0002.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_0003 psplink.S -c -o psplink_0003.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_0004 psplink.S -c -o psplink_0004.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_0005 psplink.S -c -o psplink_0005.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_0006 psplink.S -c -o psplink_0006.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_0007 psplink.S -c -o psplink_0007.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_0008 psplink.S -c -o psplink_0008.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_0009 psplink.S -c -o psplink_0009.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_0010 psplink.S -c -o psplink_0010.o
psp-ar q libpsplink.a psplink_0000.o psplink_0001.o psplink_0002.o psplink_0003.o psplink_0004.o psplink_0005.o psplink_0006.o psplink_0007.o psplink_0008.o psplink_0009.o psplink_0010.o
psp-ar: creating libpsplink.a
psp-ranlib libpsplink.a
make[2]: Leaving directory `/home/gambiting/psplinknew/psplinkusb/libpsplink'
make -C libpsplink_driver all
make[2]: Entering directory `/home/gambiting/psplinknew/psplinkusb/libpsplink_driver'
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0000 psplink_driver.S -c -o psplink_driver_0000.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0001 psplink_driver.S -c -o psplink_driver_0001.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0002 psplink_driver.S -c -o psplink_driver_0002.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0003 psplink_driver.S -c -o psplink_driver_0003.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0004 psplink_driver.S -c -o psplink_driver_0004.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0005 psplink_driver.S -c -o psplink_driver_0005.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0006 psplink_driver.S -c -o psplink_driver_0006.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0007 psplink_driver.S -c -o psplink_driver_0007.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0008 psplink_driver.S -c -o psplink_driver_0008.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0009 psplink_driver.S -c -o psplink_driver_0009.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0010 psplink_driver.S -c -o psplink_driver_0010.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0011 psplink_driver.S -c -o psplink_driver_0011.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0012 psplink_driver.S -c -o psplink_driver_0012.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0013 psplink_driver.S -c -o psplink_driver_0013.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0014 psplink_driver.S -c -o psplink_driver_0014.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0015 psplink_driver.S -c -o psplink_driver_0015.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0016 psplink_driver.S -c -o psplink_driver_0016.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0017 psplink_driver.S -c -o psplink_driver_0017.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_psplink_driver_0018 psplink_driver.S -c -o psplink_driver_0018.o
psp-ar q libpsplink_driver.a psplink_driver_0000.o psplink_driver_0001.o psplink_driver_0002.o psplink_driver_0003.o psplink_driver_0004.o psplink_driver_0005.o psplink_driver_0006.o psplink_driver_0007.o psplink_driver_0008.o psplink_driver_0009.o psplink_driver_0010.o psplink_driver_0011.o psplink_driver_0012.o psplink_driver_0013.o psplink_driver_0014.o psplink_driver_0015.o psplink_driver_0016.o psplink_driver_0017.o psplink_driver_0018.o
psp-ar: creating libpsplink_driver.a
psp-ranlib libpsplink_driver.a
make[2]: Leaving directory `/home/gambiting/psplinknew/psplinkusb/libpsplink_driver'
make -C libusbhostfs all
make[2]: Entering directory `/home/gambiting/psplinknew/psplinkusb/libusbhostfs'
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_0000 USBHostFS.S -c -o USBHostFS_0000.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_0001 USBHostFS.S -c -o USBHostFS_0001.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_0002 USBHostFS.S -c -o USBHostFS_0002.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_0003 USBHostFS.S -c -o USBHostFS_0003.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_0004 USBHostFS.S -c -o USBHostFS_0004.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_0005 USBHostFS.S -c -o USBHostFS_0005.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_0006 USBHostFS.S -c -o USBHostFS_0006.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_0007 USBHostFS.S -c -o USBHostFS_0007.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_0008 USBHostFS.S -c -o USBHostFS_0008.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_0009 USBHostFS.S -c -o USBHostFS_0009.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_0010 USBHostFS.S -c -o USBHostFS_0010.o
psp-ar q libusbhostfs.a USBHostFS_0000.o USBHostFS_0001.o USBHostFS_0002.o USBHostFS_0003.o USBHostFS_0004.o USBHostFS_0005.o USBHostFS_0006.o USBHostFS_0007.o USBHostFS_0008.o USBHostFS_0009.o USBHostFS_0010.o
psp-ar: creating libusbhostfs.a
psp-ranlib libusbhostfs.a
make[2]: Leaving directory `/home/gambiting/psplinknew/psplinkusb/libusbhostfs'
make -C libusbhostfs_driver all
make[2]: Entering directory `/home/gambiting/psplinknew/psplinkusb/libusbhostfs_driver'
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_driver_0000 USBHostFS_driver.S -c -o USBHostFS_driver_0000.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_driver_0001 USBHostFS_driver.S -c -o USBHostFS_driver_0001.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_driver_0002 USBHostFS_driver.S -c -o USBHostFS_driver_0002.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_driver_0003 USBHostFS_driver.S -c -o USBHostFS_driver_0003.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_driver_0004 USBHostFS_driver.S -c -o USBHostFS_driver_0004.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_driver_0005 USBHostFS_driver.S -c -o USBHostFS_driver_0005.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_driver_0006 USBHostFS_driver.S -c -o USBHostFS_driver_0006.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_driver_0007 USBHostFS_driver.S -c -o USBHostFS_driver_0007.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_driver_0008 USBHostFS_driver.S -c -o USBHostFS_driver_0008.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_driver_0009 USBHostFS_driver.S -c -o USBHostFS_driver_0009.o
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/usr/local/pspdev/psp/sdk/include -DF_USBHostFS_driver_0010 USBHostFS_driver.S -c -o USBHostFS_driver_0010.o
psp-ar q libusbhostfs_driver.a USBHostFS_driver_0000.o USBHostFS_driver_0001.o USBHostFS_driver_0002.o USBHostFS_driver_0003.o USBHostFS_driver_0004.o USBHostFS_driver_0005.o USBHostFS_driver_0006.o USBHostFS_driver_0007.o USBHostFS_driver_0008.o USBHostFS_driver_0009.o USBHostFS_driver_0010.o
psp-ar: creating libusbhostfs_driver.a
psp-ranlib libusbhostfs_driver.a
make[2]: Leaving directory `/home/gambiting/psplinknew/psplinkusb/libusbhostfs_driver'
make -C psplink all
make[2]: Entering directory `/home/gambiting/psplinknew/psplinkusb/psplink'
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150   -c -o main.o main.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150   -c -o shell.o shell.c
shell.c: In function ‘scrshot_cmd’:
shell.c:3134: warning: passing argument 5 of ‘sceDisplay_driver_5B5AEFAD’ makes pointer from integer without a cast
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150   -c -o config.o config.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150   -c -o bitmap.o bitmap.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150   -c -o tty.o tty.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150   -c -o decodeaddr.o decodeaddr.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150   -c -o memoryUID.o memoryUID.c
psp-gcc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb   -c -o kmode.o kmode.S
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150   -c -o exception.o exception.c
psp-gcc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb   -c -o exception_asm.o exception_asm.S
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150   -c -o psplinkcnf.o psplinkcnf.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150   -c -o util.o util.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150   -c -o debug.o debug.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150   -c -o libs.o libs.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150   -c -o apihook.o apihook.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150   -c -o thctx.o thctx.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150   -c -o stdio.o stdio.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I../usbhostfs -I. -I/usr/local/pspdev/psp/sdk/include -Os -G0 -Wall -fno-builtin-printf -ggdb -D_PSP_FW_VERSION=150   -c -o usbshell.o usbshell.c
usbshell.c:17:24: error: pspsysclib.h: No such file or directory
usbshell.c: In function ‘shprintf’:
usbshell.c:159: warning: implicit declaration of function ‘prnt’
usbshell.c:159: error: ‘prnt_callback’ undeclared (first use in this function)
usbshell.c:159: error: (Each undeclared identifier is reported only once
usbshell.c:159: error: for each function it appears in.)
usbshell.c:159: error: expected ‘)’ before ‘cb’
make[2]: *** [usbshell.o] Error 1
make[2]: Leaving directory `/home/gambiting/psplinknew/psplinkusb/psplink'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/gambiting/psplinknew/psplinkusb'
make: *** [all] Error 2
Please help
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

update your pspsdk to the latest version.
gambiting
Posts: 154
Joined: Thu Aug 17, 2006 5:39 pm

Post by gambiting »

Ok it works now :D:D:D Thanks very much for all help :D And a sidenote: you need to disable SlimUsbCharge.prx plugin,or it won't work.
gambiting
Posts: 154
Joined: Thu Aug 17, 2006 5:39 pm

Post by gambiting »

No sorry,I was too fast,there is a problem....psplink loads,it says "connected to device" on my pc,and pspsh works normally,but I can't start any eboot! Even my game(shoot4fun) which works without problems on 3.x kernels won't load.There is just that error:

Code: Select all

host0:/psp/shoot4fun/> ./EBOOT.PBP
Failed to Load/Start module 'host0:/psp/shoot4fun/EBOOT.PBP' Error: 0x80020148
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

You don't run EBOOTs in psplink - you run the elf file.
gambiting
Posts: 154
Joined: Thu Aug 17, 2006 5:39 pm

Post by gambiting »

J.F. wrote:You don't run EBOOTs in psplink - you run the elf file.
The same effect

Code: Select all

host0:/psp/shoot4fun/> ./Shoot4Fun.elf
Failed to Load/Start module 'host0:/psp/shoot4fun/Shoot4Fun.elf' Error: 0x80020148
[/quote]
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

You dont even run the elf file :) The smart money these days is making prxes instead of elfs anyway. The CFWs have some hackery to get ELFs running from the VSH but it doesn't allow you to easily do it while the system is running.
gambiting
Posts: 154
Joined: Thu Aug 17, 2006 5:39 pm

Post by gambiting »

So what am I supposed to do? I've made a prx,by adding BUILD_PRX=1 to makefile,but when I try to run it it ends with "out of memory" error.
Viper8896
Posts: 110
Joined: Thu Jan 26, 2006 6:20 pm

Post by Viper8896 »

Code: Select all

PSP_HEAP_SIZE_KB(entersizehere);
gambiting
Posts: 154
Joined: Thu Aug 17, 2006 5:39 pm

Post by gambiting »

User mode apps have only 64kb availiable,right?
So I enter:

Code: Select all

PSP_HEAP_SIZE_KB(64);
and add

Code: Select all

BUILD_PRX=1
to the makefile,but when I run it it's still the same:

Code: Select all

host0:/psp/shoot4fun/> ./Shoot4Fun.prx
Load/Start host0:/psp/shoot4un/Shoot4Fun.prx UID: 0x04251867 Name: shoot4fun
host0:/psp/shoot4fun/> libpng error: Out of Memory!
Exception - Bus error (data)
Thread ID - 0x04249373
Th Name   - user_main
Module ID - 0x04251867
Mod Name  - shoot4fun
EPC       - 0x08809EE8
Cause     - 0x1000001C
BadVAddr  - 0x40A00436
Status    - 0x60088613
zr:0x00000000 at:0x2008FF00 v0:0x00000000 v1:0x00000000
a0:0x00000000 a1:0x00000000 a2:0x88211A07 a3:0x88013A00
t0:0x000000C8 t1:0x000000C8 t2:0x000004D8 t3:0x88212600
t4:0x09FBF990 t5:0x00000E00 t6:0x0881F428 t7:0x20088600
s0:0x00000020 s1:0x09FBFE34 s2:0x00000001 s3:0x09FBFEE0
s4:0x00000020 s5:0x00000013 s6:0xDEADBEEF s7:0xDEADBEEF
t8:0x000002CF t9:0x88300000 k0:0x09FBFF00 k1:0x00000000
gp:0x0885EC90 sp:0x09FBF9F0 fp:0x09FBFEA0 ra:0x08809EE4
0x08809EE8: 0xAC400000 '..@.' - sw         $zr, 0($v0)
Am I doing something wrong??

psp-addr2line gives:

Code: Select all

gambiting@gambiting-desktop:~/psp/shoot4fun$ psp-addr2line -fe Shoot4Fun.prx 0x08809EE8
??
??:0
Last edited by gambiting on Mon Oct 01, 2007 5:38 am, edited 1 time in total.
weltall
Posts: 310
Joined: Fri Feb 20, 2004 1:56 am
Contact:

Post by weltall »

no they can have more, 64kb is too little with libpng don't you think so? put at least 20mb
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

PRX files default to 64KB as a convention but they don't have to be. Just increase the size, I _might_ get around to implementing a method of getting the automatic full allocation even in prxes at some point, if I can be bothered :P
KickinAezz
Posts: 328
Joined: Sun Jun 03, 2007 10:05 pm

Post by KickinAezz »

TyRaNiD wrote:PRX files default to 64KB as a convention but they don't have to be. Just increase the size, I _might_ get around to implementing a method of getting the automatic full allocation even in prxes at some point, if I can be bothered :P
Please be :)
bulb
Posts: 50
Joined: Thu Jan 19, 2006 10:59 pm

Post by bulb »

Check SVN before you post. :) It's obvious he was bothered enough...
Post Reply