Maximum EBOOT.PBP size?

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

Moderators: cheriff, TyRaNiD

Post Reply
rousseau
Posts: 7
Joined: Wed Feb 15, 2006 6:20 pm

Maximum EBOOT.PBP size?

Post by rousseau »

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
71M
Posts: 122
Joined: Tue Jun 21, 2005 5:28 am
Location: London

Post by 71M »

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
rousseau
Posts: 7
Joined: Wed Feb 15, 2006 6:20 pm

Post by rousseau »

Thanks for the info. Im running the app from a 1gb memory stick, so i dont think access speed would have any effect.

Steve
rousseau
Posts: 7
Joined: Wed Feb 15, 2006 6:20 pm

Post by rousseau »

btw, thanks for the tip about FileAssistant. Launching the EBOOT from your program gives me some more debug info:

Code: Select all

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
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

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 ?
rousseau
Posts: 7
Joined: Wed Feb 15, 2006 6:20 pm

Post by rousseau »

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