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 --- Bug Reports --- Site News

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

  

Author Topic: MAME X- and Y-Board Link W.I.P.  (Read 3113 times)

0 Members and 1 Guest are viewing this topic.

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1205
  • Last login:Today at 07:32:51 am
    • For Amusement Only e.V.
MAME X- and Y-Board Link W.I.P.
« on: January 18, 2023, 10:09:43 am »
You would not believe how hard it is to get an actual image of a X-Board Link-PCB...

"soon (tm)"



I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1719
  • Last login:Today at 07:37:58 am
  • Is running at 15kHz
Re: MAME X- and Y-Board Link W.I.P.
« Reply #1 on: January 18, 2023, 05:25:58 pm »
ooooh! Amazing work, and I'll be watching this one keenly

MrThunderwing

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1043
  • Last login:Yesterday at 06:41:08 am
  • As I pass, do I give you the ass or the crotch?
Re: MAME X- and Y-Board Link W.I.P.
« Reply #2 on: January 18, 2023, 06:00:11 pm »
Well, this has just blown my mind! I had no idea those 2 old Sega classic games even had any multiplayer link-up functionality. Incredible!

baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 776
  • Last login:Today at 09:58:34 am
Re: MAME X- and Y-Board Link W.I.P.
« Reply #3 on: January 20, 2023, 01:02:40 am »
Powerdrift is one of my favourite racing games  :cheers:

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1205
  • Last login:Today at 07:32:51 am
    • For Amusement Only e.V.
Re: MAME X- and Y-Board Link W.I.P.
« Reply #4 on: January 23, 2023, 04:04:57 pm »
PowerDrift proofs to be a hard one - I cannot get them synced up "reliable".
Sometimes the game runs smooth as butter, then on the next try, the game keeps glitching out *sighs*
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 776
  • Last login:Today at 09:58:34 am
Re: MAME X- and Y-Board Link W.I.P.
« Reply #5 on: January 24, 2023, 01:04:34 am »
We already know that you will fix it, Arianne ;)

Nuexzz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 279
  • Last login:Today at 01:26:58 am
Re: MAME X- and Y-Board Link W.I.P.
« Reply #6 on: January 26, 2023, 12:52:53 am »
PowerDrift proofs to be a hard one - I cannot get them synced up "reliable".
Sometimes the game runs smooth as butter, then on the next try, the game keeps glitching out *sighs*

I have no idea of ​​the addresses that you have manipulated, perhaps one is the wrong one and it only ignores the address as a consequence, for example, it changes to master only because you select ID 1, I know the case that the value of an address changes the value of another.

 :blah: :blah: :laugh2:

to find it I remember to put a non-existent value and then look for the correct address with a real value.
« Last Edit: January 26, 2023, 12:56:16 am by Nuexzz »

MrThunderwing

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1043
  • Last login:Yesterday at 06:41:08 am
  • As I pass, do I give you the ass or the crotch?
Re: MAME X- and Y-Board Link W.I.P.
« Reply #7 on: January 27, 2023, 11:35:24 am »
So, is this a publicly available MAME build or a still WIP private one?

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1205
  • Last login:Today at 07:32:51 am
    • For Amusement Only e.V.
Re: MAME X- and Y-Board Link W.I.P.
« Reply #8 on: February 02, 2023, 03:53:10 am »
I can share them, but it still is kinda glitchy.
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


MrThunderwing

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1043
  • Last login:Yesterday at 06:41:08 am
  • As I pass, do I give you the ass or the crotch?
Re: MAME X- and Y-Board Link W.I.P.
« Reply #9 on: February 02, 2023, 06:01:05 pm »
No worries SailorS, I'm interested to try some link-up in those 2, but not in any kinda desperate hurry to do so if it still needs a bit of fine tuning.

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1205
  • Last login:Today at 07:32:51 am
    • For Amusement Only e.V.
Re: MAME X- and Y-Board Link W.I.P.
« Reply #10 on: February 03, 2023, 01:02:44 pm »
Please setup the dip switches before trying anything else! - Also take note DIP-Switches are stored in the CFG folder.

Consider it still W.I.P. - (64-bit windows only)



Super Monaco GP [smgp]
http://files.arianchen.de/cabmame/xbd.zip





Power-Drift (Link) [pdriftl]
http://files.arianchen.de/cabmame/ybd.zip
( comm_framesync should be set to 1 )





smgp-1to4.bat
Code: [Select]
@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 15114 %1 %2 %3
start xbd.exe smgp -nvram_directory nvram3 -cfg_directory cfg3 -comm_localport 15114 -comm_remoteport 15115 %1 %2 %3
start xbd.exe smgp -nvram_directory nvram4 -cfg_directory cfg4 -comm_localport 15115 -comm_remoteport 15112 %1 %2 %3



