Installer la-noire-windows-steam-standa

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.

custom-name: L.A. Noire - Windows Steam Standalone
files:
- patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/L.A.Noire/win8_noire_files.tar.xz
- steamsetup: https://steamcdn-a.akamaihd.net/client/installer/SteamSetup.exe
- gamesettings: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/L.A.Noire/settings.ini
- menu: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/L.A.Noire/lanoire.bat
- dx2010: https://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe
- wpp: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/L.A.Noire/lanoire.bmp
game:
  exe: drive_c/lanoire.bat
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Preparing wineprefix...
    name: create_prefix
    prefix: $GAMEDIR
- task:
    arch: win64
    key: background
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Colors\
    prefix: $GAMEDIR
    type: REG_SZ
    value: 0 0 0
- task:
    args: /S
    description: Installing Steam...
    executable: steamsetup
    name: wineexec
    prefix: $GAMEDIR
- merge:
    dst: $GAMEDIR/drive_c/tmp
    src: gamesettings
- extract:
    dst: $CACHE/directx_2010
    src: dx2010
- task:
    args: /silent
    description: Installing DirectX Runtime 2010...
    executable: $CACHE/directx_2010/DXSETUP.exe
    name: wineexec
- extract:
    dst: $GAMEDIR/drive_c/tmp
    file: patch
    format: txz
- move:
    dst: $GAMEDIR/drive_c/
    src: menu
- move:
    dst: $GAMEDIR/drive_c/
    src: wpp
- task:
    arch: win64
    key: wallpaper
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Desktop\
    prefix: $GAMEDIR
    type: REG_SZ
    value: c:\\lanoire.bmp
- task:
    arch: win64
    key: csmt
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\Direct3D\
    prefix: $GAMEDIR
    type: REG_DWORD
    value: '00000000'
- task:
    app: dotnet35sp1 win7 dxvk
    description: Installing Dotnet 3.5 sp1, could take a long time, 10-20 mn...
    name: winetricks
    prefix: $GAMEDIR
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR
- execute:
    command: cd "$GAMEDIR/drive_c/tmp"; sed -i "s/Command Line:.*/Command Line:-res
      "$RESOLUTION_WIDTH" "$RESOLUTION_HEIGHT"/g" settings.ini ;
wine:
  Desktop: true
  dxvk: false
  overrides:
    d3d9: b
{
  "custom-name": "L.A. Noire - Windows Steam Standalone",
  "files": [
    {
      "patch": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/L.A.Noire/win8_noire_files.tar.xz"
    },
    {
      "steamsetup": "https://steamcdn-a.akamaihd.net/client/installer/SteamSetup.exe"
    },
    {
      "gamesettings": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/L.A.Noire/settings.ini"
    },
    {
      "menu": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/L.A.Noire/lanoire.bat"
    },
    {
      "dx2010": "https://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe"
    },
    {
      "wpp": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/L.A.Noire/lanoire.bmp"
    }
  ],
  "game": {
    "exe": "drive_c/lanoire.bat",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "arch": "win64",
        "description": "Preparing wineprefix...",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "key": "background",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
        "prefix": "$GAMEDIR",
        "type": "REG_SZ",
        "value": "0 0 0"
      }
    },
    {
      "task": {
        "args": "/S",
        "description": "Installing Steam...",
        "executable": "steamsetup",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/drive_c/tmp",
        "src": "gamesettings"
      }
    },
    {
      "extract": {
        "dst": "$CACHE/directx_2010",
        "src": "dx2010"
      }
    },
    {
      "task": {
        "args": "/silent",
        "description": "Installing DirectX Runtime 2010...",
        "executable": "$CACHE/directx_2010/DXSETUP.exe",
        "name": "wineexec"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/drive_c/tmp",
        "file": "patch",
        "format": "txz"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/drive_c/",
        "src": "menu"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/drive_c/",
        "src": "wpp"
      }
    },
    {
      "task": {
        "arch": "win64",
        "key": "wallpaper",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Control Panel\\Desktop\\",
        "prefix": "$GAMEDIR",
        "type": "REG_SZ",
        "value": "c:\\\\lanoire.bmp"
      }
    },
    {
      "task": {
        "arch": "win64",
        "key": "csmt",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\Direct3D\\",
        "prefix": "$GAMEDIR",
        "type": "REG_DWORD",
        "value": "00000000"
      }
    },
    {
      "task": {
        "app": "dotnet35sp1 win7 dxvk",
        "description": "Installing Dotnet 3.5 sp1, could take a long time, 10-20 mn...",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "execute": {
        "command": "cd \"$GAMEDIR/drive_c/tmp\"; sed -i \"s/Command Line:.*/Command Line:-res \"$RESOLUTION_WIDTH\" \"$RESOLUTION_HEIGHT\"/g\" settings.ini ;"
      }
    }
  ],
  "wine": {
    "Desktop": true,
    "dxvk": false,
    "overrides": {
      "d3d9": "b"
    }
  }
}
Back to game