Is there any working ps2smap driver for PS3

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

Moderators: cheriff, Herben

Post Reply
ziddiri
Posts: 2
Joined: Thu Jun 18, 2009 10:09 pm

Is there any working ps2smap driver for PS3

Post by ziddiri »

Hi,
I'm looking for smap driver for PS2 simulation under PS3. smap.irx from ps2eth is not working on PS3. AFAIK, the smap.irx in the PS2 online games is different from ps2sdk's smap driver. Network startup disc is working on PS3 and it can test and verify the connection. But I couldn't use smap.irx from that disc.

Code: Select all

result = SifExecModuleBuffer(&smap_irx, sizeof_smap_irx, lenof_ipsettings, ipsettings, &r);
if &#40;&#40;!$r&#41;||&#40;result < 0&#41;&#41;
&#123;
	printf&#40;"not working"&#41;;
&#125;
Any idea?
Mega Man
Posts: 260
Joined: Sat Jun 18, 2005 3:14 am
Contact:

Post by Mega Man »

This sounds interesting. I don't have a PS3.
I never thought about using the dollar sign in variable names. You confused "$r" and "r" and checked the variables in the wrong order.
The value of "r" is invalid if the return value of SifExecModule is lesser than 0. So the correct code is:

Code: Select all

if &#40;&#40;result < 0&#41; || &#40;r != 0&#41;&#41; &#123;
   printf&#40;"not working"&#41;; 
&#125;
You need to check if "result" or "r" is the problem.

Maybe SBV patches are not working or you didn't load the required modules in the correct order:
rom0:SIO2MAN
ioptrap.irx
iomanX.irx
poweroff.irx
ps2dev9.irx
ps2ip.irx
ps2smap.irx
Post Reply