| View previous topic :: View next topic |
| Author |
Message |
DarkShadow44
Joined: 09 Jul 2009 Posts: 31
|
Posted: Fri Jul 10, 2009 7:07 am Post subject: Many examples don't work |
|
|
Hello,
I use the pspSDK,
and for Example the Memory Stick Example are all the networking examples don't work.
I get a error like "The game could not be started . (80020148)
I have 5.00 m33 6.
Can you help me? |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Fri Jul 10, 2009 7:44 am Post subject: |
|
|
Some of the older examples are still in 1.50 format. They need to be "userized" to work on modern PSP firmwares. The most common changes are to add
| Code: | BUILD_PRX = 1
PSP_FW_VERSION = 500
PSP_LARGE_MEMORY = 1
|
to the makefile, and
| Code: | PSP_MODULE_INFO("app name", 0, VERS, REVS);
PSP_MAIN_THREAD_ATTR(PSP_THREAD_ATTR_USER);
PSP_HEAP_SIZE_KB(-256);
|
to your main c/c++ file. |
|
| Back to top |
|
 |
DarkShadow44
Joined: 09 Jul 2009 Posts: 31
|
Posted: Fri Jul 10, 2009 7:53 am Post subject: |
|
|
It says "VERS" and "REVS" are undeclaired.
And...What is a prx ? |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Fri Jul 10, 2009 9:07 am Post subject: |
|
|
#define VERS 1
#define REVS 0
or whatever you do to define your program version and revision... or just get rid of them and put the numbers in directly like most people do.
You need to read more old threads on the subject if you want a better understanding of prx's and how the PSP works with them. |
|
| Back to top |
|
 |
DarkShadow44
Joined: 09 Jul 2009 Posts: 31
|
Posted: Fri Jul 10, 2009 6:46 pm Post subject: |
|
|
I recompiled it, and it worked ...
But without your modifikation.
But the usb-storage sample still doesn't work.
Can you post the whole code of it, that works on your PC ?
And you version of pspskd ?
I use a PSP Slim, could this cause the "Library not found (8002013c)" problem ? |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Sat Jul 11, 2009 12:18 am Post subject: |
|
|
Not a chance. I've got too much to do to be posting entire toolchains when there are threads on toolchains and examples and apps, most all of which can be downloaded. I suggest you do a little more leg work on this, going through the older threads on converting apps to the (then) new user mode style and on compiling the toolchain or using Hemdall's toolchain.
EDIT: I'm using 64 bit linux anyway, so unless you are too, my toolchain wouldn't help at all. |
|
| Back to top |
|
 |
Dariusc123456
Joined: 12 Aug 2008 Posts: 394
|
Posted: Mon Jul 13, 2009 6:18 am Post subject: |
|
|
J.F , I think he have a old sdk. All the samples works for me, even the 1.50 samples with or without leda.prx.
DarkShadow44 - What type of pspsdk do you have? _________________ PSHN - Playstation Hacking Network
PSX/PS1 - HACK - Game Shark
PS2 - HACK - Swap
PSP - HACK - Pandora
PS3 - ? |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Mon Jul 13, 2009 9:56 am Post subject: |
|
|
| Yeah, it's probably 3 year-old devkitPro for PSP. :) |
|
| Back to top |
|
 |
Dariusc123456
Joined: 12 Aug 2008 Posts: 394
|
Posted: Mon Jul 13, 2009 10:27 am Post subject: |
|
|
DarkShadow44, make sure your pspsdk is the latest version which can be downloaded here. The error code only happens on some of the 1.50 kernel homebrew programs, do you will have to update. _________________ PSHN - Playstation Hacking Network
PSX/PS1 - HACK - Game Shark
PS2 - HACK - Swap
PSP - HACK - Pandora
PS3 - ? |
|
| Back to top |
|
 |
DarkShadow44
Joined: 09 Jul 2009 Posts: 31
|
Posted: Mon Jul 13, 2009 10:41 pm Post subject: |
|
|
1)What is leda.prx
2) WHERE can I download the newest ? I only find version 20070626
3)Sorry, but which are the 1.5 Samples ?
4)Do I have to use Timemachine to run this samples ?
EDIT:
Now I can run them (timemachine), but how can I run them on 5.00 m33-6 ??
P.S. I've pspsdk 0.9.5 |
|
| Back to top |
|
 |
Dariusc123456
Joined: 12 Aug 2008 Posts: 394
|
Posted: Mon Jul 13, 2009 11:20 pm Post subject: |
|
|
It look like no one ever search anymore...
1. Leda.prx is a plugin that allows you to run 1.50 homebrew on the 5.00m33-6 cfw.
2. http://forums.ps2dev.org/viewtopic.php?t=12149
3. the one you cant run are.
4. You dont need TM to run homebrew, but its useful to test it on the fw that you might want to to run on. _________________ PSHN - Playstation Hacking Network
PSX/PS1 - HACK - Game Shark
PS2 - HACK - Swap
PSP - HACK - Pandora
PS3 - ? |
|
| Back to top |
|
 |
|