diff --git a/GAMES.md b/GAMES.md index ce02fec..b8c762a 100644 --- a/GAMES.md +++ b/GAMES.md @@ -1,8 +1,10 @@ -A supported game is defined as a game that has been successfully tested, other games that are not present here but use +A supported game is defined as a game that has been successfully tested, other games that are not present here but use one of the implemented protocols might work too, but that isn't guaranteed. -Beware of the `Notes` column, as it contains information about query port offsets or other query requirements/information. +Beware of the `Notes` column, as it contains information about query port offsets or other query +requirements/information. # Supported games: + | Game | Use name | Protocol | Notes | |------------------------------------|---------------------|----------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | Team Fortress 2 | TEAMFORTRESS2 | Valve | | @@ -85,6 +87,8 @@ Beware of the `Notes` column, as it contains information about query port offset | Mordhau | MORDHAU | Valve | | | Enshrouded | ENSHROUDED | Valve | | | Myth of Empires | MOE | Valve | | +| Pirates, Vikings, and Knights II | PVAK2 | Valve | ## Planned to add support: + _ diff --git a/crates/lib/CHANGELOG.md b/crates/lib/CHANGELOG.md index 1ceb4e0..e3881b4 100644 --- a/crates/lib/CHANGELOG.md +++ b/crates/lib/CHANGELOG.md @@ -6,6 +6,7 @@ Games: - [Mordhau](https://store.steampowered.com/app/629760/MORDHAU/) support. - [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. # 0.5.0 - 15/03/2024 ### Changes: diff --git a/crates/lib/src/games/definitions.rs b/crates/lib/src/games/definitions.rs index 4e7d3a0..aae38c0 100644 --- a/crates/lib/src/games/definitions.rs +++ b/crates/lib/src/games/definitions.rs @@ -98,6 +98,7 @@ pub static GAMES: Map<&'static str, Game> = phf_map! { "onset" => game!("Onset", 7776, Protocol::Valve(Engine::new(1_105_810))), "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))), "quake1" => game!("Quake 1", 27500, Protocol::Quake(QuakeVersion::One)), "quake2" => game!("Quake 2", 27910, Protocol::Quake(QuakeVersion::Two)), "q3a" => game!("Quake 3 Arena", 27960, Protocol::Quake(QuakeVersion::Three)), diff --git a/crates/lib/src/games/valve.rs b/crates/lib/src/games/valve.rs index 8521edd..5fc6f30 100644 --- a/crates/lib/src/games/valve.rs +++ b/crates/lib/src/games/valve.rs @@ -160,3 +160,9 @@ game_query_mod!(vrising, "V Rising", Engine::new(1_604_030), 27016); game_query_mod!(zps, "Zombie Panic: Source", Engine::new(17_500), 27015); game_query_mod!(moe, "Myth of Empires", Engine::new(1_371_580), 12888); game_query_mod!(mordhau, "Mordhau", Engine::new(629_760), 27015); +game_query_mod!( + pvak2, + "Pirates, Vikings, and Knights II", + Engine::new(17570), + 27015 +);