Last active
May 15, 2024 16:45
-
-
Save LiuQixuan/ddd5a4c20db0d9766aae7d47a6db9da6 to your computer and use it in GitHub Desktop.
CopyGameWithSybolicLink.ps1 所需的配置文件.(config.json is Configration for CopyGameWithSybolicLink.ps1)
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
| { | |
| "$schema": "./config.scheme.json", | |
| "gameVersion":"4.6.0", | |
| "copyTasks":[ | |
| { | |
| "name":"Base", | |
| "dir":"./", | |
| "items":[ | |
| { | |
| "name":"config.ini", | |
| "replace":["sub_channel=0","sub_channel=1"] | |
| }, | |
| {"name":"HoYoKProtect.sys"} | |
| ] | |
| } | |
| ], | |
| "softlinkTasks":[ | |
| { | |
| "name": "Base", | |
| "dir": "", | |
| "items": [ | |
| "*[a:match=Audio_(\\w+)_pkg_version]" | |
| ] | |
| }, | |
| { | |
| "name":"Data", | |
| "dir":"Data", | |
| "items":[ | |
| "*[a:without=Data]", | |
| "webCaches", | |
| "SDKCaches", | |
| "Persistent", | |
| "Resources" | |
| ] | |
| }, | |
| { | |
| "name":"Managed", | |
| "dir":"Data/Managed", | |
| "items":["Resources","Metadata/startup-metadata.dat"] | |
| }, | |
| { | |
| "name":"Native", | |
| "dir":"Data/Native", | |
| "items":["Data/etc","Data/Resources"] | |
| }, | |
| { | |
| "name":"Plugins", | |
| "dir":"Data/Plugins", | |
| "items":[ | |
| "*[a:without=Plugins]", | |
| "locales"] | |
| }, | |
| { | |
| "name":"StreamingAssets", | |
| "dir":"Data/StreamingAssets", | |
| "items":[ | |
| "*[.:without=StreamingAssets]" | |
| ] | |
| } | |
| ], | |
| "excludeList":{ | |
| "Base":["HoYoKProtect.sys","config.ini"], | |
| "Data":[ | |
| "app.info", | |
| "globalgamemanagers", | |
| "globalgamemanagers.assets", | |
| "globalgamemanagers.assets.resS", | |
| "upload_crash.exe" | |
| ], | |
| "Managed":[ | |
| "Metadata", | |
| "Metadata\\global-metadata.dat" | |
| ], | |
| "Plugins":[ | |
| "cri_mana_vpx.dll", | |
| "cri_vip_unity_pc.dll", | |
| "cri_ware_unity.dll", | |
| "d3dcompiler_47.dll", | |
| "hdiffz.dll", | |
| "hpatchz.dll", | |
| "mihoyonet.dll", | |
| "Mmoron.dll", | |
| "MTBenchmark_Windows.dll", | |
| "NamedPipeClient.dll", | |
| "UnityNativeChromaSDK.dll", | |
| "UnityNativeChromaSDK3.dll" | |
| ], | |
| "StreamingAssets":["20527480.blk"] | |
| }, | |
| "includeList":{} | |
| } |
Author
Author
CopyGameWithSybolicLink.ps1 项目地址:https://gist.github.com/LiuQixuan/7ac31b8f14b565b8a638fea2f9f79fe2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
注意该字段:"GameVersion":"4.4.0"
脚本会检查该字段是否与游戏客户端一致,每次使用时务必确认版本一致,如果不一致需要手动修改.若手动修改后通过CopyGameWithSybolicLink.ps1脚本创建了副客户端,但无法正常进入游戏,则需要检查该gist是否更新,或及时留言反馈.
我会尽量亲自测试每个版本的config.json,并保持及时更新.