Sorry to bring this back from the grave but I for the life of me can't get MAME to find the TAP adapter.
I've got the TAP driver installed and listed in network adapters with no device manager faults.I've tried several versions of MAME but everyone just gives "No network adapters were found" when running -listnetworkI've tried running MAME as admin and even CMDWhen setting sfrushrk.cfg interface to 0 or 1 I noticed the cfg gets reset to -1
Am I missing some MAME ini config entry that I need to enable to turn on network? Some forms noted a network menu in the main MAME screen but I don't have that.
Would love to get this working for a bit of local multiplayer fun.]
Alright, figured out the problem. OpenVPN recently updated the TAP adapter driver which looks to have either broken it or at least made it not work with MAME. Here are the steps I took to get this working. I can confirm it worked locally on the same machine as well as over my network between two machines on the LAN (PC to switch to router to PC). Next a buddy and I will be trying a VPN to see if we can play over the internet. Would love to see about getting a group together for a session if this works!!! This was all done using Bigtymer781's 60FPS port of MAME too! But it should work on any version of MAME that supports network.
Same ComputerPC 1PC 2For Multiple MAME on Single PC Link1 - Download the tap-windows-9.24.2-I601-Win10.exe file, or the one for your version of OS from OpenVPNs alternative download server (
https://build.openvpn.net/downloads/releases/) Ctrl-F will be your friend in finding it!
2 - Run the installer. (I checked all options including the SDK to be safe. You only need to check TAP Virtual Ethernet Adapter & TAP Utilities.
If you do not check TAP Utilities you will not have the bin folder with the add and delete .bat's referenced later on in this guide.)
3 - Go to Control Panel\Network and Internet\Network and Sharing Center
4 - Go to change adapter settings
5 - See if you have any TAP-Windows-Adapter V9 installed already
- optional, I renamed this adapter to MAME 1 to make things easier to identify. Mame does not care about the name as you will specify what adapter in the rush cfg file.
6 - Browse to C:\Program Files\TAP-Windows\bin
7 - Right click on addtap.bat and select run as administrator (This will install a new tap adapter for 2nd MAME, skip step 7 if you already have one installed when you looked in step 4)
-rename the second adapter if you wish
8 - Right click on addtap.bat and select run as administrator (ONLY DO THIS IF YOU HAD NO TAP ADAPTER INSTALLED ALREADY IN STEP 4)
9 - Go to Control Panel\Network and Internet\Network and Sharing Center & Change adapter settings again
10 - Select both tap adapters and right click then Bridge Connections
11 - Could get an error here
12 - Right click on the Network Bridge and select properties.
!!!Make sure both tap adapters have checkboxes selected in the top window!!!!13 - If you do not have two directories of MAME then you will need to do so now.
14 - Start sfrushrk in the first directory and then exit mame after the rush the rock splash screen appears.
15 - Start sfrushrk in the second directory. After the game boots fully press tab, select dip switches and change the serial number to something other than 6.
16 - For the second sfrushrk enter service mode (hold F2 after the game has booted, unless you changed the service mode key to something else) and change the car color from red to something else. Exit mame.
17 - Edit sfrushrk.cfg in the first mame cfg directory. In the network area change so that interface="0" . Don't forget to click save.
18 - Edit sfrushrk.cfg in the second mame cfg directory. In the network area change so that interface="1" . Don't forget to click save.
19 - Start the two instances of mame sfrushrk in the two separate directories. I'd recommend letting the machines run for a bit (about 10 sec) before trying to start a game.
-You can also use the test network option in service mode to verify the two sessions can communicate to eachother.
For Multiple PC LinkWouldn't work for me via wifi, please use direct ethernet connection
1 - Download the tap-windows-9.24.2-I601-Win10.exe file, or the one for your version of OS from OpenVPNs alternative download server (
https://build.openvpn.net/downloads/releases/) Ctrl-F will be your friend in finding it!
2 - Run the installer. (I checked all options including the SDK to be safe. You only need to check TAP Virtual Ethernet Adapter & TAP Utilities.
If you do not check TAP Utilities you will not have the bin folder with the add and delete .bat's referenced later on in this guide.)
3 - Go to Control Panel\Network and Internet\Network and Sharing Center
4 - Go to change adapter settings
5 - See if you have any TAP-Windows-Adapter V9 installed already, if so skip to step 9
- optional, I renamed this adapter to MAME 1 to make things easier to identify. Mame does not care about the name as you will specify what adapter in the rush cfg file.
6 - Browse to C:\Program Files\TAP-Windows\bin
7 - Right click on addtap.bat and select run as administrator
8 - Go to Control Panel\Network and Internet\Network and Sharing Center & Change adapter settings again
9 - Select tap adapter and your main ethernet adapter right click then Bridge Connections
10 - Could get an error here
11 - Right click on the Network Bridge and select properties.
!!!Make sure both network and tap adapters have checkboxes selected in the top window!!!!12 - Start sfrushrk in the first PC and then exit mame after the rush the rock splash screen appears.
13 - Start sfrushrk in the second PC. After the game boots fully press tab, select dip switches and change the serial number to something other than 6.
14 - For the second sfrushrk PC enter service mode (hold F2 after the game has booted, unless you changed the service mode key to something else) and change the car color from red to something else. Exit mame.
15 - Edit sfrushrk.cfg in the first PC cfg folder. In the network area change so that interface="0" .
16 - Edit sfrushrk.cfg in the second PC cfg folder. In the network area change so that interface="0" .
17 - Start sfrushrk on boht PCs. I'd recommend letting the machines run for a bit (about 10 sec) before trying to start a game.
-
!I had to reboot to get both PCs to see each other
!-You can also use the test network option in service mode to verify the two sessions can communicate to eachother.
IF UNSURE OF INTERFACE NUMBER
load mame with -listnetwork flag and see where your tap adapter comes in list. Interface only looks at the Virtual adapters installed eg if you are using
TAP-Windows Adapter V9 #3 you would generally be Interface 2. Interface 0 is first tap adapter, if you use 2nd tap adapter its interface 1 etc
With sfrushrk up and running you can also press tab and goto Network devices on each mame and ensure it says your Tap adapter you want to use. The name will match what you named your TAP adapter in control panel. If it's blank, change interface number in cfg folder again.
To Remove TAP Adapters
1 - Browse to C:\Program Files\TAP-Windows\bin
2 - Right click on deltapall.bat and select run as administrator
MAD THANKS TO Boomslang and tedgreen!!!!!!