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 

Wrapper Modules & Hooking sceKernelLoadModule...

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



Joined: 08 Feb 2007
Posts: 155

PostPosted: Mon Mar 30, 2009 2:03 am    Post subject: Wrapper Modules & Hooking sceKernelLoadModule... Reply with quote

Because Hooking into Userspace is such a pain in the ass I thought of alternative ways to achieve my goal of wrapping the Adhoc Modules.

A more brutal way you might say.

I think about writing wrapper prx's for...
pspnet_adhoc.prx
pspnet_adhoc_auth.prx
pspnet_adhoc_download.prx
pspnet_adhoc_matching.prx
and pspnet_adhocctl.prx.

There are three questions I have to get answered before I want to work out that idea.

1. How can I manually set NID's in my exports instead of auto-generating NID's using SHA-1?

2. If I do a syscall hook for sceKernelLoadModule, usermode applications (games) will pick my hook up, but inside my kernel module I should be able to call the real one normally... isn't that so?

3. Can someone give me a direct sample of how to make proper use of the exports and imports in my own modules? I want to tunnel all the data into ONE module at one point for transfer over the internet...
I don't quite get the stubs thing yet... and how to compile them into my PRXs properly.

Thanks in advance, I've found a lot of help in these forums already and am thankful for every bit of info I can gather.
_________________
Been gone for some time. Now I'm back. Someone mind getting me up-2-date?
Back to top
View user's profile Send private message MSN Messenger
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