forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Maximum EBOOT.PBP size?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
rousseau



Joined: 15 Feb 2006
Posts: 7

PostPosted: Wed Mar 01, 2006 1:27 pm    Post subject: Maximum EBOOT.PBP size? Reply with quote

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
View user's profile Send private message
71M



Joined: 21 Jun 2005
Posts: 122
Location: London

PostPosted: Thu Mar 02, 2006 10:39 am    Post subject: Reply with quote

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
View user's profile Send private message
rousseau



Joined: 15 Feb 2006
Posts: 7

PostPosted: Thu Mar 02, 2006 1:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
rousseau



Joined: 15 Feb 2006
Posts: 7

PostPosted: Thu Mar 02, 2006 2:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Thu Mar 02, 2006 4:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
rousseau



Joined: 15 Feb 2006
Posts: 7

PostPosted: Thu Mar 02, 2006 6:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group