Since kekkos last patch the file "src\hardware\makefile.am" obviously changed a little bit. The patch still worked because the patcher found the correct lines to replace by itself, but nontheless I updated the patch to work without any warnings during patching with current DOSBox SVNs:
The attachment voodoo_20160825.diff is no longer available
I want to add Glide support to the DOSBox package in Gentoo Linux and I was going to use Gulikoza's before I was told about this one. I can't get this one to build on Linux though, even after fixing the obvious include with backslashes. Lots of stuff like this:
1In file included from voodoo_opengl.h:33:0, 2 from voodoo_emu.cpp:81: 3voodoo_vogl.h:28:34: error: ‘void (* glActiveTextureARB)(GLenum)’ redeclared as different kind of symbol 4 extern PFNGLACTIVETEXTUREARBPROC glActiveTextureARB;
That aside, I don't quite understand how this patch works. Where's the glide2x.ovl? Would it even use openglide?
That aside, I don't quite understand how this patch works. Where's the glide2x.ovl? Would it even use openglide?
The *.ovl files normally are installed with the games, they don't come from DOSBox. In most games you can find it directly in the installation directory. The patch itself doesn't need a Glide wrapper, it "converts" the Glide calls into OpenGL calls, so that's all it needs.
I discovered that not all games supply their own *.ovl file. In those cases, you have to get it from one of the 3dfx driver packs. Not hard to find, FalconFly Central has pretty much all of them 😀 Some games, though, have the *.ovl built into them and actually don't need it at all. Most of the games designed for the Voodoo 1 chipset are like this (IIRC.)
All my DOSBox programs use a default config as their base. This mounts a common folder (D:\DOSBox\DriveC for example,) as the C: drive. In that folder I have a DOS directory that all my DOSBox configs also put in the path. Now, any file that I might need for multiple games (like the *.ovl file,) I just put in the D:\DOSBox\DriveC\DOS directory, and it will be available if any of my games need it 😀 Would be simpler if there was a directory that DOSBox appended to it's built in Z: directory, but I don't know if that will ever happen.
That aside, I don't quite understand how this patch works. Where's the glide2x.ovl? Would it even use openglide?
The *.ovl files normally are installed with the games, they don't come from DOSBox. In most games you can find it directly in the installation directory. The patch itself doesn't need a Glide wrapper, it "converts" the Glide calls into OpenGL calls, so that's all it needs.
I was confused about this because Gulikoza's patch requires a custom glide2x.ovl. Source here. Or perhaps that version just has minor improvements?
So far i found out, there are most 2 Glide.ovl in dosbox-Directory.
One is for setting glide=true and one for the setting glide=emu.
I copy the one i need to the Game.exe and rename it to glide2x.ovl
I also remove all glide2x.dll from Directory where dosbox.exe is.
So Dosbox searches the Path for glide2x.dll (real voodo2 oder glide wrapper like nglide oder dgvoodoo).
After finding some tips in another thread, I finally got it to work, but it seems quite sluggish. Between the performance and the awkwardness in building it, I'll stick with Gulikoza's for Gentoo. Thanks anyway!
DrNobody wrote:The error I keep getting is: […] Show full quote
The error I keep getting is:
1pci_bus.cpp:29:27: fatal error: ..\ints\int10.h: No such file or directory
I'm seeing the same issue. I've applied the updated patch provided by Yesterplay80 (voodoo_20160825) instead, but still get...
1pci_bus.cpp:29:27: fatal error: ..\ints\int10.h: No such file or directory 2 #include "..\ints\int10.h"
Is there something else missing here?
EDIT: Ok, fixed that by flipping the slashes, so it gets further now but still fails with...
1voodoo_vogl.cpp:328:21: error: ‘INT32’ was not declared in this scope
Swapping the INT32s out for int32_t's gets me further, but then I hit...
1In file included from voodoo_opengl.h:33:0, 2 from voodoo_emu.cpp:81: 3voodoo_vogl.h:28:34: error: ‘void (* glActiveTextureARB)(GLenum)’ redeclared as different kind of symbol 4 extern PFNGLACTIVETEXTUREARBPROC glActiveTextureARB; 5 ^~~~~~~~~~~~~~~~~~
Is this patch actually in a working state right now? It looks like it's got a lot of issues, at least on GCC6.2 on Linux.
Just noticed Chewi had the same issues and said he fixed it, but not how!
Just noticed Chewi had the same issues and said he fixed it, but not how!
I followed this guide. Can't remember if I had to do anything besides that but that was the bulk of it. I'd be interested to know if it performs any better for you. Gulikoza's patch with OpenGlide works much better for me.
Used that one in the end so thanks for that. Got it working after lots of hacking about, unfortunately I get about 5fps in Carmageddon so it doesn't look like it was worth it!