Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Model 1 Link (Virtua Racing)  (Read 4998 times)

0 Members and 1 Guest are viewing this topic.

Krakatoa

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:Yesterday at 07:35:25 pm
  • No idea what I am doing
Model 1 Link (Virtua Racing)
« on: March 30, 2022, 08:15:16 am »
Hi,
Does anyone know how to link these games? I tried last night for a few hours but I couldn't get it to work.

On PC 1 I set the following in the mame.ini (PC 1 IP address = 192.168.86.2)

mame.ini settings:
comm_localhost 0.0.0.0
comm_localport 15111
comm_remotehost 192.168.86.3
comm_remoteport 15112
comm_framesync 0


On PC 2 I set the following in mame.ini (PC 2 IP address = 192.168.86.3)
comm_localhost 0.0.0.0
comm_localport 15112
comm_remotehost 192.168.86.2
comm_remoteport 15111
comm_framesync 0

Am I missing something? Also after messing around, I can no longer run Virtua Racing in widescreen, no matter what I set in the service menu, but that's another issue I can fix later :)

thanks,

MrThunderwing

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1054
  • Last login:March 24, 2024, 07:22:01 pm
  • As I pass, do I give you the ass or the crotch?
Re: Model 1 Link (Virtua Racing)
« Reply #1 on: March 30, 2022, 10:59:08 am »
I got a 2 and 3 PC LAN working with this years ago, so I'm a bit rusty on the setup (my old PC I used to use as player 2 died ages back and the home network between my normal PC and Barcade cabinet seems to have inexplicably become broken, so they can't see each other anymore)

Anyway, I had a look in the MAME folder I still had for launching player 1 for the multi PC network. There's actually no config info for the network in my ini file, it's all in the batch file I use to launch the game. For Virtua Formula my P1 batch file looks like this:

Code: [Select]
start /b mame64.exe vformula -w -comm_localport 15111 -comm_remoteport 15112 -comm_localhost 0.0.0.0 -comm_remotehost 192.168.1.2
With the IP address at the end belonging to my old PC (RIP)

I had a 4 Player single PC version of Virtua Racing that I started like this:
Code: [Select]
start /b mame64.exe vr -w -cfg_directory cfg -nvram_directory nvram1 -comm_localport 15111 -comm_remoteport 15112 -comm_localhost 0.0.0.0 -comm_remotehost 127.0.0.1
start /b mame64.exe vr -w -cfg_directory cfg2 -nvram_directory nvram2 -comm_localport 15112 -comm_remoteport 15113 -comm_localhost 0.0.0.0 -comm_remotehost 127.0.0.1
start /b mame64.exe vr -w -cfg_directory cfg3 -nvram_directory nvram3 -comm_localport 15113 -comm_remoteport 15114 -comm_localhost 0.0.0.0 -comm_remotehost 127.0.0.1
start /b mame64.exe vr -w -cfg_directory cfg4 -nvram_directory nvram4 -comm_localport 15114 -comm_remoteport 15111 -comm_localhost 0.0.0.0 -comm_remotehost 127.0.0.1

Bear in mind this was a version of MAME that's 5 years old now and probably hugely outdated (MAME 170b), so the setup process for multiplayer might've changed since then. Another thing to just bear in mind too is that you'll need a ZIP file called 'm1comm' in your ROMs folder in order to get the network working. Hope that helps.
« Last Edit: March 30, 2022, 11:04:22 am by MrThunderwing »

Krakatoa

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:Yesterday at 07:35:25 pm
  • No idea what I am doing
Re: Model 1 Link (Virtua Racing)
« Reply #2 on: March 30, 2022, 11:34:58 am »
Thanks, I think this is my issue "'m1comm'" I'll test tonight and report back.

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1758
  • Last login:March 22, 2024, 12:55:20 am
  • Is running at 15kHz
Re: Model 1 Link (Virtua Racing)
« Reply #3 on: March 30, 2022, 06:38:41 pm »
From memory, for the same PC, the ports go in a ring, but the IP address stays the same. But for separate PC's, the IP's form the ring while the ports stay the same...?

Krakatoa

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:Yesterday at 07:35:25 pm
  • No idea what I am doing
Re: Model 1 Link (Virtua Racing)
« Reply #4 on: March 30, 2022, 06:41:37 pm »
Thanks, I tried setting the ports the same. Hangs on PC 2

Also I already had that comm file :(

Krakatoa

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:Yesterday at 07:35:25 pm
  • No idea what I am doing
Re: Model 1 Link (Virtua Racing)
« Reply #5 on: March 30, 2022, 07:02:29 pm »
Well i fixed the 16:9 issue

Had to add this into the vr.cfg file

        <video>
            <target index="0" view="Wide (16:9)" />
        </video>

Now I just need to get this link working.

Krakatoa

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:Yesterday at 07:35:25 pm
  • No idea what I am doing
Re: Model 1 Link (Virtua Racing)
« Reply #6 on: March 30, 2022, 07:24:47 pm »
Do i need to make changes in the service menu? So far all I've done is enable master and live and matched the other settings

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1758
  • Last login:March 22, 2024, 12:55:20 am
  • Is running at 15kHz
Re: Model 1 Link (Virtua Racing)
« Reply #7 on: March 31, 2022, 01:02:47 am »
Ok, i checked my working setup, and in the service menu, one cab should be master, one slave. Also in service menu, cars must be different colours - one red, one blue, for example. I don't think it will matter which is which, but for testing, to eliminate everything possible, I would leave the master cab's colour alone and change the slave.

Mame.ini from first cab:
#
# CORE COMM OPTIONS
#
comm_localhost            0.0.0.0
comm_localport            15112
comm_remotehost           192.168.1.100
comm_remoteport           15112

Mame.ini from second cab is identical, save IP change:
comm_remotehost           192.168.1.101

« Last Edit: March 31, 2022, 05:08:39 am by buttersoft »

Krakatoa

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:Yesterday at 07:35:25 pm
  • No idea what I am doing
Re: Model 1 Link (Virtua Racing)
« Reply #8 on: March 31, 2022, 08:28:45 am »
Thanks, for getting this info. I'll test it out tonight.

MrThunderwing

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1054
  • Last login:March 24, 2024, 07:22:01 pm
  • As I pass, do I give you the ass or the crotch?
Re: Model 1 Link (Virtua Racing)
« Reply #9 on: March 31, 2022, 03:59:15 pm »
Just thinking of other things to tick off the potential problems list, you haven't got something like a firewall blocking the 2 versions of MAME from communicating with each other?

MrThunderwing

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1054
  • Last login:March 24, 2024, 07:22:01 pm
  • As I pass, do I give you the ass or the crotch?
Re: Model 1 Link (Virtua Racing)
« Reply #10 on: March 31, 2022, 04:04:46 pm »
Ok, i checked my working setup, and in the service menu, one cab should be master, one slave. Also in service menu, cars must be different colours - one red, one blue, for example. I don't think it will matter which is which, but for testing, to eliminate everything possible, I would leave the master cab's colour alone and change the slave.

Mame.ini from first cab:
#
# CORE COMM OPTIONS
#
comm_localhost            0.0.0.0
comm_localport            15112
comm_remotehost           192.168.1.100
comm_remoteport           15112

Mame.ini from second cab is identical, save IP change:
comm_remotehost           192.168.1.101

Hrrrm, that's really bizarre. Like I mentioned, all my network info was in the batch files i used to start the games with rather than the ini file and I'm like 99% certain that the ports went in a ring on the different PCs 🤔

Krakatoa

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:Yesterday at 07:35:25 pm
  • No idea what I am doing
Re: Model 1 Link (Virtua Racing)
« Reply #11 on: March 31, 2022, 04:21:21 pm »
Just thinking of other things to tick off the potential problems list, you haven't got something like a firewall blocking the 2 versions of MAME from communicating with each other?

I've disabled firewalls on both PC until I can get it working :)

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1758
  • Last login:March 22, 2024, 12:55:20 am
  • Is running at 15kHz
Re: Model 1 Link (Virtua Racing)
« Reply #12 on: March 31, 2022, 06:21:51 pm »
Hrrrm, that's really bizarre. Like I mentioned, all my network info was in the batch files i used to start the games with rather than the ini file and I'm like 99% certain that the ports went in a ring on the different PCs 🤔

I reckon they could, but they clearly don't have to :)

Krakatoa

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:Yesterday at 07:35:25 pm
  • No idea what I am doing
Re: Model 1 Link (Virtua Racing)
« Reply #13 on: March 31, 2022, 06:53:17 pm »
Ok, i checked my working setup, and in the service menu, one cab should be master, one slave. Also in service menu, cars must be different colours - one red, one blue, for example. I don't think it will matter which is which, but for testing, to eliminate everything possible, I would leave the master cab's colour alone and change the slave.

Mame.ini from first cab:
#
# CORE COMM OPTIONS
#
comm_localhost            0.0.0.0
comm_localport            15112
comm_remotehost           192.168.1.100
comm_remoteport           15112


Mame.ini from second cab is identical, save IP change:
comm_remotehost           192.168.1.101

Set mine up the same and it still doesn't connect. Keeps saying checking network, but it never finishes.

I have the same MAME versions, same comme file, same rom file. So I am running out of ideas. The only difference between your ini and mine is the IP address.


Mame.ini from first cab:
#
# CORE COMM OPTIONS
#
comm_localhost            0.0.0.0
comm_localport            15112
comm_remotehost           192.168.86.73
comm_remoteport           15112
comm_framesync            0

Mame.ini from 2nd  cab:
#
# CORE COMM OPTIONS
#
comm_localhost            0.0.0.0
comm_localport            15112
comm_remotehost           192.168.86.83
comm_remoteport           15112
comm_framesync            0

One other thing I am running is the FFB plugin on one of the machines.
« Last Edit: March 31, 2022, 07:34:53 pm by Krakatoa »

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1758
  • Last login:March 22, 2024, 12:55:20 am
  • Is running at 15kHz
Re: Model 1 Link (Virtua Racing)
« Reply #14 on: March 31, 2022, 07:34:56 pm »
And you made sure the instances are set up as master and slave, not master and "live" like you said above? And car colours are set different? Hmmm, have you tried any other mame games that link the same way - so, Outrunners and F1 Super Lap?

If those won't work either, maybe try an older version of MAME? I think I'm on like 0.193 or something.

Krakatoa

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:Yesterday at 07:35:25 pm
  • No idea what I am doing
Re: Model 1 Link (Virtua Racing)
« Reply #15 on: March 31, 2022, 07:50:03 pm »
I got it. Your set up was correct, but somehow mame was using an old vr.ini int eh root. Deleted that and I am up and running.

Thank you both for helping me  :cheers:

MrThunderwing

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1054
  • Last login:March 24, 2024, 07:22:01 pm
  • As I pass, do I give you the ass or the crotch?
Re: Model 1 Link (Virtua Racing)
« Reply #16 on: April 01, 2022, 05:27:06 am »
No worries, glad you got it sorted!

Super-Becker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 86
  • Last login:March 26, 2024, 09:12:11 pm
  • I want to build my own arcade controls!
Re: Model 1 Link (Virtua Racing)
« Reply #17 on: September 02, 2022, 10:17:39 am »
Wow guys! I am immensely happy! Thanks to you it's working for me! Thank you very much! I wish you a great weekend, my friends!

xbrunox

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 148
  • Last login:March 26, 2024, 01:48:30 am
  • I want to build my own arcade controls!
Re: Model 1 Link (Virtua Racing)
« Reply #18 on: September 06, 2022, 09:19:25 am »
HI Guys How i must set my port and IP for run an istance on a PC with 192.168.1.85 and TWO istance on another PC with IP 192.168.1.86

thanks.

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1758
  • Last login:March 22, 2024, 12:55:20 am
  • Is running at 15kHz
Re: Model 1 Link (Virtua Racing)
« Reply #19 on: September 06, 2022, 07:31:43 pm »
HI Guys How i must set my port and IP for run an istance on a PC with 192.168.1.85 and TWO istance on another PC with IP 192.168.1.86

thanks.

There would be a few ways to set this up, but as an example of a working setup (I hope) try this:

1st cab (192.168.1.85) single instance (player 1). In test menu set to master and car colour red. The comms section from mame.ini should read:
Quote
#
# CORE COMM OPTIONS
#
comm_localhost            0.0.0.0
comm_localport            15112
comm_remotehost           192.168.86.86
comm_remoteport           15113
comm_framesync            0
2nd  cab (192.168.1.86) 1st instance (player 2): In test menu set to slave and car colour blue. Mame.ini should read:
Quote
#
# CORE COMM OPTIONS
#
comm_localhost            0.0.0.0
comm_localport            15113
comm_remotehost           192.168.86.86
comm_remoteport           15114
comm_framesync            0
2nd  cab (192.168.1.86) 2nd instance (player 3): In test menu set to slave and car colour yellow. Player 3 needs to be running a separate instance of mame to the player 2 one i.e. from a different folder with it's own mame.ini, which should read:
Quote
#
# CORE COMM OPTIONS
#
comm_localhost            0.0.0.0
comm_localport            15114
comm_remotehost           192.168.86.85
comm_remoteport           15112
comm_framesync            0

« Last Edit: September 06, 2022, 07:53:06 pm by buttersoft »

xbrunox

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 148
  • Last login:March 26, 2024, 01:48:30 am
  • I want to build my own arcade controls!
Re: Model 1 Link (Virtua Racing)
« Reply #20 on: September 07, 2022, 05:22:17 am »
many Thanks! it work!

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1758
  • Last login:March 22, 2024, 12:55:20 am
  • Is running at 15kHz
Re: Model 1 Link (Virtua Racing)
« Reply #21 on: September 07, 2022, 07:10:39 am »
good to hear :)

xbrunox

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 148
  • Last login:March 26, 2024, 01:48:30 am
  • I want to build my own arcade controls!
Re: Model 1 Link (Virtua Racing)
« Reply #22 on: September 08, 2022, 05:23:06 am »
Hi.
I've noticed that when i play on two PC  in a LAN Game for example with Virtua racing or outrunners or in rad rally i've got a significant input LAG.
is this normal? there's something that i can do?

when I play with no LAN between PC LAG is assent. I Use Groovymame build on CRT...

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1758
  • Last login:March 22, 2024, 12:55:20 am
  • Is running at 15kHz
Re: Model 1 Link (Virtua Racing)
« Reply #23 on: September 09, 2022, 05:57:53 am »
I'm not having a problem. When you ping each PC from the other, all looks normal?

I would try linking two instances across two PC's, rather than 3, and see if the lag is still there.

xbrunox

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 148
  • Last login:March 26, 2024, 01:48:30 am
  • I want to build my own arcade controls!
Re: Model 1 Link (Virtua Racing)
« Reply #24 on: September 09, 2022, 09:58:51 am »
Yes ping and LAn is perfect.

I Use over my two cabs in LAN supermodel games and teknoppart games and all is good.
i have small input lag problem only with mame specially with virtua racing (all release and version of mame). for example i use the special version for lan in ridge racer and i have not lag with ridge racer.
and i have input lag problem with model2 emulator.

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1758
  • Last login:March 22, 2024, 12:55:20 am
  • Is running at 15kHz
