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 

irx into elf

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



Joined: 12 Feb 2007
Posts: 2

PostPosted: Mon Feb 12, 2007 12:23 am    Post subject: irx into elf Reply with quote

hi,

i have a question. can i include the sio2man.irx and padman.irx into a elf file when i have the official sony librarys ???

i have the following commands:
extern int sceSifLoadModule(const char *filename, int args, const char *argp);
extern int sceSifLoadModuleBuffer(const void *addr, int args, const char *argp);
extern int sceSifLoadStartModule(const char *filename, int args,
const char *argp, int *result);
extern int sceSifLoadStartModuleBuffer(const void *addr, int args,
const char *argp, int *result);
extern int sceSifLoadElf(const char *name, sceExecData *data);
extern int sceSifLoadElfPart(const char *name, const char *secname,
sceExecData *data);
extern int sceSifStopModule(int modid, int args,
const char *argp, int *result);
extern int sceSifUnloadModule(int modid);
extern int sceSifSearchModuleByName(const char *modulename);
extern int sceSifSearchModuleByAddress(const void *addr);

extern int sceSifLoadFileReset(void);


can anybody help me with the problem ??

thanks
Gandhi
Back to top
View user's profile Send private message
sneeze



Joined: 03 Mar 2006
Posts: 15

PostPosted: Mon Feb 12, 2007 1:57 am    Post subject: Reply with quote

If you have access to the Sony libs, you should also have access to https://www.ps2-pro.com/ where you should be able to get all the help you need.
Back to top
View user's profile Send private message
carlosn



Joined: 10 Mar 2005
Posts: 38
Location: Orlando, Florida, US

PostPosted: Wed Feb 14, 2007 12:20 pm    Post subject: Reply with quote

Gandhi wrote
Quote:
i have a question. can i include the sio2man.irx and padman.irx into a elf file when i have the official sony librarys ???


I know two ways you can accomplish this.

The first one which is somewhat easy and less efficient
Find a PS2 game which has the same IOP image, sio2man.irx and padman.irx. Load the modules off the CDROM or DVDROM. The elf will load and run but you will loose connectivity to PS2link.

The second one which is more difficult and efficient
Recode libkernl and libpad. Get the code from PS2SDK, rename all functions to the sce notation and sce data types. Link the elf to the new libkernl and libpad. The elf will run and you will not loose connectivity to PS2link. The only disadvantage, all the demos are copyrighted by SONY and you can't distribute any of it. Talk about spoiling all the fun.

Enjoy!
Back to top
View user's profile Send private message Visit poster's website
Gandhi



Joined: 12 Feb 2007
Posts: 2

PostPosted: Sat Feb 17, 2007 12:32 am    Post subject: Reply with quote

Thank you for the answer

:) :) :) :)

Gandhi
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 -> PS2 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