Installer pin-ming-zao-jia-ruan-jian-6-box64-wine-x32x64

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

custom-name: 品茗造价软件(x32x64)
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" win64
    description: 下载字体和运行库
- task:
    arch: win64
    description: 创建x32x64 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: win64
    description: 开启字体平滑
    name: winetricks
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
- execute:
    command: cp "$HOME/.local/share/net.winegame.client/runners/wine/winehq-devel-7.5-x86-arm64-i386/lib/wine/i386-windows/hh.exe"
      "$GAMEDIR/drive_c/windows/hh.exe"
    description: 更新chm帮助文件查看器
- task:
    arch: win64
    description: |-
      安装程序即将打开,请在安装程序中完成安装。
      注意,一定要安装到默认路径,不要安装到任何其他位置,否则程序会认为安装失败!
    executable: setup
    name: wineexec
- execute:
    command: cd "$GAMEDIR/drive_c/windows/syswow64"; rm msxml.dll msxml2.dll msxml3.dll
      msxml3r.dll; wget https://file.winegame.net/games/dlls/x86/msxml.dll https://file.winegame.net/games/dlls/x86/msxml2.dll
      https://file.winegame.net/games/dlls/x86/msxml3.dll https://file.winegame.net/games/dlls/x86/msxml3r.dll
    description: 安装msxml3
- execute:
    command: cd "$GAMEDIR/drive_c/windows/syswow64"; rm msxml6.dll msxml6r.dll; wget
      https://file.winegame.net/games/dlls/x86/msxml6.dll https://file.winegame.net/games/dlls/x86/msxml6r.dll
    description: 安装msxml6
- execute:
    command: cd "$GAMEDIR/drive_c/windows/syswow64"; rm riched20.dll msls31.dll; wget
      https://file.winegame.net/games/dlls/x86/riched20.dll https://file.winegame.net/games/dlls/x86/msls31.dll
    description: 安装riched20
wine:
  d3d_extras: true
  dxvk: false
  dxvk_nvapi: false
  esync: false
  fsync: false
  overrides:
    msls31: native,builtin
    msxml: native,builtin
    msxml2: native,builtin
    msxml3: native,builtin
    msxml3r: native,builtin
    msxml4: native,builtin
    msxml6: native,builtin
    msxml6r: native,builtin
    riched20: native,builtin
  version: wine-devel-8.12-x32x64-x86_64
  vkd3d: false
{
  "custom-name": "\u54c1\u8317\u9020\u4ef7\u8f6f\u4ef6\uff08x32x64\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\" win64",
        "description": "\u4e0b\u8f7d\u5b57\u4f53\u548c\u8fd0\u884c\u5e93"
      }
    },
    {
      "task": {
        "arch": "win64",
        "description": "\u521b\u5efax32x64 Wine\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": "win64",
        "description": "\u5f00\u542f\u5b57\u4f53\u5e73\u6ed1",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "execute": {
        "command": "cp \"$HOME/.local/share/net.winegame.client/runners/wine/winehq-devel-7.5-x86-arm64-i386/lib/wine/i386-windows/hh.exe\" \"$GAMEDIR/drive_c/windows/hh.exe\"",
        "description": "\u66f4\u65b0chm\u5e2e\u52a9\u6587\u4ef6\u67e5\u770b\u5668"
      }
    },
    {
      "task": {
        "arch": "win64",
        "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"
      }
    },
    {
      "execute": {
        "command": "cd \"$GAMEDIR/drive_c/windows/syswow64\"; rm msxml.dll msxml2.dll msxml3.dll msxml3r.dll; wget https://file.winegame.net/games/dlls/x86/msxml.dll https://file.winegame.net/games/dlls/x86/msxml2.dll https://file.winegame.net/games/dlls/x86/msxml3.dll https://file.winegame.net/games/dlls/x86/msxml3r.dll",
        "description": "\u5b89\u88c5msxml3"
      }
    },
    {
      "execute": {
        "command": "cd \"$GAMEDIR/drive_c/windows/syswow64\"; rm msxml6.dll msxml6r.dll; wget https://file.winegame.net/games/dlls/x86/msxml6.dll https://file.winegame.net/games/dlls/x86/msxml6r.dll",
        "description": "\u5b89\u88c5msxml6"
      }
    },
    {
      "execute": {
        "command": "cd \"$GAMEDIR/drive_c/windows/syswow64\"; rm riched20.dll msls31.dll; wget https://file.winegame.net/games/dlls/x86/riched20.dll https://file.winegame.net/games/dlls/x86/msls31.dll",
        "description": "\u5b89\u88c5riched20"
      }
    }
  ],
  "wine": {
    "d3d_extras": true,
    "dxvk": false,
    "dxvk_nvapi": false,
    "esync": false,
    "fsync": false,
    "overrides": {
      "msls31": "native,builtin",
      "msxml": "native,builtin",
      "msxml2": "native,builtin",
      "msxml3": "native,builtin",
      "msxml3r": "native,builtin",
      "msxml4": "native,builtin",
      "msxml6": "native,builtin",
      "msxml6r": "native,builtin",
      "riched20": "native,builtin"
    },
    "version": "wine-devel-8.12-x32x64-x86_64",
    "vkd3d": false
  }
}
返回游戏