Installer starcraft-brood-war-cd-cnc-draw

files:
- patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Starcraft/SC-1161.7z
installer:
- insert-disc:
    requires: bw.ico
- task:
    description: Installing Starcraft Brood War...
    executable: $DISC/setup.exe
    name: wineexec
- extract:
    dst: $CACHE
    file: $patch
- task:
    args: /desktop=StarCraftupdate,640x480 "$CACHE/SC-1161.exe"
    description: Updating Starcraft to 1.16.1...
    executable: $GAMEDIR/drive_c/windows/explorer.exe
    include_processes: explorer.exe
    name: wineexec
- execute:
    command: unset LD_LIBRARY_PATH; cd "$GAMEDIR/drive_c/Program Files (x86)/Starcraft";
      find "$DISC/"* -iname install.exe -type f -not -ipath '*mindspr*' | xargs -I
      {} cp "{}" BroodWar.mpq; chmod +rw BroodWar.mpq;
requires: starcraft-cd-cnc-draw
description: Play "Starcraft - Brood War" CD edition on Linux!
game_slug: starcraft-brood-war
gogslug: ''
humblestoreid: ''
installer_slug: starcraft-brood-war-cd-cnc-draw
name: 'Starcraft: Brood War'
notes: "- Before to launch this script installer, you have to install \"Starcraft\
  \ - CD + cnc-draw version\" from https://lutris.net/games/starcraft\r\n- Do not\
  \ launch \"Starcraft Brood War\" during install process\r\n- Game will be updated\
  \ to version 1.16.1\r\n- You will need \"Starcraft Brood War\" CD only one time\
  \ during install"
runner: wine
script:
  files:
  - patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Starcraft/SC-1161.7z
  installer:
  - insert-disc:
      requires: bw.ico
  - task:
      description: Installing Starcraft Brood War...
      executable: $DISC/setup.exe
      name: wineexec
  - extract:
      dst: $CACHE
      file: $patch
  - task:
      args: /desktop=StarCraftupdate,640x480 "$CACHE/SC-1161.exe"
      description: Updating Starcraft to 1.16.1...
      executable: $GAMEDIR/drive_c/windows/explorer.exe
      include_processes: explorer.exe
      name: wineexec
  - execute:
      command: unset LD_LIBRARY_PATH; cd "$GAMEDIR/drive_c/Program Files (x86)/Starcraft";
        find "$DISC/"* -iname install.exe -type f -not -ipath '*mindspr*' | xargs
        -I {} cp "{}" BroodWar.mpq; chmod +rw BroodWar.mpq;
  requires: starcraft-cd-cnc-draw
slug: starcraft-brood-war-cd-cnc-draw
steamid: null
version: CD + cnc-draw
year: 1998
{
  "game_slug": "starcraft-brood-war",
  "version": "CD + cnc-draw",
  "description": "Play \"Starcraft - Brood War\" CD edition on Linux!",
  "notes": "- Before to launch this script installer, you have to install \"Starcraft - CD + cnc-draw version\" from https://lutris.net/games/starcraft\r\n- Do not launch \"Starcraft Brood War\" during install process\r\n- Game will be updated to version 1.16.1\r\n- You will need \"Starcraft Brood War\" CD only one time during install",
  "name": "Starcraft: Brood War",
  "year": 1998,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "starcraft-brood-war-cd-cnc-draw",
  "installer_slug": "starcraft-brood-war-cd-cnc-draw",
  "script": {
    "files": [
      {
        "patch": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Starcraft/SC-1161.7z"
      }
    ],
    "installer": [
      {
        "insert-disc": {
          "requires": "bw.ico"
        }
      },
      {
        "task": {
          "description": "Installing Starcraft Brood War...",
          "executable": "$DISC/setup.exe",
          "name": "wineexec"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "$patch"
        }
      },
      {
        "task": {
          "args": "/desktop=StarCraftupdate,640x480 \"$CACHE/SC-1161.exe\"",
          "description": "Updating Starcraft to 1.16.1...",
          "executable": "$GAMEDIR/drive_c/windows/explorer.exe",
          "include_processes": "explorer.exe",
          "name": "wineexec"
        }
      },
      {
        "execute": {
          "command": "unset LD_LIBRARY_PATH; cd \"$GAMEDIR/drive_c/Program Files (x86)/Starcraft\"; find \"$DISC/\"* -iname install.exe -type f -not -ipath '*mindspr*' | xargs -I {} cp \"{}\" BroodWar.mpq; chmod +rw BroodWar.mpq;"
        }
      }
    ],
    "requires": "starcraft-cd-cnc-draw"
  }
}
Back to game