Page 1 of 1

irx into elf

Posted: Mon Feb 12, 2007 12:23 am
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

Posted: Mon Feb 12, 2007 1:57 am
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.

Posted: Wed Feb 14, 2007 12:20 pm
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!

Posted: Sat Feb 17, 2007 12:32 am
by Gandhi
Thank you for the answer

:) :) :) :)

Gandhi