From 5a3a6aa8a7825c63fa614edc320894277bf4b518 Mon Sep 17 00:00:00 2001 From: STAM Date: Thu, 26 Apr 2018 19:02:43 +0300 Subject: [PATCH] fixed game-list Info: https://github.com/theAsmodai/metamod-r/issues/38#issuecomment-383732880 --- metamod/src/game_support.cpp | 61 +++++++++++++++++++----------------- 1 file changed, 32 insertions(+), 29 deletions(-) diff --git a/metamod/src/game_support.cpp b/metamod/src/game_support.cpp index 3a5f043..013b7cf 100644 --- a/metamod/src/game_support.cpp +++ b/metamod/src/game_support.cpp @@ -10,37 +10,37 @@ const game_modinfo_t g_known_games[] = { // Previously enumerated in this sourcefile, the list is now kept in a // separate file, generated based on game information stored in a // convenient db. - { "action", "ahl.so", "ahl.dll", "Action Half-Life" }, // _i386.so, + director's cut [2016], updated linux binary name - { "ag", "ag.so", "ag.dll", "Adrenaline Gamer" }, // .so file by OpenAG fork - { "ag", "ag_i386.so", "ag.dll", "Adrenaline Gamer" }, // .so file by OpenAG fork + { "action", "ahl_i386.so", "ahl.dll", "Action Half-Life" }, // + director's cut [2016], updated linux binary name + { "ag", "ag_i386.so", "ag.dll", "Adrenaline Gamer (Original)" }, // .so file by oririnal game + { "ag", "ag.so", "ag.dll", "Adrenaline Gamer (OpenAG)" }, // .so file by OpenAG fork { "asheep", nullptr, "hl.dll", "Azure Sheep" }, // have no linux binary found! { "bdef", "server.so", "server.dll", "Base Defense" }, // placed in normal dll folder [2017] { "bg", "bg.so", "bg.dll", "The Battle Grounds" }, { "bhl", nullptr, "bhl.dll", "Brutal Half-Life" }, // have no linux binary found! { "brainbread", nullptr, "bb.dll", "Brain Bread" }, // have no linux binary found! - { "bshift", "bshift.so", "hl.dll", "Half-Life: Blue Shift" }, + { "bshift", "bshift.so", "hl.dll", "Half-Life: Blue Shift" }, // ok { "bumpercars", nullptr, "hl.dll", "Bumper Cars" }, // have no linux binary found! { "buzzybots", nullptr, "bb.dll", "BuzzyBots" }, // have no linux binary found! { "ckf3", nullptr, "mp.dll", "Chicken Fortress 3" }, // have no linux binary found!, checked all versions (latest - Alpha 4) { "cs10", nullptr, "mp.dll", "Counter-Strike 1.0" }, // have no linux binary found! { "csv15", nullptr, "mp.dll", "Counter-Strike 1.5" }, // have no linux binary found! - { "cstrike", "cs.so", "mp.dll", "Counter-Strike 1.6" }, - { "czero", "cs.so", "mp.dll", "Counter-Strike:Condition Zero" }, - { "czeror", "cz.so", "cz.dll", "Counter-Strike:Condition Zero Deleted Scenes" }, - { "dcrisis", "dc.so", "dc.dll", "Desert Crisis" }, // _i386.so, updated linux binary name [2010] + { "cstrike", "cs.so", "mp.dll", "Counter-Strike 1.6" }, // ok + { "czero", "cs.so", "mp.dll", "Counter-Strike:Condition Zero" }, // ok + { "czeror", "cz.so", "cz.dll", "Counter-Strike:Condition Zero Deleted Scenes" }, // ok + { "dcrisis", "dc_i386.so", "dc.dll", "Desert Crisis" }, // updated linux binary name [2010] { "decay", nullptr, "decay.dll", "Half-Life: Decay" }, // have no linux binary! - { "dmc", "dmc.so", "dmc.dll", "Deathmatch Classic" }, - { "dod", "dod.so", "dod.dll", "Day of Defeat" }, - { "dpb", "pb.i386.so", "pb.dll", "Digital Paintball" }, // ... - { "esf", "../linuxdll/hl.so", "hl.dll", "Earth's Special Forces (old)" }, // _i386.so, workaround for basic-linux version - { "esf", "hl.so", "hl.dll", "Earth's Special Forces" }, // _i386.so, full linux version + { "dmc", "dmc.so", "dmc.dll", "Deathmatch Classic" }, // ok + { "dod", "dod.so", "dod.dll", "Day of Defeat" }, // ok + { "dpb", "pb.i386.so", "pb.dll", "Digital Paintball" }, // ok + { "esf", "hl_i386.so", "hl.dll", "Earth's Special Forces" }, // full linux version + { "esf", "../linuxdll/hl_i386.so", "hl.dll", "Earth's Special Forces (Legacy)" }, // workaround for basic-linux version { "existence", nullptr, "existence.dll", "Existence" }, // have no linux binary found! { "firearms", nullptr, "firearms.dll", "Firearms" }, // have no linux binary found! - { "frontline", "front.so", "frontline.dll", "Frontline Force" }, // _i386.so, updated linux binary name [2012] + { "frontline", "front_i386.so", "frontline.dll", "Frontline Force" }, // updated linux binary name [2012] { "gangstawars", nullptr, "gwars27.dll", "Gangsta Wars" }, // have no linux binary found! { "gangwars", nullptr, "mp.dll", "Gangwars" }, // have no linux binary found! - { "gearbox", "opfor.so", "opfor.dll", "Opposing Force" }, - { "globalwarfare", "gw.so", "mp.dll", "Global Warfare" }, // _i386.so, updated linux binary name [2012] + { "gearbox", "opfor.so", "opfor.dll", "Opposing Force" }, //ok + { "globalwarfare", "gw_i386.so", "mp.dll", "Global Warfare" }, //updated linux binary name [2012] { "goldeneye", nullptr, "mp.dll", "Goldeneye" }, // have no linux binary found! { "hcfrenzy", "hcfrenzy.so", "hcfrenzy.dll", "Headcrab Frenzy" }, { "hl15we", "hl.so", "hl.dll", "Half-Life 1.5: Weapon Edition" }, @@ -70,34 +70,37 @@ const game_modinfo_t g_known_games[] = { { "recbb2", "recb.so", "recb.dll", "Resident Evil : Cold Blood" }, { "rewolf", nullptr, "gunman.dll", "Gunman Chronicles" }, // have no linux binary found! { "ricochet", "ricochet.so", "mp.dll", "Ricochet" }, - { "rockcrowbar", "rc.so", "rc.dll", "Rocket Crowbar" }, // + _i386.so + { "rockcrowbar", "rc.so", "rc.dll", "Rocket Crowbar" }, + { "rockcrowbar", "rc_i386.so", "rc.dll", "Rocket Crowbar" }, { "rspecies", "hl.so", "hl.dll", "Rival Species" }, { "scihunt", "shunt.so", "shunt.dll", "Scientist Hunt" }, { "ship", "ship.so", "ship.dll", "The Ship" }, { "si", "si.so", "si.dll", "Science & Industry" }, { "snow", "snow.so", "snow.dll", "Snow-War" }, - { "stargatetc", "hl.so", "hl.dll", "StargateTC (Old, 1.x)" }, - { "stargatetc", "stc.so", "hl.dll", "StargateTC (Updated, 2.x)" }, // _i386.so - { "stargatetc", "stc_i386_opt.so", "hl.dll", "StargateTC (Updated, 2.x)" }, // ... - { "svencoop", "hl.so", "hl.dll", "Sven Coop (Old)" }, - { "svencoop", "server.so", "server.dll", "Sven Coop (Steam)" }, + { "stargatetc", "hl.so", "hl.dll", "StargateTC (Leaacy v1.x)" }, + { "stargatetc", "stc_i386.so", "hl.dll", "StargateTC (v2.x)" }, + { "stargatetc", "stc_i386_opt.so", "hl.dll", "StargateTC (v2.x, optimised binary)" }, + { "svencoop", "hl.so", "hl.dll", "Sven Coop (Legacy)" }, // Metamod-r have problems with mod! + { "svencoop", "server.so", "server.dll", "Sven Coop (Steam)" }, // Metamod-r have problems with mod! { "swarm", "swarm.so", "swarm.dll", "Swarm" }, { "tfc", "tfc.so", "tfc.dll", "Team Fortress Classic" }, - { "thewastes", "thewastes.so", "thewastes.dll", "The Wastes" }, + { "thewastes", "thewastes.so", "thewastes.dll", "The Wastes" }, { "timeless", "pt.so", "timeless.dll", "Project Timeless" }, { "tod", "hl.so", "hl.dll", "Tour of Duty" }, { "trainhunters", "th.so", "th.dll", "Train Hunters" }, - { "ts", "ts.so", "mp.dll", "The Specialists" }, //_i686.so, _i386.so + { "ts", "ts_i686.so", "mp.dll", "The Specialists" }, + { "ts", "ts_i386.so", "mp.dll", "The Specialists" }, { "tt", "tt.so", "tt.dll", "The Trenches" }, { "underworld", "uw.so", "uw.dll", "Underworld Bloodline" }, { "valve", "hl.so", "hl.dll", "Half-Life" }, { "vs", "vs.so", "mp.dll", "VampireSlayer" }, { "wantedhl", "hl.so", "wanted.dll", "Wanted!" }, - { "wizardwars", "wizardwars.so", "wizardwars.dll", "Wizard Wars (Steam)" }, - { "wizardwars_beta", "wizardwars.so", "wizardwars.dll", "Wizard Wars Beta (Steam)" }, // folder's name is not same as original. not duplicate - { "wizwars", "mp.so", "hl.dll", "Wizard Wars (Old)" }, - { "wormshl", "wormshl.so", "wormshl.dll", "WormsHL" }, // _i586.so old, _i686.so steam - { "zp", "hl.so", "mp.dll", "Zombie Panic" }, // _i386.so + { "wizardwars", "wizardwars_i486.so", "wizardwars.dll", "Wizard Wars (Steam)" }, + { "wizardwars_beta", "wizardwars_i486.so", "wizardwars.dll", "Wizard Wars Beta (Steam)" }, + { "wizwars", "mp.so", "hl.dll", "Wizard Wars (Legacy)" }, + { "wormshl", "wormshl_i586.so", "wormshl.dll", "WormsHL (Legacy)" }, + { "wormshl", "wormshl_i686.so", "wormshl.dll", "WormsHL (Steam)" }, + { "zp", "hl_i386.so", "mp.dll", "Zombie Panic" }, // End of list terminator: