Installer just-cause-windows-steam-standa

files:
- steamsetup: https://steamcdn-a.akamaihd.net/client/installer/SteamSetup.exe
- patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Just%20Cause/JustCause.WidescreenFix.zip
game:
  args: -cef-disable-gpu-compositing steam://run/6880
  exe: drive_c/Program Files (x86)/Steam/steam.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Preparing wineprefix...
    name: create_prefix
    prefix: $GAMEDIR
- task:
    args: /S
    description: Installing Steam...
    executable: steamsetup
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Steam/steamapps/common/Just Cause
    file: patch
- input_menu:
    description: 'Choose the game''s language:'
    id: LANG
    options:
    - 409: English
    - 40c: French
    - 407: German
    - 410: Italian
    - 40a: Spanish
    preselect: 409
- task:
    key: Language
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Eidos\Just Cause
    type: REG_DWORD
    value: $INPUT_LANG
wine:
  overrides:
    dinput8: n,b
description: Play "Just Cause" provided by Steam on Linux!
game_slug: just-cause
gogslug: just_cause
humblestoreid: ''
installer_slug: just-cause-windows-steam-standa
name: Just Cause
notes: "- Steam is not fully usable, but it's not important, it's just installed to\
  \ launch the game\r\n- Widescreen patch using your native desktop resolution\r\n\
  - Multilingual: During install, you could choose your preferred language for the\
  \ game menu between English (default), French, German, Italian and Spanish"
runner: wine
script:
  files:
  - steamsetup: https://steamcdn-a.akamaihd.net/client/installer/SteamSetup.exe
  - patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Just%20Cause/JustCause.WidescreenFix.zip
  game:
    args: -cef-disable-gpu-compositing steam://run/6880
    exe: drive_c/Program Files (x86)/Steam/steam.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Preparing wineprefix...
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      args: /S
      description: Installing Steam...
      executable: steamsetup
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Steam/steamapps/common/Just Cause
      file: patch
  - input_menu:
      description: 'Choose the game''s language:'
      id: LANG
      options:
      - 409: English
      - 40c: French
      - 407: German
      - 410: Italian
      - 40a: Spanish
      preselect: 409
  - task:
      key: Language
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Eidos\Just Cause
      type: REG_DWORD
      value: $INPUT_LANG
  wine:
    overrides:
      dinput8: n,b
slug: just-cause-windows-steam-standa
steamid: 6880
version: Windows Steam Standalone
year: 2006
{
  "game_slug": "just-cause",
  "version": "Windows Steam Standalone",
  "description": "Play \"Just Cause\" provided by Steam on Linux!",
  "notes": "- Steam is not fully usable, but it's not important, it's just installed to launch the game\r\n- Widescreen patch using your native desktop resolution\r\n- Multilingual: During install, you could choose your preferred language for the game menu between English (default), French, German, Italian and Spanish",
  "name": "Just Cause",
  "year": 2006,
  "steamid": 6880,
  "gogslug": "just_cause",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "just-cause-windows-steam-standa",
  "installer_slug": "just-cause-windows-steam-standa",
  "script": {
    "files": [
      {
        "steamsetup": "https://steamcdn-a.akamaihd.net/client/installer/SteamSetup.exe"
      },
      {
        "patch": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Just%20Cause/JustCause.WidescreenFix.zip"
      }
    ],
    "game": {
      "args": "-cef-disable-gpu-compositing steam://run/6880",
      "exe": "drive_c/Program Files (x86)/Steam/steam.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Preparing wineprefix...",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "args": "/S",
          "description": "Installing Steam...",
          "executable": "steamsetup",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Steam/steamapps/common/Just Cause",
          "file": "patch"
        }
      },
      {
        "input_menu": {
          "description": "Choose the game's language:",
          "id": "LANG",
          "options": [
            {
              "409": "English"
            },
            {
              "40c": "French"
            },
            {
              "407": "German"
            },
            {
              "410": "Italian"
            },
            {
              "40a": "Spanish"
            }
          ],
          "preselect": 409
        }
      },
      {
        "task": {
          "key": "Language",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Eidos\\Just Cause",
          "type": "REG_DWORD",
          "value": "$INPUT_LANG"
        }
      }
    ],
    "wine": {
      "overrides": {
        "dinput8": "n,b"
      }
    }
  }
}
Back to game