Direct3D games in DosBox

General information and assistance with DOSBox.

Re: Direct3D games in DosBox

Postby leileilol » 2014-2-23 @ 19:56

Another problem is which version of GLQuake to test. There's several versions, and i'm counting the official ones here:

- January '97 pre-release (a little hard to locate, I do have this one)
- March '97 release
- August '97 releases
- October '97 release
- November '97 release

They all ship witha 3dfx MiniGL named as Opengl32.dll in the folder, so be aware of that if you replace files in the Quake folder.
by the way, DOSBox is not for running Windows 9x
User avatar
leileilol
l33t++
 
Posts: 9798
Joined: 2006-12-16 @ 18:03

Re: Direct3D games in DosBox

Postby kjliew » 2014-2-26 @ 02:12

Actually, I am more inclined towards Direct3D benchmarks to pit DOSBox against real machines in the era of 1995-1999. My main desktop running Win7 32-bit is also an old Core2 E8400@3.0G with GeForce 9400. From most of the past 3D games performance database archives, I think I am getting very close and some time better than P166+Voodoo1. In essence, no more hunting down fans' patches, building vintage machines etc. The games will just work right out-of-box with DOSBox.

I have been able to patch the DOSBox SVN with just the right stuffs to get Win9x/3Dfx gaming to work. It is patched against r3848 but should also works with r3858. The patch contains:
- h-a-l-9000 paging patch
- gulikoza glide patch
- kekko voodoo1 emulation patch (extracted from TestBuild-3)
kjliew
Member
 
Posts: 479
Joined: 2004-1-08 @ 03:03

Re: Direct3D games in DosBox

Postby truth_deleted » 2014-3-06 @ 02:27

I use additional patches, such as an S3 patch (which is incorporated into Ykhwong's build). Either way, it may be reasonable to benchmark on a Direct3D game such as Jedi Knight until a list of D3d playable games are made. I also would guess that a D3d5 era benchmark software would provide a more reliable benchmark test than other versions, but I'd have to look further into this to be certain.

I've had good success running directx 3d games in 3dfx and software mode, but D3d mode has been less successful. For instance, Jedi Knight runs fine, but Rainbox Six shows graphical glitches. Fortunately, Rainbox Six has a software mode, but my CPU is too slow for it.
truth_deleted
 

Re: Direct3D games in DosBox

Postby kjliew » 2014-3-07 @ 07:18

Attached voodoo1 patch for SVN r3858. This was something I was looking for but I end up doing it myself. It only contains a clean kekko voodoo1 emulation patch (extracted from TestBuild-3). Somehow, h-a-l-9000's paging patch is no longer required at r3858.

Tomb Raider II (DirectX 5) works perfectly at 800x600x16bpp on Core2 Duo. I believe a lot more games would be extremely enjoyable with more recent CPU.
Other working Direct3D games I have tried:
- Mech2 3Dfx (Glide.dll/sst1init.dll)
- Mercenaries Retailed patched to D3D 1.08/1.10
- Mercenaries 3Dfx 1.05/patched 1.10
- Titanium series MW2/GBL/Mercs (Glide2x/Direct3D)
- AvP1 Gold

Heavy Gear 2 launched but the game seems to crash due to deadlock in dyn_X86 CPU core as shown in DOSBOX debugger (--enable-debug=heavy). DOSBox itself is not crashing. If any DOSBox developers is interested to debug this, I can help to reproduce the hung.

Updated patch available at:
viewtopic.php?f=32&t=21839&p=361879#p361879
Last edited by kjliew on 2014-6-09 @ 17:47, edited 1 time in total.
kjliew
Member
 
Posts: 479
Joined: 2004-1-08 @ 03:03

Re: Direct3D games in DosBox

Postby Sheriff Hobbes » 2014-6-08 @ 08:49

I've applied the patch to the 3858-build, but the make process ends with two errors:

Code: Select all
In file included from voodoo_opengl.h:33:0,
                 from voodoo_emu.cpp:81:
voodoo_vogl.h:28:34: error: ?void (* glActiveTextureARB)(GLenum)? redeclared as different kind of symbol
In file included from /usr/include/SDL/SDL_opengl.h:46:0,
                 from voodoo_vogl.h:24,
                 from voodoo_opengl.h:33,
                 from voodoo_emu.cpp:81:
/usr/include/GL/gl.h:2001:23: error: previous declaration of ?void glActiveTextureARB(GLenum)?
In file included from voodoo_opengl.h:33:0,
                 from voodoo_emu.cpp:81:
voodoo_vogl.h:29:36: error: ?void (* glMultiTexCoord4fARB)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat)? redeclared as different kind of symbol
In file included from /usr/include/SDL/SDL_opengl.h:46:0,
                 from voodoo_vogl.h:24,
                 from voodoo_opengl.h:33,
                 from voodoo_emu.cpp:81:
