Installer starcraft-cd-cnc-draw

files:
- wrapper: https://github.com/legluondunet/mlls-tools/raw/master/cnc-draw/cnc-ddraw.zip
- patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Starcraft/SC-1161.7z
- script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Starcraft/clean.sh
game:
  exe: drive_c/Program Files (x86)/Starcraft/StarCraft.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    requires: help/star.htm
- task:
    description: Installing Starcraft...
    executable: $DISC/setup.exe
    name: wineexec
- execute:
    args: $DISC
    file: script
- 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
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Starcraft
    src: wrapper
- write_config:
    data:
      ddraw:
        adjmouse: true
        fullscreen: true
        maintas: true
        windowed: true
    file: $GAMEDIR/drive_c/Program Files (x86)/Starcraft/ddraw.ini
    merge: true
wine:
  overrides:
    ddraw: n,b
description: Play "Starcraft" CD edition on Linux!
game_slug: starcraft
gogslug: ''
humblestoreid: ''
installer_slug: starcraft-cd-cnc-draw
name: StarCraft
notes: "- Using cnc-draw open-source project for better stability and graphic enhancements\r\
  \n- Do not launch Starcraft during install process\r\n- Game will be updated to\
  \ 1.16.1\r\n- You will need Starcraft CD only one time during install"
runner: wine
script:
  files:
  - wrapper: https://github.com/legluondunet/mlls-tools/raw/master/cnc-draw/cnc-ddraw.zip
  - patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Starcraft/SC-1161.7z
  - script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Starcraft/clean.sh
  game:
    exe: drive_c/Program Files (x86)/Starcraft/StarCraft.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      requires: help/star.htm
  - task:
      description: Installing Starcraft...
      executable: $DISC/setup.exe
      name: wineexec
  - execute:
      args: $DISC
      file: script
  - 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
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Starcraft
      src: wrapper
  - write_config:
      data:
        ddraw:
          adjmouse: true
          fullscreen: true
          maintas: true
          windowed: true
      file: $GAMEDIR/drive_c/Program Files (x86)/Starcraft/ddraw.ini
      merge: true
  wine:
    overrides:
      ddraw: n,b
slug: starcraft-cd-cnc-draw
steamid: null
version: CD + cnc-draw
year: 1998
{
  "game_slug": "starcraft",
  "version": "CD + cnc-draw",
  "description": "Play \"Starcraft\" CD edition on Linux!",
  "notes": "- Using cnc-draw open-source project for better stability and graphic enhancements\r\n- Do not launch Starcraft during install process\r\n- Game will be updated to 1.16.1\r\n- You will need Starcraft CD only one time during install",
  "name": "StarCraft",
  "year": 1998,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "starcraft-cd-cnc-draw",
  "installer_slug": "starcraft-cd-cnc-draw",
  "script": {
    "files": [
      {
        "wrapper": "https://github.com/legluondunet/mlls-tools/raw/master/cnc-draw/cnc-ddraw.zip"
      },
      {
        "patch": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Starcraft/SC-1161.7z"
      },
      {
        "script": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Starcraft/clean.sh"
      }
    ],
    "game": {
      "exe": "drive_c/Program Files (x86)/Starcraft/StarCraft.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "requires": "help/star.htm"
        }
      },
      {
        "task": {
          "description": "Installing Starcraft...",
          "executable": "$DISC/setup.exe",
          "name": "wineexec"
        }
      },
      {
        "execute": {
          "args": "$DISC",
          "file": "script"
        }
      },
      {
        "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"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Starcraft",
          "src": "wrapper"
        }
      },
      {
        "write_config": {
          "data": {
            "ddraw": {
              "adjmouse": true,
              "fullscreen": true,
              "maintas": true,
              "windowed": true
            }
          },
          "file": "$GAMEDIR/drive_c/Program Files (x86)/Starcraft/ddraw.ini",
          "merge": true
        }
      }
    ],
    "wine": {
      "overrides": {
        "ddraw": "n,b"
      }
    }
  }
}
Back to game