diff -r 9fbce33c283e -r ce677af0e3b5 loader/loader.cpp --- a/loader/loader.cpp Thu May 13 19:45:20 2010 -0500 +++ b/loader/loader.cpp Wed May 12 22:56:31 2010 -0700 @@ -263,7 +263,15 @@ if (engineFactory("VEngineCvar004", NULL) != NULL && engineFactory("VModelInfoServer002", NULL) != NULL) { - if (strcmp(game_name, "tf") == 0 || strcmp(game_name, "dod") == 0) + char lib_path[PLATFORM_MAX_PATH]; + + /* These would have failed already if they were going to? */ + mm_ResolvePath(TIER0_NAME, lib_path, sizeof(lib_path)); + void *lib = mm_LoadLibrary(lib_path, NULL, 0); + void *tier0_ctime = mm_GetLibAddress(lib, "Plat_ctime"); + mm_UnloadLibrary(lib); + + if (tier0_ctime != NULL) { return MMBackend_Episode2Valve; }