| View previous topic :: View next topic |
| Author |
Message |
rousseau
Joined: 15 Feb 2006 Posts: 7
|
Posted: Wed Mar 01, 2006 1:27 pm Post subject: Maximum EBOOT.PBP size? |
|
|
Is there any maximum size for an EBOOT.PBP file? I'm working on a PSP conversion of a game and have built the exe for PSP (3.65mb), but get an error "The game could not be started. (800200D9)". Even running a basically empty main() function with the same libraries & exe size gives the same error, but without linking in all the libraries works fine.
Any ideas on this?
thx
Steve |
|
| Back to top |
|
 |
71M
Joined: 21 Jun 2005 Posts: 122 Location: London
|
Posted: Thu Mar 02, 2006 10:39 am Post subject: |
|
|
Hi Steve,
I came across a similar problem when developing FileAssistant++
The executable size you've reached does sound very familiar to me.
I never did work out why the executable size made any difference.
Another, possibly related, problem was people with slow memory devices like the 4gb drives where having trouble running the app at all.
I'm wondering if the PSP expects everything to be loading into memory in a certain time before it attempts to run it?
Thought I'd share my own experiences with, sorry I don't have an answer :(
Cheers,
71M |
|
| Back to top |
|
 |
rousseau
Joined: 15 Feb 2006 Posts: 7
|
Posted: Thu Mar 02, 2006 1:48 pm Post subject: |
|
|
Thanks for the info. Im running the app from a 1gb memory stick, so i dont think access speed would have any effect.
Steve |
|
| Back to top |
|
 |
rousseau
Joined: 15 Feb 2006 Posts: 7
|
Posted: Thu Mar 02, 2006 2:16 pm Post subject: |
|
|
btw, thanks for the tip about FileAssistant. Launching the EBOOT from your program gives me some more debug info:
| Code: | block.c _allocSysMemory:SCE_KERNEL_SMEM_Addr: can not alloc 0x00001000
block.c _allocSysMemory:offset 0x00100000, size 0x023b06bc
block.c SceKernelAllocPartitionMemory:failed, mpid 0x00000002, name LoadModuleFileBufferELF, size 0x023b06bc
modulemgr.c:exe_thread:LoadModule failed: 0x800200d9
|
Looks definitely like a file size issue there...
Steve |
|
| Back to top |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Thu Mar 02, 2006 4:46 pm Post subject: |
|
|
You need to read your debug information carefully, based on that your app presents a memory image of 37MB, now considering the PSP only has 32MB of which only 24 is actually useable by a user application you can understand the kernels problem.
Have you got any large static buffers or anything like that in your code ? |
|
| Back to top |
|
 |
rousseau
Joined: 15 Feb 2006 Posts: 7
|
Posted: Thu Mar 02, 2006 6:07 pm Post subject: |
|
|
You're right.. i misread that as 3.7mb, not 37. Guess I'll need to spend more time looking at the code.
Thanks for the tip
Steve |
|
| Back to top |
|
 |
|