/usr/include/GL/gl.h:2029:23: error: previous declaration of ?void glMultiTexCoord4fARB(GLenum, GLfloat, GLfloat, GLfloat, GLfloat)?
In file included from voodoo_opengl.h:33:0,
                 from voodoo_emu.cpp:81:
voodoo_vogl.h:30:37: error: ?void (* glMultiTexCoord4fvARB)(GLenum, const GLfloat*)? redeclared as different kind of symbol
In file included from /usr/include/SDL/SDL_opengl.h:46:0,
                 from voodoo_vogl.h:24,
                 from voodoo_opengl.h:33,
                 from voodoo_emu.cpp:81:
/usr/include/GL/gl.h:2030:23: error: previous declaration of ?void glMultiTexCoord4fvARB(GLenum, const GLfloat*)?

I'm running Debian 7 64-bit.
Marriage is a three ring circus:
-engagement ring
-wedding ring
-suffering

H. L. Mencken
User avatar
Sheriff Hobbes
Newbie
 
Posts: 54
Joined: 2009-4-17 @ 06:58

Re: Direct3D games in DosBox

Postby kjliew » 2014-6-09 @ 17:48

I replied in the other thread. Check it out.
kjliew
Member
 
Posts: 479
Joined: 2004-1-08 @ 03:03

Re: Direct3D games in DosBox

Postby Galatea2.2 » 2014-11-16 @ 21:46

Truth5678, I've followed your Win98 instructions and everything set up nice. Great guide!

Have done some testing too, and Asghan/Time Warriors in 3dfx worked great (fullscreen is also operational with your latest test build, though cutscenes remain black). Had additional success with GTA; not so much with FIFA 98 (glitchy and freezes after a couple of seconds into a match).

Overall looking very promising. Thanks for taking the time to type up detailed instructions and following up with updates!
Galatea2.2
Newbie
 
Posts: 24
Joined: 2011-7-17 @ 14:08

Re: Direct3D games in DosBox

Postby truth_deleted » 2014-11-16 @ 22:36

Thank you! Please also refer to these two sites:
viewtopic.php?f=31&t=37637&start=60
http://www.si-gamer.net/truth/

They have instructions to install a minimal version of Windows 95.

Also, try dosbox-x which is available from the patches subforum here. It has very extensive updates to dosbox, including crucial and essential ones for Windows 9x. Codeholio is developing dosbox-x and the updates number in the hundreds.

I would backup your current dosbox and hard disk image, and then experiment with the above information, as you have time. In addition, I posted an update to the 3dfx code which may impact those games you listed. In any case, the instructions in this thread are not that different from the sites I posted.
truth_deleted
 

Re: Direct3D games in DosBox

Postby DOSfan1994 » 2015-5-04 @ 15:14

I keep having this problem with "Star wars episode I racer" on my Windows 9x on DOSbox SVN 5/6/2013.
When everytime I start or reset a race the CPU opponents some times go off the track and start driving around in circles, I tried crashing to see if everything is fine, but it wasn't I crashed int the rock and the game on DOSbox freezes. The FPS of the game is fine now on Windows 9x when playing on DOSbox by cause I have output set on openglnb, Voodoo with opengl and I have Glide set on emu but still... And some times the same thing happens when I don't crash.

I don't have footage of the crashing one. But here is the one with the no crashing but dosen't show the other racers going off the track. But... I have picture proof of the racers going off the track if you look on the map. (I think the reason why is the DOSbox pentium is only 70Mhz while the game requires 166mhz.)

