Skip to content

Instantly share code, notes, and snippets.

@cjmaxik
Created October 25, 2022 05:09
Show Gist options
  • Save cjmaxik/1a7ee418d8f98d6ce6a1dce4c27f779b to your computer and use it in GitHub Desktop.
Save cjmaxik/1a7ee418d8f98d6ce6a1dce4c27f779b to your computer and use it in GitHub Desktop.
[Lutris] Hard Truck 2
Runner: Wine
Version: GOG - 1.3 (Eng, Rus)
Description: Supports both English and Russian versions of GOG version 1.3.
Technical notes:
- Please select the desired language when downloading the installation file from GOG.
- The game itself will be widescreen, while the UI and truck interior will still be stretched
- It is highly recommended to go to Graphics, hit Autodetect, then set Screen Resolution to 1024x768x16
- If you want to have video cutscenes working:
1) Open `iv5setup.exe` from game directory via `Run EXE within Wine prefix` option in Lutris UI
2) Choose Custom setup
3) Disable DirectShow Filter (third), Source Code and Plugin (last two)
4) Proceed with the rest of this setup
Credits:
Huge thanks to:
- REDPOWAR for D2GI wrapper
- ht2linux for the Running HT2 on Linux articles
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
dxvk: true
overrides:
ddraw.dll: b,n
@meequrox
Copy link

Thanks. You inspired me to write a new article about manually installing the game via Lutris. It turns out that with lutris-GE-Proton runner the game doesn't slow down when opening a large map.

@cjmaxik
Copy link
Author

cjmaxik commented Jan 24, 2023

No problem, @meequrox! Although I haven't encountered any slowdowns whatsoever.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment