Tutorial: dosbox with Glide under Linux

Developer's Forum, for discussion of bugs, code, and other developmental aspects of DOSBox.

Re: Tutorial: dosbox with Glide under Linux

Postby Enverex » 2017-2-27 @ 16:59

@Yesterplay80: Which GLIDE2X.OVL should be used with this patch?

EDIT: glide2x_emu.ovl renamed to glide2x.ovl seems to work. Albeit with lots of mode switching but that seems normal for the game. On that note, is there any way to keep scaling in play when using this? i.e. the way DOSBox normally works? With the output scaled up to match the original screen resolution, rather than changing to the actual resolution of the game? (which can be pretty low, e.g. 320x240).
User avatar
Enverex
Newbie
 
Posts: 41
Joined: 2016-2-09 @ 10:05
Location: UK

Re: Tutorial: dosbox with Glide under Linux

Postby inukaze » 2017-8-13 @ 18:56

Hi there, i try to follow the tutorial -> https://wiki.ubuntuusers.de/Archiv/Spie ... mit_Glide/
But when i try to patch, this ask me which file i want to patch

Code: Select all
$ cat dosbox_glide.diff | patch -p0
can't find file to patch at input line 53
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|DOSBox Glide patch.
|
|From: gulikoza <gulikoza@si-gamer.net>
|
|Add Glide support.
|
|Author: gulikoza (http://vogons.zetafleet.com/viewtopic.php?t=16462)
|
|Changes:
| - configurable splash screen
| - support multiple buffer locks (eg: back + depth) (Extreme Assault)
| - increase available LFB memory
| - fix Tie Break Tennis init
| - fix Unreal GPF
|
|Previous versions:
| - 2012/06/08: Fix grTexClampMode (thanks robertmo!)
| - 2011/08/03: Fix polygon rendering
| - 2010/10/27: Add Pył support, fix grLFBRead/WriteRegion
| - 2009/11/24: Fix some minor issues, add MacOSX support (!)
| - 2009/10/09: Various fixes and code cleanups, fix originlocation + splash screen
| - 2009/08/30: Fix LFB operations when paging is active
| - 2009/06/04: Updated for 0.73, add MSVC6 projects for glide2x win9x build
| - 2008/09/14: Updated for current CVS, allow disabling LFB reads/writes
| - 2008/02/17: Updated for current CVS
| - 2007/11/06: Improve TR shadow support (gidierre)
| - 2007/10/18: Add TombRaider shadow hack (thanks gidierre!)
| - 2007/09/03: Fix a crash when closing dosbox while glide is active
| - 2007/08/28: x86_64 support
| - 2007/08/23: Fix buffer overflow
| - 2007/08/22: Fix compilation problems
|
|TODO:
| - threading (?)
|---
| configure.ac             |    2
| include/glide.h          |  331 ++++++++
| include/glidedef.h       |  179 ++++
| include/mem.h            |    2
| src/dosbox.cpp           |   12
| src/gui/sdlmain.cpp      |   13
| src/hardware/Makefile.am |    2
| src/hardware/glide.cpp   | 1962 ++++++++++++++++++++++++++++++++++++++++++++++
| src/hardware/memory.cpp  |   21
| 9 files changed, 2520 insertions(+), 4 deletions(-)
| create mode 100644 include/glide.h
| create mode 100644 include/glidedef.h
| create mode 100644 src/hardware/glide.cpp
|
|diff --git a/configure.ac b/configure.ac
|--- configure.ac
|+++ configure.ac
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file include/glide.h,
which already exists!  Assume -R? [n] y
patching file include/glide.h
The next patch would create the file include/glidedef.h,
which already exists!  Assume -R? [n] y
patching file include/glidedef.h
can't find file to patch at input line 585
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/include/mem.h b/include/mem.h
|--- include/mem.h
|+++ include/mem.h
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 597
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/src/dosbox.cpp b/src/dosbox.cpp
|--- src/dosbox.cpp
|+++ src/dosbox.cpp
--------------------------
File to patch:


i am trying to patch dosbox 0.73 source code.
Someone have a patch version for the official dosbox 0.74 source code to enable glide support ???
inukaze
Newbie
 
Posts: 2
Joined: 2014-12-21 @ 02:21

Re: Tutorial: dosbox with Glide under Linux

Postby MastaG » 2017-11-01 @ 10:50

For 0.74 and later versions there's the voodoo chip emulation patch which doesn't require an external glide wrapper.
See: viewtopic.php?f=41&t=41853&start=40#p597692
I haven't tried it yet.

But I'd really like to see an updated version of gulikoza's 3dfx patch for newer versions of dosbox though.
I've used it in the past with openglide on linux and it worked great for Carmageddon :)
MastaG
Newbie
 
Posts: 10
Joined: 2010-12-23 @ 12:22

Re: Tutorial: dosbox with Glide under Linux

Postby Enverex » 2017-11-01 @ 11:05

The post in response to the one you've linked seems to imply that it still requires additional files and didn't really seem usable.

I'll double check what I'm using because I'm pretty sure my custom hacked-together version of DOSBox supports 3DFX and works OK.
User avatar
Enverex
Newbie
 
Posts: 41
Joined: 2016-2-09 @ 10:05
Location: UK

Previous

Return to DOSBox Development

Who is online

Users browsing this forum: No registered users and 1 guest