Picture proof of the racers off the track for the reason of it freezing when not crashing. (PS I have Windows 9x on DOSbox on fullscreen mode.)
IMG_0001.JPG






Video footage.
https://www.youtube.com/watch?v=654gvfbMG0I

If anyone knows a trick on how to fix this, I would like to know.
DOSfan1994
Member
 
Posts: 208
Joined: 2012-9-03 @ 05:41

Re: Direct3D games in DosBox

Postby kjliew » 2015-5-05 @ 02:26

I keep having this problem with "Star wars episode I racer" on my Windows 9x on DOSbox SVN 5/6/2013.


I think you need to use a more recent version of DOSBox SVN.
You also didn't tell us what kind of HW you have for running Win9x on DOSBox. If the game requires PII-300MHz class to work best, then you probably need very high-end setup to be able to play it on Win9x DOSBox.
kjliew
Member
 
Posts: 479
Joined: 2004-1-08 @ 03:03

Re: Direct3D games in DosBox

Postby DOSfan1994 » 2015-5-05 @ 02:43

What is a HW and what's a very high end setup on Windows 95 ?
DOSfan1994
Member
 
Posts: 208
Joined: 2012-9-03 @ 05:41

Re: Direct3D games in DosBox

Postby Jorpho » 2015-5-05 @ 13:27

DOSfan1994 wrote:What is a HW
Short for "hardware".

and what's a very high end setup on Windows 95 ?
Probably better than the setup you're using now.
User avatar
Jorpho
l33t++
 
Posts: 7043
Joined: 2003-2-14 @ 19:50
Location: Canada

Re: Direct3D games in DosBox

Postby DOSfan1994 » 2015-5-05 @ 13:46

Ok I am using a voodoo 1 accelerator with soundblaster 16 and pentium for my processor and I am using Windows 95 B.
DOSfan1994
Member
 
Posts: 208
Joined: 2012-9-03 @ 05:41

Re: Direct3D games in DosBox

Postby DOSfan1994 » 2015-5-05 @ 14:25

Also a Intel 82440FX pentium (r) pro processor to PCI driver would work on Windows 95 on DOSbox Svn
DOSfan1994
Member
 
Posts: 208
Joined: 2012-9-03 @ 05:41

Re: Direct3D games in DosBox

Postby Jorpho » 2015-5-05 @ 15:10

DOSfan1994 wrote:Ok I am using a voodoo 1 accelerator with soundblaster 16 and pentium for my processor and I am using Windows 95 B.
I think he is referring to the hardware of the computer you are using to run DOSBox.

Also, why are you using a version of DOSBox from two years ago?
User avatar
Jorpho
l33t++
 
Posts: 7043
Joined: 2003-2-14 @ 19:50
Location: Canada

Re: Direct3D games in DosBox

Postby DOSfan1994 » 2015-5-05 @ 18:20

I heard that DOSbox Svn 5/6/2013 is more capable of using this operating system. As I heard from some one named Kevin Hawkins.
DOSfan1994
Member
 
Posts: 208
Joined: 2012-9-03 @ 05:41

Re: Direct3D games in DosBox

Postby Jorpho » 2015-5-05 @ 19:20

I don't understand what you're hoping to accomplish here. If the problems you are experiencing are due to bugs in DOSBox, then they might have been fixed at some point since 5/6/2013 and a newer version will solve your problems.
User avatar
Jorpho
l33t++
 
Posts: 7043
Joined: 2003-2-14 @ 19:50
Location: Canada

Re: Direct3D games in DosBox

Postby DOSfan1994 » 2015-5-05 @ 21:52

The same thing happened when I tried it on the newer DOSbox Svn. ( Or maybe you have to install Windows 95 on new version.)
DOSfan1994
Member
 
Posts: 208
Joined: 2012-9-03 @ 05:41

Re: Direct3D games in DosBox

Postby DosFreak » 2015-5-05 @ 22:17

DOSBox doesn't support Windows 9x

Thread closed.
User avatar
DosFreak
l33t++
 
Posts: 10437
Joined: 2002-6-30 @ 16:35
Location: Your Head

Previous

Return to DOSBox General

Who is online

Users browsing this forum: No registered users and 2 guests