pdriftl-1to4.bat
Code: [Select]
@echo off
start ybd.exe pdriftl -cfg_directory cfg1 -nvram_directory nvram1 -comm_localport 15112 -comm_remoteport 15113 %1 %2 %3
start ybd.exe pdriftl -cfg_directory cfg2 -nvram_directory nvram2 -comm_localport 15113 -comm_remoteport 15114 %1 %2 %3
start ybd.exe pdriftl -cfg_directory cfg3 -nvram_directory nvram3 -comm_localport 15114 -comm_remoteport 15115 %1 %2 %3
start ybd.exe pdriftl -cfg_directory cfg4 -nvram_directory nvram4 -comm_localport 15115 -comm_remoteport 15112 %1 %2 %3
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1205
  • Last login:Today at 07:32:51 am
    • For Amusement Only e.V.
Re: MAME X- and Y-Board Link W.I.P.
« Reply #11 on: February 03, 2023, 01:04:01 pm »
To actually see each other in Super Monaco GP you have to complete the qualifing lap with each participating player.
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1205
  • Last login:Today at 07:32:51 am
    • For Amusement Only e.V.
Re: MAME X- and Y-Board Link W.I.P.
« Reply #12 on: February 03, 2023, 06:40:45 pm »






So Power Drift will run until 6 cars have reached the finish line.
However - there are 12 cars on the track, so if 8 players are human controlled but nobody actually finished the race, the game will never end. ;)

Player 0 actually is a live spectator mode.
Player 9 and 10 actually have unique car colors, but will overwrite data for player 1 and 2.

Now to hack the game rom to "fix" players 9, 10 and maybe even beyond ;)
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


MrThunderwing

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1043
  • Last login:Yesterday at 06:41:08 am
  • As I pass, do I give you the ass or the crotch?
Re: MAME X- and Y-Board Link W.I.P.
« Reply #13 on: February 03, 2023, 07:44:25 pm »
Please setup the dip switches before trying anything else! - Also take note DIP-Switches are stored in the CFG folder.

Consider it still W.I.P. - (64-bit windows only)



Super Monaco GP [smgp]
http://files.arianchen.de/cabmame/xbd.zip



Thanks SailorS, I've been able to get the 4 way Super Monaco GP link-up workining without issue (thanks for sharing all the info to stick in the batch file to launch simultaneously). I've run into a bit of hitch with Power Drift though, in that I cannot for the life of me finding a working Power Drift



Power-Drift (Link) [pdriftl]
http://files.arianchen.de/cabmame/ybd.zip
( comm_framesync should be set to 1 )





smgp-1to4.bat
Code: [Select]
@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 15114 %1 %2 %3
start xbd.exe smgp -nvram_directory nvram3 -cfg_directory cfg3 -comm_localport 15114 -comm_remoteport 15115 %1 %2 %3
start xbd.exe smgp -nvram_directory nvram4 -cfg_directory cfg4 -comm_localport 15115 -comm_remoteport 15112 %1 %2 %3



pdriftl-1to4.bat
Code: [Select]
@echo off
start ybd.exe pdriftl -cfg_directory cfg1 -nvram_directory nvram1 -comm_localport 15112 -comm_remoteport 15113 %1 %2 %3
start ybd.exe pdriftl -cfg_directory cfg2 -nvram_directory nvram2 -comm_localport 15113 -comm_remoteport 15114 %1 %2 %3
start ybd.exe pdriftl -cfg_directory cfg3 -nvram_directory nvram3 -comm_localport 15114 -comm_remoteport 15115 %1 %2 %3
start ybd.exe pdriftl -cfg_directory cfg4 -nvram_directory nvram4 -comm_localport 15115 -comm_remoteport 15112 %1 %2 %3

Thanks for this Sailor S, I've managed to get Super Monaco GP running in a 4 Player link-up with no problems at all - thanks for sharing the info to easily launch them in a batch file too, very handy!

Edited: Both games working in both a 4 player and 2 Player link-up now, thanks for this Sailor S, great to see these classics in multiplayer.
« Last Edit: February 04, 2023, 07:26:53 am by MrThunderwing »

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1205
  • Last login:Today at 07:32:51 am
    • For Amusement Only e.V.
Re: MAME X- and Y-Board Link W.I.P.
« Reply #14 on: February 03, 2023, 08:25:56 pm »
i doubt it, as the link version appears to have a nearly unique rom set.
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


MrThunderwing

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1043
  • Last login:Yesterday at 06:41:08 am
  • As I pass, do I give you the ass or the crotch?
Re: MAME X- and Y-Board Link W.I.P.
« Reply #15 on: February 05, 2023, 04:56:07 pm »
Managed to get a mate over to test out the 2 player mode in Super Monaco GP.

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1719
  • Last login:Today at 07:37:58 am
  • Is running at 15kHz
