I know this is an old topic, but figured I’d add this here before it gets locked.
This isn’t that hard to accomplish.
Here’s how I do so:
- Create the main folder where the game will be (E.g: F:\itch.io\example)
- Create .itch folder where the receipt file will go (E.g: F:\itch.io\example\.itch)
- Create a minimal receipt file with the following contents, name it “receipt.json”:
{ "game": { "id": -1 }, "upload": { "id": -1 } } - Inspect the itch download page for the game and find the game id and the upload id.
- Edit the receipt file and replace the
-1’s with the related id. - Compress the receipt file using gzip to
receipt.json.gz - Install the game to the folder, keeping file/folder structure as it is in the archive.
- Scan installed games.
The game should now be listed in the installed games library.
When the game has an update:
- Find the new upload id for the update
- Extract the receipt file
- Change the upload id to the new id
- Compress the receipt file
- Install the update
- Scan installed games
In both processes, the app will update the receipt file with the missing details that match the game and upload ids.