Main > Driving & Racing Cabinets

MAME X- and Y-Board Link W.I.P.

<< < (6/6)

MrThunderwing:
Yeah, like Butter said, you can't run the emulator in a single instance - it'll just hang. The example SailorSat was using in her post, with the download link is for a 4 player setup. For a two player (on a single PC) use this code (using Super Monaco as an example)


--- Code: ---@echo off
start xbd.exe smgp -nvram_directory nvram1 -cfg_directory cfg1 -comm_localport 15112 -comm_remoteport 15113 %1 %2 %3
start xbd.exe smgp -nvram_directory nvram2 -cfg_directory cfg2 -comm_localport 15113 -comm_remoteport 15112 %1 %2 %3
--- End code ---

This is with a regular copy of MAME in the folder, plus the xbd.exe, and an smgp rom in your roms folder.
Edit: Oh, and don't forget to change the dipswitches in the game like in SailorS's picture.

Goldbricker:
Appreciate the responses guys I'm just on holiday but I'll pick this up when I get back.

Goldbricker:
I got powerdrift running with 4 players - Fantastic! The dipswitch settings was what I'd missed before I still can't believe this game even has a link up mode.

I had some follow up questions:

1. Is it possible play the game over LAN with another PC in this set up? From reading it seems that MAME needs OpenVPN set up to work properly.
2. I see SailorSat's videos where she's got the game running on on separate clients on what looks like Daytona cabs - how does that set up work?
3. What's the status of being able to control multiple instances of MAME running on one PC? Is it still the case that you have to have one player use the joypad and the rest on keys or is there a better solution?

Respect to SailorSat for your work on this and also Mr Thunderwing whose videos have been really helpful.

MrThunderwing:
No worries, glad you found them helpful. with regards to your other questions:
I haven't tried running SMGP or Power Drift over a 2 PC LAN (the info in the batch file is a little different to when I've done an actual multi PC link with Virtua Racing and Outrunners) but, based on the way I did those, I'd imagine you just change the -comm_localport and  -comm_remoteport to the IP address of the PC you're on and the PC you're linking to and then do the same on the other PC to create the loop network. You only need the info to launch a single instance of MAME on each PC - make sure your Firewall doesn't block the emulators from 'seeing' one another. If there's more to it than that you might need to speak to SailorS herself.

In the videos of Power Drift and SMGP I uploaded I was still restricted to only being able to use one joypad on the 'in-focus' game window and the other player having to use the keyboard. It seems though that there might be a solution for that now... I haven't actually tried this out myself, but you might want to check out the video below (Big Blue Frontend should really start paying me a commission of some sort, the amount of people I've directed to one of his older MAME how-to-get-a LAN-working video's :lol )
https://youtu.be/NHWBGoa2UJo?si=YBhF5sKUadntwSST

Goldbricker:
It works! I got a 2 player game going across 2 PCs.  :applaud:



Steps needed:
1. In mame.ini

#
# CORE COMM OPTIONS
#
comm_localhost            <pc1_ip>
comm_localport            15112
comm_remotehost           <pc2_ip>
comm_remoteport           15113
comm_framesync            1

and the same settings reversed on the other PC (pc1_ip is remotehost on pc2 / remoteport on pc2 is 15112).

It works really well - some sync issues on a few of the races but overall was great.

Navigation

[0] Message Index

[*] Previous page

Go to full version