Installer beyond-good-evil-gog-ws-audio-fix

files:
- gogsetup: N/A:Select the EXE downloaded from GOG
- 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:
  exe: drive_c/GOG Games/Beyond Good and Evil/run.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    install_gecko: true
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- task:
    description: Installing...
    executable: gogsetup
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/GOG Games/Beyond Good and Evil
    src: wdpatch
- copy:
    dst: $GAMEDIR/drive_c/GOG Games/Beyond Good and Evil
    src: wrapper
- task:
    description: Please choose your desktop resolution, save and exit. If you your
      desktop resolution is not in the list, choose the closest one then activate
      Gamescope.
    executable: $GAMEDIR/drive_c/GOG Games/Beyond Good and Evil/SettingsApplication.exe
    name: wineexec
- write_config:
    data:
      MAIN:
        Height: $RESOLUTION_HEIGHT
        Width: $RESOLUTION_WIDTH
    file: $GAMEDIR/drive_c/GOG 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: native
description: Play "Beyond Good and Evil" provided by GOG on Linux!
game_slug: beyond-good-evil
gogslug: beyond_good_and_evil
humblestoreid: beyond-good-evil
installer_slug: beyond-good-evil-gog-ws-audio-fix
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- BGE GOG edition does not natively\
  \ support controller, only Keyboard.  For a better gaming experience, you will find\
  \ AntimicroX profiles here:\r\nhttps://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Beyond%20Good%20and%20Evil/gamepad%20profiles"
runner: wine
script:
  files:
  - gogsetup: N/A:Select the EXE downloaded from GOG
  - 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:
    exe: drive_c/GOG Games/Beyond Good and Evil/run.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      install_gecko: true
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      description: Installing...
      executable: gogsetup
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/GOG Games/Beyond Good and Evil
      src: wdpatch
  - copy:
      dst: $GAMEDIR/drive_c/GOG Games/Beyond Good and Evil
      src: wrapper
  - task:
      description: Please choose your desktop resolution, save and exit. If you your
        desktop resolution is not in the list, choose the closest one then activate
        Gamescope.
      executable: $GAMEDIR/drive_c/GOG Games/Beyond Good and Evil/SettingsApplication.exe
      name: wineexec
  - write_config:
      data:
        MAIN:
          Height: $RESOLUTION_HEIGHT
          Width: $RESOLUTION_WIDTH
      file: $GAMEDIR/drive_c/GOG 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: native
slug: beyond-good-evil-gog-ws-audio-fix
steamid: 15130
version: GOG + WS + audio fix
year: 2003
{
  "game_slug": "beyond-good-evil",
  "version": "GOG + WS + audio fix",
  "description": "Play \"Beyond Good and Evil\" provided by GOG 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- BGE GOG edition does not natively support controller, only Keyboard.  For a better gaming experience, you will find AntimicroX profiles here:\r\nhttps://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Beyond%20Good%20and%20Evil/gamepad%20profiles",
  "name": "Beyond Good & Evil",
  "year": 2003,
  "steamid": 15130,
  "gogslug": "beyond_good_and_evil",
  "humblestoreid": "beyond-good-evil",
  "runner": "wine",
  "slug": "beyond-good-evil-gog-ws-audio-fix",
  "installer_slug": "beyond-good-evil-gog-ws-audio-fix",
  "script": {
    "files": [
      {
        "gogsetup": "N/A:Select the EXE downloaded from GOG"
      },
      {
        "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": {
      "exe": "drive_c/GOG Games/Beyond Good and Evil/run.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "install_gecko": true,
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Installing...",
          "executable": "gogsetup",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Beyond Good and Evil",
          "src": "wdpatch"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Beyond Good and Evil",
          "src": "wrapper"
        }
      },
      {
        "task": {
          "description": "Please choose your desktop resolution, save and exit. If you your desktop resolution is not in the list, choose the closest one then activate Gamescope.",
          "executable": "$GAMEDIR/drive_c/GOG Games/Beyond Good and Evil/SettingsApplication.exe",
          "name": "wineexec"
        }
      },
      {
        "write_config": {
          "data": {
            "MAIN": {
              "Height": "$RESOLUTION_HEIGHT",
              "Width": "$RESOLUTION_WIDTH"
            }
          },
          "file": "$GAMEDIR/drive_c/GOG 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": "native"
      }
    }
  }
}
Back to game