Installer beyond-good-evil-ubisoft-connect-ws-a

files:
- uplay: https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UbisoftConnectInstaller.exe
- wdpatch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Beyond%20Good%20and%20Evil/bge_widescreen.zip
- wrapper: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Beyond%20Good%20and%20Evil/dsound.dll
game:
  args: uplay://launch/232/0
  exe: drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/UbisoftConnect.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- write_file:
    content: "overlay:\n  enabled: false\n  forceunhookgame: false\n  fps_enabled:\
      \ false\n  warning_enabled: false\nuser:\n  closebehavior: CloseBehavior_Close"
    file: $GAMEDIR/drive_c/users/$USER/AppData/Local/Ubisoft Game Launcher/settings.yaml
- task:
    app: arial
    name: winetricks
    prefix: $GAMEDIR
- task:
    args: /S
    executable: uplay
    name: wineexec
    prefix: $GAMEDIR
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/games/Beyond
      Good and Evil
    src: wrapper
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/games/Beyond
      Good and Evil
    src: wdpatch
- task:
    args: uplay://launch/232/0
    executable: $GAMEDIR/drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/UbisoftConnect.exe
    name: wineexec
- write_config:
    data:
      MAIN:
        Height: $RESOLUTION_HEIGHT
        Width: $RESOLUTION_WIDTH
    file: $GAMEDIR/drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/games/Beyond
      Good and Evil/bge.ini
    merge: true
system:
  env:
    DXVK_FRAME_RATE: '60'
    DXVK_HUD: null
  gamescope: true
  gamescope_fps_limiter: '60'
  gamescope_game_res: $RESOLUTION
  gamescope_output_res: $RESOLUTION
wine:
  overrides:
    dsound: n
description: Play "Beyond Good and Evil" provided by Ubisoft Connect on Linux!
game_slug: beyond-good-evil
gogslug: beyond_good_and_evil
humblestoreid: beyond-good-evil
installer_slug: beyond-good-evil-ubisoft-connect-ws-a
name: Beyond Good & Evil
notes: "- ps2wide widescreen patch with no borders\r\n- Fix audio sync (dsound.dll\
  \ + DXVK framerate set to 60 fps)\r\n- This game may malfunction after using alt+tab,\
  \ it is strongly recommended to use Gamescope\r\n- Gamepad natively supported by\
  \ BGAE Ubisoft version\r\n- Ubisoft Connect overlay disabled for more stability"
runner: wine
script:
  files:
  - uplay: https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UbisoftConnectInstaller.exe
  - wdpatch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Beyond%20Good%20and%20Evil/bge_widescreen.zip
  - wrapper: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Beyond%20Good%20and%20Evil/dsound.dll
  game:
    args: uplay://launch/232/0
    exe: drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/UbisoftConnect.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - write_file:
      content: "overlay:\n  enabled: false\n  forceunhookgame: false\n  fps_enabled:\
        \ false\n  warning_enabled: false\nuser:\n  closebehavior: CloseBehavior_Close"
      file: $GAMEDIR/drive_c/users/$USER/AppData/Local/Ubisoft Game Launcher/settings.yaml
  - task:
      app: arial
      name: winetricks
      prefix: $GAMEDIR
  - task:
      args: /S
      executable: uplay
      name: wineexec
      prefix: $GAMEDIR
  - merge:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/games/Beyond
        Good and Evil
      src: wrapper
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/games/Beyond
        Good and Evil
      src: wdpatch
  - task:
      args: uplay://launch/232/0
      executable: $GAMEDIR/drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/UbisoftConnect.exe
      name: wineexec
  - write_config:
      data:
        MAIN:
          Height: $RESOLUTION_HEIGHT
          Width: $RESOLUTION_WIDTH
      file: $GAMEDIR/drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/games/Beyond
        Good and Evil/bge.ini
      merge: true
  system:
    env:
      DXVK_FRAME_RATE: '60'
      DXVK_HUD: null
    gamescope: true
    gamescope_fps_limiter: '60'
    gamescope_game_res: $RESOLUTION
    gamescope_output_res: $RESOLUTION
  wine:
    overrides:
      dsound: n
slug: beyond-good-evil-ubisoft-connect-ws-a
steamid: 15130
version: Ubisoft Connect + WS + audio fix
year: 2003
{
  "game_slug": "beyond-good-evil",
  "version": "Ubisoft Connect + WS + audio fix",
  "description": "Play \"Beyond Good and Evil\" provided by Ubisoft Connect on Linux!",
  "notes": "- ps2wide widescreen patch with no borders\r\n- Fix audio sync (dsound.dll + DXVK framerate set to 60 fps)\r\n- This game may malfunction after using alt+tab, it is strongly recommended to use Gamescope\r\n- Gamepad natively supported by BGAE Ubisoft version\r\n- Ubisoft Connect overlay disabled for more stability",
  "name": "Beyond Good & Evil",
  "year": 2003,
  "steamid": 15130,
  "gogslug": "beyond_good_and_evil",
  "humblestoreid": "beyond-good-evil",
  "runner": "wine",
  "slug": "beyond-good-evil-ubisoft-connect-ws-a",
  "installer_slug": "beyond-good-evil-ubisoft-connect-ws-a",
  "script": {
    "files": [
      {
        "uplay": "https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UbisoftConnectInstaller.exe"
      },
      {
        "wdpatch": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Beyond%20Good%20and%20Evil/bge_widescreen.zip"
      },
      {
        "wrapper": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Beyond%20Good%20and%20Evil/dsound.dll"
      }
    ],
    "game": {
      "args": "uplay://launch/232/0",
      "exe": "drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/UbisoftConnect.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "write_file": {
          "content": "overlay:\n  enabled: false\n  forceunhookgame: false\n  fps_enabled: false\n  warning_enabled: false\nuser:\n  closebehavior: CloseBehavior_Close",
          "file": "$GAMEDIR/drive_c/users/$USER/AppData/Local/Ubisoft Game Launcher/settings.yaml"
        }
      },
      {
        "task": {
          "app": "arial",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "args": "/S",
          "executable": "uplay",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/games/Beyond Good and Evil",
          "src": "wrapper"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/games/Beyond Good and Evil",
          "src": "wdpatch"
        }
      },
      {
        "task": {
          "args": "uplay://launch/232/0",
          "executable": "$GAMEDIR/drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/UbisoftConnect.exe",
          "name": "wineexec"
        }
      },
      {
        "write_config": {
          "data": {
            "MAIN": {
              "Height": "$RESOLUTION_HEIGHT",
              "Width": "$RESOLUTION_WIDTH"
            }
          },
          "file": "$GAMEDIR/drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/games/Beyond Good and Evil/bge.ini",
          "merge": true
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_FRAME_RATE": "60",
        "DXVK_HUD": null
      },
      "gamescope": true,
      "gamescope_fps_limiter": "60",
      "gamescope_game_res": "$RESOLUTION",
      "gamescope_output_res": "$RESOLUTION"
    },
    "wine": {
      "overrides": {
        "dsound": "n"
      }
    }
  }
}
Back to game