Installer the-riddle-of-master-lu-cdrom

files:
- GUS: https://raw.githubusercontent.com/appoloin/WfW/master/GUS_external_files.zip
game:
  main_file: $GAMEDIR/masterlu.conf
installer:
- 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/HDD $GAMEDIR/CDD
    file: mkdir
- extract:
    dst: $GAMEDIR/HDD/ULTRASND
    file: $GUS
- insert-disc:
    description: Please insert disc
    requires: install.bat
- execute:
    args: $DISC "$GAMEDIR/CDD"
    file: $CACHE/bulkcopy-alt.sh
- execute:
    args: -R 775  "$GAMEDIR/CDD"
    file: /bin/chmod
- write_file:
    content: '[sdl]

      sensitivity=30

      [gus]

      gus      = true

      ultradir = C:\ULTRASND

      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

      mount D "$GAMEDIR/CDD" -t cdrom

      D:

      install.bat

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

      sensitivity=30

      fullresolution=desktop

      windowresolution=original

      fullscreen=true

      output=opengl

      [render]

      aspect=true

      scaler=normal2x

      [gus]

      gus      = true

      ultradir = C:\ULTRASND

      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

      mount D "$GAMEDIR/CDD" -t cdrom

      C:

      cd riddle

      cls

      ECHO OFF

      goto launcher

      :launcher

      cls

      ECHO  -----------------------------------------------------

      ECHO   Ripleys Believe It or Not! The Riddle of Master Lu

      ECHO  -----------------------------------------------------

      ECHO   1) Play Game

      ECHO   2) Setup

      ECHO  -----------------------------------------------------

      ECHO   5) Exit Program

      ECHO  -----------------------------------------------------

      choice /c123 /s Which program do you want to run? [1-3]: /n

      if errorlevel 3 goto exit

      if errorlevel 2 goto setup

      if errorlevel 1 goto game


      :game

      cls

      masterlu

      goto exit


      :setup

      cls

      setup.exe

      goto launcher


      :exit

      exit'
    file: $GAMEDIR/masterlu.conf
description: null
game_slug: the-riddle-of-master-lu
gogslug: ''
humblestoreid: ''
installer_slug: the-riddle-of-master-lu-cdrom
name: The Riddle of Master Lu
notes: The Gravis Ultrasound driver has been installed and is selectable from the
  game setup menu.
runner: dosbox
script:
  files:
  - GUS: https://raw.githubusercontent.com/appoloin/WfW/master/GUS_external_files.zip
  game:
    main_file: $GAMEDIR/masterlu.conf
  installer:
  - 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/HDD $GAMEDIR/CDD
      file: mkdir
  - extract:
      dst: $GAMEDIR/HDD/ULTRASND
      file: $GUS
  - insert-disc:
      description: Please insert disc
      requires: install.bat
  - execute:
      args: $DISC "$GAMEDIR/CDD"
      file: $CACHE/bulkcopy-alt.sh
  - execute:
      args: -R 775  "$GAMEDIR/CDD"
      file: /bin/chmod
  - write_file:
      content: '[sdl]

        sensitivity=30

        [gus]

        gus      = true

        ultradir = C:\ULTRASND

        [autoexec]

        mount C "$GAMEDIR/HDD" -t dir

        mount D "$GAMEDIR/CDD" -t cdrom

        D:

        install.bat

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

        sensitivity=30

        fullresolution=desktop

        windowresolution=original

        fullscreen=true

        output=opengl

        [render]

        aspect=true

        scaler=normal2x

        [gus]

        gus      = true

        ultradir = C:\ULTRASND

        [autoexec]

        mount C "$GAMEDIR/HDD" -t dir

        mount D "$GAMEDIR/CDD" -t cdrom

        C:

        cd riddle

        cls

        ECHO OFF

        goto launcher

        :launcher

        cls

        ECHO  -----------------------------------------------------

        ECHO   Ripleys Believe It or Not! The Riddle of Master Lu

        ECHO  -----------------------------------------------------

        ECHO   1) Play Game

        ECHO   2) Setup

        ECHO  -----------------------------------------------------

        ECHO   5) Exit Program

        ECHO  -----------------------------------------------------

        choice /c123 /s Which program do you want to run? [1-3]: /n

        if errorlevel 3 goto exit

        if errorlevel 2 goto setup

        if errorlevel 1 goto game


        :game

        cls

        masterlu

        goto exit


        :setup

        cls

        setup.exe

        goto launcher


        :exit

        exit'
      file: $GAMEDIR/masterlu.conf
slug: the-riddle-of-master-lu-cdrom
steamid: null
version: CDrom
year: 1994
{
  "game_slug": "the-riddle-of-master-lu",
  "version": "CDrom",
  "description": null,
  "notes": "The Gravis Ultrasound driver has been installed and is selectable from the game setup menu.",
  "name": "The Riddle of Master Lu",
  "year": 1994,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "the-riddle-of-master-lu-cdrom",
  "installer_slug": "the-riddle-of-master-lu-cdrom",
  "script": {
    "files": [
      {
        "GUS": "https://raw.githubusercontent.com/appoloin/WfW/master/GUS_external_files.zip"
      }
    ],
    "game": {
      "main_file": "$GAMEDIR/masterlu.conf"
    },
    "installer": [
      {
        "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/HDD $GAMEDIR/CDD",
          "file": "mkdir"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/HDD/ULTRASND",
          "file": "$GUS"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert disc",
          "requires": "install.bat"
        }
      },
      {
        "execute": {
          "args": "$DISC \"$GAMEDIR/CDD\"",
          "file": "$CACHE/bulkcopy-alt.sh"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR/CDD\"",
          "file": "/bin/chmod"
        }
      },
      {
        "write_file": {
          "content": "[sdl]\nsensitivity=30\n[gus]\ngus      = true\nultradir = C:\\ULTRASND\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nmount D \"$GAMEDIR/CDD\" -t cdrom\nD:\ninstall.bat\nexit",
          "file": "$GAMEDIR/masterlu_setup.conf"
        }
      },
      {
        "task": {
          "config_file": "$GAMEDIR/masterlu_setup.conf",
          "name": "dosexec",
          "working_dir": "$GAMEDIR/HDD/"
        }
      },
      {
        "write_file": {
          "content": "[sdl]\nsensitivity=30\nfullresolution=desktop\nwindowresolution=original\nfullscreen=true\noutput=opengl\n[render]\naspect=true\nscaler=normal2x\n[gus]\ngus      = true\nultradir = C:\\ULTRASND\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nmount D \"$GAMEDIR/CDD\" -t cdrom\nC:\ncd riddle\ncls\nECHO OFF\ngoto launcher\n:launcher\ncls\nECHO  -----------------------------------------------------\nECHO   Ripleys Believe It or Not! The Riddle of Master Lu\nECHO  -----------------------------------------------------\nECHO   1) Play Game\nECHO   2) Setup\nECHO  -----------------------------------------------------\nECHO   5) Exit Program\nECHO  -----------------------------------------------------\nchoice /c123 /s Which program do you want to run? [1-3]: /n\nif errorlevel 3 goto exit\nif errorlevel 2 goto setup\nif errorlevel 1 goto game\n\n:game\ncls\nmasterlu\ngoto exit\n\n:setup\ncls\nsetup.exe\ngoto launcher\n\n:exit\nexit",
          "file": "$GAMEDIR/masterlu.conf"
        }
      }
    ]
  }
}
Back to game