Installer the-journeyman-project-2-buri-win31-cdrom

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:
- game: N/A:Select the Autoexec.bat from a Win3.1 install
game:
  main_file: $GAMEDIR/journeyman.conf
installer:
- write_file:
    content: '#!/bin/bash

      src=$1

      dst=$2

      src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")

      cp -avr "$src_path/."  "$dst"'
    file: $CACHE/bulkcopy.sh
- chmodx: $CACHE/bulkcopy.sh
- write_file:
    content: '#!/bin/bash

      src=$1

      dst=$2

      cp -avr "$src/."  "$dst"'
    file: $CACHE/bulkcopy-alt.sh
- chmodx: $CACHE/bulkcopy-alt.sh
- execute:
    args: $GAMEDIR/CDD $GAMEDIR/CDD/DISC1
    file: mkdir
- execute:
    args: $game $GAMEDIR/HDD
    file: $CACHE/bulkcopy.sh
- insert-disc:
    description: Please insert disc 1
    requires: bitdata
- execute:
    args: $DISC $GAMEDIR/CDD/DISC1
    file: $CACHE/bulkcopy-alt.sh
- insert-disc:
    description: Please insert disc 2
    requires: bitdata
- execute:
    args: $DISC $GAMEDIR/CDD/DISC1
    file: $CACHE/bulkcopy-alt.sh
- insert-disc:
    description: Please insert disc 3
    requires: bitdata
- execute:
    args: $DISC $GAMEDIR/CDD/DISC1
    file: $CACHE/bulkcopy-alt.sh
- extract:
    dst: $GAMEDIR/HDD/runexit
    file: $runexit
    format: zip
- execute:
    args: -R 775  "$GAMEDIR/CDD"
    file: /bin/chmod
- write_file:
    content: '[sblaster]

      irq=5

      [sdl]

      sensitivity=20

      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

      mount D "$GAMEDIR/CDD/DISC1" -t cdrom

      SET PATH=%PATH%;C:\WINDOWS;C:\runexit

      SET TEMP=C:\WINDOWS\TEMP

      C:

      win D:\bitsetup.exe

      exit'
    file: $GAMEDIR/journeyman-setup.conf
- task:
    config_file: $GAMEDIR/journeyman-setup.conf
    name: dosexec
    working_dir: $GAMEDIR/HDD
- write_file:
    content: '[sblaster]

      irq=5

      [sdl]

      sensitivity=20

      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

      mount D "$GAMEDIR/CDD/DISC1" -t cdrom

      SET PATH=%PATH%;C:\WINDOWS;C:\runexit

      SET TEMP=C:\WINDOWS\TEMP

      C:

      win

      exit'
    file: $GAMEDIR/journeyman.conf
{
  "files": [
    {
      "game": "N/A:Select the Autoexec.bat from a Win3.1 install"
    }
  ],
  "game": {
    "main_file": "$GAMEDIR/journeyman.conf"
  },
  "installer": [
    {
      "write_file": {
        "content": "#!/bin/bash\nsrc=$1\ndst=$2\nsrc_path=$(echo \"$1\" | sed -r \"s/(.+)\\/.+/\\1/\")\ncp -avr \"$src_path/.\"  \"$dst\"",
        "file": "$CACHE/bulkcopy.sh"
      }
    },
    {
      "chmodx": "$CACHE/bulkcopy.sh"
    },
    {
      "write_file": {
        "content": "#!/bin/bash\nsrc=$1\ndst=$2\ncp -avr \"$src/.\"  \"$dst\"",
        "file": "$CACHE/bulkcopy-alt.sh"
      }
    },
    {
      "chmodx": "$CACHE/bulkcopy-alt.sh"
    },
    {
      "execute": {
        "args": "$GAMEDIR/CDD $GAMEDIR/CDD/DISC1",
        "file": "mkdir"
      }
    },
    {
      "execute": {
        "args": "$game $GAMEDIR/HDD",
        "file": "$CACHE/bulkcopy.sh"
      }
    },
    {
      "insert-disc": {
        "description": "Please insert disc 1",
        "requires": "bitdata"
      }
    },
    {
      "execute": {
        "args": "$DISC $GAMEDIR/CDD/DISC1",
        "file": "$CACHE/bulkcopy-alt.sh"
      }
    },
    {
      "insert-disc": {
        "description": "Please insert disc 2",
        "requires": "bitdata"
      }
    },
    {
      "execute": {
        "args": "$DISC $GAMEDIR/CDD/DISC1",
        "file": "$CACHE/bulkcopy-alt.sh"
      }
    },
    {
      "insert-disc": {
        "description": "Please insert disc 3",
        "requires": "bitdata"
      }
    },
    {
      "execute": {
        "args": "$DISC $GAMEDIR/CDD/DISC1",
        "file": "$CACHE/bulkcopy-alt.sh"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/HDD/runexit",
        "file": "$runexit",
        "format": "zip"
      }
    },
    {
      "execute": {
        "args": "-R 775  \"$GAMEDIR/CDD\"",
        "file": "/bin/chmod"
      }
    },
    {
      "write_file": {
        "content": "[sblaster]\nirq=5\n[sdl]\nsensitivity=20\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nmount D \"$GAMEDIR/CDD/DISC1\" -t cdrom\nSET PATH=%PATH%;C:\\WINDOWS;C:\\runexit\nSET TEMP=C:\\WINDOWS\\TEMP\nC:\nwin D:\\bitsetup.exe\nexit",
        "file": "$GAMEDIR/journeyman-setup.conf"
      }
    },
    {
      "task": {
        "config_file": "$GAMEDIR/journeyman-setup.conf",
        "name": "dosexec",
        "working_dir": "$GAMEDIR/HDD"
      }
    },
    {
      "write_file": {
        "content": "[sblaster]\nirq=5\n[sdl]\nsensitivity=20\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nmount D \"$GAMEDIR/CDD/DISC1\" -t cdrom\nSET PATH=%PATH%;C:\\WINDOWS;C:\\runexit\nSET TEMP=C:\\WINDOWS\\TEMP\nC:\nwin\nexit",
        "file": "$GAMEDIR/journeyman.conf"
      }
    }
  ]
}
Back to game