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: fooling with m2emu network  (Read 165289 times)

0 Members and 1 Guest are viewing this topic.

dekkit

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:June 09, 2025, 09:05:01 am
  • I want to build my own arcade controls!
Re: fooling with m2emu network
« Reply #320 on: October 09, 2024, 07:03:47 am »
Firstly thank you sailorsat for the massive efforts to debug the emulator and try and troubleshoot the network component (if only someone had access to the source code ....) - also to the community for keeping this thread active for one of the best arcade games ever made.

Have recently setup another 2player Daytona emulation rig (with newer hardware ) and was really surprised to see how differently (ie worse) the network performed on the newer rig when compared to my older pair of laptops.

Update 27/4 - looks like this might of been due some funky firewall and M2 network settings (even possibly a bad cross over cable).

When I went back and reverted a bunch of settings and  the performance became what it should be.

I've left most of my original post below (as it highlights some of the min specs you can play on)


Old pair of laptops (running at 640x480 @60hz resolution)
Laptop 1
 2 Cores, @2.26 GHz, Penryn (was master) win7
Laptop 2
2 Cores, @1.66 GHz, Merom (was slave) winxp

2GB ram
Using a cross over cable , 100Mbit

Performed really with all the recommended settings (network sync =1 and not using the lagfix).  No freezes/pauses, very minimal flickering (occasional after a few races and not enough to spoil the fun)

Pair of 'All-in-one' pc's (running at 1920x1080 @60hz)
The newer set of identical PCs however were a different story initially but thankfully now are running great.

i5-3470. @3.6 GHz win7
Cross over cable, 1gb network (but not messed with jumbo frames)

Originally the settings I carried over from the other setup resulted in the dreaded 1-2 pause people mention all over this thread but other than that the cars didn't flicker too much if at all - however the in game pause really killed  the mood and seemed to happen randomly (not often but enough to make it annoying).

After turning off network sync(=0), and using the m2lagfix it was stable and removed the freezes but introduced a constant flickering of the other players car (seen from p1 and from p2).  Still more playable.
 
I was going to investigate the differences in each pair further (thinking the slower PC for car 2 might have been a factor in the laptop setup) but when revisited this again today - managed to get it working ok

 I started the setup again from scratch using the same recommended network settings as I used for the laptops (no vsync etc).  It looks like it's sorted now.
« Last Edit: April 27, 2025, 10:00:31 am by dekkit »

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1804
  • Last login:Yesterday at 09:02:12 pm
  • Is running at 15kHz
Re: fooling with m2emu network
« Reply #321 on: January 26, 2025, 05:17:45 am »
Sailorsat, sorry to be pain, but do you have outputs working ok with your 1.1c version?  I can see outputs in mamehooker but they never change state.

I was told, ages ago in another thread, that you needed the scripts from https://github.com/njz3/vJoyIOFeederWithFFB/tree/master/gameassets/nebula_m2_1.1 but that dir is 404 now.

EDIT: ok, new location for those scripts found (thanks @vincerplay) and outputs working again - https://github.com/njz3/BFF_gameassets/tree/dd185d82ea3829033a4d99a65767b3a4739778cc/image_njz3/Emulators/Model2%20v1.1a/scripts

I'd love to figure out how to get STCC leader lamps running next, but that looks like it's going to be much trickier.

EDIT2: @vincerplay modified a version of outputblaster to receive outputs from STCC and Sega Rally Champsionship - https://fastupload.io/1b9ad0d3638c2684
That file is all that is needed to get outputs from m2emu 1.1c. It works with the two games listed, does not work with Daytona anymore, and you would need to test other games.
« Last Edit: January 29, 2025, 05:36:43 pm by buttersoft »

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1235
  • Last login:Today at 09:54:33 am
    • For Amusement Only e.V.
Re: fooling with m2emu network
« Reply #322 on: January 31, 2025, 12:32:35 am »
I have outputs for all games in m2em woring, but I use my own tool to get them.

Basically the offset to read them is 'EmulatorEXE + 0x174CF0'

The only Exception is Daytona*, which uses 'M2EM_RAMBASE + 0x824' (and requires the lua patch)

Not very that helpfull I guess.
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: 1804
  • Last login:Yesterday at 09:02:12 pm
  • Is running at 15kHz
Re: fooling with m2emu network
« Reply #323 on: January 31, 2025, 05:55:48 am »
Not very that helpfull I guess.

I wouldn't say that, it's all interesting :)

Monkee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 169
  • Last login:June 08, 2025, 10:45:43 am
Re: fooling with m2emu network
« Reply #324 on: March 23, 2025, 10:49:25 am »
Just discovered this thread and it sounds great but sadly the download link seems to be down.  :'(

SailorSat

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1235
  • Last login:Today at 09:54:33 am
    • For Amusement Only e.V.
I do all that stuff even without a Joystick ;)
Soft-15kHz, cabMAME, For Amusement Only e.V.


Monkee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 169
  • Last login:June 08, 2025, 10:45:43 am
Re: fooling with m2emu network
« Reply #326 on: March 24, 2025, 05:42:45 pm »
Thanks a lot SailorSat! I cannot wait to try all those amazing arcade racers in multiplayer just like in my childhood!  8)

WolfRagnell

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:April 11, 2025, 07:51:45 am
  • I want to build my own arcade controls!
Re: fooling with m2emu network
« Reply #327 on: April 11, 2025, 07:47:43 am »
Sailorsat, sorry to be pain, but do you have outputs working ok with your 1.1c version?  I can see outputs in mamehooker but they never change state.

I was told, ages ago in another thread, that you needed the scripts from https://github.com/njz3/vJoyIOFeederWithFFB/tree/master/gameassets/nebula_m2_1.1 but that dir is 404 now.

EDIT: ok, new location for those scripts found (thanks @vincerplay) and outputs working again - https://github.com/njz3/BFF_gameassets/tree/dd185d82ea3829033a4d99a65767b3a4739778cc/image_njz3/Emulators/Model2%20v1.1a/scripts

I'd love to figure out how to get STCC leader lamps running next, but that looks like it's going to be much trickier.

EDIT2: @vincerplay modified a version of outputblaster to receive outputs from STCC and Sega Rally Champsionship - https://fastupload.io/1b9ad0d3638c2684
That file is all that is needed to get outputs from m2emu 1.1c. It works with the two games listed, does not work with Daytona anymore, and you would need to test other games.


Yo currently adding race leader lights to my setup as I learn the ins and outs. the link for the output blaster sega rally & stcc file is down do you know where else I could find it, or if you could upload it for me? tried searching around to no luck,would love the file especially for sega rally cheers!

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1804
  • Last login:Yesterday at 09:02:12 pm
  • Is running at 15kHz
Re: fooling with m2emu network
« Reply #328 on: May 25, 2025, 12:07:12 am »
Hi @WolfRagnell, i've bene moving househad no time to check the forums. I think Vincerplay & MightyMike updated Boomslangz new OutputBlaster to let M2Emu push outputs to MameHooker. Try Boom's channel in the TeknoParrot Discord.

And my god that sounded like a lot of gibberish even to me. If it doesn't make sense or you still get stuck, msg me in a week or two!