Installer the-longest-journey-4-cd

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.

custom-name: The Longest Journey - 4 CD - ResidualVM
files:
- rvmengine: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/The%20Longest%20Journey/engines.zip
- multi5:
    filename: tlj_4cd_gog_menus_sub_multi5.zip
    url: https://www.dropbox.com/s/h2mfqt8bw7xygt2/tlj_4cd_gog_menus_sub_multi5.zip?dl=1
- script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/The%20Longest%20Journey/clean.sh
game:
  game_id: tlj
  path: $GAMEDIR/TLJCD
  subtitles: true
installer:
- insert-disc:
    description: Please insert The Longest journey CD 1
    requires: game.exe
- merge:
    dst: $GAMEDIR/TLJCD
    src: $DISC/
- execute:
    command: cd $GAMEDIR/TLJCD; chmod -R +w *
- insert-disc:
    description: Please insert The Longest journey CD 2
    requires: slide2.avi
- merge:
    dst: $GAMEDIR/TLJCD
    src: $DISC/
- execute:
    command: $GAMEDIR/TLJCD; chmod -R +w *
- insert-disc:
    description: Please insert The Longest journey CD 3
    requires: slide3.avi
- merge:
    dst: $GAMEDIR/TLJCD
    src: $DISC/
- execute:
    command: cd $GAMEDIR/TLJCD; chmod -R +w *
- insert-disc:
    description: Please insert The Longest journey CD 4
    requires: slide4.avi
- merge:
    dst: $GAMEDIR/TLJCD
    src: $DISC/
- execute:
    command: cd $GAMEDIR/TLJCD; chmod -R +w *
- extract:
    dst: $GAMEDIR/tmp
    file: multi5
- extract:
    dst: $GAMEDIR/TLJCD/engines
    file: rvmengine
- input_menu:
    description: Do you want to use another language for menus and subtitles?
    id: LANG
    options:
    - keep: I prefer to keep default install language for menus and subtitles
    - fr: French
    - it: Italian
    - sp: Spanish
    - ge: german
    preselect: keep
- chmodx: script
- execute:
    args: $INPUT_LANG
    file: script
residualvm:
  fullscreen: true
{
  "custom-name": "The Longest Journey - 4 CD - ResidualVM",
  "files": [
    {
      "rvmengine": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/The%20Longest%20Journey/engines.zip"
    },
    {
      "multi5": {
        "filename": "tlj_4cd_gog_menus_sub_multi5.zip",
        "url": "https://www.dropbox.com/s/h2mfqt8bw7xygt2/tlj_4cd_gog_menus_sub_multi5.zip?dl=1"
      }
    },
    {
      "script": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/The%20Longest%20Journey/clean.sh"
    }
  ],
  "game": {
    "game_id": "tlj",
    "path": "$GAMEDIR/TLJCD",
    "subtitles": true
  },
  "installer": [
    {
      "insert-disc": {
        "description": "Please insert The Longest journey CD 1",
        "requires": "game.exe"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/TLJCD",
        "src": "$DISC/"
      }
    },
    {
      "execute": {
        "command": "cd $GAMEDIR/TLJCD; chmod -R +w *"
      }
    },
    {
      "insert-disc": {
        "description": "Please insert The Longest journey CD 2",
        "requires": "slide2.avi"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/TLJCD",
        "src": "$DISC/"
      }
    },
    {
      "execute": {
        "command": "$GAMEDIR/TLJCD; chmod -R +w *"
      }
    },
    {
      "insert-disc": {
        "description": "Please insert The Longest journey CD 3",
        "requires": "slide3.avi"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/TLJCD",
        "src": "$DISC/"
      }
    },
    {
      "execute": {
        "command": "cd $GAMEDIR/TLJCD; chmod -R +w *"
      }
    },
    {
      "insert-disc": {
        "description": "Please insert The Longest journey CD 4",
        "requires": "slide4.avi"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/TLJCD",
        "src": "$DISC/"
      }
    },
    {
      "execute": {
        "command": "cd $GAMEDIR/TLJCD; chmod -R +w *"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/tmp",
        "file": "multi5"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/TLJCD/engines",
        "file": "rvmengine"
      }
    },
    {
      "input_menu": {
        "description": "Do you want to use another language for menus and subtitles?",
        "id": "LANG",
        "options": [
          {
            "keep": "I prefer to keep default install language for menus and subtitles"
          },
          {
            "fr": "French"
          },
          {
            "it": "Italian"
          },
          {
            "sp": "Spanish"
          },
          {
            "ge": "german"
          }
        ],
        "preselect": "keep"
      }
    },
    {
      "chmodx": "script"
    },
    {
      "execute": {
        "args": "$INPUT_LANG",
        "file": "script"
      }
    }
  ],
  "residualvm": {
    "fullscreen": true
  }
}
Back to game