Installer blizzard-battlenet-5000

该脚本仅供阅读,不能直接用来在Wine游戏助手中安装游戏。
要通过命令安装游戏,请下载完整脚本
安装命令:/opt/apps/net.winegame.client/files/bin/winegame -i ./xxx.json

custom-name: 暴雪战网国服
files:
- cache-updater: https://file.winegame.net/games/overwatch/state-cache-update.sh
- setup:
    filename: Battle.net-Setup-CN.exe
    url: https://www.battlenet.com.cn/download/getInstaller?os=win&installer=Battle.net-Setup-CN.exe
- wineinit: https://file.winegame.net/games/common/wineinit.sh
- cmdfonts: https://file.winegame.net/cache/wine/fonts/MicrosoftYaHeiMono-20210208.tar.gz
- dxdlls: https://file.winegame.net/games/uplay/dxdlls-x86.tar.xz
game:
  arch: win32
  exe: drive_c/Program Files/Battle.net/Battle.net.exe
  prefix: $GAMEDIR
installer:
- execute:
    command: bash "$wineinit" win32 6.14
    description: 下载字体和运行库
- task:
    arch: win32
    description: 创建32位Wine前缀
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    description: 解压CMD字体
    dst: $GAMEDIR/drive_c/windows/Fonts
    file: cmdfonts
- task:
    description: 安装CMD字体
    filename: $GAMEDIR/drive_c/windows/Fonts/MicrosoftYaHeiMono.reg
    name: set_regedit_file
- execute:
    command: rm -f "$GAMEDIR/dosdevices/m::"; ln -sf "$HOME" "$GAMEDIR/dosdevices/m:"
    description: 添加主目录($HOME)为M盘
- write_file:
    content: |-
      #!/bin/bash
      date="$(wget --server-response --spider https://file.winegame.net/games/overwatch/Overwatch.tar.xz 2>&1 | sed -n "s/  Last-Modified: //p")"
      date="$(date -d "$date" +%s)"
      echo "$date" > ./state-cache-merge/.state-cache-timestamp
    file: $GAMEDIR/timestamp.sh
- write_file:
    content: |-
      dxgi.nvapiHack = False
      [Overwatch.exe]
      dxvk.hud = compiler
    file: $GAMEDIR/dxvk.conf
- merge:
    dst: $GAMEDIR/state-cache-merge
    src: cache-updater
- chmodx: $GAMEDIR/state-cache-merge/state-cache-update.sh
- chmodx: $GAMEDIR/timestamp.sh
- execute:
    file: $GAMEDIR/timestamp.sh
- move:
    dst: $CACHE
    src: $GAMEDIR/timestamp.sh
- task:
    name: winekill
    prefix: $GAMEDIR
- write_json:
    data:
      Client:
        GameLaunchWindowBehavior: '0'
        GameSearch:
          BackgroundSearch: 'true'
        HardwareAcceleration: 'false'
        HideOnClose: 'false'
        Sound:
          Enabled: 'false'
        Streaming:
          StreamingEnabled: 'false'
    description: 写入 Battle.Net 配置文件
    file: $GAMEDIR/drive_c/users/$USER/Application Data/Battle.net/Battle.net.config
- write_config:
    description: 为守望先锋启用无边框窗口模式
    file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini
    key: WindowMode
    section: Render.13
    value: '"1"'
- write_config:
    description: 使用WEBM格式保存守望先锋亮眼表现
    file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini
    key: Type
    section: MovieExport.1
    value: '"1"'
- write_config:
    description: 禁用守望先锋保存亮眼表现时的硬件加速
    file: $GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini
    key: UseHardware
    section: MovieExport.1
    value: '"0"'
- write_file:
    content: hasseennewcinematic=True
    description: 修复炉石传说启动问题
    file: $GAMEDIR/drive_c/users/$USER/Local Settings/Application Data/Blizzard/Hearthstone/options.txt
- task:
    arch: win32
    description: 'Wine Staging: 启用 DXVA2'
    key: backend
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DXVA2
    prefix: $GAMEDIR
    value: va
- task:
    name: winekill
    prefix: $GAMEDIR
- task:
    app: win10
    arch: win32
    description: 切换到Win10模式
    name: winetricks
    prefix: $GAMEDIR
    silent: true
- task:
    name: winekill
    prefix: $GAMEDIR
