Installer fallout-4-steam

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.

game:
  appid: 377160
  arch: win64
  prefix: $GAMEDIR/prefix
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR/prefix
- task:
    app: win7
    arch: win64
    name: winetricks
    prefix: $GAMEDIR/prefix
- task:
    app: xact
    arch: win64
    name: winetricks
    prefix: $GAMEDIR/prefix
- task:
    arch: win64
    description: Enabling CSMT
    key: wined3d
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DllRedirects
    prefix: $GAMEDIR/prefix
    value: wined3d-csmt.dll
- task:
    arch: win64
    key: GrabFullscreen
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
    prefix: $GAMEDIR/prefix
    value: Y
- write_config:
    file: $GAMEDIR/prefix/drive_c/users/$USER/My Documents/My Games/Fallout4/Fallout4.ini
    key: sStartingConsoleCommand
    section: Display
    value: gr off
- write_config:
    file: $GAMEDIR/prefix/drive_c/users/$USER/My Documents/My Games/Fallout4/Fallout4.ini
    key: bNvGodraysEnable
    section: Display
    value: '0'
- write_config:
    file: $GAMEDIR/Fallout4_Default.ini
    key: bNvGodraysEnable
    section: Display
    value: '0'
- write_config:
    file: $GAMEDIR/prefix/drive_c/users/$USER/My Documents/My Games/Fallout4/Fallout4Prefs.ini
    key: bVolumetricLightingEnable
    section: Display
    value: '0'
- write_config:
    file: $GAMEDIR/Fallout4_Default.ini
    key: bBackgroundMouse
    section: Controls
    value: '1'
- write_config:
    file: $GAMEDIR/prefix/drive_c/users/$USER/My Documents/My Games/Fallout4/Fallout4.ini
    key: bBackgroundMouse
    section: Controls
    value: '1'
system:
  pulse_latency: true
winesteam:
  Desktop: true
  dumbxinputemu: true
  overrides:
    winegstreamer: disabled
  version: tkg-fo4-3.19-x86_64
  x360ce-path: $GAMEDIR
{
  "game": {
    "appid": 377160,
    "arch": "win64",
    "prefix": "$GAMEDIR/prefix"
  },
  "installer": [
    {
      "task": {
        "arch": "win64",
        "name": "create_prefix",
        "prefix": "$GAMEDIR/prefix"
      }
    },
    {
      "task": {
        "arch": "win64",
        "name": "winetricks",
        "prefix": "$GAMEDIR/prefix",
        "app": "win7"
      }
    },
    {
      "task": {
        "arch": "win64",
        "name": "winetricks",
        "prefix": "$GAMEDIR/prefix",
        "app": "xact"
      }
    },
    {
      "task": {
        "arch": "win64",
        "description": "Enabling CSMT",
        "name": "set_regedit",
        "key": "wined3d",
        "value": "wined3d-csmt.dll",
        "prefix": "$GAMEDIR/prefix",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllRedirects"
      }
    },
    {
      "task": {
        "arch": "win64",
        "name": "set_regedit",
        "key": "GrabFullscreen",
        "value": "Y",
        "prefix": "$GAMEDIR/prefix",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver"
      }
    },
    {
      "write_config": {
        "file": "$GAMEDIR/prefix/drive_c/users/$USER/My Documents/My Games/Fallout4/Fallout4.ini",
        "section": "Display",
        "key": "sStartingConsoleCommand",
        "value": "gr off"
      }
    },
    {
      "write_config": {
        "file": "$GAMEDIR/prefix/drive_c/users/$USER/My Documents/My Games/Fallout4/Fallout4.ini",
        "section": "Display",
        "key": "bNvGodraysEnable",
        "value": "0"
      }
    },
    {
      "write_config": {
        "file": "$GAMEDIR/Fallout4_Default.ini",
        "section": "Display",
        "key": "bNvGodraysEnable",
        "value": "0"
      }
    },
    {
      "write_config": {
        "file": "$GAMEDIR/prefix/drive_c/users/$USER/My Documents/My Games/Fallout4/Fallout4Prefs.ini",
        "section": "Display",
        "key": "bVolumetricLightingEnable",
        "value": "0"
      }
    },
    {
      "write_config": {
        "file": "$GAMEDIR/Fallout4_Default.ini",
        "section": "Controls",
        "key": "bBackgroundMouse",
        "value": "1"
      }
    },
    {
      "write_config": {
        "file": "$GAMEDIR/prefix/drive_c/users/$USER/My Documents/My Games/Fallout4/Fallout4.ini",
        "section": "Controls",
        "key": "bBackgroundMouse",
        "value": "1"
      }
    }
  ],
  "system": {
    "pulse_latency": true
  },
  "winesteam": {
    "Desktop": true,
    "x360ce-path": "$GAMEDIR",
    "dumbxinputemu": true,
    "version": "tkg-fo4-3.19-x86_64",
    "overrides": {
      "winegstreamer": "disabled"
    }
  }
}
Back to game