VOGONS


Doom Legacy DOS - Glide

Topic actions

First post, by DOSShark

User metadata
Rank Newbie
Rank
Newbie

Greetings - i got myself a voodoo 2 card from creative and put it into my P3 500 mhz machine.
Got Descent2 3dfx community version running fine.
As the topic indicates - im trying to get older dos games to run with glide.
Now its time for the dos doom games using doom legacy source port.
According to the documentation even the dos version should support 3dfx glide by using -3dfx switch on commandline.
But i had no success.

Anyone out here who can help? Thanks a lot 😀!

Reply 1 of 7, by elszgensa

User metadata
Rank Member
Rank
Member

Huh, I never knew a VooDoom existed. Gotta try that some time.

Had a peek at the source code for the last version that got a DOS release, 1.41, just now. The DOS version won't even look for a -3dfx switch at all, the only place that does is win32\win_vid.c. And then, looking at the Glide renderer implementation, I see that it's currently tied to the Windows API, albeit only loosely, so if you insist on sticking with DOS then there's a bit of porting work to be done.

edit:
> According to the documentation even the dos version should support 3dfx glide

Where does it say this? All the passages I could find mention it in the context of Windows, or do not specify any OS at all.

Reply 2 of 7, by DOSShark

User metadata
Rank Newbie
Rank
Newbie

Hiho - i downloaded several dos versions, and some of the dos versions included a html based docu not only but with command line switches. One of them is the -3dfx switch. So i assumed it was capable of glide under dos.

Apparently this is wong, sadly...
I failed to get the windows version running on win98 with glide, they named the dll r_glide_unstable.dll - and that name is well deserved 😁.

I would really like to see a dos version of this with glide. Just because it would be a cool thing to use it under real dos with my voodoo 2. Nostalgia you know 😁

I guess you cant fiddle around with the sourcecode and make that happen?

Reply 3 of 7, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

If you aren't going to use the features that a voodoo card is for then not much point. If you are then someone would need to put in the effort to code a port for dos with those features.

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

Reply 4 of 7, by DOSShark

User metadata
Rank Newbie
Rank
Newbie

@ DosFreak - i dont get your point 😀. If i wouldnt want to use the voodoo 3d acceleration i wouldnt ask for a sourceport which could use it. There are games like Descent 1 / 2 with 3dfx capabilities, be it official or cummunity driven. So glide works for dos games under real dos. I assumed doom legacy would offer glide support under dos because i want to use the card under dos. I could use a windows port but then i can directly go for something with opengl and more advanced stuff - but i want to stay close to the dos feeling while utilizing the voodo2 under dos.

Reply 5 of 7, by janskjaer

User metadata
Rank Member
Rank
Member

What @DosFreak means is that, if a Glide implementation for DOS doesn't yet exist, and you somehow were able to port the Windows Glide version of the Doom port to run in DOS (depending how "loosely" tied it is to Windows, as @elszgensa mentions), you may or may not have to port any existing FX_ functions used (3Dfx's feature set - bilinear filtering, fog table, z-buffer depth, rasterization ...) to be compatible with the DOS library (glide2x.ovl), assuming there are some differences.

Otherwise, you would be running the Glide implementation, but it would look exactly the same non-Glide, if the features are not implemented for DOS correctly.
The giveaway is the inclusion of an r_glide.dll, which indicates this is specifically for win32 only.

UPDATE: I did some more digging, and found an archive of old Doom Legacy releases, going as far back as version 1.24 (August 1998).
It contains release history on when the 3Dfx Glide support was first introduced in version 1.28 (April 1999):

- 3DFX BETA VERSION - you can choose between software or 3Dfx accelerated mode in the Doom Legacy Launcher 'Setup' p […]
Show full quote

- 3DFX BETA VERSION
- you can choose between software or 3Dfx accelerated mode
in the Doom Legacy Launcher 'Setup' panel, without the
launcher, use "-3dfx" on the command-line
- 3Dfx mode is available through the r_glide.dll, you need
the latest Glide 3 drivers from www.3dfx.com
- uses external r_glide.dll file : this WILL be a feature,
because it allows for future extensions with OpenGL,
Direct3D, or even hi-color software modes

Without looking, based on the text above, the r_glide.dll seems to be their own fork of GLIDE3X.DLL, Glide v3 being win32 only.

DELL Dimension XPS M200s
:Intel P1 MMX 200MHz
:64MB EDO
:DOS 6.22/Win95b
:Matrox Millenium II + m3D (PowerVR PCX2)
Chaintech 7VJL Apogee
:AMD AthlonXP 2700+
:512MB DDR
:Win98SE/2000 SP4
:3dfx Voodoo5 5500 AGP

Reply 6 of 7, by SEGStriker

User metadata
Rank Newbie
Rank
Newbie
elszgensa wrote on 2024-02-19, 21:53:
Huh, I never knew a VooDoom existed. Gotta try that some time. […]
Show full quote

Huh, I never knew a VooDoom existed. Gotta try that some time.

Had a peek at the source code for the last version that got a DOS release, 1.41, just now. The DOS version won't even look for a -3dfx switch at all, the only place that does is win32\win_vid.c. And then, looking at the Glide renderer implementation, I see that it's currently tied to the Windows API, albeit only loosely, so if you insist on sticking with DOS then there's a bit of porting work to be done.

edit:
> According to the documentation even the dos version should support 3dfx glide

Where does it say this? All the passages I could find mention it in the context of Windows, or do not specify any OS at all.

Can you please post a link about this VooDoom port?

Reply 7 of 7, by leileilol

User metadata
Rank l33t++
Rank
l33t++

There is no 'voodoom'. This is merely a play on words to refer to Doom Legacy.

apsosig.png
long live PCem