Installer tex-murphy-martian-memorandum-gog-window

files:
- game: N/A:Select GOG installer
- inno: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
game:
  args: -userconf
  main_file: $GAMEDIR/martian.conf
installer:
- write_file:
    content: '#!/bin/bash

      src=$1

      dst=$2

      find "$src" -type f \( -iname "*.AP" -o -iname  "*.DRV" -o -iname  "*.LZ" -o
      -iname "*.SC" -o -iname "*.DAT" -o -iname "*.VID" -o -iname "*.COL" -o -iname
      "MM.EXE" \) -exec cp {} "$dst" \;'
    file: $CACHE/selectcopy.sh
- chmodx: $CACHE/selectcopy.sh
- extract:
    dst: $CACHE
    file: $inno
- execute:
    args: -I app -d "$CACHE" "$game"
    file: $CACHE/innoextract
- execute:
    args: $GAMEDIR/HDD $GAMEDIR/HDD/martian
    file: mkdir
- execute:
    args: $CACHE/app $GAMEDIR/HDD/martian
    file: $CACHE/selectcopy.sh
- copy:
    dst: $GAMEDIR
    src: $CACHE/app/manual.pdf
- write_file:
    content: '11232'
    file: $GAMEDIR/HDD/martian/MM.CFG
- write_file:
    content: '[cpu]

      cycles=fixed 4000

      [midi]

      mididevice = mt32

      [speaker]

      pcrate=22050

      [mixer]

      rate=22050

      blocksize=2048

      prebuffer=80

      [sdl]

      fullscreen=true

      fullresolution=orginal

      capture_mouse=onstart middlerelease

      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

      C:

      cd martian

      mm.exe

      exit'
    file: $GAMEDIR/martian.conf
description: ''
game_slug: tex-murphy-martian-memorandum
gogslug: ''
humblestoreid: ''
installer_slug: tex-murphy-martian-memorandum-gog-window
name: 'Tex Murphy: Martian Memorandum'
notes: ''
runner: dosbox
script:
  files:
  - game: N/A:Select GOG installer
  - inno: https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz
  game:
    args: -userconf
    main_file: $GAMEDIR/martian.conf
  installer:
  - write_file:
      content: '#!/bin/bash

        src=$1

        dst=$2

        find "$src" -type f \( -iname "*.AP" -o -iname  "*.DRV" -o -iname  "*.LZ"
        -o -iname "*.SC" -o -iname "*.DAT" -o -iname "*.VID" -o -iname "*.COL" -o
        -iname "MM.EXE" \) -exec cp {} "$dst" \;'
      file: $CACHE/selectcopy.sh
  - chmodx: $CACHE/selectcopy.sh
  - extract:
      dst: $CACHE
      file: $inno
  - execute:
      args: -I app -d "$CACHE" "$game"
      file: $CACHE/innoextract
  - execute:
      args: $GAMEDIR/HDD $GAMEDIR/HDD/martian
      file: mkdir
  - execute:
      args: $CACHE/app $GAMEDIR/HDD/martian
      file: $CACHE/selectcopy.sh
  - copy:
      dst: $GAMEDIR
      src: $CACHE/app/manual.pdf
  - write_file:
      content: '11232'
      file: $GAMEDIR/HDD/martian/MM.CFG
  - write_file:
      content: '[cpu]

        cycles=fixed 4000

        [midi]

        mididevice = mt32

        [speaker]

        pcrate=22050

        [mixer]

        rate=22050

        blocksize=2048

        prebuffer=80

        [sdl]

        fullscreen=true

        fullresolution=orginal

        capture_mouse=onstart middlerelease

        [autoexec]

        mount C "$GAMEDIR/HDD" -t dir

        C:

        cd martian

        mm.exe

        exit'
      file: $GAMEDIR/martian.conf
slug: tex-murphy-martian-memorandum-gog-window
steamid: 302340
version: GOG Window
year: 2014
{
  "game_slug": "tex-murphy-martian-memorandum",
  "version": "GOG Window",
  "description": "",
  "notes": "",
  "name": "Tex Murphy: Martian Memorandum",
  "year": 2014,
  "steamid": 302340,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "tex-murphy-martian-memorandum-gog-window",
  "installer_slug": "tex-murphy-martian-memorandum-gog-window",
  "script": {
    "files": [
      {
        "game": "N/A:Select GOG installer"
      },
      {
        "inno": "https://lutris.nyc3.digitaloceanspaces.com/tools/innoextract/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
      }
    ],
    "game": {
      "args": "-userconf",
      "main_file": "$GAMEDIR/martian.conf"
    },
    "installer": [
      {
        "write_file": {
          "content": "#!/bin/bash\nsrc=$1\ndst=$2\nfind \"$src\" -type f \\( -iname \"*.AP\" -o -iname  \"*.DRV\" -o -iname  \"*.LZ\" -o -iname \"*.SC\" -o -iname \"*.DAT\" -o -iname \"*.VID\" -o -iname \"*.COL\" -o -iname \"MM.EXE\" \\) -exec cp {} \"$dst\" \\;",
          "file": "$CACHE/selectcopy.sh"
        }
      },
      {
        "chmodx": "$CACHE/selectcopy.sh"
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "$inno"
        }
      },
      {
        "execute": {
          "args": "-I app -d \"$CACHE\" \"$game\"",
          "file": "$CACHE/innoextract"
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/HDD $GAMEDIR/HDD/martian",
          "file": "mkdir"
        }
      },
      {
        "execute": {
          "args": "$CACHE/app $GAMEDIR/HDD/martian",
          "file": "$CACHE/selectcopy.sh"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/app/manual.pdf"
        }
      },
      {
        "write_file": {
          "content": "11232",
          "file": "$GAMEDIR/HDD/martian/MM.CFG"
        }
      },
      {
        "write_file": {
          "content": "[cpu]\ncycles=fixed 4000\n[midi]\nmididevice = mt32\n[speaker]\npcrate=22050\n[mixer]\nrate=22050\nblocksize=2048\nprebuffer=80\n[sdl]\nfullscreen=true\nfullresolution=orginal\ncapture_mouse=onstart middlerelease\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nC:\ncd martian\nmm.exe\nexit",
          "file": "$GAMEDIR/martian.conf"
        }
      }
    ]
  }
}
Back to game