Skip to content

Add support for zip mods#330

Merged
ethangreen-dev merged 7 commits intomasterfrom
zip-loading
Jan 21, 2026
Merged

Add support for zip mods#330
ethangreen-dev merged 7 commits intomasterfrom
zip-loading

Conversation

@ethangreen-dev
Copy link
Copy Markdown
Owner

@ethangreen-dev ethangreen-dev commented Nov 27, 2025

Adds support for loading mods from zip archives in the mod directory. Largely a simple implementation but it necessitated changing patch loading to greedily read externally referenced files at load-time instead of patch-time (copy patches, for example).

I also took the opportunity to add some tests and do reorganize a bit. The prior patch-related modules were becoming extremely bloated so I moved them into the patch module.

@ethangreen-dev ethangreen-dev changed the title Add Zip loading Add support for zip mods Nov 27, 2025
@cg-223
Copy link
Copy Markdown
Collaborator

cg-223 commented Jan 21, 2026

{{lovely_hack:patch_dir}} is not replaced with a binary built from this branch

Our addition of zip loader removed the code that interpolated in the
{{lovely_hack:path_dir}}. This reintroduces it and adds explicit support
for the zip mode by interpolating in the path of the zip instead of a
dir.
@ethangreen-dev ethangreen-dev merged commit bdae3de into master Jan 21, 2026
2 checks passed
@ethangreen-dev ethangreen-dev deleted the zip-loading branch January 21, 2026 21:39
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.

3 participants