Dark Messiah: Single-Player Level Creation/SourceSDK: Difference between revisions
No edit summary |
|||
(14 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{back | Dark Messiah Level Creation}} | ||
{{DISPLAYTITLE: Dark Messiah - Singleplayer SDK Installation (Source SDK 2007/2009)}} | |||
{{toc-right}} | |||
{{draft}} | |||
{{Update|Needs to be updated due to [[SteamPipe]] and removal of {{code|.gcf}}.}} | |||
This tutorial will show you how to setup the Source SDK (Source Engine 2007/2009 version) so that you can create/edit Dark Messiah Singleplayer maps. Throughout this tutorial '''%USERNAME%''' should be replaced with your username, '''%STEAM%''' should be replaced by the directory Steam is installed to (I.E '''C:\Program Files\Steam\'''), and '''%DMSDK%''' should be replaced with '''%STEAM%\SteamApps\common\Might and Magic Dark Messiah SDK'''. | |||
{{clr}} | |||
== | == Installing the SDK == | ||
# | # Install http://www.hammer-tutorial.com/data/files/tools/mm_sdk_sp.7z | ||
# | # Extract the two GCF files from '''mm_sdk_sp.7z''' | ||
# | # Create a folder in '''%STEAM%\SteamApps\common\''' called '''Might and Magic Dark Messiah SDK'''. This is where we will be placing our files | ||
# Open '''dark messiah single player sdkcontent.gcf''' and extract its contents to '''%DMSDK%''' | |||
# Open '''dark messiah single player sdkbase.gcf''' and extract both the '''bin''' and '''mm''' folders to '''%DMSDK%''' | |||
== Extracting the Dark Messiah GCF's == | |||
Now you need to extract the contents of the following Dark Messiah GCF's (Game Cache Files) into '''%DMSDK%''' because the compiler tools cannot access the .GCF files: | Now you need to extract the contents of the following Dark Messiah GCF's (Game Cache Files) into '''%DMSDK%''' because the compiler tools cannot access the .GCF files: | ||
Line 32: | Line 26: | ||
Next open '''%STEAM%\SteamApps\mm_engine_pub.gcf''' and extract the following files to | Next open '''%STEAM%\SteamApps\mm_engine_pub.gcf''' and extract the following files to '''%DMSDK%\mm\scripts\''' folder: | ||
:* '''mm\scripts\surfaceproperties.txt''' | :* '''mm\scripts\surfaceproperties.txt''' | ||
:* '''mm\scripts\surfaceproperties_arkane.txt''' | :* '''mm\scripts\surfaceproperties_arkane.txt''' | ||
:* '''mm\scripts\surfaceproperties_manifest.txt''' | :* '''mm\scripts\surfaceproperties_manifest.txt''' | ||
== Extracting SDK Shaders + Resources == | |||
Dark Messiah's Shaders are not compatible with the latest versions of Hammer and Hammers model browser will not work without files found in the Source SDK's resource folder. | |||
# Open '''%STEAM%\SteamApps\source 2007 binaries.gcf''' | # Open '''%STEAM%\SteamApps\source 2007 binaries.gcf''' | ||
# Extract the contents of '''hl2\shaders''' into '''%DMSDK%\mm\shaders\''' | |||
# Extract the contents of '''platform\Resource''' into '''%DMSDK%\mm\Resource\''' | |||
=== Dark Messiah Single Player Bin Folder | == Extracting SDK Materials == | ||
Dark Messiah is missing a material that hammer needs. | |||
# Open '''%STEAM%\SteamApps\source 2007 shared materials.gcf''' | |||
# Extract '''hl2\materials\Editor\flatnocull.vmt''' into '''%DMSDK%\mm\materials\Editor\''' | |||
== Dark Messiah Single Player Bin Folder == | |||
# Copy the files in the '''%STEAM%\SteamApps\%USERNAME%\dark messiah might and magic single player\bin\''' to '''%DMSDK%\bin\''' | # Copy the files in the '''%STEAM%\SteamApps\%USERNAME%\dark messiah might and magic single player\bin\''' to '''%DMSDK%\bin\''' | ||
== GameInfo.txt == | |||
Next create a txt file called '''gameinfo.txt''' in your '''%DMSDK%\mm\''' folder with the following contents: | Next create a txt file called '''gameinfo.txt''' in your '''%DMSDK%\mm\''' folder with the following contents: | ||
<pre>"GameInfo" | <pre> | ||
"GameInfo" | |||
{ | { | ||
game "Might and Magic Dark Messiah SDK" | game "Might and Magic Dark Messiah SDK" | ||
Line 65: | Line 69: | ||
Game |gameinfo_path|. | Game |gameinfo_path|. | ||
Game mm | Game mm | ||
} | } | ||
} | } | ||
}</pre> | } | ||
</pre> | |||
== Configuring the Source SDK == | |||
# Run the '''Source SDK''' from Steam | |||
# Run the '''Source SDK''' from Steam | # Select '''Source Engine 2007''' as the Engine Version. This will create a '''GameConfig.txt''' if it doesn't already exist | ||
# Select '''Source Engine 2009''' as the Engine Version. This will create a '''GameConfig.txt''' if it doesn't already exist | |||
# Close the '''Source SDK''' | # Close the '''Source SDK''' | ||
# Open '''%STEAM%\SteamApps\%USERNAME%\sourcesdk\bin\source2009\bin\GameConfig.txt''' | # Open '''%STEAM%\SteamApps\%USERNAME%\sourcesdk\bin\source2007\bin\GameConfig.txt''' | ||
# Open '''%STEAM%\SteamApps\%USERNAME%\sourcesdk\bin\source2009\bin\GameConfig.txt''' | |||
# Add the following text to both '''GameConfig.txt''' files you opened, under their '''"Games"''' section | |||
<pre>"Dark Messiah" | <pre>"Dark Messiah" | ||
{ | { | ||
"GameDir" "%STEAM%\SteamApps\ | "GameDir" "%STEAM%\SteamApps\common\Might and Magic Dark Messiah SDK\mm" | ||
"hammer" | "hammer" | ||
{ | { | ||
"GameData0" "%STEAM%\SteamApps\% | "GameData0" "%STEAM%\SteamApps\common\Might and Magic Dark Messiah SDK\bin\base.fgd" | ||
"GameData1" "%STEAM%\SteamApps\common\Might and Magic Dark Messiah SDK\bin\halflife2.fgd" | |||
"TextureFormat" "5" | "TextureFormat" "5" | ||
"MapFormat" "4" | "MapFormat" "4" | ||
Line 89: | Line 97: | ||
"DefaultSolidEntity" "func_detail" | "DefaultSolidEntity" "func_detail" | ||
"DefaultPointEntity" "info_player_start" | "DefaultPointEntity" "info_player_start" | ||
"BSP" "%STEAM%\SteamApps\ | "BSP" "%STEAM%\SteamApps\common\Might and Magic Dark Messiah SDK\bin\vbsp.exe" | ||
"Vis" "%STEAM%\SteamApps\ | "Vis" "%STEAM%\SteamApps\common\Might and Magic Dark Messiah SDK\bin\vvis.exe" | ||
"Light" "%STEAM%\SteamApps\ | "Light" "%STEAM%\SteamApps\common\Might and Magic Dark Messiah SDK\bin\vrad.exe" | ||
"GameExeDir" "%STEAM%\SteamApps\%USERNAME%\dark messiah might and magic single player" | "GameExeDir" "%STEAM%\SteamApps\%USERNAME%\dark messiah might and magic single player" | ||
"MapDir" "%STEAM%\SteamApps\ | "MapDir" "%STEAM%\SteamApps\common\Might and Magic Dark Messiah SDK\mm_content\mapsrc" | ||
"BSPDir" "%STEAM%\SteamApps\%USERNAME%\dark messiah might and magic single player\mm\maps" | "BSPDir" "%STEAM%\SteamApps\%USERNAME%\dark messiah might and magic single player\mm\maps" | ||
"CordonTexture" "tools\toolsskybox" | "CordonTexture" "tools\toolsskybox" | ||
Line 101: | Line 109: | ||
</pre> | </pre> | ||
# To use the editor for map creation, run the '''Source SDK''' from Steam | |||
# Select either '''Source Engine 2007''' or '''Source Engine 2009''' as the Engine Version and '''Dark Messiah''' as the Current Game | |||
# Select '''Source Engine 2009''' as the Engine Version and '''Dark Messiah''' as the Current Game | |||
# Double Click on Hammer Editor | # Double Click on Hammer Editor | ||
{{note|It is recommended that you use Source Engine 2007 as it is less likley to have random crashes.}} | |||
== | == Sources == | ||
* [http://www.hammer-tutorial.com/data/files/tools/mm_sdk_sp.7z Dark Messiah Single-Player SDK] | * [http://www.hammer-tutorial.com/data/files/tools/mm_sdk_sp.7z Dark Messiah Single-Player SDK] | ||
* [http://www.filefactory.com/file/cadd5a6/n/mm_sdk_sp.7z Alternate SDK Download Mirror (FileFactory)] | * [http://www.filefactory.com/file/cadd5a6/n/mm_sdk_sp.7z Alternate SDK Download Mirror (FileFactory)] | ||
* [http://www.gamefront.com/files/20121754/mm_sdk_sp.7z Alternate SDK Download Mirror (Gamefront)] | * [http://www.gamefront.com/files/20121754/mm_sdk_sp.7z Alternate SDK Download Mirror (Gamefront)] | ||
[[Category:Dark Messiah]] | [[Category:Dark Messiah]] |
Latest revision as of 23:38, 22 September 2024

Remember to check for any notes left by the tagger at this article's talk page.

This tutorial will show you how to setup the Source SDK (Source Engine 2007/2009 version) so that you can create/edit Dark Messiah Singleplayer maps. Throughout this tutorial %USERNAME% should be replaced with your username, %STEAM% should be replaced by the directory Steam is installed to (I.E C:\Program Files\Steam\), and %DMSDK% should be replaced with %STEAM%\SteamApps\common\Might and Magic Dark Messiah SDK.
Installing the SDK
- Install http://www.hammer-tutorial.com/data/files/tools/mm_sdk_sp.7z
- Extract the two GCF files from mm_sdk_sp.7z
- Create a folder in %STEAM%\SteamApps\common\ called Might and Magic Dark Messiah SDK. This is where we will be placing our files
- Open dark messiah single player sdkcontent.gcf and extract its contents to %DMSDK%
- Open dark messiah single player sdkbase.gcf and extract both the bin and mm folders to %DMSDK%
Extracting the Dark Messiah GCF's
Now you need to extract the contents of the following Dark Messiah GCF's (Game Cache Files) into %DMSDK% because the compiler tools cannot access the .GCF files:
- %STEAM%\SteamApps\mm_materials_a_pub.gcf
- %STEAM%\SteamApps\mm_materials_b_pub.gcf
- %STEAM%\SteamApps\mm_materials_c_pub.gcf
- %STEAM%\SteamApps\mm_models_pub.gcf
Next open %STEAM%\SteamApps\mm_engine_pub.gcf and extract the following files to %DMSDK%\mm\scripts\ folder:
- mm\scripts\surfaceproperties.txt
- mm\scripts\surfaceproperties_arkane.txt
- mm\scripts\surfaceproperties_manifest.txt
Extracting SDK Shaders + Resources
Dark Messiah's Shaders are not compatible with the latest versions of Hammer and Hammers model browser will not work without files found in the Source SDK's resource folder.
- Open %STEAM%\SteamApps\source 2007 binaries.gcf
- Extract the contents of hl2\shaders into %DMSDK%\mm\shaders\
- Extract the contents of platform\Resource into %DMSDK%\mm\Resource\
Extracting SDK Materials
Dark Messiah is missing a material that hammer needs.
- Open %STEAM%\SteamApps\source 2007 shared materials.gcf
- Extract hl2\materials\Editor\flatnocull.vmt into %DMSDK%\mm\materials\Editor\
Dark Messiah Single Player Bin Folder
- Copy the files in the %STEAM%\SteamApps\%USERNAME%\dark messiah might and magic single player\bin\ to %DMSDK%\bin\
GameInfo.txt
Next create a txt file called gameinfo.txt in your %DMSDK%\mm\ folder with the following contents:
"GameInfo" { game "Might and Magic Dark Messiah SDK" title "Dark Messiah SDK" type singleplayer_only FileSystem { ToolsAppId 211 // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc. SteamAppId 2100 // This will mount all the GCFs we need (240=CS:S, 220=HL2). SearchPaths { Game |gameinfo_path|. Game mm } } }
Configuring the Source SDK
- Run the Source SDK from Steam
- Select Source Engine 2007 as the Engine Version. This will create a GameConfig.txt if it doesn't already exist
- Select Source Engine 2009 as the Engine Version. This will create a GameConfig.txt if it doesn't already exist
- Close the Source SDK
- Open %STEAM%\SteamApps\%USERNAME%\sourcesdk\bin\source2007\bin\GameConfig.txt
- Open %STEAM%\SteamApps\%USERNAME%\sourcesdk\bin\source2009\bin\GameConfig.txt
- Add the following text to both GameConfig.txt files you opened, under their "Games" section
"Dark Messiah" { "GameDir" "%STEAM%\SteamApps\common\Might and Magic Dark Messiah SDK\mm" "hammer" { "GameData0" "%STEAM%\SteamApps\common\Might and Magic Dark Messiah SDK\bin\base.fgd" "GameData1" "%STEAM%\SteamApps\common\Might and Magic Dark Messiah SDK\bin\halflife2.fgd" "TextureFormat" "5" "MapFormat" "4" "DefaultTextureScale" "0.250000" "DefaultLightmapScale" "16" "GameExe" "%STEAM%\SteamApps\%USERNAME%\dark messiah might and magic single player\mm.exe" "DefaultSolidEntity" "func_detail" "DefaultPointEntity" "info_player_start" "BSP" "%STEAM%\SteamApps\common\Might and Magic Dark Messiah SDK\bin\vbsp.exe" "Vis" "%STEAM%\SteamApps\common\Might and Magic Dark Messiah SDK\bin\vvis.exe" "Light" "%STEAM%\SteamApps\common\Might and Magic Dark Messiah SDK\bin\vrad.exe" "GameExeDir" "%STEAM%\SteamApps\%USERNAME%\dark messiah might and magic single player" "MapDir" "%STEAM%\SteamApps\common\Might and Magic Dark Messiah SDK\mm_content\mapsrc" "BSPDir" "%STEAM%\SteamApps\%USERNAME%\dark messiah might and magic single player\mm\maps" "CordonTexture" "tools\toolsskybox" "MaterialExcludeCount" "0" } }
- To use the editor for map creation, run the Source SDK from Steam
- Select either Source Engine 2007 or Source Engine 2009 as the Engine Version and Dark Messiah as the Current Game
- Double Click on Hammer Editor
