We are hiring a new server admin! Click here to see job details on our forum.

MDK

From PCGamingWiki, the wiki about fixing PC games
MDK
MDK cover
Developers
Shiny Entertainment
Mac OS (Classic) Shokwave
Publishers
North America Playmates Interactive Entertainment
Interplay Entertainment
Release dates
DOS May 7, 1997
Windows May 7, 1997
Mac OS (Classic) June 18, 1997
macOS (OS X) October 26, 2012[1]
MDK at Wikipedia
MDK
MDK 1997
MDK 2 2000
MDK 2 HD 2011

General information

Hectic HQ - Fan site for the game
GOG.com Community Discussions for game series
GOG.com Support Page
Steam Community Discussions

Availability[edit]

Source DRM Notes Keys OS
Retail
Disc check (requires the CD/DVD in the drive to play)
DOS
Windows
Mac OS
GOG.com
DRM-free
Windows version pre-configured with nGlide.
Mac version instead uses DOSBox.
Windows
macOS (OS X)
Steam
Icon overlay.png
Windows
The GOG.com Windows release does not include the original desktop icon. A replacement can be found here.

Version differences[edit]

In addition to being released in various languages and for various graphics chipsets and APIs, certain versions of the game were censored, changing the green alien blood to blue and removing head shots.[2][3] Unfortunately, no official list documenting which versions were censored was ever released, although the GOG release is uncensored.

Essential improvements[edit]

Improve performance in DOSBox[edit]

Edit DOSBox configuration file

Edit the following values:

  • output=surface to output=opengl
  • memsize=16 to memsize=31
  • cycles=auto to cycles=auto limit 100000

Restore DOS functionality (GOG.com version)[edit]

GOG stripped out DOS support form their version to save space. To restore it legally (no warez is used) do the following:

Acquire the original files[4]
  1. Download the following files:
    • MDK.EXE - MDK DOS executable.
    • DOS4GW.EXE - DOS protected-mode extender (provide full amount of system RAM, above first megabyte to software). Can be replaced with DOS32A.
    • HMIDET.386 and HMIDRV.386 - drivers from HMI sound API that detect your souncard and give access to "digital" (aka PCM) sound capability of the sound card.
  2. Copy all files to game's root directory. Rename existing MDK.EXE to MDK95.EXE to avoid being overwritten.
  3. Use the parameter -iamapirate to bypass the CD check (also works on windows version).
If CD check is still enabled copy the following to a text file and save it as MDK.CRK:
MDK.CRK
MDK CD Check Disabler

M.D.K - DOS net update ver. 
MDK.EXE 
00030FC1: 74 EB 

M.D.K - W95 net update ver. 
MDK95.EXE 
000010F1: E8 B8 

M.D.K - 3Dfx net update ver. 
MDK3DFX.EXE 
00001CBD: E8 B8 

M.D.K - Direct3D net update ver. 
MDKD3D.EXE 
00001D45: E8 B8 

M.D.K - PowerVR 3D net update ver. 
MDKPVR.EXE 
00001E27: E8 B8 

M.D.K - Rendition Redline 3D net update ver. 
MDKRED.EXE 
00001D41: E8 B8 

M.D.K - W95 / Force Feedback net update ver. 
MDK95FF.EXE 
000016C1: E8 B8 

M.D.K - Direct3D / Force Feedback net update ver. 
MDKD3DFF.EXE 
00001D79: E8 B8 

M.D.K - W95 A3D sound patch off net. 
MDKA3D95.EXE 
00030B4D: E8 B8 

M.D.K - Direct3D A3D sound patch off net. 
MDKA3D3D.EXE 
00003629: E8 B8 

Open the saved file with the Universal Game Cracker to force disable CD check.

Game data[edit]

Configuration file(s) location[edit]

