Discuss the development of new homebrew software, tools and libraries.
Moderators: cheriff , TyRaNiD
dridri
Posts: 34 Joined: Fri Jul 31, 2009 1:47 am
Post
by dridri » Thu Sep 17, 2009 7:33 am
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 » Thu Sep 17, 2009 6:16 pm
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 » Thu Sep 17, 2009 7:56 pm
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 » Fri Sep 18, 2009 12:32 am
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
%:include<stdio.h>
int _(int __,int ___,int ____,int _____)
<%for(;____<___;_____=_____*__,____++);
return _____;%>main()<%printf
("%d\n",_(2,5,0,1));%>
dridri
Posts: 34 Joined: Fri Jul 31, 2009 1:47 am
Post
by dridri » Fri Sep 18, 2009 12:55 am
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 » Fri Sep 18, 2009 2:33 am
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
%:include<stdio.h>
int _(int __,int ___,int ____,int _____)
<%for(;____<___;_____=_____*__,____++);
return _____;%>main()<%printf
("%d\n",_(2,5,0,1));%>
dridri
Posts: 34 Joined: Fri Jul 31, 2009 1:47 am
Post
by dridri » Fri Sep 18, 2009 2:55 am
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 » Fri Sep 18, 2009 8:52 pm
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 » Fri Sep 18, 2009 8:56 pm
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...
Torch
Posts: 825 Joined: Wed May 28, 2008 2:50 am
Post
by Torch » Tue Sep 22, 2009 5:07 am
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 :)