VOGONS


EF2000 + 3dfx graphics

Topic actions

First post, by truth_deleted

User metadata

EF2000 with 3dfx enhanced graphics is now running smoothly in Daum build of DOSBox (5/6/13). Appreciation to ykhwong for developing this build and to kekko and gulikoza for their crucial contributions.

In a previous version of the above, EF2000+3dfx ran slowly, about 5 frames per second on a Pentium Core2Duo with a 3dmark06 score of 5000. However, this previous version would not run EF2000+3dfx while the "Voodoo" parameter was set to openGL (DOSBox configuration file).

With the newest build, EF2000+3dfx does run while "Voodoo" support is set to openGL (along with other settings). The framerate increased at least 3-fold in this configuration, but the built-in framerate display was disabled. Instead, FRAPS was used and the framerate exceeded 15 fps. This framerate is likely an underestimate since DOSBox optimizes the way it refreshes the screen. In fact, the gameplay ran smoothly (fluid flight), and switching between instrument panels was fairly fast.

The key changes made to the configuration file are as follows:
fullresolution=original
output=openglnb
vmemsize=4
memsize=63
scaler=none
aspect=false
autofit=false
core=dynamic
cputype=auto
cycles=max

tandy=off
gus=false

voodoo=opengl
glide=emu

xms=false
ems=false

At the DOS prompt:
Change directory to EF2000, then enter 'setsound.exe'. Choose option for sound (default is SoundBlaster 16 as indicated by sbtype= in dosbox.conf), and definitely General MIDI for music.

Make further changes in the game options (press '~'):
Choose MIDI option in game to play music

Important notes:
Do not change the DOSBox window position after starting ef2000, otherwise it will cause blank display. Also, anti-aliasing may interfere with the HUD display; anti-aliasing is controlled by the video driver settings.

EF2000 only has the 3dfx graphics enhancement when running in DOS. It adds smoke+fog effects, anti-aliasing, and hardware accelerated graphics (at least on native hardware). There are at least two ways to add the 3dfx capability to the DOS version of EF2000, one is to purchase EF2000 v2.0. The other is to purchase the original DOS version of EF2000, then install the TACTCOM upgrade, and finally to install the GRAPHICS+ patch. EF2000 v2.0 already has the upgrade + patch included on its CDROM.

After installing the the original version of EF2000+TACTCOM or EF2000 v2.0, some have been unable to run the GRAPHICS+ patch. It's installation routine is not designed for the more recent Windows versions. One fix is to download "UniExtract" to extract the files and then manually copy them to the EF2000 directory.

There is a long thread at combatsim.com on past difficulty of running EF2000+3dfx in DOSBox:
http://community.combatsim.com/topic/27189-3dfx-ef2000

Edit #1: The 3dfx acceleration is only available when running output=opengl or openglnb, otherwise, the framerates will be significantly lower.

An alternate method to run EF2000 is not via the above 3dfx mode with acceleration, but instead in software mode with output=openglhq and fullresolution=desktop. This will not utilize the virtual Voodoo1 hardware acceleration, and will be solely CPU dependent, but for powerful systems this will provide anti-aliasing which rivals the 3dfx mode. The only 3dfx features missing would be the smoke/fog effects.

Edit #2: EF2000 doesn't use TCP/IP; however, Daum's build supports IPX to set up a multiplayer session.

Last edited by truth_deleted on 2013-07-29, 05:42. Edited 4 times in total.

Reply 1 of 6, by Gamecollector

User metadata
Rank Oldbie
Rank
Oldbie

To install GFX+ patch with the original EF2000 + EF2000: Tactcom - do not run the game config before the patch installing. Yes, patch developers are "skilled programmers".

Asus P4P800 SE/Pentium4 3.2E/2 Gb DDR400B,
Radeon HD3850 Agp (Sapphire), Catalyst 14.4 (XpProSp3).
Voodoo2 12 MB SLI, Win2k drivers 1.02.00 (XpProSp3).

Reply 2 of 6, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

Did something in particular change in the latest builds to cause this great speed increase?

Reply 4 of 6, by Procyon

User metadata
Rank Member
Rank
Member

[quote="truth5678"][/quote]

Very interesting will try this out, thanks!

Reply 5 of 6, by truth_deleted

User metadata

Attached two DosBox test builds (modified Daum) which allow EF2000 to run in full screen mode under a specific set of conditions (defined below). Source code also attached. Only Build #1 has been verified as working on other systems.

DosBox is dependent on the SDL library for many of its window functions. One function is stretching to full screen mode and is affected by SDL and the host video setup (monitor and video driver). This stretching is based upon the *available* screen resolutions on the host which may not always provide a desired result. Some prefer to have the stretching occur across the entire screen or horizontally while preserving the shape of the source image.

Build #1 should provide a full screen mode while #2 should maintain the aspect ratio while filling the width of the screen (edit: #2 is not having the same success for widescreen monitors); also, these builds have not been tested for every scenario. However, it does provide a potential fix for this problem while running EF2000. It may also provide a fix for other games with a similar problem, but likely restricted to cases where the screen mode was switching to 640x400.

This fix is also specific for Voodoo1 hardware acceleration which is enabled via the configuration file:
fullscreen=true, fullresolution=original, output=openglnb, voodoo=opengl, glide=emu

Note that directx, fluidsynth, and SDL_sound libraries are not active in this test build. Also, the GUI is turned off (the window menu) in #2.

Reply 6 of 6, by magnet

User metadata
Rank Newbie
Rank
Newbie

This is fantastic...

Downloaded your build 1 - works like a charm.

Thank you