forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

LoadExecForKernel for licensed games

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
arnie



Joined: 11 Apr 2009
Posts: 20

PostPosted: Tue Apr 19, 2011 1:27 pm    Post subject: LoadExecForKernel for licensed games Reply with quote

Hello all,

I have worked out the function that is used to LoadExec PSN Licensed Games in the VSH.

From the things I have, this is the information:

SFO CATEGORY = EG


Sample code.

Code:

program = path;
mode = "umdemu";

memset(&param, 0, sizeof(param));
param.size = sizeof(param);
param.args = strlen(program)+1;
param.argp = program;
param.key = mode;
   
LoadExecForKernel_6D8D3A3A(path, &param);


I can confirm that it is the above function that is called when loading EG Games.

It's resolved by NID resolvers so that is the 3.52 NID for the function. You'll have to import it yourself to use it though.

However, I have a problem with that function. I cannot actually loadExec the game. It definitely tries to load it (the MS is loading like it does when loaded from VSH) however at some point, it quits and goes to the VSH with a 0x80020146 error (SCE_KERNEL_ERROR_PROHIBIT_LOADMODULE_DEVICE).

I am sure this game is correctly licensed to the PSP I am testing on as it loads in the VSH.

Any suggestions would be nice.

-arnold
Back to top
View user's profile Send private message
Torch



Joined: 28 May 2008
Posts: 846

PostPosted: Wed May 11, 2011 2:25 pm    Post subject: Reply with quote

Doesn't plain old usermode sceKernelLoadExec work from the XMB? It should reboot the PSP and launch your executable (UMD or where ever). I'm not sure if some checks were patched out in CFW.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group