Re: Model 1 Link (Virtua Racing)
« Reply #25 on: September 09, 2022, 07:37:49 pm »
IDK, really. Are you using Boomslang's FFB plugin in both cases? Is so, try without? If not, try it with...?

vandale

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 408
  • Last login:October 10, 2023, 04:01:16 am
  • Id 10 and t error
Re: Model 1 Link (Virtua Racing)
« Reply #26 on: September 10, 2022, 03:14:59 am »
Yes ping and LAn is perfect.

I Use over my two cabs in LAN supermodel games and teknoppart games and all is good.
i have small input lag problem only with mame specially with virtua racing (all release and version of mame). for example i use the special version for lan in ridge racer and i have not lag with ridge racer.
and i have input lag problem with model2 emulator.

Are you talking about the steering deadzone?

If so, find deadzone in mame.ini and make it 0. This improves the deadzone but doesn't eliminate it. M2 and Teknoparrot dont have deadzone issues. Mame has had a crappy deadzone since the dark ages.

lord_raiden_128

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:Today at 08:10:07 am
  • I want to build my own arcade controls!
Re: Model 1 Link (Virtua Racing)
« Reply #27 on: January 24, 2023, 10:56:16 am »
I got it. Your set up was correct, but somehow mame was using an old vr.ini int eh root. Deleted that and I am up and running.

Thank you both for helping me  :cheers:

This finally got me over the hump after being stuck for several days!  :cheers: