Installer dark-reign-expansion-gog

files:
- goginstaller: N/A:Select the GOG setup .exe for Dark Reign
game:
  exe: $GAMEDIR/drive_c/GOG Games/Dark Reign/dkreign.exe
  prefix: $GAMEDIR
  working_dir: $GAMEDIR/drive_c/GOG Games/Dark Reign
installer:
- task:
    description: Creating Wine prefix...
    name: create_prefix
    prefix: $GAMEDIR
- task:
    args: /SP- /SILENT /NORESTART /LANG=en
    description: Installing Dark Reign from GOG...
    executable: goginstaller
    name: wineexec
    prefix: $GAMEDIR
- execute:
    command: rm -f "$GAMEDIR/dosdevices/x:" && ln -s "$GAMEDIR/drive_c/GOG Games/Dark
      Reign" "$GAMEDIR/dosdevices/x:"
    description: Fixing drive X mapping to game directory...
- execute:
    command: ln -sf "$GAMEDIR/drive_c/GOG Games/Dark Reign/TACTICS.CFG" "$GAMEDIR/drive_c/GOG
      Games/Dark Reign/tactics.cfg"
    description: Fixing TACTICS.CFG case sensitivity...
- task:
    args: /S "$GAMEDIR/drive_c/GOG Games/Dark Reign/directplay-win64.reg"
    description: Registering DirectPlay IPX provider...
    executable: regedit
    name: wineexec
    prefix: $GAMEDIR
- task:
    description: Setting ddraw DLL override to native...
    key: ddraw
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
    prefix: $GAMEDIR
    type: REG_SZ
    value: native
system:
  env:
    WINEDLLOVERRIDES: ddraw=n
wine:
  overrides:
    ddraw.dll: n
description: 'GOG version running via Wine. Fixes Wine''s default ddraw to use the
  bundled cnc-ddraw, corrects the X: drive mapping, and handles the Linux case-sensitivity
  issue with TACTICS.CFG. Includes DirectPlay IPX registration for LAN multiplayer.'
game_slug: dark-reign-expansion
gogslug: dark_reign_expansion
humblestoreid: ''
installer_slug: dark-reign-expansion-gog
name: Dark Reign + Expansion
notes: ''
runner: wine
script:
  files:
  - goginstaller: N/A:Select the GOG setup .exe for Dark Reign
  game:
    exe: $GAMEDIR/drive_c/GOG Games/Dark Reign/dkreign.exe
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/GOG Games/Dark Reign
  installer:
  - task:
      description: Creating Wine prefix...
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      args: /SP- /SILENT /NORESTART /LANG=en
      description: Installing Dark Reign from GOG...
      executable: goginstaller
      name: wineexec
      prefix: $GAMEDIR
  - execute:
      command: rm -f "$GAMEDIR/dosdevices/x:" && ln -s "$GAMEDIR/drive_c/GOG Games/Dark
        Reign" "$GAMEDIR/dosdevices/x:"
      description: Fixing drive X mapping to game directory...
  - execute:
      command: ln -sf "$GAMEDIR/drive_c/GOG Games/Dark Reign/TACTICS.CFG" "$GAMEDIR/drive_c/GOG
        Games/Dark Reign/tactics.cfg"
      description: Fixing TACTICS.CFG case sensitivity...
  - task:
      args: /S "$GAMEDIR/drive_c/GOG Games/Dark Reign/directplay-win64.reg"
      description: Registering DirectPlay IPX provider...
      executable: regedit
      name: wineexec
      prefix: $GAMEDIR
  - task:
      description: Setting ddraw DLL override to native...
      key: ddraw
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
      prefix: $GAMEDIR
      type: REG_SZ
      value: native
  system:
    env:
      WINEDLLOVERRIDES: ddraw=n
  wine:
    overrides:
      ddraw.dll: n
slug: dark-reign-expansion-gog
steamid: null
version: GoG
year: 1997
{
  "game_slug": "dark-reign-expansion",
  "version": "GoG",
  "description": "GOG version running via Wine. Fixes Wine's default ddraw to use the bundled cnc-ddraw, corrects the X: drive mapping, and handles the Linux case-sensitivity issue with TACTICS.CFG. Includes DirectPlay IPX registration for LAN multiplayer.",
  "notes": "",
  "name": "Dark Reign + Expansion",
  "year": 1997,
  "steamid": null,
  "gogslug": "dark_reign_expansion",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "dark-reign-expansion-gog",
  "installer_slug": "dark-reign-expansion-gog",
  "script": {
    "files": [
      {
        "goginstaller": "N/A:Select the GOG setup .exe for Dark Reign"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/drive_c/GOG Games/Dark Reign/dkreign.exe",
      "prefix": "$GAMEDIR",
      "working_dir": "$GAMEDIR/drive_c/GOG Games/Dark Reign"
    },
    "installer": [
      {
        "task": {
          "description": "Creating Wine prefix...",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "args": "/SP- /SILENT /NORESTART /LANG=en",
          "description": "Installing Dark Reign from GOG...",
          "executable": "goginstaller",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "rm -f \"$GAMEDIR/dosdevices/x:\" && ln -s \"$GAMEDIR/drive_c/GOG Games/Dark Reign\" \"$GAMEDIR/dosdevices/x:\"",
          "description": "Fixing drive X mapping to game directory..."
        }
      },
      {
        "execute": {
          "command": "ln -sf \"$GAMEDIR/drive_c/GOG Games/Dark Reign/TACTICS.CFG\" \"$GAMEDIR/drive_c/GOG Games/Dark Reign/tactics.cfg\"",
          "description": "Fixing TACTICS.CFG case sensitivity..."
        }
      },
      {
        "task": {
          "args": "/S \"$GAMEDIR/drive_c/GOG Games/Dark Reign/directplay-win64.reg\"",
          "description": "Registering DirectPlay IPX provider...",
          "executable": "regedit",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Setting ddraw DLL override to native...",
          "key": "ddraw",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides",
          "prefix": "$GAMEDIR",
          "type": "REG_SZ",
          "value": "native"
        }
      }
    ],
    "system": {
      "env": {
        "WINEDLLOVERRIDES": "ddraw=n"
      }
    },
    "wine": {
      "overrides": {
        "ddraw.dll": "n"
      }
    }
  }
}
Back to game