Installer fallout-gog

files:
- gogsetup: N/A:Select the Windows installer provided by GOG
game:
  exe: drive_c/GOG Games/Fallout/falloutwHR.exe
  gogid: 1440148836
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- task:
    executable: gogsetup
    name: wineexec
    prefix: $GAMEDIR
- input_menu:
    description: 'Choose the game''s language:'
    id: LANG
    options:
    - english: English
    - french: French
    - spanish: Spanish
    preselect: english
- write_config:
    data:
      preferences:
        subtitles: 1
      system:
        language: $INPUT_LANG
    file: $GAMEDIR/drive_c/GOG Games/Fallout/fallout.cfg
    merge: true
- copy:
    dst: $GAMEDIR/drive_c/GOG Games/Fallout/backup
    src: $GAMEDIR/drive_c/GOG Games/Fallout/f1_res.ini
- write_config:
    data:
      INPUT:
        ALT_MOUSE_INPUT: 1
      MAIN:
        SCALE_2X: 1
        SCR_HEIGHT: $RESOLUTION_HEIGHT
        SCR_WIDTH: $RESOLUTION_WIDTH
        UAC_AWARE: 0
        WINDOWED: 1
        WINDOWED_FULLSCREEN: 1
    file: $GAMEDIR/drive_c/GOG Games/Fallout/f1_res.ini
    merge: true
system:
  env:
    DXVK_FRAME_RATE: 0
    DXVK_HUD: null
  gamescope: true
  gamescope_force_grab_cursor: true
  gamescope_fps_limiter: 0
  gamescope_game_res: $RESOLUTION
  gamescope_output_res: $RESOLUTION
wine:
  overrides:
    ddraw: n,b
description: Play "Fallout 1" provided by GOG on Linux!
game_slug: fallout
gogslug: fallout
humblestoreid: ''
installer_slug: fallout-gog
name: Fallout
notes: "- Graphics options set to use your Desktop resolution with Widescreen mode\r\
  \n- Multilingual: you could choose during install for your preferred language for\
  \ menus and subtitles between English, Spanish and French"
runner: wine
script:
  files:
  - gogsetup: N/A:Select the Windows installer provided by GOG
  game:
    exe: drive_c/GOG Games/Fallout/falloutwHR.exe
    gogid: 1440148836
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      executable: gogsetup
      name: wineexec
      prefix: $GAMEDIR
  - input_menu:
      description: 'Choose the game''s language:'
      id: LANG
      options:
      - english: English
      - french: French
      - spanish: Spanish
      preselect: english
  - write_config:
      data:
        preferences:
          subtitles: 1
        system:
          language: $INPUT_LANG
      file: $GAMEDIR/drive_c/GOG Games/Fallout/fallout.cfg
      merge: true
  - copy:
      dst: $GAMEDIR/drive_c/GOG Games/Fallout/backup
      src: $GAMEDIR/drive_c/GOG Games/Fallout/f1_res.ini
  - write_config:
      data:
        INPUT:
          ALT_MOUSE_INPUT: 1
        MAIN:
          SCALE_2X: 1
          SCR_HEIGHT: $RESOLUTION_HEIGHT
          SCR_WIDTH: $RESOLUTION_WIDTH
          UAC_AWARE: 0
          WINDOWED: 1
          WINDOWED_FULLSCREEN: 1
      file: $GAMEDIR/drive_c/GOG Games/Fallout/f1_res.ini
      merge: true
  system:
    env:
      DXVK_FRAME_RATE: 0
      DXVK_HUD: null
    gamescope: true
    gamescope_force_grab_cursor: true
    gamescope_fps_limiter: 0
    gamescope_game_res: $RESOLUTION
    gamescope_output_res: $RESOLUTION
  wine:
    overrides:
      ddraw: n,b
slug: fallout-gog
steamid: 38400
version: GOG
year: 1997
{
  "game_slug": "fallout",
  "version": "GOG",
  "description": "Play \"Fallout 1\" provided by GOG on Linux!",
  "notes": "- Graphics options set to use your Desktop resolution with Widescreen mode\r\n- Multilingual: you could choose during install for your preferred language for menus and subtitles between English, Spanish and French",
  "name": "Fallout",
  "year": 1997,
  "steamid": 38400,
  "gogslug": "fallout",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "fallout-gog",
  "installer_slug": "fallout-gog",
  "script": {
    "files": [
      {
        "gogsetup": "N/A:Select the Windows installer provided by GOG"
      }
    ],
    "game": {
      "exe": "drive_c/GOG Games/Fallout/falloutwHR.exe",
      "gogid": 1440148836,
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "executable": "gogsetup",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "input_menu": {
          "description": "Choose the game's language:",
          "id": "LANG",
          "options": [
            {
              "english": "English"
            },
            {
              "french": "French"
            },
            {
              "spanish": "Spanish"
            }
          ],
          "preselect": "english"
        }
      },
      {
        "write_config": {
          "data": {
            "preferences": {
              "subtitles": 1
            },
            "system": {
              "language": "$INPUT_LANG"
            }
          },
          "file": "$GAMEDIR/drive_c/GOG Games/Fallout/fallout.cfg",
          "merge": true
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Fallout/backup",
          "src": "$GAMEDIR/drive_c/GOG Games/Fallout/f1_res.ini"
        }
      },
      {
        "write_config": {
          "data": {
            "INPUT": {
              "ALT_MOUSE_INPUT": 1
            },
            "MAIN": {
              "SCALE_2X": 1,
              "SCR_HEIGHT": "$RESOLUTION_HEIGHT",
              "SCR_WIDTH": "$RESOLUTION_WIDTH",
              "UAC_AWARE": 0,
              "WINDOWED": 1,
              "WINDOWED_FULLSCREEN": 1
            }
          },
          "file": "$GAMEDIR/drive_c/GOG Games/Fallout/f1_res.ini",
          "merge": true
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_FRAME_RATE": 0,
        "DXVK_HUD": null
      },
      "gamescope": true,
      "gamescope_force_grab_cursor": true,
      "gamescope_fps_limiter": 0,
      "gamescope_game_res": "$RESOLUTION",
      "gamescope_output_res": "$RESOLUTION"
    },
    "wine": {
      "overrides": {
        "ddraw": "n,b"
      }
    }
  }
}
Back to game