No Intro SCEE when return from a Eboot...

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

Moderators: cheriff, TyRaNiD

Post Reply
Stewie87
Posts: 34
Joined: Thu Apr 03, 2008 8:16 am

No Intro SCEE when return from a Eboot...

Post by Stewie87 »

I made a simple VSH plugin that launchs a eboot.pbp.
But now I have to solve a big issue: every time I exit from that homebrew, PSP does not return to dashboard "normally" (like when you exit from an eboot or from an UMD) but on the contrary PSP seems to be "resetted", because it shows the intro with the logo SCEE...

I use this code to start my homebrew:

Code: Select all

	struct SceKernelLoadExecVSHParam param;
	int apitype = 0;
	char *program = NULL;
	char *mode = NULL;
	
			apitype = 0x141;
			program = "ms0:/PSP/GAME/BOOT/EBOOT.PBP";
			mode = "game";

	memset(&param, 0, sizeof(param));
	param.size = sizeof(param);
	param.args = strlen(program)+1;
	param.argp = program;
	param.key = mode;
    param.vshmain_args_size = 0;
    param.vshmain_args = NULL; 	
	sctrlKernelLoadExecVSHWithApitype(apitype, program, &param);
What i have to add to avoid that PSP shows SCEE logo every time I exit from that homebrew?
Please help me :(
Pirata Nervo
Posts: 409
Joined: Tue Oct 09, 2007 4:22 am

Post by Pirata Nervo »

This is "how to don't show the sony logo":
http://forums.ps2dev.org/viewtopic.php? ... logo#42242

But it's still a reboot and not a exit.

why are you using this function:
sctrlKernelLoadExecVSHWithApitype(apitype, program, &param);
that may be the problem.
I only use this:

Code: Select all

   memset(&param, 0, sizeof(param));
   param.size = sizeof(param);
   param.args = strlen(program)+1;
   param.argp = program;
   param.key = mode;
    param.vshmain_args_size = 0;
    param.vshmain_args = NULL; 
when I use the sceKernelLoadExecVSHMs2 or sctrl*

try this instead:

Code: Select all

	memset(&param, 0, sizeof(param));
	param.size = sizeof(param);
	param.args = strlen(program)+1;
	param.argp = program;
	param.key = mode;
Image
Upgrade your PSP
User avatar
Torch
Posts: 825
Joined: Wed May 28, 2008 2:50 am

Post by Torch »

You have to remove the lines

param.vshmain_args_size = 0;
param.vshmain_args = NULL;

Those are the arguments that the LAUNCHED EBOOT will pass to the VSH when you quit the LAUNCHED EBOOT.

0 and NULL are the same parameters the VSH receives on a system restart, hence it shows the SCE logo.
Pirata Nervo
Posts: 409
Joined: Tue Oct 09, 2007 4:22 am

Post by Pirata Nervo »

yeh that's why I told you to remove them lol
Image
Upgrade your PSP
Post Reply