Installer pin-ming-zao-jia-ruan-jian-5-x86_64protonge-8-1

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

custom-name: 品茗造价软件(x86 ProtonGE)
files:
- setup: N/A:选择安装程序(PMSS_ZheJiang_V7.0.3_4457(浙江).exe)
- wineinit: https://file.winegame.net/games/common/wineinit.sh
- cmdfonts: https://file.winegame.net/cache/wine/fonts/MicrosoftYaHeiMono-20210208.tar.gz
game:
  exe: $GAMEDIR/drive_c/PinMing/PMSS/品茗胜算造价计控软件浙江专版V7.0/PMSS.exe
  prefix: $GAMEDIR
installer:
- execute:
    command: bash "$wineinit" win32 7.20
    description: 下载字体和运行库
- task:
    arch: win32
    description: 创建32位Wine前缀
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    description: 解压字体
    dst: $GAMEDIR/drive_c/windows/Fonts
    file: cmdfonts
- task:
    description: 安装字体
    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:
    app: fontsmooth-rgb
    arch: win32
    description: 开启字体平滑
    name: winetricks
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
- task:
    arch: win32
    description: |-
      安装程序即将打开,请在安装程序中完成安装。
      注意,一定要安装到默认路径,不要安装到任何其他位置,否则程序会认为安装失败!
    executable: setup
    name: wineexec
- task:
    app: msxml3
    arch: win32
    description: 安装msxml3
    name: winetricks
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
- task:
    app: msxml6
    arch: win32
    description: 安装msxml6
    name: winetricks
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
- task:
    app: riched20
    arch: win32
    description: 安装riched20
    name: winetricks
    prefix: $GAMEDIR
wine:
  d3d_extras: true
  dxvk: true
  dxvk_nvapi: true
  esync: true
  fsync: true
  version: lutris-GE-Proton8-10-x86_64
  vkd3d: true
{
  "custom-name": "\u54c1\u8317\u9020\u4ef7\u8f6f\u4ef6\uff08x86 ProtonGE\uff09",
  "files": [
    {
      "setup": "N/A:\u9009\u62e9\u5b89\u88c5\u7a0b\u5e8f\uff08PMSS_ZheJiang_V7.0.3_4457(\u6d59\u6c5f).exe\uff09"
    },
    {
      "wineinit": "https://file.winegame.net/games/common/wineinit.sh"
    },
    {
      "cmdfonts": "https://file.winegame.net/cache/wine/fonts/MicrosoftYaHeiMono-20210208.tar.gz"
    }
  ],
  "game": {
    "exe": "$GAMEDIR/drive_c/PinMing/PMSS/\u54c1\u8317\u80dc\u7b97\u9020\u4ef7\u8ba1\u63a7\u8f6f\u4ef6\u6d59\u6c5f\u4e13\u7248V7.0/PMSS.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "execute": {
        "command": "bash \"$wineinit\" win32 7.20",
        "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\u538b\u5b57\u4f53",
        "dst": "$GAMEDIR/drive_c/windows/Fonts",
        "file": "cmdfonts"
      }
    },
    {
      "task": {
        "description": "\u5b89\u88c5\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": {
        "app": "fontsmooth-rgb",
        "arch": "win32",
        "description": "\u5f00\u542f\u5b57\u4f53\u5e73\u6ed1",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "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",
        "executable": "setup",
        "name": "wineexec"
      }
    },
    {
      "task": {
        "app": "msxml3",
        "arch": "win32",
        "description": "\u5b89\u88c5msxml3",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "msxml6",
        "arch": "win32",
        "description": "\u5b89\u88c5msxml6",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "riched20",
        "arch": "win32",
        "description": "\u5b89\u88c5riched20",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    }
  ],
  "wine": {
    "d3d_extras": true,
    "dxvk": true,
    "dxvk_nvapi": true,
    "esync": true,
    "fsync": true,
    "version": "lutris-GE-Proton8-10-x86_64",
    "vkd3d": true
  }
}
返回游戏