Installer tom-clancys-splinter-cell-gog

files:
- gogsetup: N/A:Please select the GOG installer
- patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tom%20Clancy's%20Splinter%20Cell/SplinterCell.WidescreenFix.zip
- script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tom%20Clancy's%20Splinter%20Cell/run_lang_script.sh
game:
  exe: drive_c/GOG Games/Splinter Cell/system/SplinterCell.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/GOG Games/Splinter Cell
    file: gogsetup
    format: gog
- extract:
    dst: $GAMEDIR/drive_c/GOG Games/Splinter Cell/system
    file: patch
- input_menu:
    description: 'Choose the game''s language:'
    id: LANG
    options:
    - int: English
    - fra: French
    - ita: Italian
    - deu: German
    - esp: Spanish
    preselect: int
- chmodx: script
- execute:
    args: $INPUT_LANG "$CACHE"
    file: script
- extract:
    dst: $GAMEDIR/drive_c/GOG Games/Splinter Cell
    file: $CACHE/sc1_multi5_$INPUT_LANG.zip
- write_config:
    data:
      Engine.Engine:
        Language: $INPUT_LANG
      WinDrv.WindowsClient:
        StartupFullscreen: false
    file: $GAMEDIR/drive_c/GOG Games/Splinter Cell/system/SplinterCell.ini
    merge: true
- write_config:
    data:
      Engine.Input:
        H: DPadLeft
        J: DPadRight
    file: $GAMEDIR/drive_c/GOG Games/Splinter Cell/system/SplinterCellUser.ini
    merge: true
system:
  env:
    DXVK_FRAME_RATE: '60'
    DXVK_HUD: null
wine:
  overrides:
    d3d8: n,b
    msacm32: n,b
    msvfw32: n,b
description: Play "Tom Clancy's Splinter Cell" provided by GOG on Linux!
game_slug: tom-clancys-splinter-cell
gogslug: splinter_cell
humblestoreid: ''
installer_slug: tom-clancys-splinter-cell-gog
name: Tom Clancy's Splinter Cell
notes: "- Widescreen fix included\r\n- Multilingual: During install, you could choose\
  \ your preferred language between English (default), French, Italian, German and\
  \ Spanish\r\n- \"TCSC\" GOG edition does not natively support controller, only Keyboard.\
  \ But you can still use your controller with AntimicroX keymapper, you will find\
  \ profile(s) here:\r\nhttps://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Tom%20Clancy's%20Splinter%20Cell/gamepad%20profiles"
runner: wine
script:
  files:
  - gogsetup: N/A:Please select the GOG installer
  - patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tom%20Clancy's%20Splinter%20Cell/SplinterCell.WidescreenFix.zip
  - script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tom%20Clancy's%20Splinter%20Cell/run_lang_script.sh
  game:
    exe: drive_c/GOG Games/Splinter Cell/system/SplinterCell.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/GOG Games/Splinter Cell
      file: gogsetup
      format: gog
  - extract:
      dst: $GAMEDIR/drive_c/GOG Games/Splinter Cell/system
      file: patch
  - input_menu:
      description: 'Choose the game''s language:'
      id: LANG
      options:
      - int: English
      - fra: French
      - ita: Italian
      - deu: German
      - esp: Spanish
      preselect: int
  - chmodx: script
  - execute:
      args: $INPUT_LANG "$CACHE"
      file: script
  - extract:
      dst: $GAMEDIR/drive_c/GOG Games/Splinter Cell
      file: $CACHE/sc1_multi5_$INPUT_LANG.zip
  - write_config:
      data:
        Engine.Engine:
          Language: $INPUT_LANG
        WinDrv.WindowsClient:
          StartupFullscreen: false
      file: $GAMEDIR/drive_c/GOG Games/Splinter Cell/system/SplinterCell.ini
      merge: true
  - write_config:
      data:
        Engine.Input:
          H: DPadLeft
          J: DPadRight
      file: $GAMEDIR/drive_c/GOG Games/Splinter Cell/system/SplinterCellUser.ini
      merge: true
  system:
    env:
      DXVK_FRAME_RATE: '60'
      DXVK_HUD: null
  wine:
    overrides:
      d3d8: n,b
      msacm32: n,b
      msvfw32: n,b
slug: tom-clancys-splinter-cell-gog
steamid: 13560
version: GOG
year: 2003
{
  "game_slug": "tom-clancys-splinter-cell",
  "version": "GOG",
  "description": "Play \"Tom Clancy's Splinter Cell\" provided by GOG on Linux!",
  "notes": "- Widescreen fix included\r\n- Multilingual: During install, you could choose your preferred language between English (default), French, Italian, German and Spanish\r\n- \"TCSC\" GOG edition does not natively support controller, only Keyboard. But you can still use your controller with AntimicroX keymapper, you will find profile(s) here:\r\nhttps://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Tom%20Clancy's%20Splinter%20Cell/gamepad%20profiles",
  "name": "Tom Clancy's Splinter Cell",
  "year": 2003,
  "steamid": 13560,
  "gogslug": "splinter_cell",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "tom-clancys-splinter-cell-gog",
  "installer_slug": "tom-clancys-splinter-cell-gog",
  "script": {
    "files": [
      {
        "gogsetup": "N/A:Please select the GOG installer"
      },
      {
        "patch": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tom%20Clancy's%20Splinter%20Cell/SplinterCell.WidescreenFix.zip"
      },
      {
        "script": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Tom%20Clancy's%20Splinter%20Cell/run_lang_script.sh"
      }
    ],
    "game": {
      "exe": "drive_c/GOG Games/Splinter Cell/system/SplinterCell.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Splinter Cell",
          "file": "gogsetup",
          "format": "gog"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Splinter Cell/system",
          "file": "patch"
        }
      },
      {
        "input_menu": {
          "description": "Choose the game's language:",
          "id": "LANG",
          "options": [
            {
              "int": "English"
            },
            {
              "fra": "French"
            },
            {
              "ita": "Italian"
            },
            {
              "deu": "German"
            },
            {
              "esp": "Spanish"
            }
          ],
          "preselect": "int"
        }
      },
      {
        "chmodx": "script"
      },
      {
        "execute": {
          "args": "$INPUT_LANG \"$CACHE\"",
          "file": "script"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Splinter Cell",
          "file": "$CACHE/sc1_multi5_$INPUT_LANG.zip"
        }
      },
      {
        "write_config": {
          "data": {
            "Engine.Engine": {
              "Language": "$INPUT_LANG"
            },
            "WinDrv.WindowsClient": {
              "StartupFullscreen": false
            }
          },
          "file": "$GAMEDIR/drive_c/GOG Games/Splinter Cell/system/SplinterCell.ini",
          "merge": true
        }
      },
      {
        "write_config": {
          "data": {
            "Engine.Input": {
              "H": "DPadLeft",
              "J": "DPadRight"
            }
          },
          "file": "$GAMEDIR/drive_c/GOG Games/Splinter Cell/system/SplinterCellUser.ini",
          "merge": true
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_FRAME_RATE": "60",
        "DXVK_HUD": null
      }
    },
    "wine": {
      "overrides": {
        "d3d8": "n,b",
        "msacm32": "n,b",
        "msvfw32": "n,b"
      }
    }
  }
}
Back to game