Installer girls-frontline-2-exilium-haoplay

files:
- game_setup:
    filename: GF2.exe
    url: https://gf2-dl.haoplay.com/pc/GF2_v1.0.1.exe
- webview2_setup:
    filename: webview2.exe
    url: https://github.com/aedancullen/webview2-evergreen-standalone-installer-archive/releases/download/109.0.1518.78/MicrosoftEdgeWebView2RuntimeInstallerX64.exe
game:
  arch: win64
  exe: $GAMEDIR/drive_c/GF2Exilium/PCLauncher.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating Wine prefix.
    name: create_prefix
    prefix: $GAMEDIR
- merge:
    dst: $GAMEDIR/drive_c/
    src: game_setup
- merge:
    dst: $GAMEDIR/drive_c/
    src: webview2_setup
- task:
    arch: win64
    description: Setting webview2 compatibility mode to win7 (Required to fix the
      the login window).
    key: version
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\AppDefaults\msedgewebview2.exe
    prefix: $GAMEDIR
    type: REG_SZ
    value: win7
- execute:
    command: WINEPREFIX="$GAMEDIR" "$WINEBIN" "$GAMEDIR/drive_c/webview2.exe" /silent
      /install
    description: Installing WebView2.
- task:
    app: renderer=gdi
    description: Setting renderer to GDI (Required to fix the the login window).
    name: winetricks
    prefix: $GAMEDIR
- execute:
    command: WINEPREFIX="$GAMEDIR" "$WINEBIN" "$GAMEDIR/drive_c/GF2.exe"
    description: Installing Girls Frontline 2
- task:
    name: winekill
    prefix: $GAMEDIR
description: ''
game_slug: girls-frontline-2-exilium
gogslug: ''
humblestoreid: ''
installer_slug: girls-frontline-2-exilium-haoplay
name: 'GIRLS'' FRONTLINE 2: Exilium'
notes: "After installation close the window that has the \"Run Launcher\" button to\
  \ complete the installer. Don't click the button.\r\n\r\nTroubleshooting:\r\n- Running\
  \ GF2 Game/GF2_Exilium.exe directly can help with launching issues.\r\n(Settings\
  \ - Game Options - Executable: \"/path/to/install/drive_c/GF2Exilium/GF2 Game/GF2_Exilium.exe\"\
  )\r\n- Clicking in the main menu to login does not work, use third button on left\
  \ hand side.\r\n- Cursor is invisible for webpages, workaround: winetricks - change\
  \ settings: windowmanagerdecorated=n, this can break gamescope and will make window\
  \ borders ugly.\r\nAlternative: right click - save image, then close the dialog.\r\
  \n- If you want to change the runner version (Wine/Proton), you must re-apply the\
  \ compatibility fix for webview2: winetricks - winecfg - msedgewebview2.exe = Windows\
  \ 7."
runner: wine
script:
  files:
  - game_setup:
      filename: GF2.exe
      url: https://gf2-dl.haoplay.com/pc/GF2_v1.0.1.exe
  - webview2_setup:
      filename: webview2.exe
      url: https://github.com/aedancullen/webview2-evergreen-standalone-installer-archive/releases/download/109.0.1518.78/MicrosoftEdgeWebView2RuntimeInstallerX64.exe
  game:
    arch: win64
    exe: $GAMEDIR/drive_c/GF2Exilium/PCLauncher.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Creating Wine prefix.
      name: create_prefix
      prefix: $GAMEDIR
  - merge:
      dst: $GAMEDIR/drive_c/
      src: game_setup
  - merge:
      dst: $GAMEDIR/drive_c/
      src: webview2_setup
  - task:
      arch: win64
      description: Setting webview2 compatibility mode to win7 (Required to fix the
        the login window).
      key: version
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\AppDefaults\msedgewebview2.exe
      prefix: $GAMEDIR
      type: REG_SZ
      value: win7
  - execute:
      command: WINEPREFIX="$GAMEDIR" "$WINEBIN" "$GAMEDIR/drive_c/webview2.exe" /silent
        /install
      description: Installing WebView2.
  - task:
      app: renderer=gdi
      description: Setting renderer to GDI (Required to fix the the login window).
      name: winetricks
      prefix: $GAMEDIR
  - execute:
      command: WINEPREFIX="$GAMEDIR" "$WINEBIN" "$GAMEDIR/drive_c/GF2.exe"
      description: Installing Girls Frontline 2
  - task:
      name: winekill
      prefix: $GAMEDIR
slug: girls-frontline-2-exilium-haoplay
steamid: 3308670
version: Haoplay
year: 2023
{
  "game_slug": "girls-frontline-2-exilium",
  "version": "Haoplay",
  "description": "",
  "notes": "After installation close the window that has the \"Run Launcher\" button to complete the installer. Don't click the button.\r\n\r\nTroubleshooting:\r\n- Running GF2 Game/GF2_Exilium.exe directly can help with launching issues.\r\n(Settings - Game Options - Executable: \"/path/to/install/drive_c/GF2Exilium/GF2 Game/GF2_Exilium.exe\")\r\n- Clicking in the main menu to login does not work, use third button on left hand side.\r\n- Cursor is invisible for webpages, workaround: winetricks - change settings: windowmanagerdecorated=n, this can break gamescope and will make window borders ugly.\r\nAlternative: right click - save image, then close the dialog.\r\n- If you want to change the runner version (Wine/Proton), you must re-apply the compatibility fix for webview2: winetricks - winecfg - msedgewebview2.exe = Windows 7.",
  "name": "GIRLS' FRONTLINE 2: Exilium",
  "year": 2023,
  "steamid": 3308670,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "girls-frontline-2-exilium-haoplay",
  "installer_slug": "girls-frontline-2-exilium-haoplay",
  "script": {
    "files": [
      {
        "game_setup": {
          "filename": "GF2.exe",
          "url": "https://gf2-dl.haoplay.com/pc/GF2_v1.0.1.exe"
        }
      },
      {
        "webview2_setup": {
          "filename": "webview2.exe",
          "url": "https://github.com/aedancullen/webview2-evergreen-standalone-installer-archive/releases/download/109.0.1518.78/MicrosoftEdgeWebView2RuntimeInstallerX64.exe"
        }
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "$GAMEDIR/drive_c/GF2Exilium/PCLauncher.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating Wine prefix.",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/",
          "src": "game_setup"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/",
          "src": "webview2_setup"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Setting webview2 compatibility mode to win7 (Required to fix the the login window).",
          "key": "version",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\AppDefaults\\msedgewebview2.exe",
          "prefix": "$GAMEDIR",
          "type": "REG_SZ",
          "value": "win7"
        }
      },
      {
        "execute": {
          "command": "WINEPREFIX=\"$GAMEDIR\" \"$WINEBIN\" \"$GAMEDIR/drive_c/webview2.exe\" /silent /install",
          "description": "Installing WebView2."
        }
      },
      {
        "task": {
          "app": "renderer=gdi",
          "description": "Setting renderer to GDI (Required to fix the the login window).",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "WINEPREFIX=\"$GAMEDIR\" \"$WINEBIN\" \"$GAMEDIR/drive_c/GF2.exe\"",
          "description": "Installing Girls Frontline 2"
        }
      },
      {
        "task": {
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      }
    ]
  }
}
Back to game