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 

Loading .IRX from computer to PS2

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
ghostboy78



Joined: 24 Jul 2006
Posts: 22

PostPosted: Fri Apr 11, 2008 8:24 am    Post subject: Loading .IRX from computer to PS2 Reply with quote

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
Back to top
View user's profile Send private message
cosmito



Joined: 04 Mar 2007
Posts: 314
Location: Portugal

PostPosted: Fri Apr 11, 2008 8:48 am    Post subject: Reply with quote

Take a look at Mega Man's reply to thread :
http://forums.ps2dev.org/viewtopic.php?t=9840
Back to top
View user's profile Send private message Visit poster's website
ghostboy78



Joined: 24 Jul 2006
Posts: 22

PostPosted: Fri Apr 11, 2008 11:25 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Lukasz



Joined: 19 Jan 2004
Posts: 248
Location: Denmark

PostPosted: Fri Apr 11, 2008 4:20 pm    Post subject: Reply with quote

Use "host:PADMAN.IRX" and remeber that PADMAN requires SIO2MAN to be loaded first.
_________________
Lukasz.dk
Back to top
View user's profile Send private message Visit poster's website
ghostboy78



Joined: 24 Jul 2006
Posts: 22

PostPosted: Sat Apr 12, 2008 10:04 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Lukasz



Joined: 19 Jan 2004
Posts: 248
Location: Denmark

PostPosted: Sat Apr 12, 2008 4:32 pm    Post subject: Reply with quote

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.
_________________
Lukasz.dk
Back to top
View user's profile Send private message Visit poster's website
ghostboy78



Joined: 24 Jul 2006
Posts: 22

PostPosted: Sun Apr 13, 2008 2:23 am    Post subject: Reply with quote

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:
    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
Back to top
View user's profile Send private message
ffgriever



Joined: 27 Oct 2007
Posts: 13

PostPosted: Wed Apr 16, 2008 10:54 pm    Post subject: Reply with quote

It seems you're using SCE's sdk, not ps2sdk. I'm afraid you won't get much help here.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    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