Installer enclave-gog-dxwrapper

files:
- wrapper: https://github.com/elishacloud/dxwrapper/releases/download/v1.1.6900.22/dxwrapper.zip
- gogsetup: N/A:Please select the Enclave Windows setup exe file downloaded from GOG
game:
  arch: win64
  exe: drive_c/GOG Games/Enclave/Enclave.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    install_gecko: true
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/GOG Games
    file: gogsetup
    format: gog
- move:
    dst: $GAMEDIR/drive_c/GOG Games/Enclave
    src: $GAMEDIR/drive_c/GOG Games/app
- extract:
    dst: $GAMEDIR/drive_c/GOG Games/Enclave
    file: wrapper
- copy:
    dst: $GAMEDIR/drive_c/GOG Games/Enclave
    src: $GAMEDIR/drive_c/GOG Games/Enclave/Stub/d3d8.dll
- write_config:
    data:
      Compatibility:
        D3d8to9: 1
      d3d9:
        LimitPerFrameFPS: 60
    file: $GAMEDIR/drive_c/GOG Games/Enclave/dxwrapper.ini
- write_file:
    content: 'VID_RENDER=Direct3D8

      XR_SHADOWDECALTEXTURESIZE=2048

      VID_MODE=$RESOLUTION_WIDTH $RESOLUTION_HEIGHT 32 60

      CON_ENABLE=1

      VID_VSYNC=1

      '
    file: $GAMEDIR/drive_c/GOG Games/Enclave/environment.cfg
- write_file:
    content: 'SUBTITLES_OFF=0

      KB_INGAME_MENU=ESC

      '
    file: $GAMEDIR/drive_c/GOG Games/Enclave/options.cfg
- task:
    arch: win64
    key: UseXVidMode
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
    prefix: $GAMEDIR
    type: REG_SZ
    value: N
system:
  env:
    DXVK_FRAME_RATE: '60'
    DXVK_HUD: null
wine:
  overrides:
    d3d8: native
description: Play "Enclave" provided by GOG on Linux!
game_slug: enclave
gogslug: enclave_digital_deluxe_version
humblestoreid: ''
installer_slug: enclave-gog-dxwrapper
name: Enclave
notes: "- Enclave has bad controller support. I wrote Antimicrox profiles, you can\
  \ download them here: \r\nhttps://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Enclave/gamepad%20profiles"
runner: wine
script:
  files:
  - wrapper: https://github.com/elishacloud/dxwrapper/releases/download/v1.1.6900.22/dxwrapper.zip
  - gogsetup: N/A:Please select the Enclave Windows setup exe file downloaded from
      GOG
  game:
    arch: win64
    exe: drive_c/GOG Games/Enclave/Enclave.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      install_gecko: true
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/GOG Games
      file: gogsetup
      format: gog
  - move:
      dst: $GAMEDIR/drive_c/GOG Games/Enclave
      src: $GAMEDIR/drive_c/GOG Games/app
  - extract:
      dst: $GAMEDIR/drive_c/GOG Games/Enclave
      file: wrapper
  - copy:
      dst: $GAMEDIR/drive_c/GOG Games/Enclave
      src: $GAMEDIR/drive_c/GOG Games/Enclave/Stub/d3d8.dll
  - write_config:
      data:
        Compatibility:
          D3d8to9: 1
        d3d9:
          LimitPerFrameFPS: 60
      file: $GAMEDIR/drive_c/GOG Games/Enclave/dxwrapper.ini
  - write_file:
      content: 'VID_RENDER=Direct3D8

        XR_SHADOWDECALTEXTURESIZE=2048

        VID_MODE=$RESOLUTION_WIDTH $RESOLUTION_HEIGHT 32 60

        CON_ENABLE=1

        VID_VSYNC=1

        '
      file: $GAMEDIR/drive_c/GOG Games/Enclave/environment.cfg
  - write_file:
      content: 'SUBTITLES_OFF=0

        KB_INGAME_MENU=ESC

        '
      file: $GAMEDIR/drive_c/GOG Games/Enclave/options.cfg
  - task:
      arch: win64
      key: UseXVidMode
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
      prefix: $GAMEDIR
      type: REG_SZ
      value: N
  system:
    env:
      DXVK_FRAME_RATE: '60'
      DXVK_HUD: null
  wine:
    overrides:
      d3d8: native
slug: enclave-gog-dxwrapper
steamid: 253980
version: GOG + DxWrapper
year: 2003
{
  "game_slug": "enclave",
  "version": "GOG + DxWrapper",
  "description": "Play \"Enclave\" provided by GOG on Linux!",
  "notes": "- Enclave has bad controller support. I wrote Antimicrox profiles, you can download them here: \r\nhttps://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Enclave/gamepad%20profiles",
  "name": "Enclave",
  "year": 2003,
  "steamid": 253980,
  "gogslug": "enclave_digital_deluxe_version",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "enclave-gog-dxwrapper",
  "installer_slug": "enclave-gog-dxwrapper",
  "script": {
    "files": [
      {
        "wrapper": "https://github.com/elishacloud/dxwrapper/releases/download/v1.1.6900.22/dxwrapper.zip"
      },
      {
        "gogsetup": "N/A:Please select the Enclave Windows setup exe file downloaded from GOG"
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "drive_c/GOG Games/Enclave/Enclave.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "install_gecko": true,
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/GOG Games",
          "file": "gogsetup",
          "format": "gog"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Enclave",
          "src": "$GAMEDIR/drive_c/GOG Games/app"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Enclave",
          "file": "wrapper"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Enclave",
          "src": "$GAMEDIR/drive_c/GOG Games/Enclave/Stub/d3d8.dll"
        }
      },
      {
        "write_config": {
          "data": {
            "Compatibility": {
              "D3d8to9": 1
            },
            "d3d9": {
              "LimitPerFrameFPS": 60
            }
          },
          "file": "$GAMEDIR/drive_c/GOG Games/Enclave/dxwrapper.ini"
        }
      },
      {
        "write_file": {
          "content": "VID_RENDER=Direct3D8\nXR_SHADOWDECALTEXTURESIZE=2048\nVID_MODE=$RESOLUTION_WIDTH $RESOLUTION_HEIGHT 32 60\nCON_ENABLE=1\nVID_VSYNC=1\n",
          "file": "$GAMEDIR/drive_c/GOG Games/Enclave/environment.cfg"
        }
      },
      {
        "write_file": {
          "content": "SUBTITLES_OFF=0\nKB_INGAME_MENU=ESC\n",
          "file": "$GAMEDIR/drive_c/GOG Games/Enclave/options.cfg"
        }
      },
      {
        "task": {
          "arch": "win64",
          "key": "UseXVidMode",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver",
          "prefix": "$GAMEDIR",
          "type": "REG_SZ",
          "value": "N"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_FRAME_RATE": "60",
        "DXVK_HUD": null
      }
    },
    "wine": {
      "overrides": {
        "d3d8": "native"
      }
    }
  }
}
Back to game