mirror of
https://github.com/Tribufu/node-gamedig
synced 2026-08-08 22:51:06 +00:00
feat(games): add ATS, The Cenozoic Era, VEIN and Mindustry support (#768)
* feat(games): add American Truck Simulator (ats) support Mirrors the Euro Truck Simulator 2 configuration (valve protocol, port 27015 with query port offset +1). * Update .gitignore * feat(games): add The Cenozoic Era, VEIN and Mindustry support - 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). * fix(games): rename thecenozoicera to tce Satisfies the MoreThanTwoWordsMakeAcronym naming rule enforced by the id-tests CI check: game names with more than two words require an acronym-style id. * Update .gitignore * meta: restore .gitignore endline --------- Co-authored-by: CosminPerRam <cosmin.p@live.com>
This commit is contained in:
parent
aff6afd252
commit
ec4860cffc
4 changed files with 85 additions and 1 deletions
35
lib/games.js
35
lib/games.js
|
|
@ -89,6 +89,15 @@ export const games = {
|
|||
protocol: 'assettocorsa'
|
||||
}
|
||||
},
|
||||
ats: {
|
||||
name: 'American Truck Simulator',
|
||||
release_year: 2016,
|
||||
options: {
|
||||
port: 27015,
|
||||
port_query_offset: 1,
|
||||
protocol: 'valve'
|
||||
}
|
||||
},
|
||||
atlas: {
|
||||
name: 'Atlas',
|
||||
release_year: 2018,
|
||||
|
|
@ -1930,6 +1939,14 @@ export const games = {
|
|||
doc_notes: 'minecraft'
|
||||
}
|
||||
},
|
||||
mindustry: {
|
||||
name: 'Mindustry',
|
||||
release_year: 2017,
|
||||
options: {
|
||||
port: 6567,
|
||||
protocol: 'mindustry'
|
||||
}
|
||||
},
|
||||
minetest: {
|
||||
name: 'Minetest',
|
||||
release_year: 2010,
|
||||
|
|
@ -3057,6 +3074,15 @@ export const games = {
|
|||
doc_notes: 'terraria'
|
||||
}
|
||||
},
|
||||
tce: {
|
||||
name: 'The Cenozoic Era',
|
||||
release_year: 2024,
|
||||
options: {
|
||||
port: 7777,
|
||||
port_query_offset: 1,
|
||||
protocol: 'valve'
|
||||
}
|
||||
},
|
||||
theforest: {
|
||||
name: 'The Forest',
|
||||
release_year: 2014,
|
||||
|
|
@ -3309,6 +3335,15 @@ export const games = {
|
|||
doc_notes: 'valheim'
|
||||
}
|
||||
},
|
||||
vein: {
|
||||
name: 'VEIN',
|
||||
release_year: 2024,
|
||||
options: {
|
||||
port: 7777,
|
||||
port_query_offset: 1,
|
||||
protocol: 'valve'
|
||||
}
|
||||
},
|
||||
vcm: {
|
||||
name: 'Vice City Multiplayer',
|
||||
release_year: 2015,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue