Installer qi-dong-zi-ding-yi-you-xi-33-deepinwine-50

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

files:
- launcher: N/A:选择游戏启动程序(xxx.exe)
- wineinit: https://file.winegame.net/games/common/wineinit.sh
game:
  exe: $launcher
  prefix: $GAMEDIR
installer:
- execute:
    command: bash "$wineinit" win32 5.7
    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
- execute:
    command: rm -f "$GAMEDIR/dosdevices/m::"; ln -sf "$HOME" "$GAMEDIR/dosdevices/m:"
    description: 添加主目录($HOME)为M盘
- task:
    app: fontsmooth-rgb
    arch: win32
    description: 启用字体平滑
    env:
      WINEDLLOVERRIDES: winedbg.exe=
    name: winetricks
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
system:
  reset_desktop: true
wine:
  dxvk: false
  esync: false
  overrides:
    winedbg.exe: disabled
  version: deepin-wine-5.0.34-1-x86_64
  vkd3d: false
{
  "files": [
    {
      "launcher": "N/A:\u9009\u62e9\u6e38\u620f\u542f\u52a8\u7a0b\u5e8f\uff08xxx.exe\uff09"
    },
    {
      "wineinit": "https://file.winegame.net/games/common/wineinit.sh"
    }
  ],
  "game": {
    "exe": "$launcher",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "execute": {
        "command": "bash \"$wineinit\" win32 5.7",
        "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"
      }
    },
    {
      "execute": {
        "command": "rm -f \"$GAMEDIR/dosdevices/m::\"; ln -sf \"$HOME\" \"$GAMEDIR/dosdevices/m:\"",
        "description": "\u6dfb\u52a0\u4e3b\u76ee\u5f55($HOME)\u4e3aM\u76d8"
      }
    },
    {
      "task": {
        "app": "fontsmooth-rgb",
        "arch": "win32",
        "description": "\u542f\u7528\u5b57\u4f53\u5e73\u6ed1",
        "env": {
          "WINEDLLOVERRIDES": "winedbg.exe="
        },
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    }
  ],
  "system": {
    "reset_desktop": true
  },
  "wine": {
    "dxvk": false,
    "esync": false,
    "overrides": {
      "winedbg.exe": "disabled"
    },
    "version": "deepin-wine-5.0.34-1-x86_64",
    "vkd3d": false
  }
}
返回游戏