System Location
DOS <path-to-game>\MDK.CFG
Windows <path-to-game>\MDK.CFG
Mac OS (Classic)
macOS (OS X) <path-to-game>/MDK.CFG
Linux (Proton) <Steam-folder>/steamapps/compatdata/38450/pfx/[Note 1]

Save game data location[edit]

System Location
DOS <path-to-game>\SAVES
Windows <path-to-game>\SAVES
Mac OS (Classic)
macOS (OS X) <path-to-game>/SAVES
Linux (Proton) <Steam-folder>/steamapps/compatdata/38450/pfx/[Note 1]

Save game cloud syncing[edit]

System Native Notes
GOG Galaxy
Steam Cloud

Video settings[edit]

Direct3D settings.
Direct3D settings.
Graphics settings (GOG.com version)
Graphics settings (GOG.com version)
Graphics option Option WSGF Notes
Widescreen resolution
Defaults to 600x360 windowboxed to 640x480. See Widescreen resolution.
Multi-monitor
Ultra-widescreen
4K Ultra HD
Field of view (FOV)
Windowed
Use DXWnd for Windows; for DOSBox toggle with Alt+ Enter.
Borderless fullscreen windowed
Anisotropic filtering (AF)
Use a glide wrapper then force in control panel. Some wrappers provide this option builtin.
Anti-aliasing (AA)
Use a glide wrapper then force in control panel. Some wrappers provide this option builtin.
Vertical sync (Vsync)
Use nGlide (see Widescreen resolution).
60 FPS and 120+ FPS
Frame rate is capped at 30 FPS. Cap can be forcibly disabled using the -nosync parameter, though this breaks physics and jumping.
High dynamic range display (HDR)
Color blind mode

Widescreen resolution[edit]

Higher resolutions can be used (stretched/pillarboxed 4:3 only).
Use nGlide[citation needed]
  1. Install nGlide for versions other than GOG.com (the GOG.com version already includes it).
  2. Run nGlide from the Start screen/Start menu.
  3. Set the resolution and aspect ratio preference (4:3 for pillarboxed, fit to screen for stretching from 4:3).
  4. Run the game in 3dfx mode (MDK3DFX.EXE).
Use Idarion's widescreen fix[5]
  1. Download Idarion's widescreen fix for Beyond Good and Evil.
  2. Download nGlide 0.97 (other versions cause graphical glitches).
  3. Put the files inside of the nGlide 0.97 into the installation folder.
  4. Click on "nGlide_config".
  5. Set Aspect ratio to "Fit to screen" (the BGE fix expects image that is horizontally stretched).
  6. Paste the files from the BGE widescreen fix into the installation folder.
  7. Edit d3d9.ini and make sure bPillarBox16to9=false or else it won't work.
  8. Run MDK3DFX.EXE.

Notes

Doesn't stretch the game.
Still not true widescreen.
16:9 resolutions works the best - no bars on top and bottom and only small bars on the sides.
16:10 resolutions - small bars on top and bottom, but still better than without the fix.

Input settings[edit]

Keyboard and mouse Native Notes
Remapping
Only first 4 mouse buttons can be bound.
Mouse acceleration
Mouse sensitivity
For DOSBox set in the DOSBox configuration file.
Mouse input in menus
Mouse Y-axis inversion
Controller
Controller support
Special version for the Sidewinder Force Feedback Pro was available.
Full controller support
Controller remapping
Can't map POV hat.
Controller sensitivity
Controller Y-axis inversion
Additional information
Controller hotplugging
Haptic feedback
Sidewinder Force Feedback Pro only, requires special patch.
Simultaneous controller+KB/M

WASD + Mouse[edit]

