Installer qq-959
该脚本仅供阅读,不能直接用来在Wine游戏助手中安装游戏。
要通过命令安装游戏,请下载完整脚本。
安装命令:/opt/apps/net.winegame.client/files/bin/winegame -i ./xxx.json
files: - setup: https://dldir1.qq.com/qqfile/qq/PCQQ9.5.9/QQ9.5.9.28650.exe - dxdlls: https://file.winegame.net/games/uplay/dxdlls.tar.xz - wineinit: https://file.winegame.net/games/common/wineinit.sh game: exe: drive_c/Program Files (x86)/Tencent/QQ/Bin/QQ.exe prefix: $GAMEDIR installer: - execute: command: bash "$wineinit" win64 7.6 description: 下载字体和运行库 - task: arch: win64 description: 创建64位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 - task: description: 禁止窗口管理器装饰窗口 key: Decorated name: set_regedit path: HKEY_CURRENT_USER\Software\Wine\X11 Driver prefix: $GAMEDIR type: REG_SZ value: N - execute: command: rm -f "$GAMEDIR/dosdevices/m::"; ln -sf "$HOME" "$GAMEDIR/dosdevices/m:" description: 添加主目录($HOME)为M盘 - execute: command: cd "$GAMEDIR/drive_c" && tar -Jvxf "$dxdlls" description: 解压 DX DLL - task: app: arial cjkfonts arch: win64 description: 安装中文字体 name: winetricks prefix: $GAMEDIR silent: true - task: name: winekill prefix: $GAMEDIR - task: app: gdiplus msxml3 msxml4 msxml6 riched30 richtx32 arch: win64 description: 安装winetricks依赖库 name: winetricks prefix: $GAMEDIR silent: true - task: name: winekill prefix: $GAMEDIR - task: app: win10 arch: win64 description: 切换到Win10模式 name: winetricks prefix: $GAMEDIR silent: true - task: name: winekill prefix: $GAMEDIR - task: description: 启动QQ安装程序 exclude_processes: conhost.exe explorer.exe msiexec.exe plugplay.exe rpcss.exe services.exe start.exe svchost.exe winedevice.exe QQ9.5.9.28650.exe executable: setup name: wineexec overrides: QQ.exe: disabled QQProtect.exe: disabled androidassist.exe: disabled qdantidrv.sys: disabled qqbrowser_setup_qq_medal.exe: disabled qqpcmgr.exe: disabled qqpcrtp.exe: disabled qqpctray.exe: disabled qqsetupex.exe: disabled qqsysmon.sys: disabled qqtvinstall.exe: disabled tencentdl.exe: disabled txplatform.exe: disabled txudp.exe: disabled winedbg.exe: disabled winemenubuilder.exe: disabled prefix: $GAMEDIR - execute: command: | while [ -d "$GAMEDIR" ] && ! [ -f "$GAMEDIR/drive_c/Program Files (x86)/Tencent/QQ/Uninstall.xml" ]; do sleep 1; done description: 等待QQ安装完成 - task: name: winekill prefix: $GAMEDIR wine: dxvk: false esync: false fsync: false overrides: androidassist.exe: disabled qdantidrv.sys: disabled qqbrowser_setup_qq_medal.exe: disabled qqpcmgr.exe: disabled qqpcrtp.exe: disabled qqpctray.exe: disabled qqsetupex.exe: disabled qqsysmon.sys: disabled qqtvinstall.exe: disabled tencentdl.exe: disabled txplatform.exe: disabled txudp.exe: disabled winedbg.exe: disabled winemenubuilder.exe: disabled version: winehq-staging-7.7-x86_64 vkd3d: false winver: win10
{ "files": [ { "setup": "https://dldir1.qq.com/qqfile/qq/PCQQ9.5.9/QQ9.5.9.28650.exe" }, { "dxdlls": "https://file.winegame.net/games/uplay/dxdlls.tar.xz" }, { "wineinit": "https://file.winegame.net/games/common/wineinit.sh" } ], "game": { "exe": "drive_c/Program Files (x86)/Tencent/QQ/Bin/QQ.exe", "prefix": "$GAMEDIR" }, "installer": [ { "execute": { "command": "bash \"$wineinit\" win64 7.6", "description": "\u4e0b\u8f7d\u5b57\u4f53\u548c\u8fd0\u884c\u5e93" } }, { "task": { "arch": "win64", "description": "\u521b\u5efa64\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" } }, { "task": { "description": "\u7981\u6b62\u7a97\u53e3\u7ba1\u7406\u5668\u88c5\u9970\u7a97\u53e3", "key": "Decorated", "name": "set_regedit", "path": "HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver", "prefix": "$GAMEDIR", "type": "REG_SZ", "value": "N" } }, { "execute": { "command": "rm -f \"$GAMEDIR/dosdevices/m::\"; ln -sf \"$HOME\" \"$GAMEDIR/dosdevices/m:\"", "description": "\u6dfb\u52a0\u4e3b\u76ee\u5f55($HOME)\u4e3aM\u76d8" } }, { "execute": { "command": "cd \"$GAMEDIR/drive_c\" && tar -Jvxf \"$dxdlls\"", "description": "\u89e3\u538b DX DLL" } }, { "task": { "app": "arial cjkfonts", "arch": "win64", "description": "\u5b89\u88c5\u4e2d\u6587\u5b57\u4f53", "name": "winetricks", "prefix": "$GAMEDIR", "silent": true } }, { "task": { "name": "winekill", "prefix": "$GAMEDIR" } }, { "task": { "app": "gdiplus msxml3 msxml4 msxml6 riched30 richtx32", "arch": "win64", "description": "\u5b89\u88c5winetricks\u4f9d\u8d56\u5e93", "name": "winetricks", "prefix": "$GAMEDIR", "silent": true } }, { "task": { "name": "winekill", "prefix": "$GAMEDIR" } }, { "task": { "app": "win10", "arch": "win64", "description": "\u5207\u6362\u5230Win10\u6a21\u5f0f", "name": "winetricks", "prefix": "$GAMEDIR", "silent": true } }, { "task": { "name": "winekill", "prefix": "$GAMEDIR" } }, { "task": { "description": "\u542f\u52a8QQ\u5b89\u88c5\u7a0b\u5e8f", "exclude_processes": "conhost.exe explorer.exe msiexec.exe plugplay.exe rpcss.exe services.exe start.exe svchost.exe winedevice.exe QQ9.5.9.28650.exe", "executable": "setup", "name": "wineexec", "overrides": { "QQ.exe": "disabled", "QQProtect.exe": "disabled", "androidassist.exe": "disabled", "qdantidrv.sys": "disabled", "qqbrowser_setup_qq_medal.exe": "disabled", "qqpcmgr.exe": "disabled", "qqpcrtp.exe": "disabled", "qqpctray.exe": "disabled", "qqsetupex.exe": "disabled", "qqsysmon.sys": "disabled", "qqtvinstall.exe": "disabled", "tencentdl.exe": "disabled", "txplatform.exe": "disabled", "txudp.exe": "disabled", "winedbg.exe": "disabled", "winemenubuilder.exe": "disabled" }, "prefix": "$GAMEDIR" } }, { "execute": { "command": "while [ -d \"$GAMEDIR\" ] && ! [ -f \"$GAMEDIR/drive_c/Program Files (x86)/Tencent/QQ/Uninstall.xml\" ]; do\n sleep 1;\ndone\n", "description": "\u7b49\u5f85QQ\u5b89\u88c5\u5b8c\u6210" } }, { "task": { "name": "winekill", "prefix": "$GAMEDIR" } } ], "wine": { "dxvk": false, "esync": false, "fsync": false, "overrides": { "androidassist.exe": "disabled", "qdantidrv.sys": "disabled", "qqbrowser_setup_qq_medal.exe": "disabled", "qqpcmgr.exe": "disabled", "qqpcrtp.exe": "disabled", "qqpctray.exe": "disabled", "qqsetupex.exe": "disabled", "qqsysmon.sys": "disabled", "qqtvinstall.exe": "disabled", "tencentdl.exe": "disabled", "txplatform.exe": "disabled", "txudp.exe": "disabled", "winedbg.exe": "disabled", "winemenubuilder.exe": "disabled" }, "version": "winehq-staging-7.7-x86_64", "vkd3d": false, "winver": "win10" } }