thpatch / thpatch/thcrap

Fast bootstrapping of patches

Open
#36 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
766
Forks
51
Avg merge
16d 14h
Merged PRs (30d)
1

Description

This would only download the most necessary data of each patch (game version data in particular) on initial patch selection, with the rest being only downloaded when needed (e.g. once a particular game has been located on a user's system).

In particular, this means:

  1. Only pull versions.js for every patch after stack configuration
  2. Use that to start searching for games
  3. Download any global patch data during the search process
  4. Create shortcuts
  5. Download/update the rest of each game's data individually after the user started a game through a shortcut, using a blocking downloader.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing patch selection and the downloader flow described in the issue. Use versions.js as the initial per-patch data source, then map the search, shortcut creation, and per-game update steps. Done means initial selection fetches only versions.js, while remaining data is fetched when a game is started.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.