Installer cannon-fodder-2-gog-openfodder

files:
- installer: N/A:Please select the GOG.com Linux installer
- data: https://github.com/OpenFodder/data/releases/download/1.6.0/Data.pack.1.6.0.zip
game:
  exe: OpenFodder
installer:
- extract:
    dst: $GAMEDIR
    src: data
- extract:
    dst: $CACHE/GOG
    file: installer
    format: zip
- merge:
    dst: $GAMEDIR/Data/Dos2_CD
    src: $CACHE/GOG/data/noarch/data
- execute:
    command: cd $CACHE && git clone https://github.com/OpenFodder/openfodder.git &&
      cd $CACHE/openfodder && make
    description: Building OpenFodder
- merge:
    dst: $GAMEDIR
    src: $CACHE/openfodder/Run
description: Installs OpenFodder https://github.com/OpenFodder/openfodder
game_slug: cannon-fodder-2
gogslug: cannon_fodder_2
humblestoreid: ''
installer_slug: cannon-fodder-2-gog-openfodder
name: Cannon Fodder 2
notes: ''
runner: linux
script:
  files:
  - installer: N/A:Please select the GOG.com Linux installer
  - data: https://github.com/OpenFodder/data/releases/download/1.6.0/Data.pack.1.6.0.zip
  game:
    exe: OpenFodder
  installer:
  - extract:
      dst: $GAMEDIR
      src: data
  - extract:
      dst: $CACHE/GOG
      file: installer
      format: zip
  - merge:
      dst: $GAMEDIR/Data/Dos2_CD
      src: $CACHE/GOG/data/noarch/data
  - execute:
      command: cd $CACHE && git clone https://github.com/OpenFodder/openfodder.git
        && cd $CACHE/openfodder && make
      description: Building OpenFodder
  - merge:
      dst: $GAMEDIR
      src: $CACHE/openfodder/Run
slug: cannon-fodder-2-gog-openfodder
steamid: null
version: GOG + OpenFodder
year: 1994
{
  "game_slug": "cannon-fodder-2",
  "version": "GOG + OpenFodder",
  "description": "Installs OpenFodder https://github.com/OpenFodder/openfodder",
  "notes": "",
  "name": "Cannon Fodder 2",
  "year": 1994,
  "steamid": null,
  "gogslug": "cannon_fodder_2",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "cannon-fodder-2-gog-openfodder",
  "installer_slug": "cannon-fodder-2-gog-openfodder",
  "script": {
    "files": [
      {
        "installer": "N/A:Please select the GOG.com Linux installer"
      },
      {
        "data": "https://github.com/OpenFodder/data/releases/download/1.6.0/Data.pack.1.6.0.zip"
      }
    ],
    "game": {
      "exe": "OpenFodder"
    },
    "installer": [
      {
        "extract": {
          "dst": "$GAMEDIR",
          "src": "data"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/GOG",
          "file": "installer",
          "format": "zip"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/Data/Dos2_CD",
          "src": "$CACHE/GOG/data/noarch/data"
        }
      },
      {
        "execute": {
          "command": "cd $CACHE && git clone https://github.com/OpenFodder/openfodder.git && cd $CACHE/openfodder && make",
          "description": "Building OpenFodder"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR",
          "src": "$CACHE/openfodder/Run"
        }
      }
    ]
  }
}
Back to game