- execute:
    command: cd "$GAMEDIR/drive_c" && tar -Jvxf "$dxdlls"
    description: 解压 DX DLL
- task:
    arch: win32
    description: |-
      战网安装程序即将打开。
      ------------------------------
      请在安装程序中完成战网安装。
      注意,一定要安装到默认路径,不要安装到任何其他位置,否则程序会认为安装失败!
      不必登录客户端,安装完成后关闭安装程序即可。
    exclude_processes: Battle.net.exe Agent.exe "Battle.net Helper.exe" wineconsole
      conhost.exe explorer.exe
    executable: setup
    name: wineexec
    overrides:
      XAPOFX1_0: native,builtin
      atl100: native,builtin
      concrt140: native,builtin
      d3dcompiler_33: native,builtin
      d3dcompiler_34: native,builtin
      d3dcompiler_35: native,builtin
      d3dcompiler_36: native,builtin
      d3dcompiler_37: native,builtin
      d3dcompiler_38: native,builtin
      d3dcompiler_39: native,builtin
      d3dcompiler_40: native,builtin
      d3dcompiler_41: native,builtin
      d3dcompiler_42: native,builtin
      d3dcompiler_43: native,builtin
      d3dcompiler_46: native,builtin
      d3dcompiler_47: native,builtin
      d3dcsx_42: native,builtin
      d3dcsx_43: native,builtin
      d3dcsx_47: native,builtin
      d3dx10: native,builtin
      d3dx10_33: native,builtin
      d3dx10_34: native,builtin
      d3dx10_35: native,builtin
      d3dx10_36: native,builtin
      d3dx10_37: native,builtin
      d3dx10_38: native,builtin
      d3dx10_39: native,builtin
      d3dx10_40: native,builtin
      d3dx10_41: native,builtin
      d3dx10_43: native,builtin
      d3dx11_42: native,builtin
      d3dx11_43: native,builtin
      d3dx9_24: native,builtin
      d3dx9_25: native,builtin
      d3dx9_26: native,builtin
      d3dx9_27: native,builtin
      d3dx9_28: native,builtin
      d3dx9_29: native,builtin
      d3dx9_30: native,builtin
      d3dx9_31: native,builtin
      d3dx9_32: native,builtin
      d3dx9_33: native,builtin
      d3dx9_34: native,builtin
      d3dx9_35: native,builtin
      d3dx9_36: native,builtin
      d3dx9_37: native,builtin
      d3dx9_38: native,builtin
      d3dx9_39: native,builtin
      d3dx9_40: native,builtin
      d3dx9_41: native,builtin
      d3dx9_42: native,builtin
      d3dx9_43: native,builtin
      mfc100: native,builtin
      mfc100chs: native,builtin
      mfc100cht: native,builtin
      mfc100deu: native,builtin
      mfc100enu: native,builtin
      mfc100esn: native,builtin
      mfc100fra: native,builtin
      mfc100ita: native,builtin
      mfc100jpn: native,builtin
      mfc100kor: native,builtin
      mfc100rus: native,builtin
      mfc100u: native,builtin
      mfc140: native,builtin
      mfc140chs: native,builtin
      mfc140cht: native,builtin
      mfc140deu: native,builtin
      mfc140enu: native,builtin
      mfc140esn: native,builtin
      mfc140fra: native,builtin
      mfc140ita: native,builtin
      mfc140jpn: native,builtin
      mfc140kor: native,builtin
      mfc140rus: native,builtin
      mfc140u: native,builtin
      mfcm100: native,builtin
      mfcm100u: native,builtin
      mfcm140: native,builtin
      mfcm140u: native,builtin
      msvcp100: native,builtin
      msvcp140: native,builtin
      msvcr100: native,builtin
      riched20.dll: native,builtin
      vcamp140: native,builtin
      vccorlib140: native,builtin
      vcomp100: native,builtin
      vcomp140: native,builtin
      vcruntime140: native,builtin
      winedbg.exe: disabled
      x3daudio1_0: native,builtin
      x3daudio1_1: native,builtin
      x3daudio1_2: native,builtin
      x3daudio1_3: native,builtin
      x3daudio1_4: native,builtin
      x3daudio1_5: native,builtin
      x3daudio1_6: native,builtin
      x3daudio1_7: native,builtin
      xactengine2_0: native,builtin
      xactengine2_1: native,builtin
      xactengine2_10: native,builtin
      xactengine2_2: native,builtin
      xactengine2_3: native,builtin
      xactengine2_4: native,builtin
      xactengine2_5: native,builtin
      xactengine2_6: native,builtin
      xactengine2_7: native,builtin
      xactengine2_8: native,builtin
      xactengine2_9: native,builtin
      xactengine3_0: native,builtin
      xactengine3_1: native,builtin
      xactengine3_2: native,builtin
      xactengine3_3: native,builtin
      xactengine3_4: native,builtin
      xactengine3_5: native,builtin
      xactengine3_6: native,builtin
      xactengine3_7: native,builtin
      xapofx1_1: native,builtin
      xapofx1_2: native,builtin
      xapofx1_3: native,builtin
      xapofx1_4: native,builtin
      xapofx1_5: native,builtin
      xaudio2_0: native,builtin
      xaudio2_1: native,builtin
      xaudio2_2: native,builtin
      xaudio2_3: native,builtin
      xaudio2_4: native,builtin
      xaudio2_5: native,builtin
      xaudio2_6: native,builtin
      xaudio2_7: native,builtin
      xinput1_1: native,builtin
      xinput1_2: native,builtin
      xinput1_3: native,builtin
