Installer hedon-steam-data

files:
- archive: $STEAM:1072150:gzdoom/Hedon.ipk3
- config: $STEAM:1072150:gzdoom/gzdoom.ini
game:
  main_file: archive
  savedir: $GAMEDIR
installer:
- merge:
    description: Copying configuration to installation directory...
    dst: $GAMEDIR
    src: config
- execute:
    command: 'mv "$GAMEDIR/gzdoom.ini" "$GAMEDIR/config.ini" &&

      mkdir "$GAMEDIR/screenshots"

      '
    description: Copying configuration to installation directory...
- execute:
    command: "\nif [ $RESOLUTION_HEIGHT -ge 1080 ]; then\n  sed -i 's/con_scaletext=1/con_scaletext=2/g'\
      \ \"$GAMEDIR/config.ini\"\nfi\n"
    description: Adjusting text scale to screen resolution...
- write_config:
    data:
      GlobalSettings:
        menu_resolution_custom_height: $RESOLUTION_HEIGHT
        menu_resolution_custom_width: $RESOLUTION_WIDTH
        saveloadconfirmation: false
        screenshot_dir: $GAMEDIR/screenshots
        vid_adapter: 0
        vid_scale_customheight: $RESOLUTION_HEIGHT
        vid_scale_customwidth: $RESOLUTION_WIDTH
      Hedon.Bindings:
        f12: screenshot
      Hedon.ConsoleVariables:
        am_rotate: 1
    description: First-time configuration...
    file: $GAMEDIR/config.ini
zdoom:
  config: $GAMEDIR/config.ini
description: "This installer will use the game archive downloaded and updated through\
  \ Steam, but run it using Lutris' ZDoom runner.\r\nYou will have to have Hedon installed\
  \ through Steam to use it."
game_slug: hedon
gogslug: hedon_extra_thicc_edition
humblestoreid: ''
installer_slug: hedon-steam-data
name: Hedon
notes: ''
runner: zdoom
script:
  files:
  - archive: $STEAM:1072150:gzdoom/Hedon.ipk3
  - config: $STEAM:1072150:gzdoom/gzdoom.ini
  game:
    main_file: archive
    savedir: $GAMEDIR
  installer:
  - merge:
      description: Copying configuration to installation directory...
      dst: $GAMEDIR
      src: config
  - execute:
      command: 'mv "$GAMEDIR/gzdoom.ini" "$GAMEDIR/config.ini" &&

        mkdir "$GAMEDIR/screenshots"

        '
      description: Copying configuration to installation directory...
  - execute:
      command: "\nif [ $RESOLUTION_HEIGHT -ge 1080 ]; then\n  sed -i 's/con_scaletext=1/con_scaletext=2/g'\
        \ \"$GAMEDIR/config.ini\"\nfi\n"
      description: Adjusting text scale to screen resolution...
  - write_config:
      data:
        GlobalSettings:
          menu_resolution_custom_height: $RESOLUTION_HEIGHT
          menu_resolution_custom_width: $RESOLUTION_WIDTH
          saveloadconfirmation: false
          screenshot_dir: $GAMEDIR/screenshots
          vid_adapter: 0
          vid_scale_customheight: $RESOLUTION_HEIGHT
          vid_scale_customwidth: $RESOLUTION_WIDTH
        Hedon.Bindings:
          f12: screenshot
        Hedon.ConsoleVariables:
          am_rotate: 1
      description: First-time configuration...
      file: $GAMEDIR/config.ini
  zdoom:
    config: $GAMEDIR/config.ini
slug: hedon-steam-data
steamid: 1072150
version: Steam Data
year: 2019
{
  "game_slug": "hedon",
  "version": "Steam Data",
  "description": "This installer will use the game archive downloaded and updated through Steam, but run it using Lutris' ZDoom runner.\r\nYou will have to have Hedon installed through Steam to use it.",
  "notes": "",
  "name": "Hedon",
  "year": 2019,
  "steamid": 1072150,
  "gogslug": "hedon_extra_thicc_edition",
  "humblestoreid": "",
  "runner": "zdoom",
  "slug": "hedon-steam-data",
  "installer_slug": "hedon-steam-data",
  "script": {
    "files": [
      {
        "archive": "$STEAM:1072150:gzdoom/Hedon.ipk3"
      },
      {
        "config": "$STEAM:1072150:gzdoom/gzdoom.ini"
      }
    ],
    "game": {
      "main_file": "archive",
      "savedir": "$GAMEDIR"
    },
    "installer": [
      {
        "merge": {
          "description": "Copying configuration to installation directory...",
          "dst": "$GAMEDIR",
          "src": "config"
        }
      },
      {
        "execute": {
          "command": "mv \"$GAMEDIR/gzdoom.ini\" \"$GAMEDIR/config.ini\" &&\nmkdir \"$GAMEDIR/screenshots\"\n",
          "description": "Copying configuration to installation directory..."
        }
      },
      {
        "execute": {
          "command": "\nif [ $RESOLUTION_HEIGHT -ge 1080 ]; then\n  sed -i 's/con_scaletext=1/con_scaletext=2/g' \"$GAMEDIR/config.ini\"\nfi\n",
          "description": "Adjusting text scale to screen resolution..."
        }
      },
      {
        "write_config": {
          "data": {
            "GlobalSettings": {
              "menu_resolution_custom_height": "$RESOLUTION_HEIGHT",
              "menu_resolution_custom_width": "$RESOLUTION_WIDTH",
              "saveloadconfirmation": false,
              "screenshot_dir": "$GAMEDIR/screenshots",
              "vid_adapter": 0,
              "vid_scale_customheight": "$RESOLUTION_HEIGHT",
              "vid_scale_customwidth": "$RESOLUTION_WIDTH"
            },
            "Hedon.Bindings": {
              "f12": "screenshot"
            },
            "Hedon.ConsoleVariables": {
              "am_rotate": 1
            }
          },
          "description": "First-time configuration...",
          "file": "$GAMEDIR/config.ini"
        }
      }
    ],
    "zdoom": {
      "config": "$GAMEDIR/config.ini"
    }
  }
}
Back to game