Installer subnautica-dvd-mods

game:
  arch: win64
  exe: drive_c/Program Files/Subnautica/Subnautica.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    requires: Setup.exe
- task:
    arch: win64
    description: Creating 64bit Wine prefix.
    name: create_prefix
    prefix: $GAMEDIR
- task:
    description: Setting OS as Windows 7.
    key: Version
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine
    prefix: $GAMEDIR
    value: win7
- task:
    description: Allow DirectX apps to stop the mouse leaving their window.
    key: GrabFullScreen
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
    prefix: $GAMEDIR
    value: Y
- task:
    description: Deny the window manager to decorate the windows.
    key: Decorated
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
    prefix: $GAMEDIR
    value: N
- task:
    description: Allow the window manager to control the windows.
    key: Managed
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
    prefix: $GAMEDIR
    value: Y
- task:
    description: Enabling CSMT for better graphic performance.
    key: wined3d
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DllRedirects
    prefix: $GAMEDIR
    value: wined3d-csmt.dll
- task:
    description: Enabling winhttp for MODS.
    key: winhttp.dll
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
    prefix: $GAMEDIR
    value: native,builtin
- task:
    description: Enabling VAAPI as backend for DXVA2 GPU decoding.
    key: backend
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DXVA2
    prefix: $GAMEDIR
    value: va
- task:
    app: vcrun2005
    description: Installing Visual C++ 2005 libraries
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: vcrun6
    description: Installing Visual C++ 6 libraries
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: d3dx11_43
    description: Installing DirectX 11.
    name: winetricks
    prefix: $GAMEDIR
- task:
    description: 'Installing Subnautica.

      The installating folder MUST BE ''C:\Program Files\Subnautica''

      Ignore install of DirectX, Visual C++'
    executable: $DISC/Setup.exe
    name: wineexec
    prefix: $GAMEDIR
wine:
  overrides:
    dxgi: disable
    nvcuda: disable
    winhttp.dll: n, b
description: This version allows you to run the game with mods (from https://www.nexusmods.com/subnautica)
game_slug: subnautica
gogslug: ''
humblestoreid: ''
installer_slug: subnautica-dvd-mods
name: Subnautica
notes: The installation folder MUST BE ''C:\Program Files\Subnautica'' (or you can
  move the game folder from steam and use proton).
runner: wine
script:
  game:
    arch: win64
    exe: drive_c/Program Files/Subnautica/Subnautica.exe
    prefix: $GAMEDIR
  installer:
  - insert-disc:
      requires: Setup.exe
  - task:
      arch: win64
      description: Creating 64bit Wine prefix.
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      description: Setting OS as Windows 7.
      key: Version
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine
      prefix: $GAMEDIR
      value: win7
  - task:
      description: Allow DirectX apps to stop the mouse leaving their window.
      key: GrabFullScreen
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
      prefix: $GAMEDIR
      value: Y
  - task:
      description: Deny the window manager to decorate the windows.
      key: Decorated
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
      prefix: $GAMEDIR
      value: N
  - task:
      description: Allow the window manager to control the windows.
      key: Managed
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
      prefix: $GAMEDIR
      value: Y
  - task:
      description: Enabling CSMT for better graphic performance.
      key: wined3d
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\DllRedirects
      prefix: $GAMEDIR
      value: wined3d-csmt.dll
  - task:
      description: Enabling winhttp for MODS.
      key: winhttp.dll
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
      prefix: $GAMEDIR
      value: native,builtin
  - task:
      description: Enabling VAAPI as backend for DXVA2 GPU decoding.
      key: backend
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\DXVA2
      prefix: $GAMEDIR
      value: va
  - task:
      app: vcrun2005
      description: Installing Visual C++ 2005 libraries
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: vcrun6
      description: Installing Visual C++ 6 libraries
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: d3dx11_43
      description: Installing DirectX 11.
      name: winetricks
      prefix: $GAMEDIR
  - task:
      description: 'Installing Subnautica.

        The installating folder MUST BE ''C:\Program Files\Subnautica''

        Ignore install of DirectX, Visual C++'
      executable: $DISC/Setup.exe
      name: wineexec
      prefix: $GAMEDIR
  wine:
    overrides:
      dxgi: disable
      nvcuda: disable
      winhttp.dll: n, b
slug: subnautica-dvd-mods
steamid: 264710
version: DVD + Mods
year: 2018
{
  "game_slug": "subnautica",
  "version": "DVD + Mods",
  "description": "This version allows you to run the game with mods (from https://www.nexusmods.com/subnautica)",
  "notes": "The installation folder MUST BE ''C:\\Program Files\\Subnautica'' (or you can move the game folder from steam and use proton).",
  "name": "Subnautica",
  "year": 2018,
  "steamid": 264710,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "subnautica-dvd-mods",
  "installer_slug": "subnautica-dvd-mods",
  "script": {
    "game": {
      "arch": "win64",
      "exe": "drive_c/Program Files/Subnautica/Subnautica.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "insert-disc": {
          "requires": "Setup.exe"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Creating 64bit Wine prefix.",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Setting OS as Windows 7.",
          "key": "Version",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine",
          "prefix": "$GAMEDIR",
          "value": "win7"
        }
      },
      {
        "task": {
          "description": "Allow DirectX apps to stop the mouse leaving their window.",
          "key": "GrabFullScreen",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver",
          "prefix": "$GAMEDIR",
          "value": "Y"
        }
      },
      {
        "task": {
          "description": "Deny the window manager to decorate the windows.",
          "key": "Decorated",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver",
          "prefix": "$GAMEDIR",
          "value": "N"
        }
      },
      {
        "task": {
          "description": "Allow the window manager to control the windows.",
          "key": "Managed",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver",
          "prefix": "$GAMEDIR",
          "value": "Y"
        }
      },
      {
        "task": {
          "description": "Enabling CSMT for better graphic performance.",
          "key": "wined3d",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllRedirects",
          "prefix": "$GAMEDIR",
          "value": "wined3d-csmt.dll"
        }
      },
      {
        "task": {
          "description": "Enabling winhttp for MODS.",
          "key": "winhttp.dll",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides",
          "prefix": "$GAMEDIR",
          "value": "native,builtin"
        }
      },
      {
        "task": {
          "description": "Enabling VAAPI as backend for DXVA2 GPU decoding.",
          "key": "backend",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\DXVA2",
          "prefix": "$GAMEDIR",
          "value": "va"
        }
      },
      {
        "task": {
          "app": "vcrun2005",
          "description": "Installing Visual C++ 2005 libraries",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "vcrun6",
          "description": "Installing Visual C++ 6 libraries",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "d3dx11_43",
          "description": "Installing DirectX 11.",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Installing Subnautica.\nThe installating folder MUST BE 'C:\\Program Files\\Subnautica'\nIgnore install of DirectX, Visual C++",
          "executable": "$DISC/Setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      }
    ],
    "wine": {
      "overrides": {
        "dxgi": "disable",
        "nvcuda": "disable",
        "winhttp.dll": "n, b"
      }
    }
  }
}
Back to game