Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.

MDK

From PCGamingWiki, the wiki about fixing PC games
Revision as of 09:50, 14 December 2018 by Garrbot (talk | contribs) (→‎top: updated GOG.com ID format)
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 on 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

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

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

Improve performance in DOSBox

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)

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

Configuration file(s) location

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

Save game data location

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

Save game cloud syncing

System Native Notes
GOG Galaxy
Steam Cloud

Video settings

Direct3D settings.
Direct3D settings.
300px
Graphics settings (GOG.com version)

Template:Video settings

Widescreen resolution

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

Template:Input settings

WASD + Mouse

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

Audio settings.
Audio settings.

Template:Audio settings

Localizations

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

Issues fixed

Missing textures, Steam Overlay won't work

Run in 3dfx mode[citation needed]

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

Other information

API

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.
ExecutablePPC16-bit 32-bit 64-bit Notes
Windows
macOS (OS X)
Mac OS (Classic)

System requirements

DOS
Minimum Recommended
Operating system (OS) 6.2
Processor (CPU) Intel Pentium 60
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)
System memory (RAM) 16 MB (256 MB for digital)
Hard disk drive (HDD)
Video card (GPU) DirectX 3 (7 for digital) 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 When running this game without elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (more details).
  2. 2.0 2.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