| View previous topic :: View next topic |
| Author |
Message |
MistPhoenix
Joined: 12 Jul 2009 Posts: 23
|
Posted: Mon Dec 21, 2009 11:30 am Post subject: sceKernelLoadExec() and sceKernelLoadExecVSHMs2() help |
|
|
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(¶m, 0, sizeof(param));
param.key = "game";
param.size = sizeof(param);
param.args = strlen(file)+1;
param.argp = file;
sceKernelLoadExecVSHMs2(file, ¶m);
}
|
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 |
|
 |
MistPhoenix
Joined: 12 Jul 2009 Posts: 23
|
Posted: Wed Dec 30, 2009 9:04 am Post subject: |
|
|
| does anyone know about how to do this or offer help? |
|
| Back to top |
|
 |
S4LVAT10N
Joined: 27 Dec 2009 Posts: 16
|
Posted: Wed Dec 30, 2009 10:41 am Post subject: |
|
|
| 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 |
|
 |
MistPhoenix
Joined: 12 Jul 2009 Posts: 23
|
Posted: Thu Dec 31, 2009 7:49 am Post subject: |
|
|
| and the eboots you are loading are from the memory stick right? could you show me how you loaded them? |
|
| Back to top |
|
 |
|