Commit Graph

11 Commits

Author SHA1 Message Date
Tom 68f9c01886
feat: Add ID tests to CI (#456)
* tools: Add script to run ID tests

* ci: Add game ID tests

* tools/id-tests: Import games directly from file

* ci/id: Update ID tests to official repo

* ci/id: Cache rust deps even if tests fail

* Add newlines
2024-01-14 23:17:11 +02:00
Pedro Ivo Hudson 6ecb809512
fix: Add DayZ to Valve protocol in games list (#460)
* fix: add dayz to valve protocol

* fix extra space
2024-01-14 23:16:53 +02:00
Tom 68c8423c84
tools: Add find ID changes to list changes to game IDs (#435)
This tool iterates through the commit history finding commits where
lib/games.js has been modified. Whenever it has it loads the
before/after state and compares them to generate a list of IDs that were
removed/added/changed (changed is based on comparing the name of the
game).

The output of this script can then be converted into an object mapping
between old IDs and new IDs using a jq one-liner.
2023-12-30 16:38:32 +02:00
CosminPerRam 8192ed07e0
feat: export games and protocols besides GameDig (#411)
* feat: export games and protocols besides GameDig

* fix: revert ProtocolResolver rename

* fix: imports on the attempt tools

* docs: update changelog to note exports
2023-11-20 11:35:31 +02:00
CosminPerRam ce4cddb87f
feat: remove games.txt and replace it with an in-code solution (#407)
* feat: remove games.txt and replace it with an in-code solution

* docs: update changelog

* chore: add todo comment regarding weird game ids to rename

* fix: generate games list md file

* fix: gemerate games list file to alphabetical id order

* fix: update changelog to note removal of some game ids and add geneshift alternative
2023-11-19 02:59:31 +02:00
CosminPerRam 4092fe38d7 fix: Fix using __dirname in the games_list.md generator tool 2023-11-12 19:53:35 +02:00
CosminPerRam cee42e7a88
chore: Convert all files to LF endings (#400)
* Convert to LF?

* Modify gitattributes

* Force LF

* Git --renormalize

* Update .gitattributes to enforce eol=lf

* Redo CRLF -> LF on remaining files
2023-11-12 13:14:43 +02:00
CosminPerRam c49d463858 feat: Use async/await on attempt_protocols 2023-11-05 23:50:43 +02:00
CosminPerRam c264138e54 feat: Add a little tool that runs multiple protocols for an ip 2023-11-05 23:43:43 +02:00
CosminPerRam f64c4055db chore: Small formatting README changes. 2023-10-30 23:39:41 +02:00
CosminPerRam 3a1950133d chore: Move the gen readme in a separate folder than bin 2023-10-30 23:28:21 +02:00