Skip to content

Replace hardcoded mod.yaml Packages list with a mod-defined filesystem loader#21598

Merged
PunkPun merged 5 commits intoOpenRA:bleedfrom
pchote:mod-mounts
Oct 2, 2024
Merged

Replace hardcoded mod.yaml Packages list with a mod-defined filesystem loader#21598
PunkPun merged 5 commits intoOpenRA:bleedfrom
pchote:mod-mounts

Conversation

@pchote
Copy link
Copy Markdown
Member

@pchote pchote commented Sep 29, 2024

This PR allows mod code to customize the way that the filesystem is mounted. This makes it possible for mods to find and mount content dynamically without relying on load screen hacks and duplicated utility commands.

Corresponding TDHD commit showing the benefits of this PR: OpenRA/TiberianDawnHD@9645e00

@michaeldgg2
Copy link
Copy Markdown
Contributor

This looks like a big change, shouldn't there be an update rule for it?

@pchote
Copy link
Copy Markdown
Member Author

pchote commented Sep 29, 2024

Most of the yaml changes are just indentation. Update rules can't change mod.yaml because the utility needs a working mod.yaml to run.

Copy link
Copy Markdown
Member

@PunkPun PunkPun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM, I didn't find any regressions on getting files from the cnc remastered steam edition, nor quick install

@PunkPun PunkPun merged commit fff41a4 into OpenRA:bleed Oct 2, 2024
@PunkPun
Copy link
Copy Markdown
Member

PunkPun commented Oct 2, 2024

changelog

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