From 66a9ed8b3f144a3cf96a63fba532cb0dfdd7d11b Mon Sep 17 00:00:00 2001 From: CosminPerRam Date: Sun, 14 Apr 2024 23:15:17 +0300 Subject: [PATCH] feat: add PixARK support. --- GAMES.md | 3 ++- crates/lib/CHANGELOG.md | 1 + crates/lib/src/games/definitions.rs | 1 + crates/lib/src/games/valve.rs | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/GAMES.md b/GAMES.md index b8c762a..004e480 100644 --- a/GAMES.md +++ b/GAMES.md @@ -87,7 +87,8 @@ requirements/information. | Mordhau | MORDHAU | Valve | | | Enshrouded | ENSHROUDED | Valve | | | Myth of Empires | MOE | Valve | | -| Pirates, Vikings, and Knights II | PVAK2 | Valve | +| Pirates, Vikings, and Knights II | PVAK2 | Valve | | +| PixARK | PIXARK | | | ## Planned to add support: diff --git a/crates/lib/CHANGELOG.md b/crates/lib/CHANGELOG.md index cc8ce6f..fca1464 100644 --- a/crates/lib/CHANGELOG.md +++ b/crates/lib/CHANGELOG.md @@ -8,6 +8,7 @@ Games: - [Enshrouded](https://store.steampowered.com/app/1203620/Enshrouded/) support. - [Myth of Empires](https://store.steampowered.com/app/1371580/Myth_of_Empires/) support. - [Pirates, Vikings, and Knights II](https://store.steampowered.com/app/17570/Pirates_Vikings_and_Knights_II/) support. +- [PixARK](https://store.steampowered.com/app/593600/PixARK/) support. # 0.5.0 - 15/03/2024 diff --git a/crates/lib/src/games/definitions.rs b/crates/lib/src/games/definitions.rs index aae38c0..0c7131f 100644 --- a/crates/lib/src/games/definitions.rs +++ b/crates/lib/src/games/definitions.rs @@ -96,6 +96,7 @@ pub static GAMES: Map<&'static str, Game> = phf_map! { "l4d2" => game!("Left 4 Dead 2", 27015, Protocol::Valve(Engine::new(550))), "ohd" => game!("Operation: Harsh Doorstop", 27005, Protocol::Valve(Engine::new_with_dedicated(736_590, 950_900))), "onset" => game!("Onset", 7776, Protocol::Valve(Engine::new(1_105_810))), + "pixark" => game!("PixARK", 27015, Protocol::Valve(Engine::new(593_600))), "postscriptum" => game!("Post Scriptum", 10037, Protocol::Valve(Engine::new(736_220))), "projectzomboid" => game!("Project Zomboid", 16261, Protocol::Valve(Engine::new(108_600))), "pvak2" => game!("Pirates, Vikings, and Knights II", 27015, Protocol::Valve(Engine::new(17570))), diff --git a/crates/lib/src/games/valve.rs b/crates/lib/src/games/valve.rs index 5fc6f30..f8abea5 100644 --- a/crates/lib/src/games/valve.rs +++ b/crates/lib/src/games/valve.rs @@ -166,3 +166,4 @@ game_query_mod!( Engine::new(17570), 27015 ); +game_query_mod!(pixark, "PixARK", Engine::new(593_600), 27015);