Page 1 of 2

Dos Box IPX support

Posted: Tue May 09, 2006 4:34 pm
by siron
Dos Box has now IPX support:
Modem and IPX support improved for multiplayer
I have just noticed an entry in the german moo2 wikipedia:
Eine weitere Möglichkeit Master of Orion 2 über das Internet zu spielen, bietet der DOS-Emulator DOSBox. Hierfür muss ein Spieler vor Spielstart durch Eingabe des Befehls "ipxnet startserver" als Server agieren. Clients verbinden sich zu diesem Rechner mit dem Befehl "ipxnet connect SERVER-IP-ADRESSE". Im Spiel wird dann der normale Multiplayer-Modus verwendet (IPX). IPX muss in der DOSBox-Konfiguration einmalig aktiviert werden.
A small translation:
A further option to play moo2 online is provided by dosbox. The server has to use the command "ipxnet startserver". Other players can connect with the command "ipxnet connect SERVER-IP-ADDRESS". Normal multiplayer inside moo2 (i guess they mean "network"). IPX has to be activated inside the dosbox configuration.

EDIT:
See also the updated DOSbox guide in my signature.

Posted: Tue May 09, 2006 6:08 pm
by ALEX|D
cool ... I´ll give it a try :) !!!

Posted: Wed May 10, 2006 9:20 am
by ALEX|D
Cab and me tested if MoO2 works in MP over DOSBOX and it workd well :) !

a part of my dosbox.conf

Code: Select all

[sdl] # fullscreen -- Start dosbox directly in fullscreen. . . [ipx] # ipx -- Enable ipx over UDP/IP emulation. ipx=true . .
... be sure " ipx=true "

The host needs to foward PORT 213 UDP, if he uses a router.

--- edit ---

Some further info how to play moo2 over dosbox in MP.

the host need to start server by typing the command

Code: Select all

ipxnet startserver
every client needs to connect by typing

Code: Select all

ipxnet connect IPofHOST
Just type the in the IP address of the host (like 83.239.211.21 for example)
Be sure u take the right IP address, just use
http://www.whatsmyip.de/
Example:

Code: Select all

ipxnet connect 83.239.211.21
After this is done u can simply use Multiplayer networkgame in moo2.

If u wanna see all possible commands with IPXNET in the dosbox just type

Code: Select all

ipxnet help
This are two short clips how to use dosbox ... I hope it helps.
http://moo2.de-suuplappens.de/moo2_over_dosbox.zip
Also check the dosboxsite
http://dosbox.sourceforge.net

Posted: Thu May 11, 2006 5:28 pm
by ALEX|D
The speed of moo2 into dosbox is not very well, but u can speed it up.

Code: Select all

[cpu] # core -- CPU Core used in emulation: simple,normal,full,dynamic. # cycles -- Amount of instructions dosbox tries to emulate each millisecond. # Setting this higher than your machine can handle is bad! # You can also let DOSBox guess the correct value by setting it to auto. # Please note that this guessing feature is still experimental. # cycleup -- Amount of cycles to increase/decrease with keycombo. # cycledown Setting it lower than 100 will be a percentage. core=dynamic cycles=auto cycleup=500 cycledown=20
this works good for me on a
AMD 2600+
768RAM

maybe other PCs need other values, u should try a bit in the dosbox.conf !

Posted: Fri May 12, 2006 4:59 am
by Logan
Movies didn't work.

Posted: Fri May 12, 2006 6:46 am
by Cabman
Prolly you have no proper codecs. (Me either ;))

Posted: Fri May 12, 2006 3:34 pm
by ALEX|D
Start -> Programs -> dosbox 0.65 -> video -> install codex

Posted: Fri May 12, 2006 6:55 pm
by siron
It looks very promising so far.

We had a 3way test with several battles. No lags there.

Then I tested with Cab a late game save. Turn 210.

Tractor beam bug: Inside kali it crashes almost every time the tractor beam is redrawn offscreen. We both had huge fleets and only my 12th try to produce this bug was successful. It looks really more stable than kali.

I and Cab had a lot of trouble with battle-engage popups or clicking starsystems. We both had no crash at all in these 5 turns in the late game where we produced several dozens of these popups.

I observed no crash by touching buildings. I have them with kali when I touch autofacts or supercomps.

We had a intercontinental 5way test. One player had 1500 ping on kali but we had just 3 seconds between our first turns. Looks amazing unlaggy. Even 8way could be playable it seems.

Posted: Fri May 12, 2006 7:05 pm
by ALEX|D
I could only just agree :) :) !!! GREAT !!!


Code: Select all

[autoexec] # Lines in this section will be run at startup. mount c: c:/ c: cd moo2engl
Siron checkd how to set commands to dosbox ... we r all soo lazy ... aren´t we ?

And for every LINUX user its possible to play moo2 online

Code: Select all

ipxnet startserver IPofHOST 1222
U can choose every port above 1024 with linux, up to max. 6XXXX !

Posted: Sat May 13, 2006 6:23 am
by Logan
And for every LINUX user its possible to play moo2 online
Code:
ipxnet startserver IPofHOST 1222


U can choose every port above 1024 with linux, up to max. 6XXXX !
Brilliant! Thanks AlexD. Perhaps now Tomsik and i can get a game together (We've been trying since last year some time :oops: ).

Posted: Sat May 13, 2006 7:12 am
by Tomsik
Problem is that i keep getting this error: (linux)

Code: Select all

Exit to error: Interrupt to higher privilege
I have no (...) idea what i should do... :?

Posted: Sun May 14, 2006 10:15 am
by stem
on my pc multiplayer orion worked with gentoo linux and dosbox 0.65,
single player orion already worked with older dosbox, like 0.63.

play orion single:
-have windows partition mounted
-dosbox mountpoint_windows_partition
-choose right directory and start
here there were 2 problems playing orion single player:
1.too slow. worked very better with an dosbox configuration file
2.several warning msgs because off write protection of the mounted windows partition. worked with starting dosbox as root, or copying all files to an linux partition and starting orion there

play orion multiplayer:
-after staring dosbox, needed to start an ipx server or connect to one
-than start orion as before and join to network game.
there were 2 problems connecting to multiplayer:
1.wrong dosbox version. worked after installtion of version 0.65
2.wrong ipx port. but worked than with port 1222

DOSbox IPX support

Posted: Sun May 14, 2006 1:13 pm
by Lord Brazen
I have also tested Moo2 under DOSbox 0.65. Earlier versions of DOSbox worked fine when it came to single player, but the networking did not work at all. The latest version (0.65) seems fully functional for multiplayer games over the internet. It even lets linux users play.

Here is my setup:

- Ubuntu Linux 5.10
- Dell 6350 server (Dual PIII Xeon 500MHz 1G RAM).

I had to compile DOSbox 0.65 from the source code as I could find no suitable debian based package over the internet (yet...maybe in a few weeks).

I also had to change a few lines in my dosbox.conf file to optimize things. It runs very slowly with the defaults. After the changes everything in the game runs smoothly except for the main menu screen (where the credits scroll up the screen). The video is choppy there.

Posted: Sun May 14, 2006 7:09 pm
by siron
Some small summary for windows user:
http://masteroforion2.blogspot.com/2006 ... guide.html

Posted: Fri May 19, 2006 10:43 pm
by StepNRazor
Haveing trouble with game switches not working.