From b43557d03bf15247d647ad98ec0db0ee0607cbea Mon Sep 17 00:00:00 2001 From: Zash Date: Thu, 28 Sep 2023 15:26:03 +0200 Subject: [PATCH] Change rootbuilder config >4.2.6 (link all but archives) + hardlinks without usvfsmode if supported --- games/game_cyberpunk2077.py | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/games/game_cyberpunk2077.py b/games/game_cyberpunk2077.py index 90a01b5..208c859 100644 --- a/games/game_cyberpunk2077.py +++ b/games/game_cyberpunk2077.py @@ -95,22 +95,23 @@ class Cyberpunk2077Game(BasicGame, mobase.IPluginFileMapper): _root_mapping_blacklist = {GameDataPath.casefold(), "root", "bin"} _root_builder_config: dict[str, mobase.MoVariant] = { - "usvfsmode": True, - "linkmode": True, + "usvfsmode": False, + "linkmode": True, # Use hardlinks only "backup": True, "cache": True, "autobuild": True, "redirect": True, "installer": False, - "exclusions": "archive/pc/content,BonusContent,setup_redlauncher.exe,tools", - "linkextensions": ( - # redscript, red4ext - "dll,exe" - # CET - ",asi,lua,ini" - ",sqlite3,json,keep,kark,lua,otf,ttf" - ",toml,reds,redscrips,ts,bin,bk" # redscript + cybercmd - ), + "exclusions": "archive/pc/content,setup_redlauncher.exe,tools", + "linkextensions": "*,^archive" + # ( + # # # redscript, red4ext + # # "dll,exe" + # # # CET + # # ",asi,lua,ini" + # # ",sqlite3,json,keep,kark,lua,otf,ttf" + # # ",toml,reds,redscrips,ts,bin,bk" # redscript + cybercmd + # ), } _redmod_path = Path("tools/redmod/")