Ive had a hard time with this and now its starting to make me mad...
My EE program is trying to load two .IRX files from my computer so that the pads can be used in the program. Does anybody know what format these should be loaded in?
so far ive got "host0:\\PADMAN.IRX";
but the above doesn't work. I'm using X-Link to run my .elf
Loading .IRX from computer to PS2
Take a look at Mega Man's reply to thread :
http://forums.ps2dev.org/viewtopic.php?t=9840
http://forums.ps2dev.org/viewtopic.php?t=9840
-
- Posts: 22
- Joined: Mon Jul 24, 2006 1:11 pm
Thanks, but it isn't what i'm trying to do. I want my .elf file to load the .irx file from my computer to my PS2 using X-Link.ptek wrote:Take a look at Mega Man's reply to thread :
http://forums.ps2dev.org/viewtopic.php?t=9840
:D
-
- Posts: 22
- Joined: Mon Jul 24, 2006 1:11 pm
-
- Posts: 22
- Joined: Mon Jul 24, 2006 1:11 pm
Neither of what you said worked :/ I dunno whats going on so heres some source.Lukasz wrote:If you are using PS2Link, the easist thing to do is to put the IRXs in the same directory as the ELF you are launching and use the relative path "host:<filename>".
Otherwise "host:c:\\padman.irx" or "host:c:/padman.irx" should work.
Code: Select all
sceSifInitRpc(0);
while (sceSifLoadModule("host:sio2man.irx",
0, NULL) < 0){
printf("Can't load module sio2man\n");
}
while (sceSifLoadModule("host:padman.irx",
0, NULL) < 0){
printf("Can't load module padman\n");
}
:D