GOG-GAMES.TO FINAL DATABASE
UPDATED 2026/08/30
-----------------------------------------------------------


This archive contains data pulled from gog-games.to before
the website's closing in 2026/09/06.
Everything was generated using the website's public API
with some shell scripting. See below for details.


-----------------------------------------------------------
DATABASE FILES
-----------------------------------------------------------


torrents.txt:
A list of games with torrent hashes, in this format:
    TORRENT_HASH  GAME_NAME  VERSION
To download a game, search for its name here then copy its
torrent hash into your preferred torrent client.
Please note that not all games on gog-games.to have an
associated torrent hash, some games can only be downloaded
from the website itself.


checksums.md5:
A list of MD5 checksums for each file in every game,
in this format:
    CHECKSUM  GAME_SHORT_NAME/FILE
You can use these checksums to verify the integrity of any
downloaded game files.


games.json:
The complete game database of gog-games.to in JSON format,
as provided by the website's public API.
This is a massive file that's best viewed using a tool like
`jq' or similar, as simple text editors may crash while
opening it.


-----------------------------------------------------------
HOW TO GENERATE THESE FILES
-----------------------------------------------------------


games.json:
    curl -X GET https://gog-games.to/api/web/all-games    \
         -o games.json


checksums.md5:
    curl -X GET https://gog-games.to/api/web/complete-md5 \
         -o checksums.md5


torrents.txt:
    X='.[]|[.infohash,.title,.current_version]|join("  ")'
    jq "$X" games.json | sed -e 's/"//g' | grep -v "^  " \
            > torrents.txt


