Dark Messiah - Singleplayer SDK Installation

From Valve Developer Community
Revision as of 07:49, 14 July 2019 by Soer4769 (talk | contribs) (Updated the page's content, removed unecessary clutter that can be considered general knowledge not specific to dark messiah as a soirce game, moved the bugs and issues to its own page)
Jump to navigation Jump to search
Dark Messiah Level Creation

This tutorial is an edited version of the translation found in the Steam Users' Forums (archived). There is also a tutorial on how to setup the 2007/2009 versions of the SDK for developing Dark Messiah maps: Dark Messiah: Single-Player Level Creation (Source SDK 2007/2009)

Requirements

Download the Dark Messiah of Might and Magic Single-Player SDK http://www.moddb.com/games/dark-messiah-of-might-magic/downloads/dark-messiah-might-and-magic-sdk, and extract its contents using 7-Zip. Now open the two GCF files (Game Cache Files) inside of it with GCFScape and in the window that appears, select all folders and extract them to Steam\steamapps\common\Dark Messiah Might and Magic Single Player

Extracting the Dark Messiah VPKs

Now you need to extract the contents of the following Dark Messiah VPK (Valve Pak) files with GCFScape at Steam\steamapps\common\Dark Messiah Might and Magic Single Player\vpks into your Dark Messiah folder Steam\steamapps\common\Dark Messiah Might and Magic Single Player', because the editor cannot access the VPK files themselfes:

  • depot_2103_dir.vpk (models)
  • depot_2104_dir.vpk (materials)
  • depot_2105_dir.vpk (materials for models)
  • depot_2106_dir.vpk (materials for levels)
  • depot_2107_dir.vpk (sounds)
  • depot_2108_dir.vpk (sounds)

Configuring the Hammer Editor

Once all the files have been extracted, you still need to tell the Hammer editor where to look for these files. To do this, open the GameConfig.txt file in Steam\steamapps\common\Dark Messiah Might and Magic Single Player\bin and replace its content with the code below. You may have to correct the whole path:

"Configs"
{
    "Games"
    {
        "Dark Messiah"
        {
            "GameDir" "C:\Program Files\Steam\steamapps\common\Dark Messiah Might and Magic Single Player\mm"
            "hammer"
            {
                "GameData0" "C:\Program Files\Steam\steamapps\common\Dark Messiah Might and Magic Single Player\bin\halflife2.fgd"
                "TextureFormat" "5"
                "MapFormat" "4"
                "DefaultTextureScale" "0.250000"
                "DefaultLightmapScale" "16"
                "GameExe" "C:\Program Files\Steam\steamapps\common\Dark Messiah Might and Magic Single Player\mm.exe"
                "DefaultSolidEntity" "func_detail"
                "DefaultPointEntity" "info_player_start"
                "BSP" "C:\Program Files\Steam\steamapps\common\Dark Messiah Might and Magic Single Player\bin\vbsp.exe"
                "Vis" "C:\Program Files\Steam\steamapps\common\Dark Messiah Might and Magic Single Player\bin\vvis.exe"
                "Light" "C:\Program Files\Steam\steamapps\common\Dark Messiah Might and Magic Single Player\bin\vrad.exe"
                "GameExeDir" "C:\Program Files\Steam\steamapps\common\Dark Messiah Might and Magic Single Player"
                "MapDir" "C:\Program Files\Steam\steamapps\common\Dark Messiah Might and Magic Single Player\mm_content\mapsrc"
                "BSPDir" "C:\Program Files\Steam\steamapps\common\Dark Messiah Might and Magic Single Player\mm\maps"
                "CordonTexture" "tools\toolsskybox"
                "MaterialExcludeCount" "0"
            }
        }
    }
    "SDKVersion" "1"
}

Sources