From 942ce2b601acbcb11a56a936c547a43336b56526 Mon Sep 17 00:00:00 2001 From: CosminPerRam Date: Sat, 22 Jun 2024 03:28:30 +0300 Subject: [PATCH] feat: add Soulmask support (#207) --- GAMES.md | 1 + crates/lib/CHANGELOG.md | 4 +++- crates/lib/src/games/definitions.rs | 1 + crates/lib/src/games/valve.rs | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/GAMES.md b/GAMES.md index 9561c4e..4b97517 100644 --- a/GAMES.md +++ b/GAMES.md @@ -94,6 +94,7 @@ requirements/information. | Arma Reforger | ARMAREFORGER | Valve | | | Nova-Life: Amboise | NLA | Valve | | | Abiotic Factor | ABIOTICFACTOR | Valve | | +| Soulmask | SOULMASK | Valve | | ## Planned to add support: diff --git a/crates/lib/CHANGELOG.md b/crates/lib/CHANGELOG.md index 5e37b6b..405049f 100644 --- a/crates/lib/CHANGELOG.md +++ b/crates/lib/CHANGELOG.md @@ -2,7 +2,9 @@ Who knows what the future holds... # 0.X.Y - DD/MM/YYYY -To be made... +Games: + +- [Soulmask](https://store.steampowered.com/app/2646460/Soulmask/) support. # 0.5.1 - 12/05/2024 diff --git a/crates/lib/src/games/definitions.rs b/crates/lib/src/games/definitions.rs index 1a6e34c..7897ef9 100644 --- a/crates/lib/src/games/definitions.rs +++ b/crates/lib/src/games/definitions.rs @@ -124,6 +124,7 @@ pub static GAMES: Map<&'static str, Game> = phf_map! { "sco" => game!("Sven Co-op", 27015, Protocol::Valve(Engine::new_gold_src(false))), "sdtd" => game!("7 Days to Die", 26900, Protocol::Valve(Engine::new(251_570))), "sof2" => game!("Soldier of Fortune 2", 20100, Protocol::Quake(QuakeVersion::Three)), + "soulmask" => game!("Soulmask", 27015, Protocol::Valve(Engine::new(2_646_460))), "serioussam" => game!("Serious Sam", 25601, Protocol::Gamespy(GameSpyVersion::One)), "squad" => game!("Squad", 27165, Protocol::Valve(Engine::new(393_380))), "theforest" => game!("The Forest", 27016, Protocol::Valve(Engine::new(556_450))), diff --git a/crates/lib/src/games/valve.rs b/crates/lib/src/games/valve.rs index 96dc71d..dc842b7 100644 --- a/crates/lib/src/games/valve.rs +++ b/crates/lib/src/games/valve.rs @@ -152,6 +152,7 @@ game_query_mod!(ror2, "Risk of Rain 2", Engine::new(632_360), 27016); game_query_mod!(rust, "Rust", Engine::new(252_490), 27015); game_query_mod!(sco, "Sven Co-op", Engine::new_gold_src(false), 27015); game_query_mod!(sdtd, "7 Days to Die", Engine::new(251_570), 26900); +game_query_mod!(soulmask, "Soulmask", Engine::new(2_646_460), 27015); game_query_mod!(squad, "Squad", Engine::new(393_380), 27165); game_query_mod!(teamfortress2, "Team Fortress 2", Engine::new(440), 27015); game_query_mod!(