Page 1 of 1

Is there any working ps2smap driver for PS3

Posted: Sun Nov 15, 2009 5:39 am
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?

Posted: Mon Nov 16, 2009 9:04 am
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