First post, by truth_deleted
Jedi Knight: Dark Forces II features Direct3d 5.0. It is running inside DosBox at very high frame rates with 3d acceleration. See wikipedia for background on this game: en.wikipedia.org/wiki/Star_Wars_Jedi_Knight:_Dark_Forces_II. The community of gamers are in debt to the DosBox authors and contributors, especially for kekko's patch.
Instructions are below, but mostly from memory. As others find steps vague or missing, reply to this thread so I can update. First, obtain two versions of DosBox, the SVN Daum build (5/6/13) and JDosBox (jdosbox.sourceforge.net). Next, navigate to this thread: www.vogons.org/viewtopic.php?t=17324. Follow the "short instructions" as kindly provided by DosFreak, except for his step #1. Instead, use jDosBox (java version) to install Windows98SE. I had no errors while installing and the process takes about 45 minutes given typical conditions.
After installation, then that hard disk image can be booted via the SVN Daum build of DosBox. Here are notes for modifying the dosbox configuation file, dosbox.conf, in this build:
# line below is hint to mount a Dos 6.22 disk; to boot, follow the line with "boot -l a"
# imgmount 0 C:\DosBox\Win98\622C_boot.IMG -t floppy -fs none
# line below is hint to boot off the hard disk image
imgmount 2 C:\DosBox\Win98\Win98.img -fs none -size 512,63,64,1023
# line below is for booting image "2" as the C: drive
# boot -l c
------------------END OF CONFIGURATION FILE----------------------------
To complete the below steps, there must be a way to transfer files to and from the hard disk image. Given "OSFmount" is compatible with your operation system, use this tool to mount the disk image as a drive.
Once in Windows98 within DosBox, then install the unofficial Windows98SE Service Pack 2.1a; available here: exuberant.ms11.net/98sesp.html. Second, install the "PCI bus" via "Add New Hardware". This allows detection of the Voodoo1 virtual card along with a few other virtual devices. Then install the Voodoo1 drivers available from the thread by DosFreak (Voodoo1-v3.01.00-9x.zip). After unzipping the Voodoo1 drivers, then enter System in Control Panel and upgrade the driver for the 3dfx graphics adapter (underneath the Sound devices). Next, install DirectX 7.0a; download sites via google search. Do not install newer versions of DirectX because there are reports it is not fully compatible with Voodoo1 (partially verified). Fortunately, Windows98SE already includes robust drivers for video and audio. Note that the APM and Hard Drive Controller devices are not yet compatible with Windows drivers, you may disable these devices (identify them by their yellow exclamation point).
In the Display panel, there should now appear a tab for "3dfx graphics". I turned vsync off for both glide and d3d; verify that the checkbox for d3d is active, too.
Jedi Knight has a demo available here: www.gamershell.com/download_4675.shtml. Install. Within the Setup screen in-game, note to enable 3d acceleration and choose 640x480 resolution only. Increase the view size to maximum. The game ran on a slow Core2Duo system and the frames per second ranged between 50 and 150.
Also, have been able to play Rogue Spear and NOLF using the above configurations. Both range between 10 - 15 fps but with graphical artifacts, especially in NOLF. Started Rogue Spear in software mode; modified in-game settings so advanced graphical features were disabled.
* edited to modify configuration and change suggested directx version; added Rogue Spear and NOLF as near playable.