Installer wegame-tgp-206091710
该脚本仅供参考,不能直接用来在Wine游戏助手中安装游戏。 要安装游戏,请下载完整脚本。
files: - setup: http://dldir1.qq.com/tgc/wegame/mini/repo/WeGameMiniLoader.std.2.06.09.1710.exe game: arch: win64 exe: drive_c/users/Public/桌面/WeGame.lnk prefix: $GAMEDIR installer: - execute: command: 'fetch() { dir="$HOME/.cache/$(dirname "$1")"; file="$(basename "$1")"; path="$HOME/.cache/$1"; url="https://file.winegame.net/cache/$1"; mkdir -p "$dir"; aria2c --allow-overwrite=true --summary-interval=1 -x 5 -s 5 -c -d "$dir" -o "$file" "$url" || wget -c -O "$path" "$url"; }; fetch wine/wine-mono-5.1.0-x86.msi; fetch wine/wine-gecko-2.47.1-x86_64.msi; fetch wine/wine-gecko-2.47.1-x86.msi; fetch winetricks/corefonts/arial32.exe; fetch winetricks/corefonts/arialb32.exe; fetch winetricks/sourcehansans/SourceHanSans.ttc; fetch winetricks/unifont/unifont-12.1.02.ttf; fetch wine/fonts/MicrosoftYaHeiMono.tar.gz; fetch winetricks/vcrun6/VC6RedistSetup_deu.exe; ' 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 - execute: command: rm -f "$GAMEDIR/dosdevices/m::"; ln -sf "$HOME" "$GAMEDIR/dosdevices/m:" description: 添加主目录($HOME)为M盘 - task: app: arial cjkfonts mfc42 arch: win64 description: 安装字体和运行库... name: winetricks prefix: $GAMEDIR silent: true - task: arch: win64 name: winekill prefix: $GAMEDIR - task: arch: win64 description: 'WeGame安装程序即将打开。 ------------------------------ 请在安装程序中完成WeGame安装。 注意,一定要安装到默认路径,不要安装到任何其他位置,并且要允许安装程序创建桌面快捷方式,否则程序会认为安装失败! 不必登录客户端,安装完成后关闭安装程序即可。' exclude_processes: Assistant.exe browser.exe bugreport.exe BugReport.exe bug_rpt.exe capture_installer64.exe capture_installer.exe client_launcher.exe client_reporter.exe CrossInstallerExternal64.exe CrossInstallerExternal.exe CrossProxy.exe dnf_asura.exe DNFHelperWorker.exe encode_process.exe helper_main.exe minibrowser.exe net_daemon64.exe net_daemon.exe net_probe64.exe net_probe.exe pallas.exe qbclient.exe QQMGameBoxUpdater.exe rail.exe repair.exe replay.exe TASLogin.exe tcls_core.exe TenioDL.exe tgp_browser.exe tgp_daemon.exe tgp_minibrowser.exe TP3Helper.exe uninstall_complete.exe uninst.exe UpdateInstaller.exe web_pay.exe wegame.exe wegameservice.exe executable: setup name: wineexec - task: name: winekill prefix: $GAMEDIR system: env: DXVK_HUD: compiler DXVK_STATE_CACHE_PATH: $GAMEDIR MESA_GL_VERSION_OVERRIDE: 4.4COMPAT STAGING_SHARED_MEMORY: 1 __GL_SHADER_DISK_CACHE: 1 __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR wine: dxvk: true esync: true overrides: TASLogin.exe: disabled nvapi: disabled nvapi64: disabled winedbg.exe: disabled vkd3d: true
{ "files": [ { "setup": "http://dldir1.qq.com/tgc/wegame/mini/repo/WeGameMiniLoader.std.2.06.09.1710.exe" } ], "game": { "arch": "win64", "exe": "drive_c/users/Public/\u684c\u9762/WeGame.lnk", "prefix": "$GAMEDIR" }, "installer": [ { "execute": { "command": "fetch() { dir=\"$HOME/.cache/$(dirname \"$1\")\"; file=\"$(basename \"$1\")\"; path=\"$HOME/.cache/$1\"; url=\"https://file.winegame.net/cache/$1\"; mkdir -p \"$dir\"; aria2c --allow-overwrite=true --summary-interval=1 -x 5 -s 5 -c -d \"$dir\" -o \"$file\" \"$url\" || wget -c -O \"$path\" \"$url\"; };\nfetch wine/wine-mono-5.1.0-x86.msi;\nfetch wine/wine-gecko-2.47.1-x86_64.msi;\nfetch wine/wine-gecko-2.47.1-x86.msi;\nfetch winetricks/corefonts/arial32.exe;\nfetch winetricks/corefonts/arialb32.exe;\nfetch winetricks/sourcehansans/SourceHanSans.ttc;\nfetch winetricks/unifont/unifont-12.1.02.ttf;\nfetch wine/fonts/MicrosoftYaHeiMono.tar.gz;\nfetch winetricks/vcrun6/VC6RedistSetup_deu.exe; ", "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" } }, { "execute": { "command": "rm -f \"$GAMEDIR/dosdevices/m::\"; ln -sf \"$HOME\" \"$GAMEDIR/dosdevices/m:\"", "description": "\u6dfb\u52a0\u4e3b\u76ee\u5f55($HOME)\u4e3aM\u76d8" } }, { "task": { "app": "arial cjkfonts mfc42", "arch": "win64", "description": "\u5b89\u88c5\u5b57\u4f53\u548c\u8fd0\u884c\u5e93...", "name": "winetricks", "prefix": "$GAMEDIR", "silent": true } }, { "task": { "arch": "win64", "name": "winekill", "prefix": "$GAMEDIR" } }, { "task": { "arch": "win64", "description": "WeGame\u5b89\u88c5\u7a0b\u5e8f\u5373\u5c06\u6253\u5f00\u3002\n------------------------------\n\u8bf7\u5728\u5b89\u88c5\u7a0b\u5e8f\u4e2d\u5b8c\u6210WeGame\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\u5e76\u4e14\u8981\u5141\u8bb8\u5b89\u88c5\u7a0b\u5e8f\u521b\u5efa\u684c\u9762\u5feb\u6377\u65b9\u5f0f\uff0c\u5426\u5219\u7a0b\u5e8f\u4f1a\u8ba4\u4e3a\u5b89\u88c5\u5931\u8d25\uff01\n\u4e0d\u5fc5\u767b\u5f55\u5ba2\u6237\u7aef\uff0c\u5b89\u88c5\u5b8c\u6210\u540e\u5173\u95ed\u5b89\u88c5\u7a0b\u5e8f\u5373\u53ef\u3002", "exclude_processes": "Assistant.exe browser.exe bugreport.exe BugReport.exe bug_rpt.exe capture_installer64.exe capture_installer.exe client_launcher.exe client_reporter.exe CrossInstallerExternal64.exe CrossInstallerExternal.exe CrossProxy.exe dnf_asura.exe DNFHelperWorker.exe encode_process.exe helper_main.exe minibrowser.exe net_daemon64.exe net_daemon.exe net_probe64.exe net_probe.exe pallas.exe qbclient.exe QQMGameBoxUpdater.exe rail.exe repair.exe replay.exe TASLogin.exe tcls_core.exe TenioDL.exe tgp_browser.exe tgp_daemon.exe tgp_minibrowser.exe TP3Helper.exe uninstall_complete.exe uninst.exe UpdateInstaller.exe web_pay.exe wegame.exe wegameservice.exe", "executable": "setup", "name": "wineexec" } }, { "task": { "name": "winekill", "prefix": "$GAMEDIR" } } ], "system": { "env": { "DXVK_HUD": "compiler", "DXVK_STATE_CACHE_PATH": "$GAMEDIR", "MESA_GL_VERSION_OVERRIDE": "4.4COMPAT", "STAGING_SHARED_MEMORY": 1, "__GL_SHADER_DISK_CACHE": 1, "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR" } }, "wine": { "dxvk": true, "esync": true, "overrides": { "TASLogin.exe": "disabled", "nvapi": "disabled", "nvapi64": "disabled", "winedbg.exe": "disabled" }, "vkd3d": true } }