Is it possible to create an homebrew that load and starts another homebrew ?
A solution that would be useful for auto-updating software....
Is it possible ? How ?
To create an homebrew that load and starts another homebrew
-
- Posts: 160
- Joined: Wed Jul 12, 2006 7:09 am
Yep i'm not able to load eboot with sceKernelLoadExec anymore but with the m33 sdk function "sctrlKernelLoadExecVSHMs2" there is no problem. Art is right, if you find a new version on the server, just overwrite your current eboot on psp (no problems since its loaded in ram) then exec it :
Code: Select all
void execEboot(char *target)
{
struct SceKernelLoadExecVSHParam param;
memset(¶m, 0, sizeof(param));
param.key = "game";
param.size = sizeof(param);
param.args = strlen(target)+1;
param.argp = target;
sctrlKernelLoadExecVSHMs2(target, ¶m);
}
Yeah, in 2.XX+, the original sceKernelLoadExec is now only able to execute something that is inside in an disc.
Moreover, it cannot execute eboot.bin, games have to execute boot.bin to do it, but the curious thing is that since some firmware (2.70 i think), the firmware really executes eboot.bin when the program passes the boot.bin string in the original loadexec, but it will reject it if games explicitily indicate eboot.bin. Curious and stupid sce things :)
Moreover, it cannot execute eboot.bin, games have to execute boot.bin to do it, but the curious thing is that since some firmware (2.70 i think), the firmware really executes eboot.bin when the program passes the boot.bin string in the original loadexec, but it will reject it if games explicitily indicate eboot.bin. Curious and stupid sce things :)