VOGONS

Common searches


First post, by mike_canada

User metadata
Rank Member
Rank
Member

I don't have access to a 64-bit computer, but I have direct access to DOS and Linux and I can run DOS via DOSEMU and DOSBOX in Linux. With DOSEMU, I can pass a bootable floppy disk image to it and it can boot off of that quite fine.

I can even use the DOS 6.22 boot image found from:
https://www.allbootdisks.com/download/dos.html

as a boot disk.

Now I have a challenge.

I have pretty much figured out how to make the DOS duke nukem 3D game on a network, but I can only help people that run Linux and DOS because I can make easy-to-use scripts for both those operating systems. Part of the duke nukem network will involve going to a website, choosing a lobby, then a special file is to be executed.

Now, if people were to run my software in DOS (without running windows), I'd get them on the arachne web browser with the config automatically setup, so when the player selects the lobby, the browser automatically switches to the driver with no user intervention necessary.

In linux, people could use a regular browser, but when the user selects the lobby, they will be asked to download a file, then the user has to associate the download with the script, and I bet some people couldn't do that.

But what's even sadder is Windows 7 or higher (64-bit) because I have yet to figure out how to get real DOS games and DOS networking (0ver packet drivers) to work in that.

So the only thing I can think of now is that if users enter the lobby then users would associate the downloaded lobby file with a DOS emulator that contains the packet driver and loads the file somehow.

Also, because players don't want to wait extra time to play a game, I'll have to somehow come up with a way to make a bootable image that's a custom hard drive.

Plus on top of that, I might need to somehow instruct users to make another disk image that contains the game itself because the game cannot fit on a floppy. Then I gotta instruct users to somehow inject the downloaded file into the image. Then again I could try linking the user's current hard drive to the emulator if that works?

So in the end, my goal is this:

When users that don't use DOS only mode (which is 99% of the population) want to play a networked duke nukem game, they go to my website, select a lobby, then when the download box pops up, they associate it with a script that launches any virtual machine (like virtualbox, dosbox, dosemu, etc) which automatically boots, then loads a packet driver that has access to the internet, then loads my driver with the data from the config file then after that, it loads the duke nukem game. After the game is over, the virtual machine exits.

So far, I can tweak the contents in the floppy images from https://www.allbootdisks.com/download/dos.html but I cant figure out how to tweak their size.

Any ideas?

Reply 2 of 7, by mike_canada

User metadata
Rank Member
Rank
Member

Except there's one thing about those ports..... None work in real dos-only mode.

Duke Nukem 3D (when it came out) was meant for DOS. I'm trying to make it where anyone including people who use ancient computers can play Duke Nukem today on the internet.

I don't know any port that works in pure DOS-only mode, and the last time I played it online, I had to use a 3rd party lobby tool (Kali) that only worked for Windows.

Reply 3 of 7, by Ringding

User metadata
Rank Member
Rank
Member

I don’t understand what you already have. Do you have a working setup that can connect two DOS Duke instances over TCP/IP (UDP)? What network components do you use for this?

Reply 4 of 7, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

There is a eduke32 for dos but it still needs work.
https://gitlab.com/NY00123/eduke32-dos/

If this post concerns distributing a game that isn't free to distribute then the thread will have to be closed.

Last edited by DosFreak on 2021-07-24, 00:20. Edited 1 time in total.

How To Ask Questions The Smart Way
Make your games work offline

Reply 5 of 7, by mike_canada

User metadata
Rank Member
Rank
Member

I'm trying to create a driver for Duke Nukem game. The post is primarily about my driver.
I'm not advocating people to download full-version games that would otherwise cost money.
Also, there is a shareware version of Duke Nukem that may also work with my setup found here:

ftp://ftp.3drealms.com/share/3dduke13.zip

From: http://legacy.3drealms.com/downloads.html

Reply 7 of 7, by mike_canada

User metadata
Rank Member
Rank
Member
Ringding wrote on 2021-07-24, 07:44:

When you say you have it working on DOSBox in Linux, wouldn’t it be the same in DOSBox for Windows then?

Unfortunately no.
To have it work in linux, one would need the socat and slattach utilities loaded along with setting up a private nat network in iptables. I don't think any of those utilities are available for Windows.