Skip to content

feat(games): add ATS, The Cenozoic Era, VEIN and Mindustry support#768

Merged
CosminPerRam merged 6 commits into
gamedig:masterfrom
HerrSammyDE:master
May 26, 2026
Merged

feat(games): add ATS, The Cenozoic Era, VEIN and Mindustry support#768
CosminPerRam merged 6 commits into
gamedig:masterfrom
HerrSammyDE:master

Conversation

@HerrSammyDE

Copy link
Copy Markdown
Contributor

Adds support for four new games:

American Truck Simulator (ats) - mirrors the existing ets2 configuration (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 (UDP 0xFE 0x01 → serialized Host struct). Verified live against two independent servers.

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.
@podrivo

podrivo commented Apr 12, 2026

Copy link
Copy Markdown
Contributor

@HerrSammyDE Thanks for this PR! Maybe it's better if it's separated PRs?

@CosminPerRam Thoughts?

@HerrSammyDE

Copy link
Copy Markdown
Contributor Author

I'd be happy to. But these are just minor changes - is it really worth it? :D

@podrivo

podrivo commented Apr 12, 2026

Copy link
Copy Markdown
Contributor

I'm fine with it as well! But I'll defer to @CosminPerRam

@CosminPerRam CosminPerRam left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).

Comment thread .gitignore Outdated
/dist
# Deno bin/gamedig executable
gamedig
/.claude No newline at end of file

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please restore this change as I'll do it myself alongside a note related to this.

@CosminPerRam

Copy link
Copy Markdown
Member

I've ended up getting the time to verify some servers myself, encountered no problems, thanks and sorry for the merge delay!

@CosminPerRam CosminPerRam merged commit ec4860c into gamedig:master May 26, 2026
8 checks passed
CosminPerRam added a commit that referenced this pull request May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants