From e57efb392dee204699ba5fa57384c52fb224486b Mon Sep 17 00:00:00 2001 From: CosminPerRam Date: Sun, 5 May 2024 23:52:43 +0300 Subject: [PATCH] feat: nova-life amboise support (#203) --- GAMES.md | 1 + crates/lib/CHANGELOG.md | 1 + crates/lib/src/games/definitions.rs | 1 + crates/lib/src/games/valve.rs | 1 + 4 files changed, 4 insertions(+) diff --git a/GAMES.md b/GAMES.md index 711f0dd..ce5ec81 100644 --- a/GAMES.md +++ b/GAMES.md @@ -92,6 +92,7 @@ requirements/information. | Ark: Survival Ascended | ASA | Epic | Available on the 'tls' feature | | Aliens vs. Predator 2010 | AVP | Valve | | | Arma Reforger | ARMAREFORGER | Valve | | +| Nova-Life: Amboise | NLA | Valve | | ## Planned to add support: diff --git a/crates/lib/CHANGELOG.md b/crates/lib/CHANGELOG.md index afceb4c..a60c40c 100644 --- a/crates/lib/CHANGELOG.md +++ b/crates/lib/CHANGELOG.md @@ -13,6 +13,7 @@ Games: the games definitions. - [Aliens vs. Predator 2010](https://store.steampowered.com/app/10680/Aliens_vs_Predator/) support. - [Arma Reforger](https://store.steampowered.com/app/1874880/Arma_Reforger/) support. +- [Nova-Life: Amboise](https://store.steampowered.com/app/885570/NovaLife_Amboise/) support. Protocols: diff --git a/crates/lib/src/games/definitions.rs b/crates/lib/src/games/definitions.rs index 2193a8f..6707ebb 100644 --- a/crates/lib/src/games/definitions.rs +++ b/crates/lib/src/games/definitions.rs @@ -151,4 +151,5 @@ pub static GAMES: Map<&'static str, Game> = phf_map! { "moe" => game!("Myth Of Empires", 12888, Protocol::Valve(Engine::new(1_371_580))), "mordhau" => game!("Mordhau", 27015, Protocol::Valve(Engine::new(629_760))), "mindustry" => game!("Mindustry", crate::games::mindustry::DEFAULT_PORT, Protocol::PROPRIETARY(ProprietaryProtocol::Mindustry)), + "nla" => game!("Nova-Life: Amboise", 27015, Protocol::Valve(Engine::new(885_570))), }; diff --git a/crates/lib/src/games/valve.rs b/crates/lib/src/games/valve.rs index 9ca29b8..4e1b3cf 100644 --- a/crates/lib/src/games/valve.rs +++ b/crates/lib/src/games/valve.rs @@ -183,4 +183,5 @@ game_query_mod!( Engine::new(17_570), 27015 ); +game_query_mod!(nla, "Nova-Life: Amboise", Engine::new(885_570), 27015); game_query_mod!(pixark, "PixARK", Engine::new(593_600), 27015);