Installer the-elder-scrolls-ii-daggerfa-gog

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.

files:
- file1: N/A:Please select the GOG installer
- file2: https://lutris.net/files/tools/innoextract.tar.gz
game:
  config_file: $GAMEDIR/DOSBOX/dosbox_daggerfall.conf
installer:
- extract:
    dst: $CACHE
    file: $file2
- execute:
    args: -d "$CACHE" "$file1"
    file: $CACHE/innoextract
- merge:
    dst: $GAMEDIR
    src: $CACHE/app
- merge:
    dst: $GAMEDIR/DOSBOX
    src: $GAMEDIR/dosbox_daggerfall_single.conf
- merge:
    dst: $GAMEDIR/DOSBOX
    src: $GAMEDIR/dosbox_daggerfall.conf
- merge:
    dst: $GAMEDIR/DOSBOX
    src: $GAMEDIR/dosbox_daggerfall_settings.conf
- merge:
    dst: $GAMEDIR/DOSBOX
    src: $GAMEDIR/dosbox_daggerfall_fixsave.conf
- write_config:
    file: $GAMEDIR/DOSBOX/dosbox_daggerfall.conf
    key: aspect
    section: render
    value: true
- write_config:
    file: $GAMEDIR/DOSBOX/dosbox_daggerfall.conf
    key: fullscreen
    section: sdl
    value: true
- write_config:
    file: $GAMEDIR/DOSBOX/dosbox_daggerfall.conf
    key: fullresolution
    section: sdl
    value: 1920x1080
- write_config:
    file: $GAMEDIR/DOSBOX/dosbox_daggerfall.conf
    key: cycles
    section: cpu
    value: max
- write_config:
    file: $GAMEDIR/DOSBOX/dosbox_daggerfall.conf
    key: midiconfig
    section: midi
    value: '128:0'
main_file: DOSBOX/dosbox_daggerfall_single.conf
{
  "main_file": "DOSBOX/dosbox_daggerfall_single.conf",
  "files": [
    {
      "file1": "N/A:Please select the GOG installer"
    },
    {
      "file2": "https://lutris.net/files/tools/innoextract.tar.gz"
    }
  ],
  "installer": [
    {
      "extract": {
        "dst": "$CACHE",
        "file": "$file2"
      }
    },
    {
      "execute": {
        "args": "-d \"$CACHE\" \"$file1\"",
        "file": "$CACHE/innoextract"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR",
        "src": "$CACHE/app"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/DOSBOX",
        "src": "$GAMEDIR/dosbox_daggerfall_single.conf"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/DOSBOX",
        "src": "$GAMEDIR/dosbox_daggerfall.conf"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/DOSBOX",
        "src": "$GAMEDIR/dosbox_daggerfall_settings.conf"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/DOSBOX",
        "src": "$GAMEDIR/dosbox_daggerfall_fixsave.conf"
      }
    },
    {
      "write_config": {
        "key": "aspect",
        "section": "render",
        "file": "$GAMEDIR/DOSBOX/dosbox_daggerfall.conf",
        "value": true
      }
    },
    {
      "write_config": {
        "key": "fullscreen",
        "section": "sdl",
        "file": "$GAMEDIR/DOSBOX/dosbox_daggerfall.conf",
        "value": true
      }
    },
    {
      "write_config": {
        "key": "fullresolution",
        "section": "sdl",
        "file": "$GAMEDIR/DOSBOX/dosbox_daggerfall.conf",
        "value": "1920x1080"
      }
    },
    {
      "write_config": {
        "key": "cycles",
        "section": "cpu",
        "file": "$GAMEDIR/DOSBOX/dosbox_daggerfall.conf",
        "value": "max"
      }
    },
    {
      "write_config": {
        "key": "midiconfig",
        "section": "midi",
        "file": "$GAMEDIR/DOSBOX/dosbox_daggerfall.conf",
        "value": "128:0"
      }
    }
  ],
  "game": {
    "config_file": "$GAMEDIR/DOSBOX/dosbox_daggerfall.conf"
  }
}
Back to game