Installer 14-ff14-guo-ji-fu
该脚本仅供阅读,不能直接用来在Wine游戏助手中安装游戏。
要通过命令安装游戏,请下载完整脚本。
安装命令:/opt/apps/net.winegame.client/files/bin/winegame -i ./xxx.json
files: - ffxivinstaller: N/A:选择安装程序ffxivsetup.exe(可从https://gdl.square-enix.com/ffxiv/inst/ffxivsetup.exe下载) - wineinit: https://file.winegame.net/games/common/wineinit.sh game: arch: win64 exe: drive_c/Program Files (x86)/SquareEnix/FINAL FANTASY XIV - A Realm Reborn/boot/ffxivboot.exe prefix: $GAMEDIR installer: - execute: command: bash "$wineinit" win64 description: 下载字体和运行库 - task: arch: win64 description: 创建64位Wine前缀 install_gecko: true install_mono: true 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 meiryo arch: win64 description: 安装字体... name: winetricks prefix: $GAMEDIR silent: true - task: name: winekill prefix: $GAMEDIR - task: arch: win64 description: Running FFXIV Installer. executable: ffxivinstaller name: wineexec prefix: $GAMEDIR - task: arch: win64 key: HideWineExports name: set_regedit path: HKEY_CURRENT_USER\Software\Wine prefix: $GAMEDIR type: REG_SZ value: Y - execute: command: mkdir -p "$GAMEDIR"/drive_c/users/$USER/Documents/My\ Games/FINAL\ FANTASY\ XIV\ -\ A\ Realm\ Reborn - execute: command: echo -e "<FINAL FANTASY XIV Config File>\n\n<Cutscene Settings>\nCutsceneMovieOpening 1" > "$GAMEDIR"/drive_c/users/$USER/Documents/My\ Games/FINAL\ FANTASY\ XIV\ -\ A\ Realm\ Reborn/FFXIV.cfg - execute: command: echo -e "<FINAL FANTASY XIV Boot Config File>\n\n<Version>\nBrowser 1\nStartupCompleted 1" > "$GAMEDIR"/drive_c/users/$USER/Documents/My\ Games/FINAL\ FANTASY\ XIV\ -\ A\ Realm\ Reborn/FFXIV_BOOT.cfg system: env: DSSENH: n HARMONY_DEBUG: 1 XL_WINEONLINUX: true __GL_SHADER_DISK_CACHE: 1 __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR pulse_latency: true wine: dxvk: true esync: true version: lutris-6.10-7-x86_64
{ "files": [ { "ffxivinstaller": "N/A:\u9009\u62e9\u5b89\u88c5\u7a0b\u5e8fffxivsetup.exe\uff08\u53ef\u4ecehttps://gdl.square-enix.com/ffxiv/inst/ffxivsetup.exe\u4e0b\u8f7d\uff09" }, { "wineinit": "https://file.winegame.net/games/common/wineinit.sh" } ], "game": { "arch": "win64", "exe": "drive_c/Program Files (x86)/SquareEnix/FINAL FANTASY XIV - A Realm Reborn/boot/ffxivboot.exe", "prefix": "$GAMEDIR" }, "installer": [ { "execute": { "command": "bash \"$wineinit\" win64", "description": "\u4e0b\u8f7d\u5b57\u4f53\u548c\u8fd0\u884c\u5e93" } }, { "task": { "arch": "win64", "description": "\u521b\u5efa64\u4f4dWine\u524d\u7f00", "install_gecko": true, "install_mono": true, "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 meiryo", "arch": "win64", "description": "\u5b89\u88c5\u5b57\u4f53...", "name": "winetricks", "prefix": "$GAMEDIR", "silent": true } }, { "task": { "name": "winekill", "prefix": "$GAMEDIR" } }, { "task": { "arch": "win64", "description": "Running FFXIV Installer.", "executable": "ffxivinstaller", "name": "wineexec", "prefix": "$GAMEDIR" } }, { "task": { "arch": "win64", "key": "HideWineExports", "name": "set_regedit", "path": "HKEY_CURRENT_USER\\Software\\Wine", "prefix": "$GAMEDIR", "type": "REG_SZ", "value": "Y" } }, { "execute": { "command": "mkdir -p \"$GAMEDIR\"/drive_c/users/$USER/Documents/My\\ Games/FINAL\\ FANTASY\\ XIV\\ -\\ A\\ Realm\\ Reborn" } }, { "execute": { "command": "echo -e \"<FINAL FANTASY XIV Config File>\\n\\n<Cutscene Settings>\\nCutsceneMovieOpening 1\" > \"$GAMEDIR\"/drive_c/users/$USER/Documents/My\\ Games/FINAL\\ FANTASY\\ XIV\\ -\\ A\\ Realm\\ Reborn/FFXIV.cfg" } }, { "execute": { "command": "echo -e \"<FINAL FANTASY XIV Boot Config File>\\n\\n<Version>\\nBrowser 1\\nStartupCompleted 1\" > \"$GAMEDIR\"/drive_c/users/$USER/Documents/My\\ Games/FINAL\\ FANTASY\\ XIV\\ -\\ A\\ Realm\\ Reborn/FFXIV_BOOT.cfg" } } ], "system": { "env": { "DSSENH": "n", "HARMONY_DEBUG": 1, "XL_WINEONLINUX": true, "__GL_SHADER_DISK_CACHE": 1, "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR" }, "pulse_latency": true }, "wine": { "dxvk": true, "esync": true, "version": "lutris-6.10-7-x86_64" } }