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
This commit is contained in:
CosminPerRam 2023-11-19 02:59:31 +02:00 committed by GitHub
parent 2fb9f507e2
commit ce4cddb87f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 2456 additions and 468 deletions

View file

@ -8,9 +8,14 @@
#### Games
* Renamed `Counter Strike: 2D` to `CS2D` in [games.txt](games.txt) (why? see [this](https://cs2d.com/faq.php?show=misc_name#misc_name)).
* Updated `CS2D` protocol (by @ernestpasnik).
* Removed the following alternative game ids: `minecraftping` (as it was deprecated and the same thing as `minecraft`),
`minecraftpe` (deprecated, which is the same as `minecraftbe`), `flashpoint` (alternative was `operationflashpoint`,
see next point) and `tshock` (which is `terraria`).
* Renamed the game id `operationflashpoint` to reference it by its full name, now is `ofcwc`.
### Other changes
#### Package
* Removed the `games.txt` file, the games definitions are now stored in-code.
* Replaced usage of deprecated `substr` with `substring`.
* Replaced deprecated internal `punycode` with the [punycode](https://www.npmjs.com/package/punycode) package.
* Updated [got](https://github.com/sindresorhus/got) from 12.1 to 13.