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 150836 times)

0 Members and 1 Guest are viewing this topic.

dekkit

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:April 18, 2025, 12:30:22 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.

Just sharing my specs in case it helps anyone else debug their setup


Old pair
2 Cores, @2.26 GHz, Penryn (was master) win7
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)

The newer set of identical PCs how are a different story.
i5-3470. @3.6 GHz win7
Cross over cable, 1gb network (but not messed with jumbo frames)

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 - was going to try adjusting the CPU speed of car 2 of the newer i5 ) but it looks that network throttle tool might just do the same sort of trick.

Curious as to what the original arcade cab video frame rate is...assuming it's close to 58-59 - hence the sweet spot for network performance?

I will test some of the new tools further and update with any feedback.

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1796
  • Last login:March 24, 2025, 05:58:47 am
  • 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: 1234
  • Last login:Today at 12:33:15 pm
    • 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: 1796
  • Last login:March 24, 2025, 05:58:47 am
  • 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:March 30, 2025, 07:19:39 pm
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: 1234
  • Last login:Today at 12:33:15 pm
    • 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:March 30, 2025, 07:19:39 pm
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!