mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
feat: add Rising World support
This commit is contained in:
parent
079e9877ba
commit
a7ee331dc3
4 changed files with 8 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ Games:
|
||||||
- [Post Scriptum](https://store.steampowered.com/app/736220/Post_Scriptum/) support.
|
- [Post Scriptum](https://store.steampowered.com/app/736220/Post_Scriptum/) support.
|
||||||
- [Squad](https://store.steampowered.com/app/393380/Squad/) support.
|
- [Squad](https://store.steampowered.com/app/393380/Squad/) support.
|
||||||
- [Savage 2](https://savage2.net/) support.
|
- [Savage 2](https://savage2.net/) support.
|
||||||
|
- [Rising World](https://store.steampowered.com/app/324080/Rising_World/) support.
|
||||||
- Added a valve protocol query example.
|
- Added a valve protocol query example.
|
||||||
- Made all of Just Cause 2: Multiplayer Response and Player fields public.
|
- Made all of Just Cause 2: Multiplayer Response and Player fields public.
|
||||||
|
|
||||||
|
|
|
||||||
1
GAMES.md
1
GAMES.md
|
|
@ -74,6 +74,7 @@ Beware of the `Notes` column, as it contains information about query port offset
|
||||||
| Post Scriptum | POSTSCRIPTUM | Valve | |
|
| Post Scriptum | POSTSCRIPTUM | Valve | |
|
||||||
| Squad | SQUAD | Valve | |
|
| Squad | SQUAD | Valve | |
|
||||||
| Savage 2 | SAVAGE2 | Proprietary | |
|
| Savage 2 | SAVAGE2 | Proprietary | |
|
||||||
|
| Rising World | RISINGWORLD | Valve | Query port offset: -1 |
|
||||||
|
|
||||||
## Planned to add support:
|
## Planned to add support:
|
||||||
_
|
_
|
||||||
|
|
|
||||||
|
|
@ -86,6 +86,11 @@ pub static GAMES: Map<&'static str, Game> = phf_map! {
|
||||||
"quake1" => game!("Quake 1", 27500, Protocol::Quake(QuakeVersion::One)),
|
"quake1" => game!("Quake 1", 27500, Protocol::Quake(QuakeVersion::One)),
|
||||||
"quake2" => game!("Quake 2", 27910, Protocol::Quake(QuakeVersion::Two)),
|
"quake2" => game!("Quake 2", 27910, Protocol::Quake(QuakeVersion::Two)),
|
||||||
"q3a" => game!("Quake 3 Arena", 27960, Protocol::Quake(QuakeVersion::Three)),
|
"q3a" => game!("Quake 3 Arena", 27960, Protocol::Quake(QuakeVersion::Three)),
|
||||||
|
"risingworld" => game!("Rising World", 4254, Protocol::Valve(Engine::new(324_080)), GatheringSettings {
|
||||||
|
players: true,
|
||||||
|
rules: false,
|
||||||
|
check_app_id: true,
|
||||||
|
}.into_extra()),
|
||||||
"ror2" => game!("Risk of Rain 2", 27016, Protocol::Valve(Engine::new(632_360))),
|
"ror2" => game!("Risk of Rain 2", 27016, Protocol::Valve(Engine::new(632_360))),
|
||||||
"rust" => game!("Rust", 27015, Protocol::Valve(Engine::new(252_490))),
|
"rust" => game!("Rust", 27015, Protocol::Valve(Engine::new(252_490))),
|
||||||
"savage2" => game!("Savage 2", 11235, Protocol::PROPRIETARY(ProprietaryProtocol::Savage2)),
|
"savage2" => game!("Savage 2", 11235, Protocol::PROPRIETARY(ProprietaryProtocol::Savage2)),
|
||||||
|
|
|
||||||
|
|
@ -107,6 +107,7 @@ game_query_mod!(
|
||||||
Engine::new(108_600),
|
Engine::new(108_600),
|
||||||
16261
|
16261
|
||||||
);
|
);
|
||||||
|
game_query_mod!(risingworld, "Rising World", Engine::new(324_080), 4254);
|
||||||
game_query_mod!(ror2, "Risk of Rain 2", Engine::new(632_360), 27016);
|
game_query_mod!(ror2, "Risk of Rain 2", Engine::new(632_360), 27016);
|
||||||
game_query_mod!(rust, "Rust", Engine::new(252_490), 27015);
|
game_query_mod!(rust, "Rust", Engine::new(252_490), 27015);
|
||||||
game_query_mod!(sco, "Sven Co-op", Engine::new_gold_src(false), 27015);
|
game_query_mod!(sco, "Sven Co-op", Engine::new_gold_src(false), 27015);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue