Skip to content

thcrap: prune irrelevant patches after game has been identified#309

Open
Nutzer wants to merge 1 commit intothpatch:masterfrom
Nutzer:prune-stack-after-load-v2
Open

thcrap: prune irrelevant patches after game has been identified#309
Nutzer wants to merge 1 commit intothpatch:masterfrom
Nutzer:prune-stack-after-load-v2

Conversation

@Nutzer
Copy link

@Nutzer Nutzer commented Feb 8, 2026

Base patches and patches like western_name_order and script_latin should be removed from the patch stack if they are not relevant to the game.
This patch adds a 'supported_games' option which can be used to specify which games a patch supports (defaults to all games).
Pruning only happens after the game has been identified by hash or size to allow for wrapper patches like thprac and vpatch.

Closes #308

Base patches and patches like western_name_order and script_latin should be removed from the patch stack if they are not relevant to the game.
This patch adds a 'supported_games' option which can be used to specify which games a patch supports (defaults to all games).
Pruning only happens after the game has been identified by hash or size to allow for wrapper patches like thprac and vpatch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Do not have every single base patch in the patch stack at all times

1 participant