irx into elf

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
Gandhi
Posts: 2
Joined: Mon Feb 12, 2007 12:00 am

irx into elf

Post by Gandhi »

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
sneeze
Posts: 15
Joined: Fri Mar 03, 2006 4:31 am

Post by sneeze »

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.
carlosn
Posts: 38
Joined: Thu Mar 10, 2005 2:14 am
Location: Orlando, Florida, US
Contact:

Post by carlosn »

Gandhi wrote
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!
Gandhi
Posts: 2
Joined: Mon Feb 12, 2007 12:00 am

Post by Gandhi »

Thank you for the answer

:) :) :) :)

Gandhi
Post Reply