Installer dx11-unigine-heaven-benchmark-5-arm6432exagear

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

files:
- setup: https://file.winegame.net/games/unigine-heaven/Unigine_Heaven-4.0.exe
- wineinit: https://file.winegame.net/games/common/wineinit.sh
game:
  arch: win32
  exe: drive_c/Program Files/Unigine/Heaven Benchmark 4.0/heaven.bat
  prefix: $GAMEDIR
installer:
- execute:
    command: bash "$wineinit" win32 6.22
    description: 下载字体和运行库
- task:
    arch: win32
    description: 创建32位Wine前缀
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    description: 解压CMD字体
    dst: $GAMEDIR/drive_c/windows/Fonts
    file: $HOME/.cache/wine/fonts/MicrosoftYaHeiMono.tar.gz
- 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盘
- 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:
    arch: win32
    description: |-
      安装程序即将打开,请在安装程序中完成安装。
      注意,一定要安装到默认路径,不要安装到任何其他位置,否则程序会认为安装失败!
      ------------------------------
      首先选择“I accept the agreement”(我同意这些条款),然后一直点击“Next”(下一步)即可,遇到输入“User Name”(用户名)的地方,随便输点内容然后点下一步(Next)即可。
      ------------------------------
      测试程序启动后,点击“Agree”(同意),然后在“Language”(语言)下拉框里可切换为中文。
    executable: setup
    name: wineexec
- task:
    name: winekill
    prefix: $GAMEDIR
system:
  env:
    TZ: Asia/Shanghai
wine:
  dxvk: false
  esync: false
  overrides: null
  version: winehq-staging-7.0-rc2-exagear32-i386
  vkd3d: false
{
  "files": [
    {
      "setup": "https://file.winegame.net/games/unigine-heaven/Unigine_Heaven-4.0.exe"
    },
    {
      "wineinit": "https://file.winegame.net/games/common/wineinit.sh"
    }
  ],
  "game": {
    "arch": "win32",
    "exe": "drive_c/Program Files/Unigine/Heaven Benchmark 4.0/heaven.bat",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "execute": {
        "command": "bash \"$wineinit\" win32 6.22",
        "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": "$HOME/.cache/wine/fonts/MicrosoftYaHeiMono.tar.gz"
      }
    },
    {
      "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"
      }
    },
    {
      "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": {
        "arch": "win32",
        "description": "\u5b89\u88c5\u7a0b\u5e8f\u5373\u5c06\u6253\u5f00\uff0c\u8bf7\u5728\u5b89\u88c5\u7a0b\u5e8f\u4e2d\u5b8c\u6210\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------------------------------\n\u9996\u5148\u9009\u62e9\u201cI accept the agreement\u201d\uff08\u6211\u540c\u610f\u8fd9\u4e9b\u6761\u6b3e\uff09\uff0c\u7136\u540e\u4e00\u76f4\u70b9\u51fb\u201cNext\u201d\uff08\u4e0b\u4e00\u6b65\uff09\u5373\u53ef\uff0c\u9047\u5230\u8f93\u5165\u201cUser Name\u201d\uff08\u7528\u6237\u540d\uff09\u7684\u5730\u65b9\uff0c\u968f\u4fbf\u8f93\u70b9\u5185\u5bb9\u7136\u540e\u70b9\u4e0b\u4e00\u6b65\uff08Next\uff09\u5373\u53ef\u3002\n------------------------------\n\u6d4b\u8bd5\u7a0b\u5e8f\u542f\u52a8\u540e\uff0c\u70b9\u51fb\u201cAgree\u201d\uff08\u540c\u610f\uff09\uff0c\u7136\u540e\u5728\u201cLanguage\u201d\uff08\u8bed\u8a00\uff09\u4e0b\u62c9\u6846\u91cc\u53ef\u5207\u6362\u4e3a\u4e2d\u6587\u3002",
        "executable": "setup",
        "name": "wineexec"
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    }
  ],
  "system": {
    "env": {
      "TZ": "Asia/Shanghai"
    }
  },
  "wine": {
    "dxvk": false,
    "esync": false,
    "overrides": null,
    "version": "winehq-staging-7.0-rc2-exagear32-i386",
    "vkd3d": false
  }
}
返回游戏