Installer the-longest-journey-dvd

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.

game:
  game_id: tlj
  path: $GAMEDIR
installer:
- write_file:
    content: '#!/bin/bash

      src=$1

      dst=$2

      cp -avr "$src/."  "$dst"'
    file: $CACHE/bulkcopy-alt.sh
- chmodx: $CACHE/bulkcopy-alt.sh
- insert-disc:
    description: Please insert disc
    requires: SETUP.EXE
- task:
    arch: win32
    install_mono: false
    name: wine.create_prefix
    prefix: $GAMEDIR
- task:
    arch: win32
    executable: $DISC/SETUP.EXE
    name: wine.wineexec
    prefix: $GAMEDIR
- execute:
    args: '''$GAMEDIR/drive_c/Program Files/Funcom/The Longest Journey'' ''$GAMEDIR'''
    file: $CACHE/bulkcopy-alt.sh
- execute:
    args: -R 775  $GAMEDIR
    file: /bin/chmod
- execute:
    args: $GAMEDIR/configure.exe
    file: /bin/rm
- execute:
    args: -r $GAMEDIR/drive_c
    file: /bin/rm
- execute:
    args: -r $GAMEDIR/dosdevices
    file: /bin/rm
- execute:
    args: -r $GAMEDIR/system.reg
    file: /bin/rm
- execute:
    args: -r $GAMEDIR/user.reg
    file: /bin/rm
- execute:
    args: -r $GAMEDIR/userdef.reg
    file: /bin/rm
{
  "installer": [
    {
      "write_file": {
        "content": "#!/bin/bash\nsrc=$1\ndst=$2\ncp -avr \"$src/.\"  \"$dst\"",
        "file": "$CACHE/bulkcopy-alt.sh"
      }
    },
    {
      "chmodx": "$CACHE/bulkcopy-alt.sh"
    },
    {
      "insert-disc": {
        "description": "Please insert disc",
        "requires": "SETUP.EXE"
      }
    },
    {
      "task": {
        "arch": "win32",
        "prefix": "$GAMEDIR",
        "name": "wine.create_prefix",
        "install_mono": false
      }
    },
    {
      "task": {
        "arch": "win32",
        "executable": "$DISC/SETUP.EXE",
        "name": "wine.wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "execute": {
        "args": "'$GAMEDIR/drive_c/Program Files/Funcom/The Longest Journey' '$GAMEDIR'",
        "file": "$CACHE/bulkcopy-alt.sh"
      }
    },
    {
      "execute": {
        "args": "-R 775  $GAMEDIR",
        "file": "/bin/chmod"
      }
    },
    {
      "execute": {
        "args": "$GAMEDIR/configure.exe",
        "file": "/bin/rm"
      }
    },
    {
      "execute": {
        "args": "-r $GAMEDIR/drive_c",
        "file": "/bin/rm"
      }
    },
    {
      "execute": {
        "args": "-r $GAMEDIR/dosdevices",
        "file": "/bin/rm"
      }
    },
    {
      "execute": {
        "args": "-r $GAMEDIR/system.reg",
        "file": "/bin/rm"
      }
    },
    {
      "execute": {
        "args": "-r $GAMEDIR/user.reg",
        "file": "/bin/rm"
      }
    },
    {
      "execute": {
        "args": "-r $GAMEDIR/userdef.reg",
        "file": "/bin/rm"
      }
    }
  ],
  "game": {
    "path": "$GAMEDIR",
    "game_id": "tlj"
  }
}
Back to game