Skip to content

Instantly share code, notes, and snippets.

@LiuQixuan
Last active May 15, 2024 16:45
Show Gist options
  • Select an option

  • Save LiuQixuan/ddd5a4c20db0d9766aae7d47a6db9da6 to your computer and use it in GitHub Desktop.

Select an option

Save LiuQixuan/ddd5a4c20db0d9766aae7d47a6db9da6 to your computer and use it in GitHub Desktop.
CopyGameWithSybolicLink.ps1 所需的配置文件.(config.json is Configration for CopyGameWithSybolicLink.ps1)
{
"$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":{}
}
@LiuQixuan
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment