Installer hedon-linux

files:
- archive: N/A:Please select archive containing Hedon (Linux version)
game:
  main_file: $GAMEDIR/hedon.ipk3
  savedir: $GAMEDIR
installer:
- extract:
    dst: $CACHE
    file: archive
    format: tgz
- execute:
    command: '

      export IPK3_FILE=$(find "$CACHE" -type f -iname ''hedon.ipk3'') &&

      export CONFIG_FILE=$(find "$CACHE" -type f -iname ''*.ini'') &&

      mv "$IPK3_FILE" "$GAMEDIR/hedon.ipk3" &&

      mv "$CONFIG_FILE" "$GAMEDIR/config.ini" &&

      mkdir "$GAMEDIR/screenshots"

      '
    description: Copying game assets and config 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
    file: $GAMEDIR/config.ini
zdoom:
  config: $GAMEDIR/config.ini
description: The installer will need the .tar archive that can be obtained either
  from itch.io or IndieDB. This game does NOT require any Doom WADs to run.
game_slug: hedon
gogslug: hedon_extra_thicc_edition
humblestoreid: ''
installer_slug: hedon-linux
name: Hedon
notes: "https://zanthebonebreaker.itch.io/hedon  \r\nhttps://www.indiedb.com/games/hedon"
runner: zdoom
script:
  files:
  - archive: N/A:Please select archive containing Hedon (Linux version)
  game:
    main_file: $GAMEDIR/hedon.ipk3
    savedir: $GAMEDIR
  installer:
  - extract:
      dst: $CACHE
      file: archive
      format: tgz
  - execute:
      command: '

        export IPK3_FILE=$(find "$CACHE" -type f -iname ''hedon.ipk3'') &&

        export CONFIG_FILE=$(find "$CACHE" -type f -iname ''*.ini'') &&

        mv "$IPK3_FILE" "$GAMEDIR/hedon.ipk3" &&

        mv "$CONFIG_FILE" "$GAMEDIR/config.ini" &&

        mkdir "$GAMEDIR/screenshots"

        '
      description: Copying game assets and config 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
      file: $GAMEDIR/config.ini
  zdoom:
    config: $GAMEDIR/config.ini
slug: hedon-linux
steamid: 1072150
version: Linux
year: 2019
{
  "game_slug": "hedon",
  "version": "Linux",
  "description": "The installer will need the .tar archive that can be obtained either from itch.io or IndieDB. This game does NOT require any Doom WADs to run.",
  "notes": "https://zanthebonebreaker.itch.io/hedon  \r\nhttps://www.indiedb.com/games/hedon",
  "name": "Hedon",
  "year": 2019,
  "steamid": 1072150,
  "gogslug": "hedon_extra_thicc_edition",
  "humblestoreid": "",
  "runner": "zdoom",
  "slug": "hedon-linux",
  "installer_slug": "hedon-linux",
  "script": {
    "files": [
      {
        "archive": "N/A:Please select archive containing Hedon (Linux version)"
      }
    ],
    "game": {
      "main_file": "$GAMEDIR/hedon.ipk3",
      "savedir": "$GAMEDIR"
    },
    "installer": [
      {
        "extract": {
          "dst": "$CACHE",
          "file": "archive",
          "format": "tgz"
        }
      },
      {
        "execute": {
          "command": "\nexport IPK3_FILE=$(find \"$CACHE\" -type f -iname 'hedon.ipk3') &&\nexport CONFIG_FILE=$(find \"$CACHE\" -type f -iname '*.ini') &&\nmv \"$IPK3_FILE\" \"$GAMEDIR/hedon.ipk3\" &&\nmv \"$CONFIG_FILE\" \"$GAMEDIR/config.ini\" &&\nmkdir \"$GAMEDIR/screenshots\"\n",
          "description": "Copying game assets and config 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
            }
          },
          "file": "$GAMEDIR/config.ini"
        }
      }
    ],
    "zdoom": {
      "config": "$GAMEDIR/config.ini"
    }
  }
}
Back to game