Loading .IRX from computer to PS2

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

Moderators: cheriff, Herben

Locked
ghostboy78
Posts: 22
Joined: Mon Jul 24, 2006 1:11 pm

Loading .IRX from computer to PS2

Post by ghostboy78 »

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
:D
cosmito
Posts: 307
Joined: Sun Mar 04, 2007 4:26 am
Location: Portugal
Contact:

Post by cosmito »

Take a look at Mega Man's reply to thread :
http://forums.ps2dev.org/viewtopic.php?t=9840
ghostboy78
Posts: 22
Joined: Mon Jul 24, 2006 1:11 pm

Post by ghostboy78 »

ptek wrote:Take a look at Mega Man's reply to thread :
http://forums.ps2dev.org/viewtopic.php?t=9840
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.
:D
User avatar
Lukasz
Posts: 248
Joined: Mon Jan 19, 2004 8:37 pm
Location: Denmark
Contact:

Post by Lukasz »

Use "host:PADMAN.IRX" and remeber that PADMAN requires SIO2MAN to be loaded first.
ghostboy78
Posts: 22
Joined: Mon Jul 24, 2006 1:11 pm

Post by ghostboy78 »

Lukasz wrote:Use "host:PADMAN.IRX" and remeber that PADMAN requires SIO2MAN to be loaded first.
this doesn't work neither. My two .IRX files are in my C:\ directory also if this helps solve my problem.
:D
User avatar
Lukasz
Posts: 248
Joined: Mon Jan 19, 2004 8:37 pm
Location: Denmark
Contact:

Post by Lukasz »

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.
ghostboy78
Posts: 22
Joined: Mon Jul 24, 2006 1:11 pm

Post by ghostboy78 »

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.
Neither of what you said worked :/ I dunno whats going on so heres some source.

Code: Select all

    sceSifInitRpc&#40;0&#41;;
    while &#40;sceSifLoadModule&#40;"host&#58;sio2man.irx",
			0, NULL&#41; < 0&#41;&#123;
	printf&#40;"Can't load module sio2man\n"&#41;;
    &#125;
    while &#40;sceSifLoadModule&#40;"host&#58;padman.irx",
			0, NULL&#41; < 0&#41;&#123;
	printf&#40;"Can't load module padman\n"&#41;;
    &#125;
:D
ffgriever
Posts: 11
Joined: Sat Oct 27, 2007 7:06 am

Post by ffgriever »

It seems you're using SCE's sdk, not ps2sdk. I'm afraid you won't get much help here.
Locked