diff --git a/CHANGELOG.md b/CHANGELOG.md index 1273198..daff5e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ Games: - [Post Scriptum](https://store.steampowered.com/app/736220/Post_Scriptum/) support. - [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. - Added a valve protocol query example. - Made all of Just Cause 2: Multiplayer Response and Player fields public. diff --git a/GAMES.md b/GAMES.md index fe88259..6cf7926 100644 --- a/GAMES.md +++ b/GAMES.md @@ -74,6 +74,7 @@ Beware of the `Notes` column, as it contains information about query port offset | Post Scriptum | POSTSCRIPTUM | Valve | | | Squad | SQUAD | Valve | | | Savage 2 | SAVAGE2 | Proprietary | | +| Rising World | RISINGWORLD | Valve | Query port offset: -1 | ## Planned to add support: _ diff --git a/crates/lib/src/games/definitions.rs b/crates/lib/src/games/definitions.rs index 0fe5cb9..4ac3e8e 100644 --- a/crates/lib/src/games/definitions.rs +++ b/crates/lib/src/games/definitions.rs @@ -86,6 +86,11 @@ pub static GAMES: Map<&'static str, Game> = phf_map! { "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)), + "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))), "rust" => game!("Rust", 27015, Protocol::Valve(Engine::new(252_490))), "savage2" => game!("Savage 2", 11235, Protocol::PROPRIETARY(ProprietaryProtocol::Savage2)), diff --git a/crates/lib/src/games/valve.rs b/crates/lib/src/games/valve.rs index c188ee2..93266ee 100644 --- a/crates/lib/src/games/valve.rs +++ b/crates/lib/src/games/valve.rs @@ -107,6 +107,7 @@ game_query_mod!( Engine::new(108_600), 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!(rust, "Rust", Engine::new(252_490), 27015); game_query_mod!(sco, "Sven Co-op", Engine::new_gold_src(false), 27015);