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 vshmain.prx in game mode

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



Joined: 24 Mar 2008
Posts: 140

PostPosted: Wed May 26, 2010 12:28 am    Post subject: load vshmain.prx in game mode Reply with quote

hello,
i would like to know how is it possible to load and start the vshmain module when in game mode.
i want to create an homebrew that simply loads the XMB...
i know that ir shell does it but i don't know how to do it, at least what i try is not working..

what i'm doing is loading common_gui, common_util and paf (with their dependencies) but when i try to load vshmain i get the error: 8002012E...

to be precise i'm loading this modules (in order)
chkreg.prx
vaudio.prx
vshbridge.prx
paf.prx
common_gui.prx
common_util.prx

vshmain.prx <- can not load...

I think that would be nice a easy way to tell the kernel to reboot in vshmode and load my module instead of vshmain..

thanks..
_________________
Ciao! from Italy
Back to top
View user's profile Send private message
arnie



Joined: 11 Apr 2009
Posts: 16

PostPosted: Fri May 28, 2010 9:24 pm    Post subject: Reply with quote

You will need to get the list of modules loaded in VSH mode from pspbtknf (or something like that, you get the idea if you know what you're talking about).

Load the modules in the order in the list and off you go!

Note that you must be in kernel mode. User mode will not work :P

If done correctly, you would have the VSH boot up, but in official firmware and be able to run nothing at all. :P

Have fun :D

-arnie
Back to top
View user's profile Send private message
phobox



Joined: 24 Mar 2008
Posts: 140

PostPosted: Sun May 30, 2010 5:53 pm    Post subject: Reply with quote

I have that list and i am Now loading the modules loaded when booting in vsh mode that are not loaded in game mode..but i cannot load usersystemlib.prx..i'll try using kernel mode...
_________________
Ciao! from Italy
Back to top
View user's profile Send private message
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Wed Jun 02, 2010 6:40 am    Post subject: Reply with quote

I'd guess that IR shell does a kernel reboot with persistence to change the mode. There is no way in hell you are going to get the XMB to load that easily.
Back to top
View user's profile Send private message
phobox



Joined: 24 Mar 2008
Posts: 140

PostPosted: Wed Jun 02, 2010 4:57 pm    Post subject: Reply with quote

well.. i did it...

i'll post a sample for it
_________________
Ciao! from Italy
Back to top
View user's profile Send private message
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Wed Jun 02, 2010 5:50 pm    Post subject: Reply with quote

phobox wrote:
well.. i did it...

i'll post a sample for it


Sure it works properly? On the slim the memory partitions are different in VSH mode. It might crap out after heavy use.
Back to top
View user's profile Send private message
phobox



Joined: 24 Mar 2008
Posts: 140

PostPosted: Thu Jun 03, 2010 4:55 am    Post subject: Reply with quote

Torch wrote:
phobox wrote:
well.. i did it...

i'll post a sample for it


Sure it works properly? On the slim the memory partitions are different in VSH mode. It might crap out after heavy use.


well that may be correct, but i don't mind that much beacuse the reason for which i wanted to load properly vshmain is that i'm reversing paf and common_gui, and i wanted to do some tests based on the vshmain reverse.

here the sample
http://rapidshare.com/files/394527395/vshmainLoader.rar.html
http://www.megaupload.com/?d=W6ZYUVHU
_________________
Ciao! from Italy
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