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 

returning to my application after loading another app

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



Joined: 01 May 2006
Posts: 11
Location: La Coruna - Spain

PostPosted: Fri Oct 06, 2006 2:58 am    Post subject: returning to my application after loading another app Reply with quote

Iīm looking for a way to return to my application after it loads other application. Itīs something like trying to replace the XMB.

I taked a look in the forum, and I read something about if the app is compiled as prx and loaded by other application, when exiting, returns to the application that had load the module (because the prx is unloaded). But my case is a bit different. I want to load eboots (not prx) and then return to my app, not the XMB. This is maybe something like done by irshell.

Any suggestions? Thanks.
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Fri Oct 06, 2006 6:45 am    Post subject: Reply with quote

Depends _how_ you want to do it, considering you want to stop the XMB restarting then the easiest is to hook sceKernelExitGame and then just LoadExec your original code. I could explain more but I dont feel like it, there is example code around if you can be arsed to look for it ;)
Back to top
View user's profile Send private message
gff_cruner



Joined: 01 May 2006
Posts: 11
Location: La Coruna - Spain

PostPosted: Fri Oct 06, 2006 9:02 pm    Post subject: Reply with quote

Thanks TyRaNiD, I had been looking for a bit harder and I found interesting stuff about "hooking" :)

Iīll still looking for helpful code a bit more.
Back to top
View user's profile Send private message
gff_cruner



Joined: 01 May 2006
Posts: 11
Location: La Coruna - Spain

PostPosted: Sat Oct 07, 2006 10:06 pm    Post subject: Reply with quote

I found a lot of information about "hooking" and module patching (psplink source was very helpful, thanks TyRaNiD again ;) ) but I have one more question.

Could the module patching in ram affect to prx in the flash?? I think not, but my psp is not chipped and I donīt want to damage it :P
Back to top
View user's profile Send private message
weltall



Joined: 20 Feb 2004
Posts: 310

PostPosted: Sat Oct 07, 2006 11:46 pm    Post subject: Reply with quote

no they are just ram patches
to modify something on your flash you need to remount it and access to file with file functions or by nand direct access
Back to top
View user's profile Send private message Visit poster's website
gff_cruner



Joined: 01 May 2006
Posts: 11
Location: La Coruna - Spain

PostPosted: Sun Oct 08, 2006 2:07 am    Post subject: Reply with quote

Thanks weltall.

No problem then so I keep working on it without worries :)
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