VOGONS


Patching DOSbox

Topic actions

First post, by jwgreer2011

User metadata
Rank Newbie
Rank
Newbie

There are all kinds of patches for DOSbox but it does not help when there is no tutorial on how to apply or where to put patches. There likely is somewhere on this forum but I cannot find it easily so please tell me where to put DOSbox patches like patch and diff files.

Reply 1 of 2, by eraH_retired

User metadata
Rank Retired
Rank
Retired

Here is an article on patching.
http://jungels.net/articles/diff-patch-ten-minutes.html

As an example for applying the Voodoo patch
I would copy the voodoo.diff file to the dosbox folder, then run the command

patch -p0 < voodoo.diff

This patches the source code, and now you can compile DOSBox as per normal.

Sometimes the

patch -p0 < patch.diff

won't work and you will have to use

patch -p1 < patch.diff

That's explained in the article I linked to.

Reply 2 of 2, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

What needs to be emphasized:
When we speak about patches for Dosbox we mean patches for the Dosbox source code. Unless you know how to compile stuff, these patches are useless for you!

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper