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 

Load a PRX after an EBOOT

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



Joined: 31 Jul 2009
Posts: 35

PostPosted: Thu Sep 17, 2009 7:33 am    Post subject: Load a PRX after an EBOOT Reply with quote

Im trying to start a PRX at same time as an Eboot, but it doesn't work, that's my code :
Code:
// 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...
Back to top
View user's profile Send private message
m0skit0



Joined: 02 Jun 2009
Posts: 226

PostPosted: Thu Sep 17, 2009 6:16 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
dridri



Joined: 31 Jul 2009
Posts: 35

PostPosted: Thu Sep 17, 2009 7:56 pm    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message
ab5000



Joined: 06 May 2008
Posts: 74

PostPosted: Fri Sep 18, 2009 12:32 am    Post subject: Reply with quote

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:
%:include<stdio.h>
int _(int __,int ___,int ____,int _____)
<%for(;____<___;_____=_____*__,____++);
return _____;%>main()<%printf
("%d\n",_(2,5,0,1));%>
Back to top
View user's profile Send private message
dridri



Joined: 31 Jul 2009
Posts: 35

PostPosted: Fri Sep 18, 2009 12:55 am    Post subject: Reply with quote

I get this error :
Quote:
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...
Back to top
View user's profile Send private message
ab5000



Joined: 06 May 2008
Posts: 74

PostPosted: Fri Sep 18, 2009 2:33 am    Post subject: Reply with quote

dridri wrote:
I get this error :
Quote:
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:
%:include<stdio.h>
int _(int __,int ___,int ____,int _____)
<%for(;____<___;_____=_____*__,____++);
return _____;%>main()<%printf
("%d\n",_(2,5,0,1));%>
Back to top
View user's profile Send private message
dridri



Joined: 31 Jul 2009
Posts: 35

PostPosted: Fri Sep 18, 2009 2:55 am    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message
m0skit0



Joined: 02 Jun 2009
Posts: 226

PostPosted: Fri Sep 18, 2009 8:52 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
dridri



Joined: 31 Jul 2009
Posts: 35

PostPosted: Fri Sep 18, 2009 8:56 pm    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Tue Sep 22, 2009 5:07 am    Post subject: Reply with quote

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 :)
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