Installer beyond-good-evil-windows-steam-standa

files:
- steamsetup: https://cdn.steamstatic.com/client/installer/SteamSetup.exe
- wrapper: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Beyond%20Good%20and%20Evil/dsound.dll
- wdpatch2: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Beyond%20Good%20and%20Evil/BGAE%20Steam%20widescreen%20enb.zip
game:
  args: -applaunch 15130
  exe: drive_c/Program Files (x86)/Steam/Steam.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    install_gecko: true
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- task:
    args: /S
    description: Installing Steam...
    executable: steamsetup
    name: wineexec
    prefix: $GAMEDIR
- copy:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Steam/steamapps/common/Beyond Good and
      Evil
    src: wrapper
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Steam/steamapps/common/Beyond Good and
      Evil
    file: wdpatch2
- write_config:
    data:
      Resolution:
        resX: $RESOLUTION_WIDTH
        resY: $RESOLUTION_HEIGHT
    file: $GAMEDIR/drive_c/Program Files (x86)/Steam/steamapps/common/Beyond Good
      and Evil/d3d9.ini
    merge: true
- task:
    arch: win64
    key: Install Path
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Ubisoft\Beyond Good & Evil
    prefix: $GAMEDIR
    type: REG_SZ
    value: C:\Program Files (x86)\Steam\steamapps\common\Beyond Good and Evil
system:
  env:
    DXVK_FRAME_RATE: '60'
    DXVK_HUD: null
wine:
  overrides:
    dsound: n
description: Play "Beyond Good & Evil" provided by Steam on Linux!
game_slug: beyond-good-evil
gogslug: beyond_good_and_evil
humblestoreid: beyond-good-evil
installer_slug: beyond-good-evil-windows-steam-standa
name: Beyond Good & Evil
notes: "- This game does not work correctly with Linux Steam + Steamplay.\r\nSo I\
  \ wrote this script that uses Windows Steam + others tweaks\r\n- Prior to launch\
  \ the game, you have to set the resolution, when you launch game from Steam, choose\
  \ settings\r\n- fixed access to SettingsApplication where you can choose resolution\
  \ and language\r\n- Audio sync fix (dsound.dll + DXVK framerate set to 60 fps)\r\
  \n- ENB Mod: widescreen with no border\r\n- Steam is not fully usable, but it's\
  \ not important, it's just installed to launch the game"
runner: wine
script:
  files:
  - steamsetup: https://cdn.steamstatic.com/client/installer/SteamSetup.exe
  - wrapper: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Beyond%20Good%20and%20Evil/dsound.dll
  - wdpatch2: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Beyond%20Good%20and%20Evil/BGAE%20Steam%20widescreen%20enb.zip
  game:
    args: -applaunch 15130
    exe: drive_c/Program Files (x86)/Steam/Steam.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      install_gecko: true
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      args: /S
      description: Installing Steam...
      executable: steamsetup
      name: wineexec
      prefix: $GAMEDIR
  - copy:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Steam/steamapps/common/Beyond Good
        and Evil
      src: wrapper
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Steam/steamapps/common/Beyond Good
        and Evil
      file: wdpatch2
  - write_config:
      data:
        Resolution:
          resX: $RESOLUTION_WIDTH
          resY: $RESOLUTION_HEIGHT
      file: $GAMEDIR/drive_c/Program Files (x86)/Steam/steamapps/common/Beyond Good
        and Evil/d3d9.ini
      merge: true
  - task:
      arch: win64
      key: Install Path
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Ubisoft\Beyond Good & Evil
      prefix: $GAMEDIR
      type: REG_SZ
      value: C:\Program Files (x86)\Steam\steamapps\common\Beyond Good and Evil
  system:
    env:
      DXVK_FRAME_RATE: '60'
      DXVK_HUD: null
  wine:
    overrides:
      dsound: n
slug: beyond-good-evil-windows-steam-standa
steamid: 15130
version: Windows Steam Standalone
year: 2003
{
  "game_slug": "beyond-good-evil",
  "version": "Windows Steam Standalone",
  "description": "Play \"Beyond Good & Evil\" provided by Steam on Linux!",
  "notes": "- This game does not work correctly with Linux Steam + Steamplay.\r\nSo I wrote this script that uses Windows Steam + others tweaks\r\n- Prior to launch the game, you have to set the resolution, when you launch game from Steam, choose settings\r\n- fixed access to SettingsApplication where you can choose resolution and language\r\n- Audio sync fix (dsound.dll + DXVK framerate set to 60 fps)\r\n- ENB Mod: widescreen with no border\r\n- Steam is not fully usable, but it's not important, it's just installed to launch the game",
  "name": "Beyond Good & Evil",
  "year": 2003,
  "steamid": 15130,
  "gogslug": "beyond_good_and_evil",
  "humblestoreid": "beyond-good-evil",
  "runner": "wine",
  "slug": "beyond-good-evil-windows-steam-standa",
  "installer_slug": "beyond-good-evil-windows-steam-standa",
  "script": {
    "files": [
      {
        "steamsetup": "https://cdn.steamstatic.com/client/installer/SteamSetup.exe"
      },
      {
        "wrapper": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Beyond%20Good%20and%20Evil/dsound.dll"
      },
      {
        "wdpatch2": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Beyond%20Good%20and%20Evil/BGAE%20Steam%20widescreen%20enb.zip"
      }
    ],
    "game": {
      "args": "-applaunch 15130",
      "exe": "drive_c/Program Files (x86)/Steam/Steam.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "install_gecko": true,
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "args": "/S",
          "description": "Installing Steam...",
          "executable": "steamsetup",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Steam/steamapps/common/Beyond Good and Evil",
          "src": "wrapper"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Steam/steamapps/common/Beyond Good and Evil",
          "file": "wdpatch2"
        }
      },
      {
        "write_config": {
          "data": {
            "Resolution": {
              "resX": "$RESOLUTION_WIDTH",
              "resY": "$RESOLUTION_HEIGHT"
            }
          },
          "file": "$GAMEDIR/drive_c/Program Files (x86)/Steam/steamapps/common/Beyond Good and Evil/d3d9.ini",
          "merge": true
        }
      },
      {
        "task": {
          "arch": "win64",
          "key": "Install Path",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Wow6432Node\\Ubisoft\\Beyond Good & Evil",
          "prefix": "$GAMEDIR",
          "type": "REG_SZ",
          "value": "C:\\Program Files (x86)\\Steam\\steamapps\\common\\Beyond Good and Evil"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_FRAME_RATE": "60",
        "DXVK_HUD": null
      }
    },
    "wine": {
      "overrides": {
        "dsound": "n"
      }
    }
  }
}
Back to game