- task:
    name: winekill
    prefix: $GAMEDIR
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: false
  esync: false
  fsync: false
  overrides:
    XAPOFX1_0: native,builtin
    atl100: native,builtin
    concrt140: native,builtin
    d3dcompiler_33: native,builtin
    d3dcompiler_34: native,builtin
    d3dcompiler_35: native,builtin
    d3dcompiler_36: native,builtin
    d3dcompiler_37: native,builtin
    d3dcompiler_38: native,builtin
    d3dcompiler_39: native,builtin
    d3dcompiler_40: native,builtin
    d3dcompiler_41: native,builtin
    d3dcompiler_42: native,builtin
    d3dcompiler_43: native,builtin
    d3dcompiler_46: native,builtin
    d3dcompiler_47: native,builtin
    d3dcsx_42: native,builtin
    d3dcsx_43: native,builtin
    d3dcsx_47: native,builtin
    d3dx10: native,builtin
    d3dx10_33: native,builtin
    d3dx10_34: native,builtin
    d3dx10_35: native,builtin
    d3dx10_36: native,builtin
    d3dx10_37: native,builtin
    d3dx10_38: native,builtin
    d3dx10_39: native,builtin
    d3dx10_40: native,builtin
    d3dx10_41: native,builtin
    d3dx10_43: native,builtin
    d3dx11_42: native,builtin
    d3dx11_43: native,builtin
    d3dx9_24: native,builtin
    d3dx9_25: native,builtin
    d3dx9_26: native,builtin
    d3dx9_27: native,builtin
    d3dx9_28: native,builtin
    d3dx9_29: native,builtin
    d3dx9_30: native,builtin
    d3dx9_31: native,builtin
    d3dx9_32: native,builtin
    d3dx9_33: native,builtin
    d3dx9_34: native,builtin
    d3dx9_35: native,builtin
    d3dx9_36: native,builtin
    d3dx9_37: native,builtin
    d3dx9_38: native,builtin
    d3dx9_39: native,builtin
    d3dx9_40: native,builtin
    d3dx9_41: native,builtin
    d3dx9_42: native,builtin
    d3dx9_43: native,builtin
    mfc100: native,builtin
    mfc100chs: native,builtin
    mfc100cht: native,builtin
    mfc100deu: native,builtin
    mfc100enu: native,builtin
    mfc100esn: native,builtin
    mfc100fra: native,builtin
    mfc100ita: native,builtin
    mfc100jpn: native,builtin
    mfc100kor: native,builtin
    mfc100rus: native,builtin
    mfc100u: native,builtin
    mfc140: native,builtin
    mfc140chs: native,builtin
    mfc140cht: native,builtin
    mfc140deu: native,builtin
    mfc140enu: native,builtin
    mfc140esn: native,builtin
    mfc140fra: native,builtin
    mfc140ita: native,builtin
    mfc140jpn: native,builtin
    mfc140kor: native,builtin
    mfc140rus: native,builtin
    mfc140u: native,builtin
    mfcm100: native,builtin
    mfcm100u: native,builtin
    mfcm140: native,builtin
    mfcm140u: native,builtin
    msvcp100: native,builtin
    msvcp140: native,builtin
    msvcr100: native,builtin
    riched20.dll: native,builtin
    vcamp140: native,builtin
    vccorlib140: native,builtin
    vcomp100: native,builtin
    vcomp140: native,builtin
    vcruntime140: native,builtin
    winedbg.exe: disabled
    x3daudio1_0: native,builtin
    x3daudio1_1: native,builtin
    x3daudio1_2: native,builtin
    x3daudio1_3: native,builtin
    x3daudio1_4: native,builtin
    x3daudio1_5: native,builtin
    x3daudio1_6: native,builtin
    x3daudio1_7: native,builtin
    xactengine2_0: native,builtin
    xactengine2_1: native,builtin
    xactengine2_10: native,builtin
    xactengine2_2: native,builtin
    xactengine2_3: native,builtin
    xactengine2_4: native,builtin
    xactengine2_5: native,builtin
    xactengine2_6: native,builtin
    xactengine2_7: native,builtin
    xactengine2_8: native,builtin
    xactengine2_9: native,builtin
    xactengine3_0: native,builtin
    xactengine3_1: native,builtin
    xactengine3_2: native,builtin
    xactengine3_3: native,builtin
    xactengine3_4: native,builtin
    xactengine3_5: native,builtin
    xactengine3_6: native,builtin
    xactengine3_7: native,builtin
    xapofx1_1: native,builtin
    xapofx1_2: native,builtin
    xapofx1_3: native,builtin
    xapofx1_4: native,builtin
    xapofx1_5: native,builtin
    xaudio2_0: native,builtin
    xaudio2_1: native,builtin
    xaudio2_2: native,builtin
    xaudio2_3: native,builtin
    xaudio2_4: native,builtin
    xaudio2_5: native,builtin
    xaudio2_6: native,builtin
    xaudio2_7: native,builtin
    xinput1_1: native,builtin
    xinput1_2: native,builtin
    xinput1_3: native,builtin
  version: winehq-staging-7.7-x86_64
  vkd3d: false
{
  "custom-name": "\u66b4\u96ea\u6218\u7f51\u56fd\u670d",
  "files": [
    {
      "cache-updater": "https://file.winegame.net/games/overwatch/state-cache-update.sh"
    },
    {
      "setup": {
        "filename": "Battle.net-Setup-CN.exe",
        "url": "https://www.battlenet.com.cn/download/getInstaller?os=win&installer=Battle.net-Setup-CN.exe"
      }
    },
    {
      "wineinit": "https://file.winegame.net/games/common/wineinit.sh"
    },
    {
      "cmdfonts": "https://file.winegame.net/cache/wine/fonts/MicrosoftYaHeiMono-20210208.tar.gz"
    },
    {
      "dxdlls": "https://file.winegame.net/games/uplay/dxdlls-x86.tar.xz"
    }
  ],
  "game": {
    "arch": "win32",
    "exe": "drive_c/Program Files/Battle.net/Battle.net.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "execute": {
        "command": "bash \"$wineinit\" win32 6.14",
        "description": "\u4e0b\u8f7d\u5b57\u4f53\u548c\u8fd0\u884c\u5e93"
      }
    },
    {
      "task": {
        "arch": "win32",
        "description": "\u521b\u5efa32\u4f4dWine\u524d\u7f00",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "extract": {
        "description": "\u89e3\u538bCMD\u5b57\u4f53",
        "dst": "$GAMEDIR/drive_c/windows/Fonts",
        "file": "cmdfonts"
      }
    },
    {
      "task": {
        "description": "\u5b89\u88c5CMD\u5b57\u4f53",
        "filename": "$GAMEDIR/drive_c/windows/Fonts/MicrosoftYaHeiMono.reg",
        "name": "set_regedit_file"
      }
    },
    {
      "execute": {
        "command": "rm -f \"$GAMEDIR/dosdevices/m::\"; ln -sf \"$HOME\" \"$GAMEDIR/dosdevices/m:\"",
        "description": "\u6dfb\u52a0\u4e3b\u76ee\u5f55($HOME)\u4e3aM\u76d8"
      }
    },
    {
      "write_file": {
        "content": "#!/bin/bash\ndate=\"$(wget --server-response --spider https://file.winegame.net/games/overwatch/Overwatch.tar.xz 2>&1 | sed -n \"s/  Last-Modified: //p\")\"\ndate=\"$(date -d \"$date\" +%s)\"\necho \"$date\" > ./state-cache-merge/.state-cache-timestamp",
        "file": "$GAMEDIR/timestamp.sh"
      }
    },
    {
      "write_file": {
        "content": "dxgi.nvapiHack = False\n[Overwatch.exe]\ndxvk.hud = compiler",
        "file": "$GAMEDIR/dxvk.conf"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/state-cache-merge",
        "src": "cache-updater"
      }
    },
    {
      "chmodx": "$GAMEDIR/state-cache-merge/state-cache-update.sh"
    },
    {
      "chmodx": "$GAMEDIR/timestamp.sh"
    },
    {
      "execute": {
        "file": "$GAMEDIR/timestamp.sh"
      }
    },
    {
      "move": {
        "dst": "$CACHE",
        "src": "$GAMEDIR/timestamp.sh"
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "write_json": {
        "data": {
          "Client": {
            "GameLaunchWindowBehavior": "0",
            "GameSearch": {
              "BackgroundSearch": "true"
            },
            "HardwareAcceleration": "false",
            "HideOnClose": "false",
            "Sound": {
              "Enabled": "false"
            },
            "Streaming": {
              "StreamingEnabled": "false"
            }
          }
        },
        "description": "\u5199\u5165 Battle.Net \u914d\u7f6e\u6587\u4ef6",
        "file": "$GAMEDIR/drive_c/users/$USER/Application Data/Battle.net/Battle.net.config"
      }
    },
    {
      "write_config": {
        "description": "\u4e3a\u5b88\u671b\u5148\u950b\u542f\u7528\u65e0\u8fb9\u6846\u7a97\u53e3\u6a21\u5f0f",
        "file": "$GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini",
        "key": "WindowMode",
        "section": "Render.13",
        "value": "\"1\""
      }
    },
    {
      "write_config": {
        "description": "\u4f7f\u7528WEBM\u683c\u5f0f\u4fdd\u5b58\u5b88\u671b\u5148\u950b\u4eae\u773c\u8868\u73b0",
        "file": "$GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini",
        "key": "Type",
        "section": "MovieExport.1",
        "value": "\"1\""
      }
    },
    {
      "write_config": {
        "description": "\u7981\u7528\u5b88\u671b\u5148\u950b\u4fdd\u5b58\u4eae\u773c\u8868\u73b0\u65f6\u7684\u786c\u4ef6\u52a0\u901f",
        "file": "$GAMEDIR/drive_c/users/$USER/My Documents/Overwatch/Settings/Settings_v0.ini",
        "key": "UseHardware",
        "section": "MovieExport.1",
        "value": "\"0\""
      }
    },
    {
      "write_file": {
        "content": "hasseennewcinematic=True",
        "description": "\u4fee\u590d\u7089\u77f3\u4f20\u8bf4\u542f\u52a8\u95ee\u9898",
        "file": "$GAMEDIR/drive_c/users/$USER/Local Settings/Application Data/Blizzard/Hearthstone/options.txt"
      }
    },
    {
      "task": {
        "arch": "win32",
        "description": "Wine Staging: \u542f\u7528 DXVA2",
        "key": "backend",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\DXVA2",
        "prefix": "$GAMEDIR",
        "value": "va"
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "win10",
        "arch": "win32",
        "description": "\u5207\u6362\u5230Win10\u6a21\u5f0f",
        "name": "winetricks",
        "prefix": "$GAMEDIR",
        "silent": true
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "execute": {
        "command": "cd \"$GAMEDIR/drive_c\" && tar -Jvxf \"$dxdlls\"",
        "description": "\u89e3\u538b DX DLL"
      }
    },
    {
      "task": {
        "arch": "win32",
        "description": "\u6218\u7f51\u5b89\u88c5\u7a0b\u5e8f\u5373\u5c06\u6253\u5f00\u3002\n------------------------------\n\u8bf7\u5728\u5b89\u88c5\u7a0b\u5e8f\u4e2d\u5b8c\u6210\u6218\u7f51\u5b89\u88c5\u3002\n\u6ce8\u610f\uff0c\u4e00\u5b9a\u8981\u5b89\u88c5\u5230\u9ed8\u8ba4\u8def\u5f84\uff0c\u4e0d\u8981\u5b89\u88c5\u5230\u4efb\u4f55\u5176\u4ed6\u4f4d\u7f6e\uff0c\u5426\u5219\u7a0b\u5e8f\u4f1a\u8ba4\u4e3a\u5b89\u88c5\u5931\u8d25\uff01\n\u4e0d\u5fc5\u767b\u5f55\u5ba2\u6237\u7aef\uff0c\u5b89\u88c5\u5b8c\u6210\u540e\u5173\u95ed\u5b89\u88c5\u7a0b\u5e8f\u5373\u53ef\u3002",
        "exclude_processes": "Battle.net.exe Agent.exe \"Battle.net Helper.exe\" wineconsole conhost.exe explorer.exe",
        "executable": "setup",
        "name": "wineexec",
        "overrides": {
          "XAPOFX1_0": "native,builtin",
          "atl100": "native,builtin",
          "concrt140": "native,builtin",
          "d3dcompiler_33": "native,builtin",
          "d3dcompiler_34": "native,builtin",
          "d3dcompiler_35": "native,builtin",
          "d3dcompiler_36": "native,builtin",
          "d3dcompiler_37": "native,builtin",
          "d3dcompiler_38": "native,builtin",
          "d3dcompiler_39": "native,builtin",
          "d3dcompiler_40": "native,builtin",
          "d3dcompiler_41": "native,builtin",
          "d3dcompiler_42": "native,builtin",
          "d3dcompiler_43": "native,builtin",
          "d3dcompiler_46": "native,builtin",
          "d3dcompiler_47": "native,builtin",
          "d3dcsx_42": "native,builtin",
          "d3dcsx_43": "native,builtin",
          "d3dcsx_47": "native,builtin",
          "d3dx10": "native,builtin",
          "d3dx10_33": "native,builtin",
          "d3dx10_34": "native,builtin",
          "d3dx10_35": "native,builtin",
          "d3dx10_36": "native,builtin",
          "d3dx10_37": "native,builtin",
          "d3dx10_38": "native,builtin",
          "d3dx10_39": "native,builtin",
          "d3dx10_40": "native,builtin",
          "d3dx10_41": "native,builtin",
          "d3dx10_43": "native,builtin",
          "d3dx11_42": "native,builtin",
          "d3dx11_43": "native,builtin",
          "d3dx9_24": "native,builtin",
          "d3dx9_25": "native,builtin",
          "d3dx9_26": "native,builtin",
          "d3dx9_27": "native,builtin",
          "d3dx9_28": "native,builtin",
          "d3dx9_29": "native,builtin",
          "d3dx9_30": "native,builtin",
          "d3dx9_31": "native,builtin",
          "d3dx9_32": "native,builtin",
          "d3dx9_33": "native,builtin",
          "d3dx9_34": "native,builtin",
          "d3dx9_35": "native,builtin",
          "d3dx9_36": "native,builtin",
          "d3dx9_37": "native,builtin",
          "d3dx9_38": "native,builtin",
          "d3dx9_39": "native,builtin",
          "d3dx9_40": "native,builtin",
          "d3dx9_41": "native,builtin",
          "d3dx9_42": "native,builtin",
          "d3dx9_43": "native,builtin",
          "mfc100": "native,builtin",
          "mfc100chs": "native,builtin",
          "mfc100cht": "native,builtin",
          "mfc100deu": "native,builtin",
          "mfc100enu": "native,builtin",
          "mfc100esn": "native,builtin",
          "mfc100fra": "native,builtin",
          "mfc100ita": "native,builtin",
          "mfc100jpn": "native,builtin",
          "mfc100kor": "native,builtin",
          "mfc100rus": "native,builtin",
          "mfc100u": "native,builtin",
          "mfc140": "native,builtin",
          "mfc140chs": "native,builtin",
          "mfc140cht": "native,builtin",
          "mfc140deu": "native,builtin",
          "mfc140enu": "native,builtin",
          "mfc140esn": "native,builtin",
          "mfc140fra": "native,builtin",
          "mfc140ita": "native,builtin",
          "mfc140jpn": "native,builtin",
          "mfc140kor": "native,builtin",
          "mfc140rus": "native,builtin",
          "mfc140u": "native,builtin",
          "mfcm100": "native,builtin",
          "mfcm100u": "native,builtin",
          "mfcm140": "native,builtin",
          "mfcm140u": "native,builtin",
          "msvcp100": "native,builtin",
          "msvcp140": "native,builtin",
          "msvcr100": "native,builtin",
          "riched20.dll": "native,builtin",
          "vcamp140": "native,builtin",
          "vccorlib140": "native,builtin",
          "vcomp100": "native,builtin",
          "vcomp140": "native,builtin",
          "vcruntime140": "native,builtin",
          "winedbg.exe": "disabled",
          "x3daudio1_0": "native,builtin",
          "x3daudio1_1": "native,builtin",
          "x3daudio1_2": "native,builtin",
          "x3daudio1_3": "native,builtin",
          "x3daudio1_4": "native,builtin",
          "x3daudio1_5": "native,builtin",
          "x3daudio1_6": "native,builtin",
          "x3daudio1_7": "native,builtin",
          "xactengine2_0": "native,builtin",
          "xactengine2_1": "native,builtin",
          "xactengine2_10": "native,builtin",
          "xactengine2_2": "native,builtin",
          "xactengine2_3": "native,builtin",
          "xactengine2_4": "native,builtin",
          "xactengine2_5": "native,builtin",
          "xactengine2_6": "native,builtin",
          "xactengine2_7": "native,builtin",
          "xactengine2_8": "native,builtin",
          "xactengine2_9": "native,builtin",
          "xactengine3_0": "native,builtin",
          "xactengine3_1": "native,builtin",
          "xactengine3_2": "native,builtin",
          "xactengine3_3": "native,builtin",
          "xactengine3_4": "native,builtin",
          "xactengine3_5": "native,builtin",
          "xactengine3_6": "native,builtin",
          "xactengine3_7": "native,builtin",
          "xapofx1_1": "native,builtin",
          "xapofx1_2": "native,builtin",
          "xapofx1_3": "native,builtin",
          "xapofx1_4": "native,builtin",
          "xapofx1_5": "native,builtin",
          "xaudio2_0": "native,builtin",
          "xaudio2_1": "native,builtin",
          "xaudio2_2": "native,builtin",
          "xaudio2_3": "native,builtin",
          "xaudio2_4": "native,builtin",
          "xaudio2_5": "native,builtin",
          "xaudio2_6": "native,builtin",
          "xaudio2_7": "native,builtin",
          "xinput1_1": "native,builtin",
          "xinput1_2": "native,builtin",
          "xinput1_3": "native,builtin"
        }
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    }
  ],
  "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": false,
    "esync": false,
    "fsync": false,
    "overrides": {
      "XAPOFX1_0": "native,builtin",
      "atl100": "native,builtin",
      "concrt140": "native,builtin",
      "d3dcompiler_33": "native,builtin",
      "d3dcompiler_34": "native,builtin",
      "d3dcompiler_35": "native,builtin",
      "d3dcompiler_36": "native,builtin",
      "d3dcompiler_37": "native,builtin",
      "d3dcompiler_38": "native,builtin",
      "d3dcompiler_39": "native,builtin",
      "d3dcompiler_40": "native,builtin",
      "d3dcompiler_41": "native,builtin",
      "d3dcompiler_42": "native,builtin",
      "d3dcompiler_43": "native,builtin",
      "d3dcompiler_46": "native,builtin",
      "d3dcompiler_47": "native,builtin",
      "d3dcsx_42": "native,builtin",
      "d3dcsx_43": "native,builtin",
      "d3dcsx_47": "native,builtin",
      "d3dx10": "native,builtin",
      "d3dx10_33": "native,builtin",
      "d3dx10_34": "native,builtin",
      "d3dx10_35": "native,builtin",
      "d3dx10_36": "native,builtin",
      "d3dx10_37": "native,builtin",
      "d3dx10_38": "native,builtin",
      "d3dx10_39": "native,builtin",
      "d3dx10_40": "native,builtin",
      "d3dx10_41": "native,builtin",
      "d3dx10_43": "native,builtin",
      "d3dx11_42": "native,builtin",
      "d3dx11_43": "native,builtin",
      "d3dx9_24": "native,builtin",
      "d3dx9_25": "native,builtin",
      "d3dx9_26": "native,builtin",
      "d3dx9_27": "native,builtin",
      "d3dx9_28": "native,builtin",
      "d3dx9_29": "native,builtin",
      "d3dx9_30": "native,builtin",
      "d3dx9_31": "native,builtin",
      "d3dx9_32": "native,builtin",
      "d3dx9_33": "native,builtin",
      "d3dx9_34": "native,builtin",
      "d3dx9_35": "native,builtin",
      "d3dx9_36": "native,builtin",
      "d3dx9_37": "native,builtin",
      "d3dx9_38": "native,builtin",
      "d3dx9_39": "native,builtin",
      "d3dx9_40": "native,builtin",
      "d3dx9_41": "native,builtin",
      "d3dx9_42": "native,builtin",
      "d3dx9_43": "native,builtin",
      "mfc100": "native,builtin",
      "mfc100chs": "native,builtin",
      "mfc100cht": "native,builtin",
      "mfc100deu": "native,builtin",
      "mfc100enu": "native,builtin",
      "mfc100esn": "native,builtin",
      "mfc100fra": "native,builtin",
      "mfc100ita": "native,builtin",
      "mfc100jpn": "native,builtin",
      "mfc100kor": "native,builtin",
      "mfc100rus": "native,builtin",
      "mfc100u": "native,builtin",
      "mfc140": "native,builtin",
      "mfc140chs": "native,builtin",
      "mfc140cht": "native,builtin",
      "mfc140deu": "native,builtin",
      "mfc140enu": "native,builtin",
      "mfc140esn": "native,builtin",
      "mfc140fra": "native,builtin",
      "mfc140ita": "native,builtin",
      "mfc140jpn": "native,builtin",
      "mfc140kor": "native,builtin",
      "mfc140rus": "native,builtin",
      "mfc140u": "native,builtin",
      "mfcm100": "native,builtin",
      "mfcm100u": "native,builtin",
      "mfcm140": "native,builtin",
      "mfcm140u": "native,builtin",
      "msvcp100": "native,builtin",
      "msvcp140": "native,builtin",
      "msvcr100": "native,builtin",
      "riched20.dll": "native,builtin",
      "vcamp140": "native,builtin",
      "vccorlib140": "native,builtin",
      "vcomp100": "native,builtin",
      "vcomp140": "native,builtin",
      "vcruntime140": "native,builtin",
      "winedbg.exe": "disabled",
      "x3daudio1_0": "native,builtin",
      "x3daudio1_1": "native,builtin",
      "x3daudio1_2": "native,builtin",
      "x3daudio1_3": "native,builtin",
      "x3daudio1_4": "native,builtin",
      "x3daudio1_5": "native,builtin",
      "x3daudio1_6": "native,builtin",
      "x3daudio1_7": "native,builtin",
      "xactengine2_0": "native,builtin",
      "xactengine2_1": "native,builtin",
      "xactengine2_10": "native,builtin",
      "xactengine2_2": "native,builtin",
      "xactengine2_3": "native,builtin",
      "xactengine2_4": "native,builtin",
      "xactengine2_5": "native,builtin",
      "xactengine2_6": "native,builtin",
      "xactengine2_7": "native,builtin",
      "xactengine2_8": "native,builtin",
      "xactengine2_9": "native,builtin",
      "xactengine3_0": "native,builtin",
      "xactengine3_1": "native,builtin",
      "xactengine3_2": "native,builtin",
      "xactengine3_3": "native,builtin",
      "xactengine3_4": "native,builtin",
      "xactengine3_5": "native,builtin",
      "xactengine3_6": "native,builtin",
      "xactengine3_7": "native,builtin",
      "xapofx1_1": "native,builtin",
      "xapofx1_2": "native,builtin",
      "xapofx1_3": "native,builtin",
      "xapofx1_4": "native,builtin",
      "xapofx1_5": "native,builtin",
      "xaudio2_0": "native,builtin",
      "xaudio2_1": "native,builtin",
      "xaudio2_2": "native,builtin",
      "xaudio2_3": "native,builtin",
      "xaudio2_4": "native,builtin",
      "xaudio2_5": "native,builtin",
      "xaudio2_6": "native,builtin",
      "xaudio2_7": "native,builtin",
      "xinput1_1": "native,builtin",
      "xinput1_2": "native,builtin",
      "xinput1_3": "native,builtin"
    },
    "version": "winehq-staging-7.7-x86_64",
    "vkd3d": false
  }
}
返回游戏