feat(games): add atlas support

This commit is contained in:
CosminPerRam 2024-01-07 23:15:35 +02:00
parent bd3727d7fe
commit ae9a38907f
4 changed files with 4 additions and 0 deletions

View file

@ -11,6 +11,7 @@ Games:
- [Squad](https://store.steampowered.com/app/393380/Squad/) support.
- [Savage 2](https://savage2.net/) support.
- [Rising World](https://store.steampowered.com/app/324080/Rising_World/) support.
- [ATLAS](https://store.steampowered.com/app/834910/ATLAS/) support.
- Added a valve protocol query example.
- Made all of Just Cause 2: Multiplayer Response and Player fields public.

View file

@ -75,6 +75,7 @@ Beware of the `Notes` column, as it contains information about query port offset
| Squad | SQUAD | Valve | |
| Savage 2 | SAVAGE2 | Proprietary | |
| Rising World | RISINGWORLD | Valve | Query port offset: -1 |
| ATLAS | ATLAS | Valve | Query port offset: 51800 |
## Planned to add support:
_

View file

@ -44,6 +44,7 @@ pub static GAMES: Map<&'static str, Game> = phf_map! {
"a2oa" => game!("ARMA 2: Operation Arrowhead", 2304, Protocol::Valve(Engine::new(33930))),
"ase" => game!("ARK: Survival Evolved", 27015, Protocol::Valve(Engine::new(346_110))),
"asrd" => game!("Alien Swarm: Reactive Drop", 2304, Protocol::Valve(Engine::new(563_560))),
"atlas" => game!("ATLAS", 57561, Protocol::Valve(Engine::new(563_560))), //game_query_mod!(atlas, "ATLAS", Engine::new(834_910), 57561);
"avorion" => game!("Avorion", 27020, Protocol::Valve(Engine::new(445_220))),
"barotrauma" => game!("Barotrauma", 27016, Protocol::Valve(Engine::new(602_960))),
"battalion1944" => game!("Battalion 1944", 7780, Protocol::Valve(Engine::new(489_940))),

View file

@ -17,6 +17,7 @@ game_query_mod!(
Engine::new(563_560),
2304
);
game_query_mod!(atlas, "ATLAS", Engine::new(834_910), 57561);
game_query_mod!(avorion, "Avorion", Engine::new(445_220), 27020);
game_query_mod!(
ballisticoverkill,