Execute UMD

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

Moderators: cheriff, TyRaNiD

Post Reply
fergie4000
Posts: 25
Joined: Fri Jan 19, 2007 3:03 pm

Execute UMD

Post by fergie4000 »

How can I get the PSP to launch a UMD Game from homebrew? I have tried all the samples. I think I am doing everything right. But the PSP just crashes.

Code: Select all

int i;
i = sceUmdCheckMedium(0);
if(i == 0)
{
	sceUmdWaitDriveStat(UMD_WAITFORDISC);
}
sceUmdActivate(1, "disc0:");
sceUmdWaitDriveStat(UMD_WAITFORINIT);
sceKernelLoadExecVSHDisc(PATH, NULL);
Should that work? Or am I missing something? Thanks.
SWE_PsYcHo
Posts: 12
Joined: Sat Jan 27, 2007 4:07 am

Post by SWE_PsYcHo »

i need help on this aswell...
IAM A NEWBIE! ^^
F@T3oYCG
Posts: 7
Joined: Fri Jul 06, 2007 8:00 pm
Location: EUROPE, ENGLAND, WIDNESS

Post by F@T3oYCG »

Code: Select all

int i; 
i = sceUmdCheckMedium(0); 
if(i == 0) 
{ 
   sceUmdWaitDriveStat(UMD_WAITFORDISC); 
} 
sceUmdActivate(1, "[b]disc0:/[/b]"); 
sceUmdWaitDriveStat(UMD_WAITFORINIT); 
sceKernelLoadExecVSHDisc(PATH, NULL);
-----F@T3oYCG-----
E-MAIL: fatboycg@hotmail.co.uk
PSP FAT VERSION HISTORY:
2.00 --> 2.50 --> 1.50 --> 2.00 --> 1.50 --> 3.40 OE-A --> 3.52 M33-4
PSP SLIM VERSION HISTORY:
3.60 -- 3.60 M33 --> 3.71 M33 --> 3.72 M33-2 --> 3.71 M33-4
Post Reply