Installer crimson-skies-cd-csvm

files:
- game_cd_cue: https://archive.org/download/rootifera-crimson-skies-2000/CRIMSON.cue
- game_cd_img: https://archive.org/download/rootifera-crimson-skies-2000/CRIMSON.img
- game_engine: https://github.com/Laeresh/CSVM/releases/download/v0.2.0/CSVM-v0.2.0-linux-x64.tar.gz
- cd_tools: https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/cdrtools/cdrtools.zip
game:
  exe: $GAMEDIR/CSVM.x86_64
installer:
- extract:
    dst: $CACHE
    file: cd_tools
- execute:
    command: cd "$CACHE" ; ./bchunk -w "$game_cd_img" "$game_cd_cue" "CRIMSON" ;
- extract:
    dst: $GAMEDIR
    file: game_engine
- extract:
    dst: $CACHE
    file: $CACHE/CRIMSON01.iso
    format: iso
- merge:
    dst: $GAMEDIR/GAME
    src: $CACHE/GAME
description: Play "Crimson Skies" CD edition on Linux!
game_slug: crimson-skies
gogslug: ''
humblestoreid: ''
installer_slug: crimson-skies-cd-csvm
name: Crimson Skies
notes: "- Game CD image will be downloaded directly from Internet Archives\r\n- Using\
  \ Crimson Skies open-source remake"
runner: linux
script:
  files:
  - game_cd_cue: https://archive.org/download/rootifera-crimson-skies-2000/CRIMSON.cue
  - game_cd_img: https://archive.org/download/rootifera-crimson-skies-2000/CRIMSON.img
  - game_engine: https://github.com/Laeresh/CSVM/releases/download/v0.2.0/CSVM-v0.2.0-linux-x64.tar.gz
  - cd_tools: https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/cdrtools/cdrtools.zip
  game:
    exe: $GAMEDIR/CSVM.x86_64
  installer:
  - extract:
      dst: $CACHE
      file: cd_tools
  - execute:
      command: cd "$CACHE" ; ./bchunk -w "$game_cd_img" "$game_cd_cue" "CRIMSON" ;
  - extract:
      dst: $GAMEDIR
      file: game_engine
  - extract:
      dst: $CACHE
      file: $CACHE/CRIMSON01.iso
      format: iso
  - merge:
      dst: $GAMEDIR/GAME
      src: $CACHE/GAME
slug: crimson-skies-cd-csvm
steamid: null
version: CD + CSVM
year: 2000
{
  "game_slug": "crimson-skies",
  "version": "CD + CSVM",
  "description": "Play \"Crimson Skies\" CD edition on Linux!",
  "notes": "- Game CD image will be downloaded directly from Internet Archives\r\n- Using Crimson Skies open-source remake",
  "name": "Crimson Skies",
  "year": 2000,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "crimson-skies-cd-csvm",
  "installer_slug": "crimson-skies-cd-csvm",
  "script": {
    "files": [
      {
        "game_cd_cue": "https://archive.org/download/rootifera-crimson-skies-2000/CRIMSON.cue"
      },
      {
        "game_cd_img": "https://archive.org/download/rootifera-crimson-skies-2000/CRIMSON.img"
      },
      {
        "game_engine": "https://github.com/Laeresh/CSVM/releases/download/v0.2.0/CSVM-v0.2.0-linux-x64.tar.gz"
      },
      {
        "cd_tools": "https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/cdrtools/cdrtools.zip"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/CSVM.x86_64"
    },
    "installer": [
      {
        "extract": {
          "dst": "$CACHE",
          "file": "cd_tools"
        }
      },
      {
        "execute": {
          "command": "cd \"$CACHE\" ; ./bchunk -w \"$game_cd_img\" \"$game_cd_cue\" \"CRIMSON\" ;"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR",
          "file": "game_engine"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "$CACHE/CRIMSON01.iso",
          "format": "iso"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/GAME",
          "src": "$CACHE/GAME"
        }
      }
    ]
  }
}
Back to game