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: Network Play? (again)  (Read 1625 times)

0 Members and 1 Guest are viewing this topic.

TOK

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3604
  • Last login:January 24, 2024, 05:14:24 pm
  • The Game Always Wins
Network Play? (again)
« on: December 18, 2004, 01:48:50 pm »
I'm in PA and have a relative in NY. We'd love to get some multiplayer Robotron or something going. I searched here and found the info on Kaillera and some other kind of cryptic info about network support being built into MAME32, but it all seems like dead ends. Kaillera seems to be an abandoned side project, and the forums over there are a bit grim. I think I actually felt myself getting stupider as I read them.  ;D

We both have cabs and high speed internet connections, so this would be a blast. Not even necessarily looking to play simultaneous stuff, just looking for something better than sending high score screen shots of Donkey Kong back and forth. I'm also open to some suggestions for some regular PC games that would play great on 2 networked cabs.

Hiub1

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 439
  • Last login:June 05, 2011, 11:43:25 am
  • www.sleepyjack.com
Re: Network Play? (again)
« Reply #1 on: December 18, 2004, 02:20:14 pm »
That is a great idea! Imagine a network service so that all of us with cabs here can link up and play some Street Fighter, Smash TV or something like that. From what I know, Kaillera still works, but I don't know to what extent. Anybody else have any input on this?

TheGatesofBill

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 581
  • Last login:August 22, 2018, 09:07:04 am
Re: Network Play? (again)
« Reply #2 on: December 19, 2004, 01:37:10 am »
I did some work on it, and its still on my to do list. Blame school.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Today at 04:15:56 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Network Play? (again)
« Reply #3 on: December 20, 2004, 03:44:18 am »
Just for the record:

Kaillera lags seriously on anything with more than two buttons.  Because of that, neither smashtv nor street fighter will play well on the service.  It's actually rather primative and has little to no syncing, which makes for an unenjoyable experience all around. 

Long story short... 

Online tetris =Yes
Online Mortal Kombat = Big fat No

Also in general it's kinda laggy anyway.

Works great on a small lan, but over the net it's a roll of the dice if the syncing will hold and two people will actually be able to play properly. 

Probably a better solution would be to get someone to hack directplay support into the windows port of mame.  It's very efficient when it comes to sending inputs and can easy handle about 36 at a time with dozens of people with little to no lag. 

Just my 2 cents based on when )p( sirp and myself looked into it a few years back. (Around the time when they stopped updating it.)

)p(

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 964
  • Last login:March 27, 2009, 03:38:15 am
  • We are the Galaxians...
    • Emulaxian:cabinet and frontend
Re: Network Play? (again)
« Reply #4 on: December 20, 2004, 08:00:18 am »

Just my 2 cents based on when )p( sirp and myself looked into it a few years back. (Around the time when they stopped updating it.)

oh yes..working network play would have been perfect for 3darcade's online arcades...or better the only really good reason that feature exists at all...maybe someday ;)

peter

wboy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 176
  • Last login:November 03, 2005, 05:09:19 pm
  • I'm a llama!
Re: Network Play? (again)
« Reply #5 on: December 20, 2004, 08:25:04 am »
I'm sorry, but with a good ping between the two+ parties, I've had more than enjoyable kaillera battles on Street Fighter 2 Hyper Fighting, while running Skype at the same time.

Its been said before.  I won't repeat myself.

See round 1 of this argument at http://forum.arcadecontrols.com/index.php/topic,19879.0.html

Never heard the "more than two buttons" problem before.

Lower your latency to enjoy kaillera.  Unfortuantely if the two parties are quite a distance apart, this may not be possble.



Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re: Network Play? (again)
« Reply #6 on: December 20, 2004, 08:34:39 am »
The only real solution I can see would be this.

Come up with a good generic design that works directly with mame.  This would require working only with streams (since almost every other protocol will by OS specific).

submit the proposal with comments.

Get the generic OK from the mame team that if done right, it will be submitted.

Mainly because I don't believe that any network solution that isn't in the main destribution will be used.  Remember, Linux still has a good network solution right now. 

I'm curious about how you could keep the cpus sync'd or do you just move the inports around? 

I could see a good solution would be to seperate the video hardware emulation and the CPUs.  So you have one computer with the cpus going.. and both with input/output and clone cpus... 

Then you send across the link all requests to load cpu registers -> video hardware (with values).  memory range -> video memory (range only) ect.  Then inputs go through..

but I'm not sure if thats too much infomation to really send across a link...

TOK

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3604
  • Last login:January 24, 2024, 05:14:24 pm
  • The Game Always Wins
Re: Network Play? (again)
« Reply #7 on: December 20, 2004, 11:49:23 am »
I can see how this gets really complicated with the two player simultaneous games. Unfortunately, I think the fighters are what most people want, and thats where the huge variety of processor and connection speed variables screw the game syncronization up. I'd love to just have a very basic peer-to-peer setup built into a front end that just lets you share a game in as close to realtime as the network will allow. I don't even care if the screen lags or glitches while the other guy is playing, just so score info is maintained.

I don't even think cross-platform support should be bothered with at first. Since MAME32 is so well integrated into Windows, it seems like it'd be a natural for network play, and you start from the easiest launching point. Not saying Linux and Mac aren't good options, just that they're more of a fringe and that stuff can be added as the project matures. If I was into Linux, I'd probaby just set up a dual-boot and only use Windows when I wanted to play multi-player.
This is kind of a tangent, but when I first started my cab, I tried Mandrake Linux, and didn't really find any compelling reasons to choose it over Windows XP with unnecessary services disabled. Windows booted faster, and the game speed was identical on my 2ghz Pentium.


Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Today at 04:15:56 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Network Play? (again)
« Reply #8 on: December 20, 2004, 12:47:52 pm »
I'm sorry, but with a good ping between the two+ parties, I've had more than enjoyable kaillera battles on Street Fighter 2 Hyper Fighting, while running Skype at the same time.

Its been said before.

sac01

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 202
  • Last login:February 27, 2016, 08:15:22 am
  • I'm a llama!
Re: Network Play? (again)
« Reply #9 on: December 20, 2004, 12:51:45 pm »
I've had a version of this installed in my cab in addition to regular mame for a couple of years, and it is rather buggy, but i have had some great nights of playing gauntlet II with 4 players scattered all over the world, (usually friends from IRC)

So it is worth messing around with, but don't expect every game to work perfectly.

sac
 

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Today at 04:15:56 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Network Play? (again)
« Reply #10 on: December 20, 2004, 01:34:10 pm »
This is kind of a tangent, but when I first started my cab, I tried Mandrake Linux, and didn't really find any compelling reasons to choose it over Windows XP with unnecessary services disabled. Windows booted faster, and the game speed was identical on my 2ghz Pentium.

Side note...  This is absolutely and completely true and yet people determined to run linux ignore my comments and do it anyway only adding to their own problems.  Unless the machine is really crappy and the version of linux is really old, guied linux runs about that same as windows as far as resources are concerned.  And lets face it, if you hardware is that crappy, you are probably better off going with dos. 

Linux doesn't support true hardware acceleration, it's slow to bootup, slow to shutdown, and your choices in software are cut by a factor of 100.  If we are being perfectly honest here, I can't see how linux would be a good choice for a cabinet ever, regardless of the hardware, software and additional factors involved.  And while we are at it, the same goes for macs.  You pay 3 times as much of the hardware only to find that your software choices are again cut by a factor of 100 (ok macs are a little better, maybe 80). 

In fact, I challenge anyone to find a legitimate reason to use any os other than windows (or dos if the machine is really really old). 

Hint:  "It's more stable", "It runs better", "it boots faster" or "It looks better" are all myths in the linux and mac communities.  Besides, point #3 is invalid on a mame cab. 

Go ahead, flame away.  It's just these "which os do I use?"  posts are starting to tick me off. 

It's not a complicated thought process, windows xp is the most popular (and arguably the best) desktop os out there, so you shoot for xp as it offers the most support, biggest variety of software, and best hardware compatability.  If your system can't handle it, you go to 98se and if that's too much then you are forced to run dos. 

Picking a os is as simple as reading the minimum system requirements on the side of an xp box and seeing if you can run it. 

Ok I'm done, sorry to go off-topic like that. 

Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re: Network Play? (again)
« Reply #11 on: December 20, 2004, 02:12:01 pm »
Linux can use opengl... just not by default. 

Linux is for people who has more time then money imho.  Good OS if you have the time to learn.  But other then that... for 95% of the people Windows is the way to go.  Of course... Linux is MUCH better then it was 5 years ago... night and day... And in another 5 years it will probably be easier still....  But for now...

Do you think anyone could write a network layer that wasn't accepted in the main archive that would be used by more then a few people?  Thats why I was hoping for a socket version (because then it would work on any platform without a huge amount of time)

DirectPlay is the way to handle inputs for sure... and that shouldn't be all that hard to handle...  But how do you handle processor sync'n between multiple machines?  Randoms would be...well....different on different systems.  It seems like Street fighters type games wouldn't be a bit problem... but AI differences for gauntlet ect would be a problem...  It seems like it would be really hard to have two sets of processors 'controlling' a single game..


Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Today at 04:15:56 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Network Play? (again)
« Reply #12 on: December 21, 2004, 10:47:13 pm »
Well directplay also supports the syncing of data streams as well.  I think it could handle the data needed for a total sync, but I'm not sure what data would be needed.  I think to do it right each individual game would have to send a custom set of variables to sync. 

My head hurts thinking of the work that would be involved.   ???

terryd

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 54
  • Last login:October 27, 2005, 03:14:58 pm
  • To each his own... Unless I want it first!
Re: Network Play? (again)
« Reply #13 on: December 22, 2004, 12:37:35 am »
The only realy advantage one OS has over another is what the user has more experience with or is more comfortable using.  It is totally a personal prefrence.  All major Operating Systems today are comparable with one another functionally and stability wise.  At least for the average user on a desktop machine.  HC is absoultely right in that MS has the corner of the application market.

-Terryd

wboy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 176
  • Last login:November 03, 2005, 05:09:19 pm
  • I'm a llama!
Re: Network Play? (again)
« Reply #14 on: December 22, 2004, 06:37:42 am »
Keeping it short.... probably wont address all issues.... but....

re:skype... yeah, enough noise to be considered as "talking".  Minor slow downs here and, but am happy to live with that.

desync has only every really happened to me when I was on dialup trying to play others on DSL.  Those days are long gone.

on a LAN its never been an issue.   Unlikes SNES9X's crappy net play which desyncs like crazy even on a LAN

I know kaillera does have its limitations, but without having to spell it out in my post (e.g. CPU differences/intensity and all other possible factors), working within particular boundries its is pretty sweet what can be achieved with it.

Including those 6 button games.



Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re: Network Play? (again)
« Reply #15 on: December 22, 2004, 09:01:45 am »
OK... I haven't played with it in a year... But I think its time to get out kaillera again and see how well it does on some classics.

But Howard... I think you have to sync the processors and the inputs... And let each system do the outputs.  I question random numbers though...

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Today at 04:15:56 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Network Play? (again)
« Reply #16 on: December 22, 2004, 01:20:44 pm »
The only realy advantage one OS has over another is what the user has more experience with or is more comfortable using.

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
Re: Network Play? (again)
« Reply #17 on: December 22, 2004, 03:56:41 pm »
well howard i dont know if you were playing with a slower pc or something like that but when i played, i played 4 player ninja turtles with no lag whatsoever.  granted i played this on my pc as i just found out about the network play (2.4 ghz, 1gb RAM, 9800pro gfx card, etc.) and i guess that had something to do with it, and im sure that it would lag on my mame cab, but i never tried it.  so 4 players with 2 buttons (again, 2 buttons...so does that fall into your 2 button category??)  worked fine. 

mnm1200

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 139
  • Last login:March 10, 2006, 05:55:34 pm
  • IANAL: I am not a llama!
Re: Network Play? (again)
« Reply #18 on: December 22, 2004, 05:41:20 pm »
well, linux could be your best bet depending on the size of one's pocketbook...
Demon Dog? Urusai! ...Baka