Installer la-noire-windows-steam-standa

files:
- steamsetup: https://steamcdn-a.akamaihd.net/client/installer/SteamSetup.exe
- game_cfg: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/L.A.Noire/settings.ini
- batch1: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/L.A.Noire/settings.bat
game:
  args: -cef-disable-gpu-compositing steam://run/110800
  exe: drive_c/Program Files (x86)/Steam/steam.exe
  launch_configs:
  - exe: $GAMEDIR/drive_c/users/$USER/Documents/Rockstar Games/L.A. Noire/settings.bat
    name: Edit L.A. Noire config file
  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
- merge:
    dst: $GAMEDIR/drive_c/users/$USER/Documents/Rockstar Games/L.A. Noire
    src: game_cfg
- input_menu:
    description: 'Choose your preferred game''s language:'
    id: LANG
    options:
    - English: English
    - French: French
    - German: German
    - Italian: Italian
    - Spanish: Spanish
    - Russian: Russian
    preselect: English
- execute:
    command: cd "$GAMEDIR/drive_c/users/$USER/Documents/Rockstar Games/L.A. Noire";
      case $INPUT_LANG in   English)     keyboard=US;     ;;   French)      keyboard=FR;     ;;   German)      keyboard=DE;     ;;   Italian)     keyboard=IT;     ;;   Spanish)     keyboard=ES;     ;;      Russian)     keyboard=RU;     ;;
      esac ; sed -i -e s/Resolution.*/Resolution\:"$RESOLUTION"x60/ -e s/Language.*/Language\:$INPUT_LANG/  -e
      s/Keyboard.*/Keyboard\:$keyboard/ -e s/Fullscreen.*/Fulscreen\:YES/ settings.ini;
      chmod -w settings.ini; cp settings.ini settings.install
- copy:
    dst: $GAMEDIR/drive_c/users/$USER/Documents/Rockstar Games/L.A. Noire
    src: batch1
system:
  env:
    DXVK_FRAME_RATE: '60'
    DXVK_HUD: null
description: Play "L.A.Noire" provided by Steam on Linux!
game_slug: la-noire
gogslug: ''
humblestoreid: ''
installer_slug: la-noire-windows-steam-standa
name: L.A. Noire
notes: "- Steam is not fully usable, but it's not important, it's just installed to\
  \ launch the game\r\n- You can change game options only editing this text file \"\
  drive_c/users/your_username_profil/Documents/Rockstar Games/L.A. Noire/settings.ini\"\
  \r\n- Multilingual: you could choose your preferred language for menus and subtitles\
  \ between English, French, German, Italian, Spanish and Russian\r\n- Actually this\
  \ game does not work in DirectX 9 mode with Wine, only in DirectX 11 mode"
runner: wine
script:
  files:
  - steamsetup: https://steamcdn-a.akamaihd.net/client/installer/SteamSetup.exe
  - game_cfg: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/L.A.Noire/settings.ini
  - batch1: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/L.A.Noire/settings.bat
  game:
    args: -cef-disable-gpu-compositing steam://run/110800
    exe: drive_c/Program Files (x86)/Steam/steam.exe
    launch_configs:
    - exe: $GAMEDIR/drive_c/users/$USER/Documents/Rockstar Games/L.A. Noire/settings.bat
      name: Edit L.A. Noire config file
    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
  - merge:
      dst: $GAMEDIR/drive_c/users/$USER/Documents/Rockstar Games/L.A. Noire
      src: game_cfg
  - input_menu:
      description: 'Choose your preferred game''s language:'
      id: LANG
      options:
      - English: English
      - French: French
      - German: German
      - Italian: Italian
      - Spanish: Spanish
      - Russian: Russian
      preselect: English
  - execute:
      command: cd "$GAMEDIR/drive_c/users/$USER/Documents/Rockstar Games/L.A. Noire";
        case $INPUT_LANG in   English)     keyboard=US;     ;;   French)      keyboard=FR;     ;;   German)      keyboard=DE;     ;;   Italian)     keyboard=IT;     ;;   Spanish)     keyboard=ES;     ;;      Russian)     keyboard=RU;     ;;
        esac ; sed -i -e s/Resolution.*/Resolution\:"$RESOLUTION"x60/ -e s/Language.*/Language\:$INPUT_LANG/  -e
        s/Keyboard.*/Keyboard\:$keyboard/ -e s/Fullscreen.*/Fulscreen\:YES/ settings.ini;
        chmod -w settings.ini; cp settings.ini settings.install
  - copy:
      dst: $GAMEDIR/drive_c/users/$USER/Documents/Rockstar Games/L.A. Noire
      src: batch1
  system:
    env:
      DXVK_FRAME_RATE: '60'
      DXVK_HUD: null
slug: la-noire-windows-steam-standa
steamid: 110800
version: Windows Steam Standalone
year: 2011
{
  "game_slug": "la-noire",
  "version": "Windows Steam Standalone",
  "description": "Play \"L.A.Noire\" 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- You can change game options only editing this text file \"drive_c/users/your_username_profil/Documents/Rockstar Games/L.A. Noire/settings.ini\"\r\n- Multilingual: you could choose your preferred language for menus and subtitles between English, French, German, Italian, Spanish and Russian\r\n- Actually this game does not work in DirectX 9 mode with Wine, only in DirectX 11 mode",
  "name": "L.A. Noire",
  "year": 2011,
  "steamid": 110800,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "la-noire-windows-steam-standa",
  "installer_slug": "la-noire-windows-steam-standa",
  "script": {
    "files": [
      {
        "steamsetup": "https://steamcdn-a.akamaihd.net/client/installer/SteamSetup.exe"
      },
      {
        "game_cfg": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/L.A.Noire/settings.ini"
      },
      {
        "batch1": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/L.A.Noire/settings.bat"
      }
    ],
    "game": {
      "args": "-cef-disable-gpu-compositing steam://run/110800",
      "exe": "drive_c/Program Files (x86)/Steam/steam.exe",
      "launch_configs": [
        {
          "exe": "$GAMEDIR/drive_c/users/$USER/Documents/Rockstar Games/L.A. Noire/settings.bat",
          "name": "Edit L.A. Noire config file"
        }
      ],
      "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"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/users/$USER/Documents/Rockstar Games/L.A. Noire",
          "src": "game_cfg"
        }
      },
      {
        "input_menu": {
          "description": "Choose your preferred game's language:",
          "id": "LANG",
          "options": [
            {
              "English": "English"
            },
            {
              "French": "French"
            },
            {
              "German": "German"
            },
            {
              "Italian": "Italian"
            },
            {
              "Spanish": "Spanish"
            },
            {
              "Russian": "Russian"
            }
          ],
          "preselect": "English"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c/users/$USER/Documents/Rockstar Games/L.A. Noire\"; case $INPUT_LANG in   English)     keyboard=US;     ;;   French)      keyboard=FR;     ;;   German)      keyboard=DE;     ;;   Italian)     keyboard=IT;     ;;   Spanish)     keyboard=ES;     ;;      Russian)     keyboard=RU;     ;; esac ; sed -i -e s/Resolution.*/Resolution\\:\"$RESOLUTION\"x60/ -e s/Language.*/Language\\:$INPUT_LANG/  -e s/Keyboard.*/Keyboard\\:$keyboard/ -e s/Fullscreen.*/Fulscreen\\:YES/ settings.ini; chmod -w settings.ini; cp settings.ini settings.install"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/users/$USER/Documents/Rockstar Games/L.A. Noire",
          "src": "batch1"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_FRAME_RATE": "60",
        "DXVK_HUD": null
      }
    }
  }
}
Back to game