Installer shade-wrath-of-angels-cd

files:
- patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Shade%20-%20Wrath%20of%20Angels/patchs/shade_patch_1.01.zip
game:
  exe: drive_c/Program Files (x86)/CENEGA/Shade/shade.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    description: Please insert and mount CD, then click on Autodetect or Browse
    requires: shade.ico
- task:
    executable: $DISC/autorun.exe
    name: wineexec
    return_code: 256
- task:
    app: d3dxof
    name: winetricks
    silent: true
- execute:
    command: cd "$GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade"; find .  -depth
      -type d -print0 | xargs -0n 1 bash -c 's=$(dirname "$0")/$(basename "$0"); d=$(dirname
      "$0")/$(basename "$0"|tr "[A-Z]" "[a-z]"); mv -f "$s" "$d"'; find .  -depth
      -type f -print0 | xargs -0n 1 bash -c 's=$(dirname "$0")/$(basename "$0"); d=$(dirname
      "$0")/$(basename "$0"|tr "[A-Z]" "[a-z]"); mv -f "$s" "$d"';
    return_code: 31488
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/backup
    src: $GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/shade.exe
- move:
    dst: $GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/backup
    src: $GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/miscmath.dll
- move:
    dst: $GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/backup
    src: $GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/engine_mmx.dll
- move:
    dst: $GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/backup
    src: $GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/engine.dll
- move:
    dst: $GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/backup
    src: $GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/eax.dll
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade
    file: patch
description: 'Play "Shade: Wrath of Angels" CD edition on Linux!'
game_slug: shade-wrath-of-angels
gogslug: ''
humblestoreid: ''
installer_slug: shade-wrath-of-angels-cd
name: 'Shade: Wrath of Angels'
notes: "- Tested with success on US, UK, Spain and German CD 1.01 version\r\n- You\
  \ will need CD only one time during install"
runner: wine
script:
  files:
  - patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Shade%20-%20Wrath%20of%20Angels/patchs/shade_patch_1.01.zip
  game:
    exe: drive_c/Program Files (x86)/CENEGA/Shade/shade.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      description: Please insert and mount CD, then click on Autodetect or Browse
      requires: shade.ico
  - task:
      executable: $DISC/autorun.exe
      name: wineexec
      return_code: 256
  - task:
      app: d3dxof
      name: winetricks
      silent: true
  - execute:
      command: cd "$GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade"; find .  -depth
        -type d -print0 | xargs -0n 1 bash -c 's=$(dirname "$0")/$(basename "$0");
        d=$(dirname "$0")/$(basename "$0"|tr "[A-Z]" "[a-z]"); mv -f "$s" "$d"'; find
        .  -depth -type f -print0 | xargs -0n 1 bash -c 's=$(dirname "$0")/$(basename
        "$0"); d=$(dirname "$0")/$(basename "$0"|tr "[A-Z]" "[a-z]"); mv -f "$s" "$d"';
      return_code: 31488
  - merge:
      dst: $GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/backup
      src: $GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/shade.exe
  - move:
      dst: $GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/backup
      src: $GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/miscmath.dll
  - move:
      dst: $GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/backup
      src: $GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/engine_mmx.dll
  - move:
      dst: $GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/backup
      src: $GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/engine.dll
  - move:
      dst: $GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/backup
      src: $GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/eax.dll
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade
      file: patch
slug: shade-wrath-of-angels-cd
steamid: null
version: CD
year: 2004
{
  "game_slug": "shade-wrath-of-angels",
  "version": "CD",
  "description": "Play \"Shade: Wrath of Angels\" CD edition on Linux!",
  "notes": "- Tested with success on US, UK, Spain and German CD 1.01 version\r\n- You will need CD only one time during install",
  "name": "Shade: Wrath of Angels",
  "year": 2004,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "shade-wrath-of-angels-cd",
  "installer_slug": "shade-wrath-of-angels-cd",
  "script": {
    "files": [
      {
        "patch": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Shade%20-%20Wrath%20of%20Angels/patchs/shade_patch_1.01.zip"
      }
    ],
    "game": {
      "exe": "drive_c/Program Files (x86)/CENEGA/Shade/shade.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert and mount CD, then click on Autodetect or Browse",
          "requires": "shade.ico"
        }
      },
      {
        "task": {
          "executable": "$DISC/autorun.exe",
          "name": "wineexec",
          "return_code": 256
        }
      },
      {
        "task": {
          "app": "d3dxof",
          "name": "winetricks",
          "silent": true
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade\"; find .  -depth -type d -print0 | xargs -0n 1 bash -c 's=$(dirname \"$0\")/$(basename \"$0\"); d=$(dirname \"$0\")/$(basename \"$0\"|tr \"[A-Z]\" \"[a-z]\"); mv -f \"$s\" \"$d\"'; find .  -depth -type f -print0 | xargs -0n 1 bash -c 's=$(dirname \"$0\")/$(basename \"$0\"); d=$(dirname \"$0\")/$(basename \"$0\"|tr \"[A-Z]\" \"[a-z]\"); mv -f \"$s\" \"$d\"';",
          "return_code": 31488
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/backup",
          "src": "$GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/shade.exe"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/backup",
          "src": "$GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/miscmath.dll"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/backup",
          "src": "$GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/engine_mmx.dll"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/backup",
          "src": "$GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/engine.dll"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/backup",
          "src": "$GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade/eax.dll"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/CENEGA/Shade",
          "file": "patch"
        }
      }
    ]
  }
}
Back to game