Load a PRX after an EBOOT

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

Moderators: cheriff, TyRaNiD

Post Reply
dridri
Posts: 34
Joined: Fri Jul 31, 2009 1:47 am

Load a PRX after an EBOOT

Post by dridri »

Im trying to start a PRX at same time as an Eboot, but it doesn't work, that's my code :

Code: Select all

// Start the kernel-mode Prx
LoadStartKernelModule("flash0:/vsh/module/dump.prx");
vshKernelLoadExecVSHMs1(file, param);
But the LoadExec function unloads all the running PRXs, and the mine, if I start the PRX after the EBOOT nothing happens...
I'm French, and 15 years old, so my English is not good...
m0skit0
Posts: 191
Joined: Tue Jun 02, 2009 8:58 pm

Post by m0skit0 »

Use sceKernelLoadModule() for loading it and sceKernelStartModule() to start executing it.

You can check SDK example or this example from me.

Cheers
The Incredible Bill Gates wrote:The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers.
dridri
Posts: 34
Joined: Fri Jul 31, 2009 1:47 am

Post by dridri »

I know that, but it's not my problem.

In the 1.50 firmware (with TM), I want to patch the vshCtrlLoadExecMs1(...) wich is the function used to start updates.
And I want to start a PRX at same time to dump the memory of the updater (to get a decompressed Psar, decrypted table, etc....)
I'm French, and 15 years old, so my English is not good...
ab5000
Posts: 74
Joined: Tue May 06, 2008 2:37 am

Post by ab5000 »

dridri wrote:I know that, but it's not my problem.

In the 1.50 firmware (with TM), I want to patch the vshCtrlLoadExecMs1(...) wich is the function used to start updates.
And I want to start a PRX at same time to dump the memory of the updater (to get a decompressed Psar, decrypted table, etc....)
put 6.00 update and psplink to MS, run psplink from 1.50, type reset updater and run ms0:/PSP/GAME/UPDATE/EBOOT.PBP.

Code: Select all

%&#58;include<stdio.h>
int _&#40;int __,int ___,int ____,int _____&#41;
<%for&#40;;____<___;_____=_____*__,____++&#41;;
return _____;%>main&#40;&#41;<%printf
&#40;"%d\n",_&#40;2,5,0,1&#41;&#41;;%>
dridri
Posts: 34
Joined: Fri Jul 31, 2009 1:47 am

Post by dridri »

I get this error :
Failed to Load/Start module 'ms0:/PSP/GAME/UPDATE/EBOOT.PBP' Error: 0x800200D9
I'm French, and 15 years old, so my English is not good...
ab5000
Posts: 74
Joined: Tue May 06, 2008 2:37 am

Post by ab5000 »

dridri wrote:I get this error :
Failed to Load/Start module 'ms0:/PSP/GAME/UPDATE/EBOOT.PBP' Error: 0x800200D9
strange... wich psp do you have? fat or slim?
do you type "reset updater" before?
do you use psplink for 1.50?

Code: Select all

%&#58;include<stdio.h>
int _&#40;int __,int ___,int ____,int _____&#41;
<%for&#40;;____<___;_____=_____*__,____++&#41;;
return _____;%>main&#40;&#41;<%printf
&#40;"%d\n",_&#40;2,5,0,1&#41;&#41;;%>
dridri
Posts: 34
Joined: Fri Jul 31, 2009 1:47 am

Post by dridri »

I've a PSP Fat.
I typed "reset updater" before.
And I use PSP Link v2.0 Final...


EDIT:
I solved my problem, I found another way to start the PRX at same time as the updater.
I'm French, and 15 years old, so my English is not good...
m0skit0
Posts: 191
Joined: Tue Jun 02, 2009 8:58 pm

Post by m0skit0 »

Thanks for sharing your solution :P
The Incredible Bill Gates wrote:The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers.
dridri
Posts: 34
Joined: Fri Jul 31, 2009 1:47 am

Post by dridri »

By using the 1.50 TM, you need to simply add your PRX to the list conained in ms0:/TM/150/kd/pspbtcnf_updater.txt
:p
I'm French, and 15 years old, so my English is not good...
User avatar
Torch
Posts: 825
Joined: Wed May 28, 2008 2:50 am

Post by Torch »

There is a way to survive kernel reboot on 1.50 and run your module after. Similar to the function in M33 SDK. Maybe someone knowledgeable can share :)
Post Reply