Edit MDK.CFG[6]
  1. Open MDK.CFG (or create it if it doesn't exsist).
  2. Replace the contents of the file with:
MDK.CFG
; MDK Configuration file automatically generated by MDK
cddata = .\
hddata = .\
hduse = 2
MouseWAxesMap = A0G
MouseWButtMapB = 2
MouseWButtMapC = 32
KeyUp = 17
KeyDown = 31
KeyJump = 57
KeySniper = 44
KeyLookUp = 19
KeyLookDown = 46
KeyZoomIn = 19
KeyZoomOut = 46
KeyItemNext = 18
KeyItemPrev = 16
KeyItemUse = 33
KeySideL = 30
KeySideR = 32
Brightness = 1
ForcePCorrect = TRUE 
D3DOptions = -2147352475 

Notes

Easier and more modern control scheme.
The controls for the flying sections gets switched around.

Audio settings[edit]

Audio settings.
Audio settings.
Audio options Native Notes
Separate volume controls
Effects and Music.
Surround sound
Subtitles
Everything is text-based.
Closed captions
Mute on focus lost
Alt+Tab disabled in software rendered version.
EAX support
A3D 1.x was added with a patch. The D3D version can be found here although the software (Win95) version is not available on the net.[7]

Localizations

Language UI Audio Sub Notes
English
French
Polish
Local retail version only.
German
Italian
Spanish

Issues fixed[edit]

Missing textures, Steam Overlay won't work[edit]

Run in 3dfx mode[citation needed]

See Widescreen resolution. Use Alyxx's fan patch for Steam version.

Other information[edit]

API[edit]

Technical specs Supported Notes
Direct3D
A wrapper to emulate older graphics cards, such as dgvoodoo, may be necessary to avoid missing or corrupt textures. Use the MDKD3D exe to launch the game. Special versions for the Rendition Redline was also available.
OpenGL
PowerVR only (MiniGL). Use the MDKPVR exe to launch the game.
Glide
Requires wrapper, such as nGlide, to work on modern systems. Use the MDK3DFX exe to launch the game.
Software renderer
Lauch with the MDK95 exe. The MDK exe is only for DOS mode.
Renamed to MDK_soft in digital release.
DOS video modes SVGA Use the MDK exe to run in DOS mode, others are Windows only.
Removed in digital release.
64-bit executable

System requirements[edit]

DOS
Minimum Recommended
Operating system (OS) 6.2
Processor (CPU) Intel Pentium 60 Intel Pentium 90
System memory (RAM) 16 MB
Hard disk drive (HDD) 17 MB
Video card (GPU) SVGA
Can be forced to run on a 486 using the -486okbyme parameter. Recommend also using the -iam486 parameter (reduces detail).
Windows
Minimum Recommended
Operating system (OS) 95, 98 (XP, Vista for digital)
Processor (CPU) Intel Pentium 60 (1 GHz for digital) Intel Pentium 90 (1.4 GHz for digital)
System memory (RAM) 16 MB (256 MB for digital) 512 MB
Hard disk drive (HDD)
Video card (GPU) DirectX 3 (7 for digital) compatible DirectX 9 compatible
Can be forced to run on a 486 using the -486okbyme parameter. Recommend also using the -iam486 parameter (reduces detail).
Mac OS
Minimum
Operating system (OS) System 7.5
Processor (CPU) PowerPC 100 MHz
System memory (RAM) 16 MB
Hard disk drive (HDD) 3 MB
Video card (GPU) Color display at 640 X 480 resolution
macOS (OS X)
Minimum
Operating system (OS) 10.6.8 (uses DOSBox/Wine)
Processor (CPU) Intel Core Duo 2 GHz+
System memory (RAM) 1 GB
Hard disk drive (HDD)
Video card (GPU) 64 MB of VRAM

Notes

  1. 1.0 1.1 File/folder structure within this directory reflects the path(s) listed for Windows and/or Steam game data (use Wine regedit to access Windows registry paths). Games with Steam Cloud support may store data in ~/.steam/steam/userdata/<user-id>/38450/ in addition to or instead of this directory. The app ID (38450) may differ in some cases. Treat backslashes as forward slashes. See the glossary page for details.

References