game:
exe: drive_c/King/King.exe
prefix: $GAMEDIR
installer:
- insert-disc:
requires: truck.ini
- task:
app: winxp
name: winetricks
- copy:
description: Copying gamefiles from disc...
dst: $GAMEDIR/drive_c/King/
src: $DISC/
- execute:
args: -c "cd drive_c/; chmod -R +w King/"
file: sh
- execute:
args: -i '1{/\[*\]/!d}' drive_c/King/truck.ini
file: sed
- write_config:
file: $GAMEDIR/drive_c/King/truck.ini
key: home
section: INSTALL
value: C:\King
- write_config:
file: $GAMEDIR/drive_c/King/truck.ini
key: base
section: INSTALL
value: C:\King
- write_config:
file: $GAMEDIR/drive_c/King/truck.ini
key: movie
section: INSTALL
value: C:\King
- write_config:
file: $GAMEDIR/drive_c/King/truck.ini
key: source
section: INSTALL
value: C:\King
- write_config:
file: $GAMEDIR/drive_c/King/truck.ini
key: music
section: INSTALL
value: C:\King\MUSIC
- write_config:
file: $GAMEDIR/drive_c/King/truck.ini
key: setup
section: INSTALL
value: 'on'
- execute:
args: -c "cd drive_c/King; mv Htruck2.exe King.exe; mv RigNRoll.exe King.exe ||
true"
file: sh
require-binaries: sh, sed, true
wine:
version: lutris-6.21-6-x86_64
description: Tested with various CDs for different game versions and countries
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-cd
name: 'Hard Truck 2: King of the Road'
notes: ''
runner: wine
script:
game:
exe: drive_c/King/King.exe
prefix: $GAMEDIR
installer:
- insert-disc:
requires: truck.ini
- task:
app: winxp
name: winetricks
- copy:
description: Copying gamefiles from disc...
dst: $GAMEDIR/drive_c/King/
src: $DISC/
- execute:
args: -c "cd drive_c/; chmod -R +w King/"
file: sh
- execute:
args: -i '1{/\[*\]/!d}' drive_c/King/truck.ini
file: sed
- write_config:
file: $GAMEDIR/drive_c/King/truck.ini
key: home
section: INSTALL
value: C:\King
- write_config:
file: $GAMEDIR/drive_c/King/truck.ini
key: base
section: INSTALL
value: C:\King
- write_config:
file: $GAMEDIR/drive_c/King/truck.ini
key: movie
section: INSTALL
value: C:\King
- write_config:
file: $GAMEDIR/drive_c/King/truck.ini
key: source
section: INSTALL
value: C:\King
- write_config:
file: $GAMEDIR/drive_c/King/truck.ini
key: music
section: INSTALL
value: C:\King\MUSIC
- write_config:
file: $GAMEDIR/drive_c/King/truck.ini
key: setup
section: INSTALL
value: 'on'
- execute:
args: -c "cd drive_c/King; mv Htruck2.exe King.exe; mv RigNRoll.exe King.exe
|| true"
file: sh
require-binaries: sh, sed, true
wine:
version: lutris-6.21-6-x86_64
slug: hard-truck-2-king-of-the-road-cd
steamid: null
version: CD
year: 2000
{
"game_slug": "hard-truck-2-king-of-the-road",
"version": "CD",
"description": "Tested with various CDs for different game versions and countries",
"notes": "",
"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-cd",
"installer_slug": "hard-truck-2-king-of-the-road-cd",
"script": {
"game": {
"exe": "drive_c/King/King.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"insert-disc": {
"requires": "truck.ini"
}
},
{
"task": {
"app": "winxp",
"name": "winetricks"
}
},
{
"copy": {
"description": "Copying gamefiles from disc...",
"dst": "$GAMEDIR/drive_c/King/",
"src": "$DISC/"
}
},
{
"execute": {
"args": "-c \"cd drive_c/; chmod -R +w King/\"",
"file": "sh"
}
},
{
"execute": {
"args": "-i '1{/\\[*\\]/!d}' drive_c/King/truck.ini",
"file": "sed"
}
},
{
"write_config": {
"file": "$GAMEDIR/drive_c/King/truck.ini",
"key": "home",
"section": "INSTALL",
"value": "C:\\King"
}
},
{
"write_config": {
"file": "$GAMEDIR/drive_c/King/truck.ini",
"key": "base",
"section": "INSTALL",
"value": "C:\\King"
}
},
{
"write_config": {
"file": "$GAMEDIR/drive_c/King/truck.ini",
"key": "movie",
"section": "INSTALL",
"value": "C:\\King"
}
},
{
"write_config": {
"file": "$GAMEDIR/drive_c/King/truck.ini",
"key": "source",
"section": "INSTALL",
"value": "C:\\King"
}
},
{
"write_config": {
"file": "$GAMEDIR/drive_c/King/truck.ini",
"key": "music",
"section": "INSTALL",
"value": "C:\\King\\MUSIC"
}
},
{
"write_config": {
"file": "$GAMEDIR/drive_c/King/truck.ini",
"key": "setup",
"section": "INSTALL",
"value": "on"
}
},
{
"execute": {
"args": "-c \"cd drive_c/King; mv Htruck2.exe King.exe; mv RigNRoll.exe King.exe || true\"",
"file": "sh"
}
}
],
"require-binaries": "sh, sed, true",
"wine": {
"version": "lutris-6.21-6-x86_64"
}
}
}