Installer planet-x3-retail-download

dosbox:
  exit: true
files:
- game: N/A:Select the zip downloaded from the the8bitguy.com
- sample_config: https://raw.githubusercontent.com/ioangogo/planet-x3-Lutris/master/planet-x3-dosbox.config
game:
  config_file: $GAMEDIR/dosbox_PX3.conf
  main_file: Game/PX3.COM
installer:
- input_menu:
    description: 'Choose the game''s size:'
    id: SIZEMODE
    options:
    - DISTRO.720: 720K
    - DISTRO.360: 360K
- input_menu:
    description: 'Choose the type of graphics hardware:'
    id: MACHINE
    options:
    - cga: CGA
    - Hercules: Hercules
    - tandy: Tandy
    - ega: EGA
    - svga_s3: VGA(720K ONLY)
- extract:
    dst: $CACHE/Game
    file: $game
- rename:
    dst: $GAMEDIR/Game
    src: $CACHE/Game/Planet X3 Digital Download/$INPUT_SIZEMODE
- rename:
    dst: $GAMEDIR/dosbox_PX3.conf
    src: $sample_config
- write_config:
    file: $GAMEDIR/dosbox_PX3.conf
    key: machine
    section: dosbox
    value: $INPUT_MACHINE
- write_config:
    file: $GAMEDIR/Game/dosbox_PX3.conf
    key: tandy
    section: speaker
    value: auto
description: Installer for the zip file provided when you buy the game,  Gives you
  a choice between size and what machine dosbox will emulate(Mainly affects Video
  and Sound modes)
game_slug: planet-x3
gogslug: ''
humblestoreid: ''
installer_slug: planet-x3-retail-download
name: Planet X3
notes: ''
runner: dosbox
script:
  dosbox:
    exit: true
  files:
  - game: N/A:Select the zip downloaded from the the8bitguy.com
  - sample_config: https://raw.githubusercontent.com/ioangogo/planet-x3-Lutris/master/planet-x3-dosbox.config
  game:
    config_file: $GAMEDIR/dosbox_PX3.conf
    main_file: Game/PX3.COM
  installer:
  - input_menu:
      description: 'Choose the game''s size:'
      id: SIZEMODE
      options:
      - DISTRO.720: 720K
      - DISTRO.360: 360K
  - input_menu:
      description: 'Choose the type of graphics hardware:'
      id: MACHINE
      options:
      - cga: CGA
      - Hercules: Hercules
      - tandy: Tandy
      - ega: EGA
      - svga_s3: VGA(720K ONLY)
  - extract:
      dst: $CACHE/Game
      file: $game
  - rename:
      dst: $GAMEDIR/Game
      src: $CACHE/Game/Planet X3 Digital Download/$INPUT_SIZEMODE
  - rename:
      dst: $GAMEDIR/dosbox_PX3.conf
      src: $sample_config
  - write_config:
      file: $GAMEDIR/dosbox_PX3.conf
      key: machine
      section: dosbox
      value: $INPUT_MACHINE
  - write_config:
      file: $GAMEDIR/Game/dosbox_PX3.conf
      key: tandy
      section: speaker
      value: auto
slug: planet-x3-retail-download
steamid: null
version: Retail Download
year: 2019
{
  "game_slug": "planet-x3",
  "version": "Retail Download",
  "description": "Installer for the zip file provided when you buy the game,  Gives you a choice between size and what machine dosbox will emulate(Mainly affects Video and Sound modes)",
  "notes": "",
  "name": "Planet X3",
  "year": 2019,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "planet-x3-retail-download",
  "installer_slug": "planet-x3-retail-download",
  "script": {
    "dosbox": {
      "exit": true
    },
    "files": [
      {
        "game": "N/A:Select the zip downloaded from the the8bitguy.com"
      },
      {
        "sample_config": "https://raw.githubusercontent.com/ioangogo/planet-x3-Lutris/master/planet-x3-dosbox.config"
      }
    ],
    "game": {
      "config_file": "$GAMEDIR/dosbox_PX3.conf",
      "main_file": "Game/PX3.COM"
    },
    "installer": [
      {
        "input_menu": {
          "description": "Choose the game's size:",
          "id": "SIZEMODE",
          "options": [
            {
              "DISTRO.720": "720K"
            },
            {
              "DISTRO.360": "360K"
            }
          ]
        }
      },
      {
        "input_menu": {
          "description": "Choose the type of graphics hardware:",
          "id": "MACHINE",
          "options": [
            {
              "cga": "CGA"
            },
            {
              "Hercules": "Hercules"
            },
            {
              "tandy": "Tandy"
            },
            {
              "ega": "EGA"
            },
            {
              "svga_s3": "VGA(720K ONLY)"
            }
          ]
        }
      },
      {
        "extract": {
          "dst": "$CACHE/Game",
          "file": "$game"
        }
      },
      {
        "rename": {
          "dst": "$GAMEDIR/Game",
          "src": "$CACHE/Game/Planet X3 Digital Download/$INPUT_SIZEMODE"
        }
      },
      {
        "rename": {
          "dst": "$GAMEDIR/dosbox_PX3.conf",
          "src": "$sample_config"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/dosbox_PX3.conf",
          "key": "machine",
          "section": "dosbox",
          "value": "$INPUT_MACHINE"
        }
      },
      {
        "write_config": {
          "file": "$GAMEDIR/Game/dosbox_PX3.conf",
          "key": "tandy",
          "section": "speaker",
          "value": "auto"
        }
      }
    ]
  }
}
Back to game