Installer the-gene-machine-cdrom

game:
  main_file: $GAMEDIR/gene.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
- 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

      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

      mount D "$GAMEDIR/CDD" -t dir

      D:

      install.bat

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

      cycles=25000

      [sdl]

      sensitivity=30

      fullresolution=desktop

      windowresolution=original

      fullscreen=true

      output=opengl

      capture_mouse = onstart middlerelease

      [render]

      aspect=true

      scaler=normal2x

      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

      mount D "$GAMEDIR/CDD" -t dir

      C:

      cd gene

      cls

      ECHO OFF

      goto launcher

      :launcher

      cls

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

      ECHO                 Gene Machine

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

      ECHO   1) Play Game

      ECHO   2) Setup

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

      ECHO   3) 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

      gene

      goto exit


      :setup

      cls

      setsound

      goto launcher



      :exit

      exit'
    file: $GAMEDIR/gene.conf
description: null
game_slug: the-gene-machine
gogslug: ''
humblestoreid: ''
installer_slug: the-gene-machine-cdrom
name: The Gene Machine
notes: ''
runner: dosbox
script:
  game:
    main_file: $GAMEDIR/gene.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
  - 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

        [autoexec]

        mount C "$GAMEDIR/HDD" -t dir

        mount D "$GAMEDIR/CDD" -t dir

        D:

        install.bat

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

        cycles=25000

        [sdl]

        sensitivity=30

        fullresolution=desktop

        windowresolution=original

        fullscreen=true

        output=opengl

        capture_mouse = onstart middlerelease

        [render]

        aspect=true

        scaler=normal2x

        [autoexec]

        mount C "$GAMEDIR/HDD" -t dir

        mount D "$GAMEDIR/CDD" -t dir

        C:

        cd gene

        cls

        ECHO OFF

        goto launcher

        :launcher

        cls

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

        ECHO                 Gene Machine

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

        ECHO   1) Play Game

        ECHO   2) Setup

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

        ECHO   3) 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

        gene

        goto exit


        :setup

        cls

        setsound

        goto launcher



        :exit

        exit'
      file: $GAMEDIR/gene.conf
slug: the-gene-machine-cdrom
steamid: null
version: CDrom
year: 1996
{
  "game_slug": "the-gene-machine",
  "version": "CDrom",
  "description": null,
  "notes": "",
  "name": "The Gene Machine",
  "year": 1996,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "the-gene-machine-cdrom",
  "installer_slug": "the-gene-machine-cdrom",
  "script": {
    "game": {
      "main_file": "$GAMEDIR/gene.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"
        }
      },
      {
        "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[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nmount D \"$GAMEDIR/CDD\" -t dir\nD:\ninstall.bat\nexit",
          "file": "$GAMEDIR/gene_setup.conf"
        }
      },
      {
        "task": {
          "config_file": "$GAMEDIR/gene_setup.conf",
          "name": "dosexec",
          "working_dir": "$GAMEDIR/HDD/"
        }
      },
      {
        "write_file": {
          "content": "[cpu]\ncycles=25000\n[sdl]\nsensitivity=30\nfullresolution=desktop\nwindowresolution=original\nfullscreen=true\noutput=opengl\ncapture_mouse = onstart middlerelease\n[render]\naspect=true\nscaler=normal2x\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nmount D \"$GAMEDIR/CDD\" -t dir\nC:\ncd gene\ncls\nECHO OFF\ngoto launcher\n:launcher\ncls\nECHO  -------------------------------------------\nECHO                 Gene Machine\nECHO  -------------------------------------------\nECHO   1) Play Game\nECHO   2) Setup\nECHO  -------------------------------------------\nECHO   3) Exit Program\nECHO  -------------------------------------------\n\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\ngene\ngoto exit\n\n:setup\ncls\nsetsound\ngoto launcher\n\n\n:exit\nexit",
          "file": "$GAMEDIR/gene.conf"
        }
      }
    ]
  }
}
Back to game