From dd478a7bce94921f25c0c7ecf14bbe0318667d56 Mon Sep 17 00:00:00 2001 From: mmorrison Date: Sat, 12 Jan 2019 22:52:06 -0600 Subject: [PATCH] Re-gen readme for 2.0 release, and remove notes about Separate Query Port (as it's now less important) --- README.md | 316 ++++++++++++++++++++++---------------------- bin/genreadme.js | 5 +- games.txt | 2 +- lib/GameResolver.js | 5 +- 4 files changed, 160 insertions(+), 168 deletions(-) diff --git a/README.md b/README.md index 37781cb..195c0b5 100644 --- a/README.md +++ b/README.md @@ -68,36 +68,36 @@ Games List ### Supported -* 7 Days to Die (7d2d) [[Separate Query Port](#separate-query-port)] +* 7 Days to Die (7d2d) * Age of Chivalry (ageofchivalry) -* Age of Empires 2 (aoe2) [[Separate Query Port](#separate-query-port)] -* Alien Arena (alienarena) [[Separate Query Port](#separate-query-port)] +* Age of Empires 2 (aoe2) +* Alien Arena (alienarena) * Alien Swarm (alienswarm) -* ARK: Survival Evolved (arkse) [[Separate Query Port](#separate-query-port)] +* ARK: Survival Evolved (arkse) * Aliens vs Predator 2 (avp2) * Aliens vs Predator 2010 (avp2010) -* America's Army (americasarmy) [[Separate Query Port](#separate-query-port)] -* America's Army 2 (americasarmy2) [[Separate Query Port](#separate-query-port)] -* America's Army 3 (americasarmy3) [[Separate Query Port](#separate-query-port)] -* America's Army: Proving Grounds (americasarmypg) [[Separate Query Port](#separate-query-port)] +* America's Army (americasarmy) +* America's Army 2 (americasarmy2) +* America's Army 3 (americasarmy3) +* America's Army: Proving Grounds (americasarmypg) * ArmA (arma) -* ArmA 2 (arma2) [[Separate Query Port](#separate-query-port)] -* ArmA 3 (arma3) [[Separate Query Port](#separate-query-port)] +* ArmA 2 (arma2) +* ArmA 3 (arma3) * Armagetron (armagetron) -* Baldur's Gate (baldursgate) [[Separate Query Port](#separate-query-port)] -* Battalion 1944 (bat1944) [[Separate Query Port](#separate-query-port)] -* Battlefield 1942 (bf1942) [[Separate Query Port](#separate-query-port)] -* Battlefield Vietnam (bfv) [[Separate Query Port](#separate-query-port)] -* Battlefield 2 (bf2) [[Separate Query Port](#separate-query-port)] -* Battlefield 2142 (bf2142) [[Separate Query Port](#separate-query-port)] -* Battlefield: Bad Company 2 (bfbc2) [[Separate Query Port](#separate-query-port)] -* Battlefield 3 (bf3) [[Separate Query Port](#separate-query-port)] -* Battlefield 4 (bf4) [[Separate Query Port](#separate-query-port)] -* Battlefield Hardline (bfh) [[Separate Query Port](#separate-query-port)] +* Baldur's Gate (baldursgate) +* Battalion 1944 (bat1944) +* Battlefield 1942 (bf1942) +* Battlefield Vietnam (bfv) +* Battlefield 2 (bf2) +* Battlefield 2142 (bf2142) +* Battlefield: Bad Company 2 (bfbc2) +* Battlefield 3 (bf3) +* Battlefield 4 (bf4) +* Battlefield Hardline (bfh) * Breach (breach) * Breed (breed) -* Brink (brink) [[Separate Query Port](#separate-query-port)] -* Build and Shoot (buildandshoot) [[Separate Query Port](#separate-query-port)] +* Brink (brink) +* Build and Shoot (buildandshoot) * Call of Duty (cod) * Call of Duty: United Offensive (coduo) * Call of Duty 2 (cod2) @@ -105,207 +105,207 @@ Games List * Call of Duty 4: Modern Warfare (cod4) * Call of Duty: World at War (codwaw) * Call of Duty: Modern Warfare 2 (codmw2) -* Call of Duty: Modern Warfare 3 (codmw3) [[Separate Query Port](#separate-query-port)] -* Call of Juarez (callofjuarez) [[Separate Query Port](#separate-query-port)] -* Chaser (chaser) [[Separate Query Port](#separate-query-port)] -* Chrome (chrome) [[Separate Query Port](#separate-query-port)] -* Codename Eagle (codenameeagle) [[Separate Query Port](#separate-query-port)] -* Commandos 3: Destination Berlin (commandos3) [[Separate Query Port](#separate-query-port)] -* Command and Conquer: Renegade (cacrenegade) [[Separate Query Port](#separate-query-port)] -* Conan Exiles (conanexiles) [[Separate Query Port](#separate-query-port)] -* Contact J.A.C.K. (contactjack) [[Separate Query Port](#separate-query-port)] +* Call of Duty: Modern Warfare 3 (codmw3) +* Call of Juarez (callofjuarez) +* Chaser (chaser) +* Chrome (chrome) +* Codename Eagle (codenameeagle) +* Commandos 3: Destination Berlin (commandos3) +* Command and Conquer: Renegade (cacrenegade) +* Conan Exiles (conanexiles) +* Contact J.A.C.K. (contactjack) * Counter-Strike 1.6 (cs16) * Counter-Strike: Condition Zero (cscz) * Counter-Strike: Source (css) * Counter-Strike: Global Offensive (csgo) [[Additional Notes](#csgo)] -* Cross Racing Championship (crossracing) [[Separate Query Port](#separate-query-port)] +* Cross Racing Championship (crossracing) * Crysis (crysis) * Crysis Wars (crysiswars) * Crysis 2 (crysis2) -* Daikatana (daikatana) [[Separate Query Port](#separate-query-port)] +* Daikatana (daikatana) * Dark Messiah of Might and Magic (dmomam) -* Darkest Hour (darkesthour) [[Separate Query Port](#separate-query-port)] -* DayZ (dayz) [[Separate Query Port](#separate-query-port)] [[Additional Notes](#dayz)] -* DayZ Mod (dayzmod) [[Separate Query Port](#separate-query-port)] -* Deadly Dozen: Pacific Theater (deadlydozenpt) [[Separate Query Port](#separate-query-port)] -* Deer Hunter 2005 (dh2005) [[Separate Query Port](#separate-query-port)] -* Descent 3 (descent3) [[Separate Query Port](#separate-query-port)] -* Deus Ex (deusex) [[Separate Query Port](#separate-query-port)] -* Devastation (devastation) [[Separate Query Port](#separate-query-port)] +* Darkest Hour (darkesthour) +* DayZ (dayz) [[Additional Notes](#dayz)] +* DayZ Mod (dayzmod) +* Deadly Dozen: Pacific Theater (deadlydozenpt) +* Deer Hunter 2005 (dh2005) +* Descent 3 (descent3) +* Deus Ex (deusex) +* Devastation (devastation) * Dino D-Day (dinodday) -* Dirt Track Racing 2 (dirttrackracing2) [[Separate Query Port](#separate-query-port)] -* Dark and Light (dnl) [[Separate Query Port](#separate-query-port)] +* Dirt Track Racing 2 (dirttrackracing2) +* Dark and Light (dnl) * Day of Defeat (dod) * Day of Defeat: Source (dods) * Day of Infamy (doi) * Doom 3 (doom3) * DOTA 2 (dota2) -* Drakan (drakan) [[Separate Query Port](#separate-query-port)] -* Enemy Territory Quake Wars (etqw) [[Separate Query Port](#separate-query-port)] -* F.E.A.R. (fear) [[Separate Query Port](#separate-query-port)] -* F1 2002 (f12002) [[Separate Query Port](#separate-query-port)] -* F1 Challenge 99-02 (f1c9902) [[Separate Query Port](#separate-query-port)] -* Far Cry (farcry) [[Separate Query Port](#separate-query-port)] -* Far Cry (farcry2) [[Separate Query Port](#separate-query-port)] +* Drakan (drakan) +* Enemy Territory Quake Wars (etqw) +* F.E.A.R. (fear) +* F1 2002 (f12002) +* F1 Challenge 99-02 (f1c9902) +* Far Cry (farcry) +* Far Cry (farcry2) * Fortress Forever (fortressforever) -* Flashpoint (flashpoint) [[Separate Query Port](#separate-query-port)] -* Frontlines: Fuel of War (ffow) [[Separate Query Port](#separate-query-port)] +* Flashpoint (flashpoint) +* Frontlines: Fuel of War (ffow) * FiveM (fivem) * Garry's Mod (garrysmod) -* Ghost Recon: Advanced Warfighter (graw) [[Separate Query Port](#separate-query-port)] -* Ghost Recon: Advanced Warfighter 2 (graw2) [[Separate Query Port](#separate-query-port)] -* Giants: Citizen Kabuto (giantscitizenkabuto) [[Separate Query Port](#separate-query-port)] -* Global Operations (globaloperations) [[Separate Query Port](#separate-query-port)] +* Ghost Recon: Advanced Warfighter (graw) +* Ghost Recon: Advanced Warfighter 2 (graw2) +* Giants: Citizen Kabuto (giantscitizenkabuto) +* Global Operations (globaloperations) * Geneshift (geneshift) * GoldenEye: Source (ges) -* Gore (gore) [[Separate Query Port](#separate-query-port)] +* Gore (gore) * Gunman Chronicles (gunmanchronicles) * Half-Life 1 Deathmatch (hldm) * Half-Life 2 Deathmatch (hl2dm) * Halo (halo) * Halo 2 (halo2) -* Heretic 2 (heretic2) [[Separate Query Port](#separate-query-port)] -* Hexen 2 (hexen2) [[Separate Query Port](#separate-query-port)] +* Heretic 2 (heretic2) +* Hexen 2 (hexen2) * The Hidden: Source (hidden) -* Hidden and Dangerous 2 (had2) [[Separate Query Port](#separate-query-port)] +* Hidden and Dangerous 2 (had2) * Homefront (homefront) -* Homeworld 2 (homeworld2) [[Separate Query Port](#separate-query-port)] -* Hurtworld (hurtworld) [[Separate Query Port](#separate-query-port)] -* IGI-2: Covert Strike (igi2) [[Separate Query Port](#separate-query-port)] -* IL-2 Sturmovik (il2) [[Separate Query Port](#separate-query-port)] +* Homeworld 2 (homeworld2) +* Hurtworld (hurtworld) +* IGI-2: Covert Strike (igi2) +* IL-2 Sturmovik (il2) * Insurgency (insurgency) -* Iron Storm (ironstorm) [[Separate Query Port](#separate-query-port)] -* James Bond: Nightfire (jamesbondnightfire) [[Separate Query Port](#separate-query-port)] +* Iron Storm (ironstorm) +* James Bond: Nightfire (jamesbondnightfire) * Just Cause 2 Multiplayer (jc2mp) -* Killing Floor (killingfloor) [[Separate Query Port](#separate-query-port)] -* Killing Floor 2 (killingfloor2) [[Separate Query Port](#separate-query-port)] -* Kingpin: Life of Crime (kingpin) [[Separate Query Port](#separate-query-port)] -* KISS Psycho Circus (kisspc) [[Separate Query Port](#separate-query-port)] -* DMP - KSP Multiplayer (kspdmp) [[Separate Query Port](#separate-query-port)] +* Killing Floor (killingfloor) +* Killing Floor 2 (killingfloor2) +* Kingpin: Life of Crime (kingpin) +* KISS Psycho Circus (kisspc) +* DMP - KSP Multiplayer (kspdmp) * KzMod (kzmod) * Left 4 Dead (left4dead) * Left 4 Dead 2 (left4dead2) -* Mafia 2 Multiplayer (m2mp) [[Separate Query Port](#separate-query-port)] +* Mafia 2 Multiplayer (m2mp) * Medieval Engineers (medievalengineers) -* Medal of Honor: Allied Assault (mohaa) [[Separate Query Port](#separate-query-port)] -* Medal of Honor: Pacific Assault (mohpa) [[Separate Query Port](#separate-query-port)] -* Medal of Honor: Airborne (mohab) [[Separate Query Port](#separate-query-port)] -* Medal of Honor: Spearhead (mohsh) [[Separate Query Port](#separate-query-port)] -* Medal of Honor: Breakthrough (mohbt) [[Separate Query Port](#separate-query-port)] -* Medal of Honor 2010 (moh2010) [[Separate Query Port](#separate-query-port)] -* Medal of Honor: Warfighter (mohwf) [[Separate Query Port](#separate-query-port)] +* Medal of Honor: Allied Assault (mohaa) +* Medal of Honor: Pacific Assault (mohpa) +* Medal of Honor: Airborne (mohab) +* Medal of Honor: Spearhead (mohsh) +* Medal of Honor: Breakthrough (mohbt) +* Medal of Honor 2010 (moh2010) +* Medal of Honor: Warfighter (mohwf) * Minecraft (minecraft) [[Additional Notes](#minecraft)] * Minecraft: Pocket Edition (minecraftpe) -* Monday Night Combat (mnc) [[Separate Query Port](#separate-query-port)] -* Multi Theft Auto: Vice City (mtavc) [[Separate Query Port](#separate-query-port)] -* Multi Theft Auto: San Andreas (mtasa) [[Separate Query Port](#separate-query-port)] -* Mumble (mumble) [[Separate Query Port](#separate-query-port)] [[Additional Notes](#mumble)] +* Monday Night Combat (mnc) +* Multi Theft Auto: Vice City (mtavc) +* Multi Theft Auto: San Andreas (mtasa) +* Mumble (mumble) [[Additional Notes](#mumble)] * Mumble (mumbleping) [[Additional Notes](#mumble)] * Mutant Factions (mutantfactions) -* Nascar Thunder 2004 (nascarthunder2004) [[Separate Query Port](#separate-query-port)] +* Nascar Thunder 2004 (nascarthunder2004) * netPanzer (netpanzer) * No More Room in Hell (nmrih) * Natural Selection (ns) -* Natural Selection 2 (ns2) [[Separate Query Port](#separate-query-port)] -* Need for Speed: Hot Pursuit 2 (nfshp2) [[Separate Query Port](#separate-query-port)] -* Nerf Arena Blast (nab) [[Separate Query Port](#separate-query-port)] -* Neverwinter Nights (nwn) [[Separate Query Port](#separate-query-port)] -* Neverwinter Nights 2 (nwn2) [[Separate Query Port](#separate-query-port)] -* Nexuiz (nexuiz) [[Separate Query Port](#separate-query-port)] -* Nitro Family (nitrofamily) [[Separate Query Port](#separate-query-port)] -* No One Lives Forever (nolf) [[Separate Query Port](#separate-query-port)] -* No One Lives Forever 2 (nolf2) [[Separate Query Port](#separate-query-port)] +* Natural Selection 2 (ns2) +* Need for Speed: Hot Pursuit 2 (nfshp2) +* Nerf Arena Blast (nab) +* Neverwinter Nights (nwn) +* Neverwinter Nights 2 (nwn2) +* Nexuiz (nexuiz) +* Nitro Family (nitrofamily) +* No One Lives Forever (nolf) +* No One Lives Forever 2 (nolf2) * Nuclear Dawn (nucleardawn) -* OpenArena (openarena) [[Separate Query Port](#separate-query-port)] +* OpenArena (openarena) * OpenTTD (openttd) -* Operation Flashpoint (operationflashpoint) [[Separate Query Port](#separate-query-port)] -* Painkiller (painkiller) [[Separate Query Port](#separate-query-port)] -* Postal 2 (postal2) [[Separate Query Port](#separate-query-port)] -* Prey (prey) [[Separate Query Port](#separate-query-port)] -* Primal Carnage: Extinction (primalcarnage) [[Separate Query Port](#separate-query-port)] +* Operation Flashpoint (operationflashpoint) +* Painkiller (painkiller) +* Postal 2 (postal2) +* Prey (prey) +* Primal Carnage: Extinction (primalcarnage) * Quake 1: QuakeWorld (quake1) * Quake 2 (quake2) * Quake 3: Arena (quake3) * Quake 4 (quake4) * Rag Doll Kung Fu (ragdollkungfu) -* Rainbow Six (r6) [[Separate Query Port](#separate-query-port)] -* Rainbow Six 2: Rogue Spear (r6roguespear) [[Separate Query Port](#separate-query-port)] -* Rainbow Six 3: Raven Shield (r6ravenshield) [[Separate Query Port](#separate-query-port)] -* RalliSport Challenge (rallisportchallenge) [[Separate Query Port](#separate-query-port)] -* Rally Masters (rallymasters) [[Separate Query Port](#separate-query-port)] -* Red Orchestra (redorchestra) [[Separate Query Port](#separate-query-port)] -* Red Orchestra: Ostfront 41-45 (redorchestraost) [[Separate Query Port](#separate-query-port)] -* Red Orchestra 2 (redorchestra2) [[Separate Query Port](#separate-query-port)] -* Redline (redline) [[Separate Query Port](#separate-query-port)] -* Return to Castle Wolfenstein (rtcw) [[Separate Query Port](#separate-query-port)] +* Rainbow Six (r6) +* Rainbow Six 2: Rogue Spear (r6roguespear) +* Rainbow Six 3: Raven Shield (r6ravenshield) +* RalliSport Challenge (rallisportchallenge) +* Rally Masters (rallymasters) +* Red Orchestra (redorchestra) +* Red Orchestra: Ostfront 41-45 (redorchestraost) +* Red Orchestra 2 (redorchestra2) +* Redline (redline) +* Return to Castle Wolfenstein (rtcw) * Ricochet (ricochet) -* Rise of Nations (riseofnations) [[Separate Query Port](#separate-query-port)] -* Rune (rune) [[Separate Query Port](#separate-query-port)] +* Rise of Nations (riseofnations) +* Rune (rune) * Rust (rust) * San Andreas Multiplayer (samp) * Space Engineers (spaceengineers) -* Serious Sam (ss) [[Separate Query Port](#separate-query-port)] +* Serious Sam (ss) * Serious Sam 2 (ss2) * Shattered Horizon (shatteredhorizon) * The Ship (ship) -* Shogo (shogo) [[Separate Query Port](#separate-query-port)] +* Shogo (shogo) * Shootmania (shootmania) [[Additional Notes](#nadeo-shootmania--trackmania--etc)] -* SiN (sin) [[Separate Query Port](#separate-query-port)] +* SiN (sin) * SiN Episodes (sinep) -* Soldat (soldat) [[Separate Query Port](#separate-query-port)] -* Soldier of Fortune (sof) [[Separate Query Port](#separate-query-port)] -* Soldier of Fortune 2 (sof2) [[Separate Query Port](#separate-query-port)] -* S.T.A.L.K.E.R. (stalker) [[Separate Query Port](#separate-query-port)] -* Star Trek: Bridge Commander (stbc) [[Separate Query Port](#separate-query-port)] -* Star Trek: Voyager - Elite Force (stvef) [[Separate Query Port](#separate-query-port)] -* Star Trek: Voyager - Elite Force 2 (stvef2) [[Separate Query Port](#separate-query-port)] -* Star Wars: Battlefront (swbf) [[Separate Query Port](#separate-query-port)] -* Star Wars: Battlefront 2 (swbf2) [[Separate Query Port](#separate-query-port)] -* Star Wars: Jedi Knight (swjk) [[Separate Query Port](#separate-query-port)] -* Star Wars: Jedi Knight 2 (swjk2) [[Separate Query Port](#separate-query-port)] -* Star Wars: Republic Commando (swrc) [[Separate Query Port](#separate-query-port)] +* Soldat (soldat) +* Soldier of Fortune (sof) +* Soldier of Fortune 2 (sof2) +* S.T.A.L.K.E.R. (stalker) +* Star Trek: Bridge Commander (stbc) +* Star Trek: Voyager - Elite Force (stvef) +* Star Trek: Voyager - Elite Force 2 (stvef2) +* Star Wars: Battlefront (swbf) +* Star Wars: Battlefront 2 (swbf2) +* Star Wars: Jedi Knight (swjk) +* Star Wars: Jedi Knight 2 (swjk2) +* Star Wars: Republic Commando (swrc) * Starbound (starbound) * StarMade (starmade) * Suicide Survival (suicidesurvival) -* SWAT 4 (swat4) [[Separate Query Port](#separate-query-port)] +* SWAT 4 (swat4) * Sven Coop (svencoop) * Synergy (synergy) -* Tactical Ops (tacticalops) [[Separate Query Port](#separate-query-port)] -* Team Factor (teamfactor) [[Separate Query Port](#separate-query-port)] +* Tactical Ops (tacticalops) +* Team Factor (teamfactor) * Team Fortress Classic (tfc) * Team Fortress 2 (tf2) -* Teamspeak 2 (teamspeak2) [[Separate Query Port](#separate-query-port)] -* Teamspeak 3 (teamspeak3) [[Separate Query Port](#separate-query-port)] [[Additional Notes](#teamspeak3)] -* Terminus (terminus) [[Separate Query Port](#separate-query-port)] -* Terraria (terraria) [[Separate Query Port](#separate-query-port)] [[Additional Notes](#terraria)] -* Tony Hawk's Pro Skater 3 (thps3) [[Separate Query Port](#separate-query-port)] -* Tony Hawk's Pro Skater 4 (thps4) [[Separate Query Port](#separate-query-port)] -* Tony Hawk's Underground 2 (thu2) [[Separate Query Port](#separate-query-port)] +* Teamspeak 2 (teamspeak2) +* Teamspeak 3 (teamspeak3) [[Additional Notes](#teamspeak3)] +* Terminus (terminus) +* Terraria (terraria) [[Additional Notes](#terraria)] +* Tony Hawk's Pro Skater 3 (thps3) +* Tony Hawk's Pro Skater 4 (thps4) +* Tony Hawk's Underground 2 (thu2) * Tower Unite (towerunite) * Trackmania 2 (trackmania2) [[Additional Notes](#nadeo-shootmania--trackmania--etc)] * Trackmania Forever (trackmaniaforever) [[Additional Notes](#nadeo-shootmania--trackmania--etc)] -* Tremulous (tremulous) [[Separate Query Port](#separate-query-port)] +* Tremulous (tremulous) * Tribes 1: Starsiege (tribes1) -* Tribes: Vengeance (tribesvengeance) [[Separate Query Port](#separate-query-port)] -* Tron 2.0 (tron20) [[Separate Query Port](#separate-query-port)] -* Turok 2 (turok2) [[Separate Query Port](#separate-query-port)] -* Universal Combat (universalcombat) [[Separate Query Port](#separate-query-port)] -* Unreal (unreal) [[Separate Query Port](#separate-query-port)] -* unturned (unturned) [[Separate Query Port](#separate-query-port)] -* Unreal Tournament (ut) [[Separate Query Port](#separate-query-port)] -* Unreal Tournament 2003 (ut2003) [[Separate Query Port](#separate-query-port)] -* Unreal Tournament 2004 (ut2004) [[Separate Query Port](#separate-query-port)] -* Unreal Tournament 3 (ut3) [[Separate Query Port](#separate-query-port)] -* Urban Terror (urbanterror) [[Separate Query Port](#separate-query-port)] -* V8 Supercar Challenge (v8supercar) [[Separate Query Port](#separate-query-port)] +* Tribes: Vengeance (tribesvengeance) +* Tron 2.0 (tron20) +* Turok 2 (turok2) +* Universal Combat (universalcombat) +* Unreal (unreal) +* unturned (unturned) +* Unreal Tournament (ut) +* Unreal Tournament 2003 (ut2003) +* Unreal Tournament 2004 (ut2004) +* Unreal Tournament 3 (ut3) +* Urban Terror (urbanterror) +* V8 Supercar Challenge (v8supercar) * Ventrilo (ventrilo) -* Vietcong (vietcong) [[Separate Query Port](#separate-query-port)] -* Vietcong 2 (vietcong2) [[Separate Query Port](#separate-query-port)] +* Vietcong (vietcong) +* Vietcong 2 (vietcong2) * Warsow (warsow) -* Wheel of Time (wheeloftime) [[Separate Query Port](#separate-query-port)] -* Wolfenstein 2009 (wolfenstein2009) [[Separate Query Port](#separate-query-port)] -* Wolfenstein: Enemy Territory (wolfensteinet) [[Separate Query Port](#separate-query-port)] -* Xpand Rally (xpandrally) [[Separate Query Port](#separate-query-port)] +* Wheel of Time (wheeloftime) +* Wolfenstein 2009 (wolfenstein2009) +* Wolfenstein: Enemy Territory (wolfensteinet) +* Xpand Rally (xpandrally) * Zombie Master (zombiemaster) * Zombie Panic: Source (zps) @@ -396,12 +396,6 @@ For teamspeak 3 queries to work correctly, the following permissions must be ava Requires tshock server mod, and a REST user token, which can be passed to GameDig with the additional option: token -### Separate Query Port -Games with this note use a query port which is usually not the same as the game's connection port. -Usually, no action will be required from you. The 'port' option you pass GameDig should be the game's -connection port. GameDig will attempt to calculate the query port automatically. If the query still fails, -you may need to find your server's query port, and pass that to GameDig instead. - Usage from Command Line --- diff --git a/bin/genreadme.js b/bin/genreadme.js index 6089b36..57cf4a1 100644 --- a/bin/genreadme.js +++ b/bin/genreadme.js @@ -1,9 +1,10 @@ #!/usr/bin/env node const fs = require('fs'), - TypeResolver = require('../lib/GameResolver'); + GameResolver = require('../lib/GameResolver'), + gameResolver = new GameResolver(); -const generated = TypeResolver.printReadme(); +const generated = gameResolver.printReadme(); const readmeFilename = __dirname+'/../README.md'; const readme = fs.readFileSync(readmeFilename, {encoding:'utf8'}); diff --git a/games.txt b/games.txt index 16e0b68..5914101 100644 --- a/games.txt +++ b/games.txt @@ -85,7 +85,7 @@ contactjack|Contact J.A.C.K.|gamespy1|port_query=27888 cs16|Counter-Strike 1.6|valve|port=27015 cscz|Counter-Strike: Condition Zero|valve|port=27015 css|Counter-Strike: Source|valve|port=27015 -csgo|Counter-Strike: Global Offensive|valve||port=27015|doc_notes=csgo +csgo|Counter-Strike: Global Offensive|valve|port=27015|doc_notes=csgo crossracing|Cross Racing Championship|ase|port=12321,port_query_offset=123 diff --git a/lib/GameResolver.js b/lib/GameResolver.js index 7cf03f9..805262c 100644 --- a/lib/GameResolver.js +++ b/lib/GameResolver.js @@ -22,14 +22,11 @@ class GameResolver { printReadme() { let out = ''; - for(const key of Object.keys(games)) { - const game = games[key]; + for(const [key,game] of this.games.entries()) { if (!game.pretty) { continue; } out += "* "+game.pretty+" ("+key+")"; - if(game.options.port_query_offset || game.options.port_query) - out += " [[Separate Query Port](#separate-query-port)]"; if(game.extra.doc_notes) out += " [[Additional Notes](#"+game.extra.doc_notes+")]"; out += "\n";