[ JamesMason.id.au & AstralTrain.net ]  blog iconBlog | project galatea logoProject Galatea | astraltrain logo (Lucia from Lunar 2)AstralTrain | News FeedsSelected News Feeds | Search Network 

Classic multiplayer gaming via DOSBox - Serial and IPX tunneling

Ever since discovering that DOSBox has stable IPX and serial tunneling, I’ve been digging through my old files and rediscovering some classic multiplayer games of yesteryear with my brother (who still has the edge in C&C).

The issue with a lot of multiplayer games from 10 or 15 (or more) years ago is that they either rely on the IPX protocol for networked games or that they only support serial (modem or null-modem) connections. Pushing these over the Internet requires some trickery, in this case in the form of a tunnel to provide what appears to be a direct connection between the participant’s instances of DOSBox.

DOSBox achieves this by having one user’s setup running as a server (host), with any other participants connecting as clients - all that is required is for the host to forward a port through their firewall.

cnc-dosbox-01

Multiplayer Command & Conquer running under DOSBox

 

Serial or Null Modem

First we’ll look at a null modem setup, a common way of allowing two player gaming via cross-over serial cable. To configure a virtual COM port as a null modem link, the below needs to be added to dosbox.conf. The examples below assume COM1 (referred to by DOSBox as serial1. One PC will act as the host/server and the other, the client.

On the server, specify the type of serial connection and the port in the dosbox.conf file, located in ~/.dosbox/ under GNU/Linux or under the user’s profile folder under Windows (for example, C:\Users\{username}\AppData\Local\DOSBox\. The TCP port you specify will also need to be forwarded through your firewall to the host PC.. The port can be anything you like, provided it is valid and available - if using GNU/Linux, stay above the first 1024 ports.


[serial]
serial1=nullmodem port:12345

On the client, specify the type of serial connection, the IP address of the server to which you’ll be connecting, and the port used. Example below using a fake IP address and an arbitrary port number.


[serial]
serial1=nullmodem server:423.456.789.123 port=12345

Note: The host’s instance of DOSBox needs to be running before the client’s in order for the tunnel to be created successfully.

Once both host and client have started up, open up a game that supports null modem connections (for example, Command & Conquer) and head for the multiplayer section. When configuring the serial connection in your chose game, be sure to set the COM port to the number you specified earlier in dosbox.conf.

 

dosbox-cnc-serialgame-setup-screen

Command & Conquer serial game setup screen

 

dosbox-warcraft2

Warcraft II running under DOSBox

 

IPX

The second method is to create an IPX tunnel. Many games used the IPX protocol to support multiplayer - for example, DOOM allows up to 4 player network games via IPX.

To establish an the tunnel, the process is similar to configuring the null modem link but with a couple extra steps. First, ensure IPX is enabled in dosbox.conf with the following:


[ipx]
ipx=true

Note: If you’re compiling DOSBox under GNU/Linux, make sure that SDL net is available before doing so. The package on Debian (and Ubuntu) is called libsdl-net1.2-dev and probably something similar on other distros.

Start DOSBox and, at the prompt, start the server by running the following command on the host machine:


ipxnet startserver 12346

 

The number after the ipxnet startserver command is the port number that the service will use. This is a UDP port and will need to be forwarded to the host through your firewall.

Then connect clients by running the following command, specifying both the host IP address and the port being used (substitute your host’s IP and port into the below example):


ipxnet connect 423.456.789.123 12346

 

Once started, check the status of the IPX tunnel with the following:


ipxnet status

 

dosbox-ipxstatus

Result of the ipxnet status command

 

The connection from localhost (127.0.0.1) is the local instance of DOSBox, remote connections will appear below with their IP addresses. If there are problems creating the connection, first ensure that the host’s copy of DOSBox is running before any clients attempt to connect. Another common problem is a firewall blocking the port or the port not being correctly forwarded.

After confirming that the tunnel is established and that the client/s has/have connected, it’s time to fire up a game and test it. Under the game’s multiplayer section, select IPX and start a game.

dosbox-doom2-network

Multiplayer setup screen from DOOM II showing the IPX network option

 

And then…

In addition to the above two methods, there is also a way to create a link with virtual modems for software that lacks support for IPX or null modem play. I haven’t checked this out yet, but there’s a good run-down at VOGONS.

The creators of DOSBox have provided a really nice service with these tunneling options which provide a good way to re-live and share some gaming memories. I’m really pleased to be able to again play the multiplayer games that I started out with - my first experience was (IIRC) Command & Conquer linked via a null modem cable, then moving on to 4 player DOOM over a DOS-based home 10BASE2 network. Ah, the memories *sighs*. Happy gaming!

 

48 Responses to “Classic multiplayer gaming via DOSBox - Serial and IPX tunneling”

  1. Server Security: an effective way to prevent denial of service attacks – server security, denial of service attack, DOS-education industry | High Speed Routers Says:

    [...] Journal &#959f Contemporary Lunacy » Blog Archive » Classic multiplayer gaming via DOSBo… [...]

  2. Watch Despicable Me Says:

    Nice blog post, thank you. Can you expand on the second para-graph in a little more detail plz?

  3. vera_od_ua Says:

    I would like to exchange links with your site blog.jamesmason.id.au
    Is this possible?

  4. Carter Hargrave Says:

    Thanks for taking the time to discuss this, I feel strongly about information and love learning more on this. If possible,it was very helpful for me.

  5. photos on canvas Says:

    This is what I wanted! I was searching on Google since 1 hour and was really depressed as I got nothing but this post really made me happy. I just bookmarked your blog as I will not like to waste my time again on Google.

  6. contraceptive sponge Says:

    I’m an email subscriber. Thanks!

  7. Drew Satsky Says:

    Thanks this made for intresting reading. I really like your wordpress theme, i continually come back here and i dont know why. I just truly like your website lol… I just read something simular to this on That Are i think they may of stolen your blog?

  8. Kory Chipman Says:

    Hello, i really want to share with you a fantastic free online game called Cozy Mir3. Its 100% free of charge to play and is just awesome… Its just under 1GB in size and the game (Legend Of Mir) was the most online game played game, with 750,000+ players before World Of Warcraft. If you have never played it, come give it a look at http://mmorpgmir3.blogspot.com/ - Dont forget to invite your friends :D

  9. Demetrice Zierden Says:

    I actually love to understand some content articles that have good positive impacts on its reader and benefit by reading such write-up especially concerning Gold and the stock market. I admire these writers in sharing their views and or opinions that can enlighten the mind from the readers.

  10. Malika Villerreal Says:

    Thanks for the tip!

    I am going to add your blog to my list!

  11. Asuncion Jahaly Says:

    Thank you for your insightful comments. I hope to visit your website soon.

  12. world cup 2010 betting odds Says:

    Hey, have been looking for reviews of people who know about this, and after bbrowsing the search engines, I came to your article, and it islovely write up. Too bad I took all these days getting to your site. Saved you in my bookmarks already. I shall return pretty soon. Just keep on writing your blog will get really popular.

  13. low carb diet plan Says:

    Lots of great information and inspiration, both of which we all need, thanks for this.

  14. Glynda Hirsbrunner Says:

    Hi, I want to let all of you bloggers / web users recognize about a new Search Engine called Braxea. Its pretty dam cool… It combines Google, Bing and Yahoo into one and in addition lets you search for videos on YouTube and News throughout the net. Maybe this can end up being the new Google ?

  15. Watch TV Online Says:

    I was very pleased to find this site.I wanted to thank you for this great read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post.

  16. Bert Says:

    really good article. i trust to apply some of these in my blog. thank you!

  17. Issac Maez Says:

    You have WON-get your free Mac Book pro

  18. wholesale dropshippers Says:

    Hi,just found your Blog when i google something and wonder what web hosting do you use for your web site,the speed is more faster than my website, i really need to know it.will back to check it out,thanks!

  19. world cup 2010 betting poll Says:

    information provided by the dudes is very useful for us, Thanx to alllllll ¡­.

  20. dropship suppliers Says:

    You are so motivational and you talk sense. That is crucial. You¡¯re an intellectual and you have got a lot of heart. I love your blogposts! Appreciate it!

  21. Tandblekning Says:

    Just found your site on google and I think it is a shame that you are not ranked higher since this is a terrific post. To change this I decided to add your site to my RSS reader and I will try to mention you in one of my posts because you really deserv more readers when publishing content of this quality.

  22. starcraft 2 base Says:

    Gogogogo Blizzard. I can hardly wait until Starcraft 2 comes out. Very entertaining post.

  23. free dropshipper Says:

    This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work.

  24. google ad sense Says:

    Someone recommend me to visit your website, I found the informations I looked for . Thank you

  25. Free Fetish Movies Says:

    This is really educational, thanks

  26. Bilder hochladen Says:

    The articles you have on your site are always so enjoyable to read. Good work and I bookmarked it.

  27. Bilder hochladen Says:

    I want to thank you for the endeavors you have made in publishing this article. I am trusting the same best work from you in the next articles

  28. build your own bmx bike online Says:

    WOW!!! Nice Post!Kind Regards

  29. weight loss Says:

    I just stumbleupon your blog and i must say what a fantastic website and great posts, I will bookmark your blog.Best Regards! Mark

  30. tacoma flat fee mls listing Says:

    Hi. I read a few of your other posts and i wanted to say thank you for the informative posts.

  31. beijing massage Says:

    Proficient, thanks for sharing this information. Looks great on my iPhone, but on the Blackberry Pearl’s browser your site comes out a little weird.I would appreciate it if you visited my blog at christian music online

  32. replica hermes handbags Says:

    You certainly deserve a round of applause for your post and more specifically, your blog in general. Very high quality material.

  33. breitling replica watches Says:

    Pretty terrific post. I found your blog and wanted to say your information seems legit. Will keep reading. Thanks. I would appreciate it if you visited my blog at

  34. replica bell ross watches Says:

    Need to subscribe to this blog, great post. Found it on bing.

  35. replica iwc watches Says:

    hey there I just wanted to comment your blog and say that I really enjoyed reading your blog post here. It was very informative and I also digg the way you write! Keep it up and I’ll be back to read more soon mate

  36. replica fendi handbags Says:

    I’ll gear this review to 2 types of people: current Zune owners who are considering an upgrade, and people trying to decide between a Zune and an iPod. (There are other players worth considering out there, like the Sony Walkman X, but I hope this gives you enough info to make an informed decision of the Zune vs players other than the iPod line as well.)

  37. Louis Vuitton Says:

    I like what you all have to say. Very straight to the point. All in all great blog

  38. beijing escort Says:

    Nice Info . Do you mind if I talk about this post in my blog. You and your blog will surely get the credit

  39. beijing massage Says:

    I really like your site. Very good posts! Please continue posting such awesome cotent.

  40. beijing escort Says:

    Hey this is a great post. I’m going to email this to my friends. I stumbled on this while surfing for some lyrics, I’ll be sure to visit regularly. thanks for sharing.

  41. Best Diet Loss Weight Says:

    Just gonna commentabout this article, after reading whole of this it make me to have new goal about one important event, hope I can read more good news again from you so I bookmark your website.

  42. Lyme Disease Says:

    I just believed i’d distribute and let you know your weblogs is beneficial for exposed the advantageous mystery.I certainly really like your weblog.Effectively, the write-up is in realism the most effective on this really worth whilst subject. I concur along with your conclusions and will consistently look forward for your arriving messages. Basically saying thanks won’t just be enough, for the phenomenal lucidity in your own writing. I will promptly pick up your rss feed to stay informed of any updates.Real do the job and a lot accomplishment within your efforts and small business tries.Anyways continue to keep up the superior perform.Thanks a ton.

  43. Darrick Galson Says:

    Friend of mine recommend me to visit your website, I found the this what I looked for . Thank you very much

  44. Robby Graza Says:

    I suppose there are masses of individuals like me, who stumble across various great blogs or websites by chance. Your blog appears to hold a great community and a solid blogosphere presence. Its great to hold engrossing and various positions on issues.

  45. Jackie Pitman Says:

    good post, added you to my RSS reader.

  46. Gilbert Arenas Says:

    good post, added you to my RSS reader.

  47. download full movies now Says:

    Hi, Thanks for such topical article as I were able to discover here. I agree with most of what’s written the following and I am going to be coming back to this site again.

  48. movie downloads, click here Says:

    This is the 1st time I have commented right here and I must say you give genuine, and top quality info for bloggers! Good job.

Leave a Reply