Installer hard-truck-2-king-of-the-road-gog-13-eng-rus

files:
- setup: N/A:Please select the game installer from GOG, version 1.3 (Eng, Rus)
- wrapper: https://github.com/REDPOWAR/D2GI/releases/download/v0.1/D2GI_v0.1.zip
- codecs: http://s3.amazonaws.com/moviecodec/files/iv5setup.exe
game:
  arch: win32
  exe: $GAMEDIR/drive_c/GOG Games/Hard Truck 2/Launch Hard Truck 2 - King of the Road.lnk
  gogid: 1731168163
  prefix: $GAMEDIR
  working_dir: $GAMEDIR/drive_c/GOG Games/Hard Truck 2
installer:
- task:
    app: winxp
    description: Initializing Wine prefix...
    name: winetricks
    prefix: $GAMEDIR
- task:
    args: /SILENT /SP- /NOCANCEL /SUPPRESSMSGBOXES /NOGUI /DIR="C:/GOG Games/Hard
      Truck 2"
    description: Installing the game...
    executable: setup
    name: wineexec
- extract:
    description: Extracting the wrapper...
    dst: $CACHE/wrapper
    file: wrapper
- merge:
    description: Installing the wrapper...
    dst: $GAMEDIR/drive_c/GOG Games/Hard Truck 2/
    src: $CACHE/wrapper
- merge:
    description: Copying the codecs installer...
    dst: $GAMEDIR/drive_c/GOG Games/Hard Truck 2/
    src: codecs
- execute:
    args: -i 's/xres=800/xres=1024/g' '$GAMEDIR/drive_c/GOG Games/Hard Truck 2/TRUCK.INI'
    description: Fixing the game config...
    file: sed
- execute:
    args: -i 's/yres=600/yres=768/g' '$GAMEDIR/drive_c/GOG Games/Hard Truck 2/TRUCK.INI'
    description: Fixing the game config...
    file: sed
- execute:
    args: -i 's/video=.\+$/video=306/g' '$GAMEDIR/drive_c/GOG Games/Hard Truck 2/TRUCK.INI'
    description: Fixing the game config...
    file: sed
- execute:
    args: -i 's/lastp=.\+$/lastp=DRIVER/g' '$GAMEDIR/drive_c/GOG Games/Hard Truck
      2/TRUCK.INI'
    description: Fixing the default save name...
    file: sed
require-binaries: sed
system:
  single_cpu: true
wine:
  dgvoodoo2: true
  overrides:
    ddraw.dll: b,n
description: Supports both English and Russian versions of GOG version 1.3
game_slug: hard-truck-2-king-of-the-road
gogslug: hard_truck_2_king_of_the_road
humblestoreid: ''
installer_slug: hard-truck-2-king-of-the-road-gog-13-eng-rus
name: 'Hard Truck 2: King of the Road'
notes: "- Please select the desired language when downloading the installation file\
  \ from GOG.\r\n- The game itself will be widescreen, while the UI and truck interior\
  \ will still be stretched\r\n- It is highly recommended to go to Graphics, hit Autodetect,\
  \ then set Screen Resolution to 1024x768x16\r\n- If you want to have video cutscenes\
  \ working:\r\n    1) Open `iv5setup.exe` from game directory via `Run EXE within\
  \ Wine prefix` option in Lutris UI \r\n    2) Choose Custom setup\r\n    3) Disable\
  \ DirectShow Filter (third), Source Code and Plugin (last two)\r\n    4) Proceed\
  \ with the rest of this setup"
runner: wine
script:
  files:
  - setup: N/A:Please select the game installer from GOG, version 1.3 (Eng, Rus)
  - wrapper: https://github.com/REDPOWAR/D2GI/releases/download/v0.1/D2GI_v0.1.zip
  - codecs: http://s3.amazonaws.com/moviecodec/files/iv5setup.exe
  game:
    arch: win32
    exe: $GAMEDIR/drive_c/GOG Games/Hard Truck 2/Launch Hard Truck 2 - King of the
      Road.lnk
    gogid: 1731168163
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/GOG Games/Hard Truck 2
  installer:
  - task:
      app: winxp
      description: Initializing Wine prefix...
      name: winetricks
      prefix: $GAMEDIR
  - task:
      args: /SILENT /SP- /NOCANCEL /SUPPRESSMSGBOXES /NOGUI /DIR="C:/GOG Games/Hard
        Truck 2"
      description: Installing the game...
      executable: setup
      name: wineexec
  - extract:
      description: Extracting the wrapper...
      dst: $CACHE/wrapper
      file: wrapper
  - merge:
      description: Installing the wrapper...
      dst: $GAMEDIR/drive_c/GOG Games/Hard Truck 2/
      src: $CACHE/wrapper
  - merge:
      description: Copying the codecs installer...
      dst: $GAMEDIR/drive_c/GOG Games/Hard Truck 2/
      src: codecs
  - execute:
      args: -i 's/xres=800/xres=1024/g' '$GAMEDIR/drive_c/GOG Games/Hard Truck 2/TRUCK.INI'
      description: Fixing the game config...
      file: sed
  - execute:
      args: -i 's/yres=600/yres=768/g' '$GAMEDIR/drive_c/GOG Games/Hard Truck 2/TRUCK.INI'
      description: Fixing the game config...
      file: sed
  - execute:
      args: -i 's/video=.\+$/video=306/g' '$GAMEDIR/drive_c/GOG Games/Hard Truck 2/TRUCK.INI'
      description: Fixing the game config...
      file: sed
  - execute:
      args: -i 's/lastp=.\+$/lastp=DRIVER/g' '$GAMEDIR/drive_c/GOG Games/Hard Truck
        2/TRUCK.INI'
      description: Fixing the default save name...
      file: sed
  require-binaries: sed
  system:
    single_cpu: true
  wine:
    dgvoodoo2: true
    overrides:
      ddraw.dll: b,n
