Installer crimson-skies-cd-d7vk-fixes
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
- game_script_1: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Crimson%20Skies/crimson_skies_resolution_patch.py
- game_script_2: https://github.com/thehack904/CrimsonSkies-Wine-Fix/archive/refs/tags/v1.0.0.zip
- 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/backup
src: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies/CRIMSON.EXE
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies/backup
src: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies/GOSDATA/ASSETS/BINARIES/roffile.dll
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies
src: $CACHE/crimson.exe
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies/GOSDATA/ASSETS/BINARIES
file: game_script_2
- execute:
command: cd "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies"
; python3 "$game_script_1" --exe crimson.exe --width $RESOLUTION_WIDTH --height
$RESOLUTION_HEIGHT ; cd GOSDATA/ASSETS/BINARIES ; python3 crimson-skies-rof-nul-guard.py
apply --dll 'roffile.dll' ;
- extract:
description: Installing d7vk...
dst: $CACHE
file: vid_wrapper
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies
src: $CACHE/x32
- 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-fixes
name: Crimson Skies
notes: "- Game CD image will be downloaded directly from Internet Archives\r\n- Menus\
\ 4:3 ratios, ingame: user desktop resolution\r\n- Using d7vk for better graphic\
\ performance, CrimsonSkies-Wine-Fix for stability\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
- game_script_1: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Crimson%20Skies/crimson_skies_resolution_patch.py
- game_script_2: https://github.com/thehack904/CrimsonSkies-Wine-Fix/archive/refs/tags/v1.0.0.zip
- 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/backup
src: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies/CRIMSON.EXE
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies/backup
src: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies/GOSDATA/ASSETS/BINARIES/roffile.dll
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies
src: $CACHE/crimson.exe
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies/GOSDATA/ASSETS/BINARIES
file: game_script_2
- execute:
command: cd "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies"
; python3 "$game_script_1" --exe crimson.exe --width $RESOLUTION_WIDTH --height
$RESOLUTION_HEIGHT ; cd GOSDATA/ASSETS/BINARIES ; python3 crimson-skies-rof-nul-guard.py
apply --dll 'roffile.dll' ;
- extract:
description: Installing d7vk...
dst: $CACHE
file: vid_wrapper
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies
src: $CACHE/x32
- 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-fixes
steamid: null
version: CD + d7vk + fixes
year: 2000
{
"game_slug": "crimson-skies",
"version": "CD + d7vk + fixes",
"description": "Play \"Crimson Skies\" CD edition on Linux!",
"notes": "- Game CD image will be downloaded directly from Internet Archives\r\n- Menus 4:3 ratios, ingame: user desktop resolution\r\n- Using d7vk for better graphic performance, CrimsonSkies-Wine-Fix for stability\r\n- Update 1.02 included",
"name": "Crimson Skies",
"year": 2000,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "crimson-skies-cd-d7vk-fixes",
"installer_slug": "crimson-skies-cd-d7vk-fixes",
"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"
},
{
"game_script_1": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Crimson%20Skies/crimson_skies_resolution_patch.py"
},
{
"game_script_2": "https://github.com/thehack904/CrimsonSkies-Wine-Fix/archive/refs/tags/v1.0.0.zip"
},
{
"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/backup",
"src": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies/CRIMSON.EXE"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies/backup",
"src": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies/GOSDATA/ASSETS/BINARIES/roffile.dll"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies",
"src": "$CACHE/crimson.exe"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies/GOSDATA/ASSETS/BINARIES",
"file": "game_script_2"
}
},
{
"execute": {
"command": "cd \"$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies\" ; python3 \"$game_script_1\" --exe crimson.exe --width $RESOLUTION_WIDTH --height $RESOLUTION_HEIGHT ; cd GOSDATA/ASSETS/BINARIES ; python3 crimson-skies-rof-nul-guard.py apply --dll 'roffile.dll' ;"
}
},
{
"extract": {
"description": "Installing d7vk...",
"dst": "$CACHE",
"file": "vid_wrapper"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Microsoft Games/Crimson Skies",
"src": "$CACHE/x32"
}
},
{
"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"
}
}
}
}