Dark Messiah - Singleplayer SDK Installation

From Valve Developer Community
Jump to: navigation, 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)

Download and Setup

The Dark Messiah SDK launcher.

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

Package includes

The package includes:

  • The Hammer Editor, the Source level editor.
  • Faceposer.
  • Half-Life Model Viewer (HLMV).
  • Standalone version of the Source SDK tools updated to work with Dark Messiah.
  • Suite of command line compiling utilities, such as studiomdl and map compiling tools.
  • Vmf sources for all the maps featured in the game.
  • Model sources for the player and orcs.

Extracting the 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 Hammer Editor cannot access the content of vpk files directly:

  • 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 Hammer where to look for these files. To do this, open the GameConfig.txt file located 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"
}

Accessing the Dark Messiah SDK

Even through all of the tools included can be accessed without the use of an SDK, one is still present with the download but cannot be opened without providing it a path to its scripts or it will just refuse to open. To do this, create a shortcut to SDKLauncher.exe located inside of the game's bin folder Steam\steamapps\common\Dark Messiah Might and Magic Single Player\bin through steam by adding it as a non-steam game. When done, right click on its entry in the library and add the following parameter in the Set launch options... field: -game "C:\Program Files\Steam\steamapps\common\Dark Messiah Might and Magic Single Player\launcher", and you should now be able to launch it like any another standalone Source SDK application.

Where do I go from here?

  • The Dark Messiah Level Creation is a good place to go if you are familiar with Source mapping already. If not, you will need to master the basics of Source level design first (Level Design).
  • If you want to learn about how to create content for the Source Engine in general, the main page of the Source SDK documentation is a good place to start.

Bugs and issues

Sources