Re: MAME X- and Y-Board Link W.I.P.
« Reply #16 on: February 05, 2023, 05:53:01 pm »
hah, that's great. I'm loving the progress of this, Sailorsat!

MrThunderwing

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1043
  • Last login:Yesterday at 06:41:08 am
  • As I pass, do I give you the ass or the crotch?
Re: MAME X- and Y-Board Link W.I.P.
« Reply #17 on: February 06, 2023, 12:19:01 pm »
Some Power Drift 2 Player.. sort of

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1719
  • Last login:Today at 07:37:58 am
  • Is running at 15kHz
Re: MAME X- and Y-Board Link W.I.P.
« Reply #18 on: June 07, 2023, 04:50:18 am »
Hi Sailorsat, I'm curious as to where things are up to now :)

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1205
  • Last login:Today at 07:32:51 am
    • For Amusement Only e.V.
Re: MAME X- and Y-Board Link W.I.P.
« Reply #19 on: June 07, 2023, 07:30:46 pm »
Nothing new at all. I still can't figure out some details.
But to be honest, having played a few 8 player sessions with Powerdrift, I'm kinda "okay" with the current state.

Still trying to get hands on a X-Board or Y-Board Comm-PCB, though :)
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1719
  • Last login:Today at 07:37:58 am
  • Is running at 15kHz
Re: MAME X- and Y-Board Link W.I.P.
« Reply #20 on: June 09, 2023, 08:41:47 pm »
righto, thanks for the info. I should probably just give things a go in 2-player with the current versions then :)

xga

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 58
  • Last login:June 28, 2023, 02:01:35 am
  • I want to build my own arcade controls!
Re: MAME X- and Y-Board Link W.I.P.
« Reply #21 on: June 28, 2023, 01:31:11 am »
You would not believe how hard it is to get an actual image of a X-Board Link-PCB...

"soon (tm)"


Hi SailorSat.  Please excuse my very poor stitching together in MSPaint.  Is this the X-Board Link-PCB you are looking for?


SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1205
  • Last login:Today at 07:32:51 am
    • For Amusement Only e.V.
Re: MAME X- and Y-Board Link W.I.P.
« Reply #22 on: June 29, 2023, 02:57:21 am »
That apears to a GP-Rider Link-PCB, which is not the one I am searching for :)
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


Goldbricker

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:September 14, 2023, 08:41:44 am
  • I want to build my own arcade controls!
Re: MAME X- and Y-Board Link W.I.P.
« Reply #23 on: August 04, 2023, 11:38:56 am »
Hi, new member here. I'd love to give this a try I've got a (currently unworking) Powerdrift arcade sitting in my garage and I would love to try 2 player.
From reading the thread I think I need:

1. A copy of Mame (does this need to be a custom build for the netcode and is it available to download? Or does ybd.exe contain all the necessary files?).
2. A copy of ybd.exe which I downloaded from SailorSat
3. A copy of the pdriftl rom (is a specific version of this needed)

I can run pdriftl in Mame 0.257 but it's missing the Sega YBoard section in the settings.

I try to run just to start one instance of ybd with:
ybd.exe pdriftl -cfg_directory cfg1 -nvram_directory nvram1 -comm_localport 15112 -comm_remoteport 15

but I get the error:
Error running plugin bootstrap script : runtime error
plugins/data/init.lua:30: attempt to call a nil value (field 'add_machine_reset_notifier')

Not sure if we're supposed to discuss in this level of detail in the thread so happy to do it via PM if that's preferred.

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1719
  • Last login:Today at 07:37:58 am
  • Is running at 15kHz
Re: MAME X- and Y-Board Link W.I.P.
« Reply #24 on: August 04, 2023, 11:12:16 pm »
I'd say discussing here is best, that way anyone else with the same probs can benefit :)

I would imagine the ybd.exe is just the mame/exe with vital changes. You probably need the rest of mame, then you dump the ybd.exe in the directory and run from it. If you have trouble with that, i would look to source a version on MAME from when Sailorsat dropped the pdrift version.

I'm also not sure, but a lot of times with mame linked games you need to be running both instances before either mame.exe (here ybd.exe) will actually start.
« Last Edit: August 04, 2023, 11:14:35 pm by buttersoft »

MrThunderwing

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1043
  • Last login:Yesterday at 06:41:08 am
  • As I pass, do I give you the ass or the crotch?
Re: MAME X- and Y-Board Link W.I.P.
« Reply #25 on: August 06, 2023, 03:40:55 pm »
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: [Select]
@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

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.
« Last Edit: August 06, 2023, 03:42:35 pm by MrThunderwing »

Goldbricker

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:September 14, 2023, 08:41:44 am
  • I want to build my own arcade controls!
Re: MAME X- and Y-Board Link W.I.P.
« Reply #26 on: August 07, 2023, 04:08:38 pm »
Appreciate the responses guys I'm just on holiday but I'll pick this up when I get back.