Source SDK

Source SDK

Not enough ratings
Steamless/Standalone/DRM Free Source Mods (SDK2013)
By Blood_Wraith
Tutorial on Steamless "Standalone" DRM Free Source Mods
   
Award
Favorite
Favorited
Unfavorite
Video Tutorial
Text Tutorial
I only figured out how to do this from an older guide, although it was worded a bit poorly in some places, and the folder structure didn't seem to work, that's why I made my own guide.

Original guide: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1744262490

For a guide on creating a Source 2013 mod, go here: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=232923055

Note: Some mods are incompatible, pretty much any pre-2013 mods won't work unless you replace their dll files with updated ones, and modify the gameinfo.txt. Even then, pre-2013 mods that use custom code don't seem to work at all, unless someone can recompile their dlls to work with Source SDK Base 2013 Singleplayer.

Tutorial:

Step 1:

Download Source SDK 2013 Base Singleplayer if you haven't already.



Step 2:

Make these folders:

sourcemods

Then in that folder, make another folder named Base

You can put the sourcemods folder wherever you like, I put mine in the root directory of my C: drive, like so.







Step 3:

Now go into the Source SDK Base 2013 Singleplayer folder, and copy, or just move all of that folder's content into the Base folder you just made.


Step 4:

Move whatever Source 2013 compatible source mods you want into the Base folder.


Step 5:

Make the batch file.

Create a new text document in the Base folder (the same folder that has hl2.exe), and paste this into it:

@echo off
start hl2.exe -game modfoldername

Replace modfoldername with whatever the mod's folder is named.

Example: If the mod's folder is named RE2, then it should look like this:

@echo off
start hl2.exe -game RE2

Now save the file as modname.bat

Rinse and repeat with other mods you want to run.

To run the mod, simply run the bat file.

Feel free to make a shortcut of any bat files for easy access, and also drag the shortcut to the start menu.


Your folder's contents should look something like this if you did everything right:


If you want to see an example of this already done, you can download the standalone version of my mod, Resident Evil 2: Source.

https://www.moddb.com/mods/resident-evil-2-source/downloads/resident-evil-2-source-v-103-standalone

(Keep in mind RE2:S lacks EP1, EP2 vpks, and HL2 voiceover vpks if you're going to use it as a template)

Although I kind of screwed up with the bat file the first time around, as I was still learning how to do bat files, so make sure to edit in the correct parameters in the bat file, and save it as a .bat file. (I'll fix the bat file in the next update)

Note: This doesn't seem to work with mods like Underhell and Get A Life, since those use source 2007 code or whatever, and are incompatible with Source SDK Base 2013 Singleplayer, unless someone wants to recompile their dlls to work with Source 2013.

If you find an older source mod that isn't compatible with Source 2013, and the mod doesn't use any custom code, just copy Claustrophobia's updated dlls and my example gameinfo.txt and replace the incompatible mod's dlls located in the bin folder, and gameinfo.txt in the mod's main folder, and edit the gameinfo.txt as nesesscary.

Claustrophobia's updated dlls have Half-Life 2, Episode 1, and Episode 2 code in it, so it should cover any basic hl2 mod that doesn't use custom code.

Claustrophobia updated dlls and gameinfo.txt https://www.moddb.com/mods/hl2-claustrophobia/downloads/claustrophobia-patch-source-sdk-2013

Example gameinfo.txt:

Originally posted by author:
"GameInfo" { game "MOD NAME HERE" title "" type singleplayer_only FileSystem { SteamAppId 243730 // Source SDK Base 2013 Singleplayer SearchPaths { // No /custom/ folders because they can interfere with mod content and shouldn't be in mod gameinfo. game+mod+mod_write+default_write_path |gameinfo_path|. // Mod gamebin |gameinfo_path|bin // Mod's Binaries // Base Half-Life 2 Content: ep2, episodic, hl2 game_lv |all_source_engine_paths|hl2/hl2_lv.vpk game |all_source_engine_paths|hl2/hl2_english.vpk game |all_source_engine_paths|hl2/hl2_pak.vpk game |all_source_engine_paths|hl2/hl2_textures.vpk game |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk game |all_source_engine_paths|hl2/hl2_sound_misc.vpk game |all_source_engine_paths|hl2/hl2_misc.vpk game+mod ep2/ep2_pak.vpk game+mod episodic/ep1_pak.vpk platform |all_source_engine_paths|platform/platform_misc.vpk // TODO; find out what is it and why it's here game |all_source_engine_paths|hl2 platform |all_source_engine_paths|platform } } }

Here's a list of HL2 mods I've got working so far:

(Make sure to apply dlls and gameinfo.txt, etc, fixes to mods that need them)

Claustrophobia
Coastline To Atmosphere
DayHard
Minerva Metastasis (Crashes at a part in the first map, just skip to next level after this point.)
Mistake Of Pythagoras
Nightmare House 2
Ravenholm
Resident Evil 2: Source
3 Comments
dr.N0 30 Dec, 2024 @ 8:14pm 
this shit literally helped me release a functioning sourcemod conversion to full for steam to review on steamworks you literally popped up on me after like 4 hard days of trying tons of shit trying to figure out how to launch my mod packed as a standalone so steam can appid it and packed it into the common/ folder directory. you sir and the tutorial you referenced F(&CKING LEGENDSS! :gordon:
Davi 21 Feb, 2021 @ 11:55am 
cool!
MightyMawse 7 Nov, 2020 @ 3:24pm 
looks awesome, did it better than me