Reply 40 of 58, by leonardo
- Rank
- Oldbie
THEBaratusII wrote on 2023-10-27, 06:19:Not sure if this was documented, but did you know that ipxbox has a uplink feature that allows you to connect to a ipxbox server […]
Demetrio wrote on 2023-09-09, 05:48:I actually managed to setup an IPX server with fragglet's ipxbox and be able to play between DOSBox and real DOS/Win9x clients 🙂 […]
leonardo wrote on 2022-03-20, 12:11:Is there any solution that currently works for bridging DOSBox players with DOS/Win9x-players? […]
Is there any solution that currently works for bridging DOSBox players with DOS/Win9x-players?
ipxbox claims to be able to do this, but so far I've been unable to make any headway with it. Confusingly, there are also multiple forks:
https://github.com/fragglet/ipxbox/
https://github.com/unterwulf/ipxbox
https://github.com/liangzai951/ipxbox
https://github.com/glaso95/ipxbox
https://github.com/skadarnold/ipxboxThe furthest I got was with ipxgw running in a Ubuntu 18.04 VM with a bridged network adapter (based on the solution posted in this support thread), but sadly even it fails with the clients seeing one another, but being unable to communicate properly).
I'm sorry for the OP, perhaps this should become a separate thread - but insofar as he is also basically trying to provide the same solution as ipxbox and ipxgw, it might be useful for him to know this is something we are looking for. DOSBox can already connect multiple emulated clients together, and there are several stand-alone DOSBox IPX-servers already available - just seemingly none that are particularly easy to set up for running atop embedded hardware such as a router (why else would you want a stand-alone server, just run the server on one of your multiplayer nodes!) or bridging the IPX network in a way that allows for retro hardware to join the fight with emulated clients.
I actually managed to setup an IPX server with fragglet's ipxbox and be able to play between DOSBox and real DOS/Win9x clients 🙂
I believe I found the best setup: it works really well, like LAN play.
Keep in mind that it needs a good bandwidth by every client, because of the nature of IPX-based game netcode.BTW, I'll write here the solution for anyone interested.
Server
Install and setup ipxbox as reported here: https://github.com/fragglet/ipxbox/blob/master/HOWTO.md
I've installed it on an AWS VM but port forwarding is also ok.DOSBox clients
Connect to the server with IPXNET command:
Z:\>config -set ipx true
Z:\>ipxnet connect [ipxbox IP] [ipxbox port]
After that, run the network IPX game as usual.
DOS clients
Download the dali utility zip from here: https://github.com/fragglet/dali and copy the content inside the DOS machine.
First ensure the NIC driver is loaded.
Then edit connect.bat; replace:rem The DOSbox server to connect to.
set server=ipx.soulsphere.org
set server_port=10000
with your ipxbox address and port.
You can also edit mtcp.cfg parameters if you want.
Then just run the connect.bat file.
After that, run the network IPX game as usual.
Win9x clients
For Win9x clients, you need the udpsetup utility by fragglet, which you can find here (with other tools): https://github.com/fragglet/vanilla-utilities
Extract the zip in the Win9x PC, copy udpsetup.exe in the game folder and run:
udpsetup -connect [ipxbox IP]:[ipxbox port] -nodes [players number] [game exe] [multiplayer parameters]
Example:
udpsetup -connect 3.21.80.50:2222 -nodes 2 doom -deathmatch -avg -warp 1 1 -nomonsters
After that, the client will connect to the server and when all players are connected, the game will start.
Keep in mind that, if another client starts the game, you need to pass the same game parameters with udpsetup.
Moreover, in Win98 you need to apply a patch by running an exe (udpsetup will tell you what exe to run from the vanilla-utilities).
More udpsetup info here: https://github.com/fragglet/vanilla-utilities … PSETUP-HOWTO.md
P.S. I wrote the issue on ipxgw, but then I switched to ipxbox, which is a lot better 🙂
Not sure if this was documented, but did you know that ipxbox has a uplink feature that allows you to connect to a ipxbox server and can allow you to play multiplayer games on old hardware alongside people using DOSBox and ipxwrapper? For those hosting, just use the "-uplink_password <passwordhere>" command line without quotes.
As for joining an uplinked server, you need to have a compiled binary of ipxbox_uplink and WinPcap/Npcap installed and grab the ethlist.exe file to list the devices (I grabbed mine out of a build of Cockatrice III "fork of Basilisk II")
Example : ipxbox_uplink.exe --pcap_device <device> --uplink_server <ip>:<port> --password <password>
Have fun!
I feel like I'm getting close now - but udpsetup seems to be tailored for very specific games and won't work with simply any IPX-game.
Can't use DALI which seems would do what I want, because I'm running the games under Windows 95.
Does ipxbox_uplink.exe allow me to connect my Win9x-clients to a ipxbox server for LAN-play with DOSBox players, or is this yet another solution that depends on something else?
[Install Win95 like you were born in 1985!] on systems like this or this.