feat(games): add ATS, The Cenozoic Era, VEIN and Mindustry support#768
Conversation
Mirrors the Euro Truck Simulator 2 configuration (valve protocol, port 27015 with query port offset +1).
- The Cenozoic Era and VEIN use the Valve A2S protocol with a query port offset of +1 (verified live against running servers). - Mindustry is queried via a new protocol module implementing the arc-net discovery ping: a two-byte UDP request (0xFE 0x01) returns the serialized Host struct (name, map, players, wave, version, vertype, gamemode, player limit, description, modeName).
Satisfies the MoreThanTwoWordsMakeAcronym naming rule enforced by the id-tests CI check: game names with more than two words require an acronym-style id.
|
@HerrSammyDE Thanks for this PR! Maybe it's better if it's separated PRs? @CosminPerRam Thoughts? |
|
I'd be happy to. But these are just minor changes - is it really worth it? :D |
|
I'm fine with it as well! But I'll defer to @CosminPerRam |
CosminPerRam
left a comment
There was a problem hiding this comment.
Sorry for the late review, could you please provide debug logs/data regarding querying a server of each type of game? Much appreciated.
Also if you'd like to add lines to the changelog file (with pr link and if credit if wanted, see other lines for reference).
| /dist | ||
| # Deno bin/gamedig executable | ||
| gamedig | ||
| /.claude No newline at end of file |
There was a problem hiding this comment.
Please restore this change as I'll do it myself alongside a note related to this.
|
I've ended up getting the time to verify some servers myself, encountered no problems, thanks and sorry for the merge delay! |
Adds support for four new games:
American Truck Simulator (
ats) - mirrors the existingets2configuration (Valve protocol, query port = game port + 1).The Cenozoic Era (
tce) - Valve protocol, query port = game port + 1. Verified live.VEIN (
vein) - Valve protocol, query port = game port + 1. Verified live.Mindustry (
mindustry) - new protocol module implementing Mindustry's arc-net discovery ping (UDP0xFE 0x01→ serialized Host struct). Verified live against two independent servers.