slug: hard-truck-2-king-of-the-road-gog-13-eng-rus
steamid: null
version: GOG - 1.3 (Eng, Rus)
year: 2000
{
  "game_slug": "hard-truck-2-king-of-the-road",
  "version": "GOG - 1.3 (Eng, Rus)",
  "description": "Supports both English and Russian versions of GOG version 1.3",
  "notes": "- Please select the desired language when downloading the installation file from GOG.\r\n- The game itself will be widescreen, while the UI and truck interior will still be stretched\r\n- It is highly recommended to go to Graphics, hit Autodetect, then set Screen Resolution to 1024x768x16\r\n- If you want to have video cutscenes working:\r\n    1) Open `iv5setup.exe` from game directory via `Run EXE within Wine prefix` option in Lutris UI \r\n    2) Choose Custom setup\r\n    3) Disable DirectShow Filter (third), Source Code and Plugin (last two)\r\n    4) Proceed with the rest of this setup",
  "name": "Hard Truck 2: King of the Road",
  "year": 2000,
  "steamid": null,
  "gogslug": "hard_truck_2_king_of_the_road",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "hard-truck-2-king-of-the-road-gog-13-eng-rus",
  "installer_slug": "hard-truck-2-king-of-the-road-gog-13-eng-rus",
  "script": {
    "files": [
      {
        "setup": "N/A:Please select the game installer from GOG, version 1.3 (Eng, Rus)"
      },
      {
        "wrapper": "https://github.com/REDPOWAR/D2GI/releases/download/v0.1/D2GI_v0.1.zip"
      },
      {
        "codecs": "http://s3.amazonaws.com/moviecodec/files/iv5setup.exe"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "$GAMEDIR/drive_c/GOG Games/Hard Truck 2/Launch Hard Truck 2 - King of the Road.lnk",
      "gogid": 1731168163,
      "prefix": "$GAMEDIR",
      "working_dir": "$GAMEDIR/drive_c/GOG Games/Hard Truck 2"
    },
    "installer": [
      {
        "task": {
          "app": "winxp",
          "description": "Initializing Wine prefix...",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "args": "/SILENT /SP- /NOCANCEL /SUPPRESSMSGBOXES /NOGUI /DIR=\"C:/GOG Games/Hard Truck 2\"",
          "description": "Installing the game...",
          "executable": "setup",
          "name": "wineexec"
        }
      },
      {
        "extract": {
          "description": "Extracting the wrapper...",
          "dst": "$CACHE/wrapper",
          "file": "wrapper"
        }
      },
      {
        "merge": {
          "description": "Installing the wrapper...",
          "dst": "$GAMEDIR/drive_c/GOG Games/Hard Truck 2/",
          "src": "$CACHE/wrapper"
        }
      },
      {
        "merge": {
          "description": "Copying the codecs installer...",
          "dst": "$GAMEDIR/drive_c/GOG Games/Hard Truck 2/",
          "src": "codecs"
        }
      },
      {
        "execute": {
          "args": "-i 's/xres=800/xres=1024/g' '$GAMEDIR/drive_c/GOG Games/Hard Truck 2/TRUCK.INI'",
          "description": "Fixing the game config...",
          "file": "sed"
        }
      },
      {
        "execute": {
          "args": "-i 's/yres=600/yres=768/g' '$GAMEDIR/drive_c/GOG Games/Hard Truck 2/TRUCK.INI'",
          "description": "Fixing the game config...",
          "file": "sed"
        }
      },
      {
        "execute": {
          "args": "-i 's/video=.\\+$/video=306/g' '$GAMEDIR/drive_c/GOG Games/Hard Truck 2/TRUCK.INI'",
          "description": "Fixing the game config...",
          "file": "sed"
        }
      },
      {
        "execute": {
          "args": "-i 's/lastp=.\\+$/lastp=DRIVER/g' '$GAMEDIR/drive_c/GOG Games/Hard Truck 2/TRUCK.INI'",
          "description": "Fixing the default save name...",
          "file": "sed"
        }
      }
    ],
    "require-binaries": "sed",
    "system": {
      "single_cpu": true
    },
    "wine": {
      "dgvoodoo2": true,
      "overrides": {
        "ddraw.dll": "b,n"
      }
    }
  }
}
Back to game