files:
- mnt-script: https://codeberg.org/jacob_scharmberg/lutris-scripts/raw/branch/main/jurassic-park-iii-dino-defender/mount-disc.sh
game:
exe: $GAMEDIR/drive_c/Program Files/Jurassic Park III Games/Dino Defender/launch.exe
prefix: $GAMEDIR
installer:
- insert-disc:
requires: dinfiles
- task:
name: create_prefix
prefix: $GAMEDIR
- move:
dst: $GAMEDIR
src: mnt-script
- execute:
command: if command -v flatpak-spawn > /dev/null 2>&1; then flatpak-spawn --host
pkexec dd if=/dev/$(lsblk -ndo pkname $(findmnt -no SOURCE "$DISC")) of=$GAMEDIR/disc.iso
status=progress; else pkexec dd if=/dev/$(lsblk -ndo pkname $(findmnt -no SOURCE
"$DISC")) of=$GAMEDIR/disc.iso status=progress; fi
description: Imaging CD to hard disk...
- execute:
description: Mounting ISO...
file: $GAMEDIR/mount-disc.sh
- task:
exclude_processes: write.exe QuickTimePlayer Launch.exe Dinodef.exe
executable: $GAMEDIR/disc/AUTORUN.EXE
name: wineexec
prefix: $GAMEDIR
- task:
name: winekill
prefix: $GAMEDIR
system:
gamescope: true
gamescope_game_res: 640x480
prelaunch_command: $GAMEDIR/mount-disc.sh
prelaunch_wait: true
description: This installs the game from the CD. The game requires the CD to be present
when playing. To circumvent this, this installer images the CD to the hard disk
and sets up a script to automatically mount the image before launch. The CD menu
buttons are a bit iffy for me but if you keep pressing them, they should eventually
work. The opening splash screen of the game does not show and only plays the audio.
But if you click multiple times on the black screen, it will eventually show picture.
game_slug: jurassic-park-iii-dino-defender
gogslug: ''
humblestoreid: ''
installer_slug: jurassic-park-iii-dino-defend-cd
name: 'Jurassic Park III: Dino Defender'
notes: ''
runner: wine
script:
files:
- mnt-script: https://codeberg.org/jacob_scharmberg/lutris-scripts/raw/branch/main/jurassic-park-iii-dino-defender/mount-disc.sh
game:
exe: $GAMEDIR/drive_c/Program Files/Jurassic Park III Games/Dino Defender/launch.exe
prefix: $GAMEDIR
installer:
- insert-disc:
requires: dinfiles
- task:
name: create_prefix
prefix: $GAMEDIR
- move:
dst: $GAMEDIR
src: mnt-script
- execute:
command: if command -v flatpak-spawn > /dev/null 2>&1; then flatpak-spawn --host
pkexec dd if=/dev/$(lsblk -ndo pkname $(findmnt -no SOURCE "$DISC")) of=$GAMEDIR/disc.iso
status=progress; else pkexec dd if=/dev/$(lsblk -ndo pkname $(findmnt -no
SOURCE "$DISC")) of=$GAMEDIR/disc.iso status=progress; fi
description: Imaging CD to hard disk...
- execute:
description: Mounting ISO...
file: $GAMEDIR/mount-disc.sh
- task:
exclude_processes: write.exe QuickTimePlayer Launch.exe Dinodef.exe
executable: $GAMEDIR/disc/AUTORUN.EXE
name: wineexec
prefix: $GAMEDIR
- task:
name: winekill
prefix: $GAMEDIR
system:
gamescope: true
gamescope_game_res: 640x480
prelaunch_command: $GAMEDIR/mount-disc.sh
prelaunch_wait: true
slug: jurassic-park-iii-dino-defend-cd
steamid: null
version: CD
year: 2001
{
"game_slug": "jurassic-park-iii-dino-defender",
"version": "CD",
"description": "This installs the game from the CD. The game requires the CD to be present when playing. To circumvent this, this installer images the CD to the hard disk and sets up a script to automatically mount the image before launch. The CD menu buttons are a bit iffy for me but if you keep pressing them, they should eventually work. The opening splash screen of the game does not show and only plays the audio. But if you click multiple times on the black screen, it will eventually show picture.",
"notes": "",
"name": "Jurassic Park III: Dino Defender",
"year": 2001,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "jurassic-park-iii-dino-defend-cd",
"installer_slug": "jurassic-park-iii-dino-defend-cd",
"script": {
"files": [
{
"mnt-script": "https://codeberg.org/jacob_scharmberg/lutris-scripts/raw/branch/main/jurassic-park-iii-dino-defender/mount-disc.sh"
}
],
"game": {
"exe": "$GAMEDIR/drive_c/Program Files/Jurassic Park III Games/Dino Defender/launch.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"insert-disc": {
"requires": "dinfiles"
}
},
{
"task": {
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"move": {
"dst": "$GAMEDIR",
"src": "mnt-script"
}
},
{
"execute": {
"command": "if command -v flatpak-spawn > /dev/null 2>&1; then flatpak-spawn --host pkexec dd if=/dev/$(lsblk -ndo pkname $(findmnt -no SOURCE \"$DISC\")) of=$GAMEDIR/disc.iso status=progress; else pkexec dd if=/dev/$(lsblk -ndo pkname $(findmnt -no SOURCE \"$DISC\")) of=$GAMEDIR/disc.iso status=progress; fi",
"description": "Imaging CD to hard disk..."
}
},
{
"execute": {
"description": "Mounting ISO...",
"file": "$GAMEDIR/mount-disc.sh"
}
},
{
"task": {
"exclude_processes": "write.exe QuickTimePlayer Launch.exe Dinodef.exe",
"executable": "$GAMEDIR/disc/AUTORUN.EXE",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"name": "winekill",
"prefix": "$GAMEDIR"
}
}
],
"system": {
"gamescope": true,
"gamescope_game_res": "640x480",
"prelaunch_command": "$GAMEDIR/mount-disc.sh",
"prelaunch_wait": true
}
}
}