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 

sceKernelLoadExec() and sceKernelLoadExecVSHMs2() help

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



Joined: 12 Jul 2009
Posts: 23

PostPosted: Mon Dec 21, 2009 11:30 am    Post subject: sceKernelLoadExec() and sceKernelLoadExecVSHMs2() help Reply with quote

I have done my forum searching just before you start to say anything about that. I have a couple questions in regards to sceKernelLoadExec() and sceKernelLoadExecVSHMs2().

1. Is sceKernelLoadExec() usable to load EBOOT.PBP from the memory stick on firmware 5.xx? (I am running 5.50 GEN-D3 currently) I have found some people to say that it only executes eboot.bin from UMD's but need clarifying.

2. Can PRXs call sceKernelLoadExecVSHMs2() correctly? I believe I may be doing something wrong here.
Code:

void loadExec(char *file)
{
   struct SceKernelLoadExecVSHParam param;

   memset(&param, 0, sizeof(param));

   param.key = "game";
   param.size = sizeof(param);
   param.args = strlen(file)+1;
   param.argp = file;

   sceKernelLoadExecVSHMs2(file, &param);
}


Also this is what I am doing in the reasons why I am asking these questions. I am trying to download a EBOOT.PBP from a website and execute it after downloading it. The download works correctly as the folder with the EBOOT.PBP is created and stored there, but the above function is not executing it. I am handling this from a PRX by the way using PSP_MODULE_NO_STOP(0x0001) as this PRX is called and immediately executed from another PRX.

Should I delay the thread or do something beforehand? Or is the function entirely not feasible?

Thanks in advance
Back to top
View user's profile Send private message
MistPhoenix



Joined: 12 Jul 2009
Posts: 23

PostPosted: Wed Dec 30, 2009 9:04 am    Post subject: Reply with quote

does anyone know about how to do this or offer help?
Back to top
View user's profile Send private message
S4LVAT10N



Joined: 27 Dec 2009
Posts: 16

PostPosted: Wed Dec 30, 2009 10:41 am    Post subject: Reply with quote

i have used sceKernelLoadExec to load eboots on 3.71, 3.90, 4.01, and 5.01 and im assuming yes. as for the VSH function i havent used that yet so sorry
Back to top
View user's profile Send private message
MistPhoenix



Joined: 12 Jul 2009
Posts: 23

PostPosted: Thu Dec 31, 2009 7:49 am    Post subject: Reply with quote

and the eboots you are loading are from the memory stick right? could you show me how you loaded them?
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