fix: respect addon-number ordering for community patch BIG loading - #547
Open
tintinhamans wants to merge 1 commit into
Open
fix: respect addon-number ordering for community patch BIG loading#547tintinhamans wants to merge 1 commit into
tintinhamans wants to merge 1 commit into
Conversation
…ryTree and refactor community patch loading logic Signed-off-by: tintinhamans <5984296+tintinhamans@users.noreply.github.com>
tintinhamans
force-pushed
the
arctic/go-patch-08
branch
from
August 7, 2026 14:47
28da78b to
a4fa456
Compare
Mauller
reviewed
Aug 7, 2026
Mauller
left a comment
There was a problem hiding this comment.
I don't see any major issues, looks okay overall to me
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This change makes the community patch BIG load in a way that respects the same ordering conventions as other addon BIGs in the game folder.
What changed
sortedByNamemode toArchiveFileSystem::loadIntoDirectoryTreeso duplicate files can be inserted according to archive filename order rather than always overwriting or appending blindly.DataPacks_UseCommunityPatchis available beforeloadMods()runs.Why
Community patch content should behave like other addons in the game folder, where lower-numbered addon archives generally take precedence over higher-numbered ones. This makes the patch integrate more predictably alongside other installed mods and add-ons.
Notes
This keeps the community patch from being treated as a flat override and instead allows it to participate in the same load-order semantics as other BIG files.