Installer blizzard-battlenet-0c-wine
该脚本仅供阅读,不能直接用来在Wine游戏助手中安装游戏。
要通过命令安装游戏,请下载完整脚本。
安装命令:/opt/apps/net.winegame.client/files/bin/winegame -i ./xxx.json
custom-name: 暴雪战网国服
files:
- prefix-tar: https://file.winegame.net/games/battlenet/battlenet-20241012.tar.xz
game:
arch: win64
exe: drive_c/Program Files (x86)/Battle.net/Battle.net.exe
prefix: $GAMEDIR
installer:
- extract:
description: 解压wine容器
dst: $GAMEDIR
file: prefix-tar
system:
env:
DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
DXVK_STATE_CACHE_PATH: $GAMEDIR
STAGING_SHARED_MEMORY: 1
__GL_SHADER_DISK_CACHE: 1
__GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
exclude_processes: Agent.exe "Battle.net Helper.exe"
manual_command: $GAMEDIR/state-cache-merge/state-cache-update.sh
wine:
dxvk: true
esync: true
overrides:
d3dcompiler_47: native,builtin
d3dcsx_47: native,builtin
d3dx11_42: native,builtin
d3dx9_42: native,builtin
locationapi: disabled
winedbg.exe: disabled
winemenubuilder.exe: disabled
version: wine-staging-10.9-x32x64-x86_64
vkd3d: true
{
"custom-name": "\u66b4\u96ea\u6218\u7f51\u56fd\u670d",
"files": [
{
"prefix-tar": "https://file.winegame.net/games/battlenet/battlenet-20241012.tar.xz"
}
],
"game": {
"arch": "win64",
"exe": "drive_c/Program Files (x86)/Battle.net/Battle.net.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"extract": {
"description": "\u89e3\u538bwine\u5bb9\u5668",
"dst": "$GAMEDIR",
"file": "prefix-tar"
}
}
],
"system": {
"env": {
"DXVK_CONFIG_FILE": "$GAMEDIR/dxvk.conf",
"DXVK_STATE_CACHE_PATH": "$GAMEDIR",
"STAGING_SHARED_MEMORY": 1,
"__GL_SHADER_DISK_CACHE": 1,
"__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR"
},
"exclude_processes": "Agent.exe \"Battle.net Helper.exe\"",
"manual_command": "$GAMEDIR/state-cache-merge/state-cache-update.sh"
},
"wine": {
"dxvk": true,
"esync": true,
"overrides": {
"d3dcompiler_47": "native,builtin",
"d3dcsx_47": "native,builtin",
"d3dx11_42": "native,builtin",
"d3dx9_42": "native,builtin",
"locationapi": "disabled",
"winedbg.exe": "disabled",
"winemenubuilder.exe": "disabled"
},
"version": "wine-staging-10.9-x32x64-x86_64",
"vkd3d": true
}
}