Load an eboot with a prx without exit the first

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

Moderators: cheriff, TyRaNiD

Post Reply
pspflashsystem
Posts: 31
Joined: Mon Mar 24, 2008 12:31 am

Load an eboot with a prx without exit the first

Post by pspflashsystem »

Hello everyone,
I want to know how I can do if I load an eboot with a prx to not quit the first eboot loaded before.
It is posible because Irshell can do this ^^

Here the code to load an eboot:

Code: Select all

void execEboot(char *target)
{
   u8 vshmain_args[0x400];
   struct SceKernelLoadExecVSHParam param;
   memset(vshmain_args, 0, sizeof(vshmain_args));
   vshmain_args[0x40] = 1;
   vshmain_args[0x280] = 1;
   vshmain_args[0x284] = 3;
   vshmain_args[0x286] = 5;
   memset(&param, 0, sizeof(param));
   param.size = sizeof(param);
   param.args = strlen(target) + 1;
   param.argp = target;
   param.key = "game";
   param.vshmain_args_size = sizeof(vshmain_args);
   param.vshmain_args = vshmain_args;
   sctrlKernelLoadExecVSHMs2(target, &param);
}
I thanks everyone who help me^^

I apologize for my bad english because I am french^^
I'm apologize for my bad English because I am French :)

.::pspflashsystem::.
pspflashsystem
Posts: 31
Joined: Mon Mar 24, 2008 12:31 am

Post by pspflashsystem »

Any idea
I'm apologize for my bad English because I am French :)

.::pspflashsystem::.
Question_dev
Posts: 88
Joined: Fri Aug 24, 2007 8:23 pm

Post by Question_dev »

you have to patch scekernelexitgame.
Pirata Nervo
Posts: 409
Joined: Tue Oct 09, 2007 4:22 am

Post by Pirata Nervo »

You must create a bootstrap which is loaded when you load the pbp from your app so the bootstrap patches the sceKernelExitGame function when running the other application.
Image
Upgrade your PSP
Post Reply