Cyberpunk fixes for 2.5 - #141
Merged
Merged
Conversation
…oad_order True = load last mod (highest prio) first, which wins a conflict in Cyberpunk. By default (False), first one (lowest prio) is loaded first (not reversed in archive/pc/mod/modlist.txt). Makes fix ModOrganizer2#132 optional for backwards compatibility.
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.
Fixes the following in MO 2.5+:
skipStartScreen=False, since it can also skip loading rewards, same as here e.g.: No CP2077 GOG registration rewards with CET active maximegmd/CyberEngineTweaks#663reverse_archive_load_order=Falseandreverse_redmod_load_order=False(see below)Thx @ junki for the issue reports
The default load order settings are a compromise between default Cyberpunk / mod behavior (load mods alphabetically), backwards compatibility (load mods top to bottom = lower prio wins) and MOs known behavior from Skyrim etc. (highest prio mod wins).
Details about the load order as draft for the wiki:
Load order
With an example mod list
In Cyberpunk the load order of all
.archivefiles and REDmod folders is alphabetically, as named by mod authors.The first loaded
.archivefile / mod modifying a game file wins a conflict in CP (in contrast to Skyrim, where esps can overwrite each other), i.e.A.archivewins overB.archiveandC.archive(A > B > C).A custom
.archiveload order can be specified with a filearchive/pc/mod/modlist.txt, which can be generated optionally (settingenforce_archive_load_order = true) by MO inoverwritebefore game launch (changing load order toB > A > C).For REDmod, MO passes the load order by default to the precompiler
redmod.exe. See Settings below.Note that the load order of multiple
.archivefiles within a single mod is still always alphabetically, independent of the settings.In contrast to that, direct file conflicts (same file name) are displayed directly in MOs mod list and here the highest priority always wins.
Settings:
Under
Tools/Settings/Plugins/Cyberpunk 2077 Support Plugin:skipStartScreen(default:false): Skips the "Breaching..." start screen on game launch (can also skip loading of GOG rewards)enforce_archive_load_order(default:false): enforce MOs mod load order via generatedoverwrite/archive/pc/mod/modlist.txtreverse_archive_load_order(default:false): reverse MOs load order in generatedmodlist.txtfalse(default): first / lowest priority mod in MO wins a conflict (B > A > C)true: last / highest priority mod in MO wins a conflict (C > A > B)enforce_redmod_load_order(default:true): enforce MOs mod load order by generatingoverwrite/r6/cache/modded/MO_REDmod_load_order.txt, which is passed toredmod.exebefore game launch.reverse_redmod_load_order(default:false): reverse the generated redmod list.