Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow storing more information in the downloaded archive metas so mods can be reinstalled and retain their meta-info #2614

Merged
merged 4 commits into from
Nov 9, 2024

Conversation

JanuarySnow
Copy link
Contributor

Currently when WJ writes a meta next to the downloaded Nexus archive, it just does modid, fileid and gamename

Thats basically all that is needed, but when it first reads the meta for that nexus download it stores a lot more info - version, description mod name etc.

The problem with the current behavior is that if you were to uninstall a mod in a downloaded WJ list, then reinstall it from Mo2s download pane, it would have no version or description information assigned to it as you no longer have a nexus meta, you have a shortened WJ meta.

But this info is parsed by Wabbajack, so ive enabled it to be written to the meta if it is present ( incase for some reason there is a manually constructed nexus meta by the author that dosnt have those fields)

Tested that it works - meta now has version, modname, and description fields, and can be reinstalled and retain this information.

I cant forsee this breaking anything else, and SME install went smoothly with this change, no other problems, but there is a nonzero chance someone will say "but Januarysnow, what about this edgecase!" and hereby I open myself up to that possibility.

@EzioTheDeadPoet EzioTheDeadPoet merged commit 25a56b9 into main Nov 9, 2024
3 checks passed
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.

2 participants