Installer crimson-skies-cd-d7vk

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_update: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Crimson%20Skies/crmsk102.7z
- vid_wrapper: https://github.com/WinterSnowfall/d7vk/releases/download/v2.3/d7vk-v2.3.zip
- cd_tools: https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/cdrtools/cdrtools.zip
game:
  exe: drive_c/Program Files (x86)/Microsoft Games/Crimson Skies/crimson.exe
  prefix: $GAMEDIR
installer:
- task:
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $CACHE
    file: cd_tools
- execute:
    command: cd "$CACHE" ; ./bchunk -w "$game_cd_img" "$game_cd_cue" "CRIMSON" ;
- extract:
    dst: $GAMEDIR/drive_c/CD
    file: $CACHE/CRIMSON01.iso
    format: iso
- task:
    description: Installing game...Do not launch game at the end of install.
    executable: $GAMEDIR/drive_c/CD/SETUP.EXE
    name: wineexec
    return_code: 256
- extract:
    dst: $CACHE
    file: game_update
- task:
    description: updating game...
    executable: $CACHE/crmsk102.exe
    name: wineexec
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies
    src: $CACHE/crimson.exe
- extract:
    description: Installing d7vk...
    dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies
    file: vid_wrapper
- write_file:
    content: d3d9.maxFrameRate = 60
    file: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies/dxvk.conf
- task:
    app: amstream quartz
    description: Installing codecs...
    name: winetricks
    silent: true
wine:
  overrides:
    ddraw: n,b
description: Play "Crimson Skies" CD edition on Linux!
game_slug: crimson-skies
gogslug: ''
humblestoreid: ''
installer_slug: crimson-skies-cd-d7vk
name: Crimson Skies
notes: "--> THIS GAME SUFFER FROM AN IMPORTANT ISSUE WITH WINE:\r\nhttps://bugs.winehq.org/show_bug.cgi?id=34774\r\
  \nuse this script installer only for testing purpose and if you want to play this\
  \ game, use CSVM Lutris script installer instead\r\n- Using d7vk for better graphic\
  \ performance\r\n- Update 1.02 included"
runner: wine
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_update: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Crimson%20Skies/crmsk102.7z
  - vid_wrapper: https://github.com/WinterSnowfall/d7vk/releases/download/v2.3/d7vk-v2.3.zip
  - cd_tools: https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/cdrtools/cdrtools.zip
  game:
    exe: drive_c/Program Files (x86)/Microsoft Games/Crimson Skies/crimson.exe
    prefix: $GAMEDIR
  installer:
  - task:
      name: create_prefix
      prefix: $GAMEDIR
  - extract:
      dst: $CACHE
      file: cd_tools
  - execute:
      command: cd "$CACHE" ; ./bchunk -w "$game_cd_img" "$game_cd_cue" "CRIMSON" ;
  - extract:
      dst: $GAMEDIR/drive_c/CD
      file: $CACHE/CRIMSON01.iso
      format: iso
  - task:
      description: Installing game...Do not launch game at the end of install.
      executable: $GAMEDIR/drive_c/CD/SETUP.EXE
      name: wineexec
      return_code: 256
  - extract:
      dst: $CACHE
      file: game_update
  - task:
      description: updating game...
      executable: $CACHE/crmsk102.exe
      name: wineexec
  - merge:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies
      src: $CACHE/crimson.exe
  - extract:
      description: Installing d7vk...
      dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies
      file: vid_wrapper
  - write_file:
      content: d3d9.maxFrameRate = 60
      file: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies/dxvk.conf
  - task:
      app: amstream quartz
      description: Installing codecs...
      name: winetricks
      silent: true
  wine:
    overrides:
      ddraw: n,b
slug: crimson-skies-cd-d7vk
steamid: null
version: CD + d7vk
year: 2000
{
  "game_slug": "crimson-skies",
  "version": "CD + d7vk",
  "description": "Play \"Crimson Skies\" CD edition on Linux!",
  "notes": "--> THIS GAME SUFFER FROM AN IMPORTANT ISSUE WITH WINE:\r\nhttps://bugs.winehq.org/show_bug.cgi?id=34774\r\nuse this script installer only for testing purpose and if you want to play this game, use CSVM Lutris script installer instead\r\n- Using d7vk for better graphic performance\r\n- Update 1.02 included",
  "name": "Crimson Skies",
  "year": 2000,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "crimson-skies-cd-d7vk",
  "installer_slug": "crimson-skies-cd-d7vk",
  "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_update": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Crimson%20Skies/crmsk102.7z"
      },
      {
        "vid_wrapper": "https://github.com/WinterSnowfall/d7vk/releases/download/v2.3/d7vk-v2.3.zip"
      },
      {
        "cd_tools": "https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/cdrtools/cdrtools.zip"
      }
    ],
    "game": {
      "exe": "drive_c/Program Files (x86)/Microsoft Games/Crimson Skies/crimson.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "cd_tools"
        }
      },
      {
        "execute": {
          "command": "cd \"$CACHE\" ; ./bchunk -w \"$game_cd_img\" \"$game_cd_cue\" \"CRIMSON\" ;"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/CD",
          "file": "$CACHE/CRIMSON01.iso",
          "format": "iso"
        }
      },
      {
        "task": {
          "description": "Installing game...Do not launch game at the end of install.",
          "executable": "$GAMEDIR/drive_c/CD/SETUP.EXE",
          "name": "wineexec",
          "return_code": 256
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "game_update"
        }
      },
      {
        "task": {
          "description": "updating game...",
          "executable": "$CACHE/crmsk102.exe",
          "name": "wineexec"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies",
          "src": "$CACHE/crimson.exe"
        }
      },
      {
        "extract": {
          "description": "Installing d7vk...",
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies",
          "file": "vid_wrapper"
        }
      },
      {
        "write_file": {
          "content": "d3d9.maxFrameRate = 60",
          "file": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies/dxvk.conf"
        }
      },
      {
        "task": {
          "app": "amstream quartz",
          "description": "Installing codecs...",
          "name": "winetricks",
          "silent": true
        }
      }
    ],
    "wine": {
      "overrides": {
        "ddraw": "n,b"
      }
    }
  }
}
Back to game