[Utils] "Appid based mounting is not supported on non-engine DLL projects."
Attempting to launch any utils using the unmodified gameinfo.txt provided with the SDK results in the following message:
Appid based mounting is not supported on non-engine DLL projects.
This can get very annoying, very quickly, especially since I can't get the engine to behave using |all_source_engine_paths| anymore...
|all_source_engine_paths| in current versions of the engine means exactly the same thing as just specifying a path with no prefix, it's just relative to the game directory. It hasn't done anything different since the 2007/2009 branches back when GCFs were used.
|all_source_engine_paths|in current versions of the engine means exactly the same thing as just specifying a path with no prefix, it's just relative to the game directory. It hasn't done anything different since the 2007/2009 branches back when GCFs were used.
Well, for whatever reason, something within the mod_tf default gameinfo.txt has resulted in |all_source_engine_paths| not functioning correctly with engine_dll projects.
"Engine DLL projects" I believe literally just refers to things which load engine.dll, i.e. the game itself, dedicated servers - but not hammer, command line utilities, etc. I would assume appid based mounting isn't supported for those because it requires the Steam API, so I'm not sure if it ever will be. Your best bet is probably to manually mount the needed paths instead.
I pointed out the thing about |all_source_engine_paths| because if that's causing problems now, you can literally just remove it from your paths and get the exact same result. It hasn't done anything special since 2012 or earlier.
"Engine DLL projects" I believe literally just refers to things which load
engine.dll, i.e. the game itself, dedicated servers - but not hammer, command line utilities, etc. I would assume appid based mounting isn't supported for those because it requires the Steam API, so I'm not sure if it ever will be. Your best bet is probably to manually mount the needed paths instead.I pointed out the thing about
|all_source_engine_paths|because if that's causing problems now, you can literally just remove it from your paths and get the exact same result. It hasn't done anything special since 2012 or earlier.
Then I suppose it may then be an issue with trying loading tf2's assets, Because when I have attempted to use |all_source_engine_paths|, or foregoing |all_source_engine_paths| and just using immediate paths, the game starts up, but displays the default hl2 loading screen, and shortly after errors out saying that some random .res file was not found. If I instead use appid based mounting, it carries on like usual.
You probably need to direct it to TF2's install folder, since mods run off of SDK 2013 MP. If they're on the same drive then prepending the paths with ../Team Fortress 2/ should be enough, otherwise you'll need a full absolute path. (Thus, you should probably only do this during development and use AppID dynamic mounting for shipping versions.)
I copy and pasted a hammer copy, so I can run mdlstudio inside my engine mod, so I found this in tf_coop_extended
:"GameInfo" { game "Lambda Fortress: Extended Open Beta" type multiplayer_only GameData "tf_coop_extended.fgd" icon "resource/game" developer "LFE Team" developer_url "http://lfe.tf/"
nomodels 1
nohimodel 1
nocrosshair 0
advcrosshair 1
supportsvr 0
hasportals 0
hidden_maps
{
"test_speakers" 1
"test_hardware" 1
"vst_lostcoast" 1
"background1" 1
"background2" 1
"background01" 1
"background02" 1
"background03" 1
"background04" 1
"background05" 1
"background06" 1
"background07" 1
"background08" 1
"background09" 1
"background12" 1
"background15" 1
"d3_c17_02_camera" 1
"ep1_citadel_00_demo" 1
"ep1_c17_02a_demo" 1
"ep1_background01" 1
"ep1_background01a" 1
"ep1_background02" 1
"ep2_background01" 1
"ep2_background02" 1
"ep2_background02a" 1
"ep2_background03" 1
"ep2_demo_01" 1
"ep2_demo_02" 1
"ep2_demo_05" 1
"ep2_demo_06a" 1
"ep2_demo_07" 1
"ep2_demo_08" 1
"ep2_demo_10" 1
"devtest" 1
"wasteland_test" 1
"credits" 1
"intro" 1
}
FileSystem
{
SteamAppId 243750 // Source SDK Base 2013 Multiplayer
SearchPaths
{
// Firstly, mount all user customizations. This will search for VPKs and subfolders
// and mount them in alphabetical order. The easiest way to distribute a mod is to
// pack up the custom content into a VPK. To "install" a mod, just drop it in this
// folder.
// Note that this folder is scanned only when the game is booted.
game+mod |gameinfo_path|custom/*
// Search game's files after any user customizations. This is also where any writes should go.
game+game_write+mod+mod_write+default_write_path |gameinfo_path|.
// Where the game's binaries are.
gamebin |gameinfo_path|bin
// Search shared VPK files.
game+mod |gameinfo_path|lfe_misc_dir.vpk
game+mod |gameinfo_path|lfe_textures_dir.vpk
// Search shared VPK files.
game_lv hl2/hl2_lv.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
platform |all_source_engine_paths|platform/platform_misc.vpk
// Mount in shared loose files.
game |all_source_engine_paths|hl2
platform |all_source_engine_paths|platform
// Mount live TF2 and hammer editor stuff
game "|all_source_engine_paths|../Team Fortress 2/tf/tf2_sound_misc.vpk"
game "|all_source_engine_paths|../Team Fortress 2/tf/tf2_misc.vpk"
game "|all_source_engine_paths|../Team Fortress 2/tf/tf2_sound_vo_english.vpk"
game "|all_source_engine_paths|../Team Fortress 2/tf/tf2_textures.vpk"
game "|all_source_engine_paths|../Half-Life 2/ep2/ep2_sound_vo_english.vpk"
game "|all_source_engine_paths|../Half-Life 2/ep2/ep2_pak.vpk"
game "|all_source_engine_paths|../Half-Life 2/episodic/ep1_sound_vo_english.vpk"
game "|all_source_engine_paths|../Half-Life 2/episodic/ep1_pak.vpk"
game "|all_source_engine_paths|../Half-Life 2/lostcoast/lostcoast_sound_vo_english.vpk"
game "|all_source_engine_paths|../Half-Life 2/lostcoast/lostcoast_pak.vpk"
game "|all_source_engine_paths|../Portal/portal/portal_sound_vo_english_pak.vpk"
game "|all_source_engine_paths|../Portal/portal/portal_pak.vpk"
game "|all_source_engine_paths|../Half-Life 2/hl1/hl1_pak.vpk"
// Random files downloaded from gameservers go into a seperate directory, so
// that it's easy to keep those files segregated from the official game files
// or customizations intentially installed by the user.
//
// This directory is searched LAST. If you visit a server and download
// a custom model, etc, we don't want that file to override the default
// game file indefinitely (after you have left the server). Servers CAN have
// custom content that overrides the default game files, it just needs to be
// packed up in the .bsp file so that it will be mounted as a map search pack.
// The map search pack is mounted at the top of the search path list,
// but only while you are connected that server and on that map.
game+download |gameinfo_path|download
}
}
}