feat: add Pirates, Knights and Vinkins 2 support

This commit is contained in:
CosminPerRam 2024-04-14 23:06:43 +03:00
parent 00840cb4a6
commit 29f1098daf
4 changed files with 14 additions and 2 deletions

View file

@ -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:
_

View file

@ -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:

View file

@ -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)),

View file

@ -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
);