Installer star-wars-shadows-of-the-empi-gog

files:
- goginstaller: 'N/A:Please select the GOG installer for this game:'
- dgvoodoo2: https://web.archive.org/web/20230906195705/http://dege.fw.hu/dgVoodoo2/bin/dgVoodoo2_81_3.zip
game:
  exe: $GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata/Shadows.exe
  launch_configs:
  - exe: $GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata/dgVoodooCpl.exe
    name: dgVoodoo Control Panel
  - exe: $GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Shadows.doc
    name: Troubleshooting Guide
  prefix: $GAMEDIR
installer:
- task:
    install_gecko: false
    install_mono: false
    name: create_prefix
- task:
    args: /SP- /NOCANCEL /VERYSILENT /SUPPRESSMSGBOXES /NOGUI
    executable: $goginstaller
    name: wineexec
- extract:
    description: "Installing \u201CdgVoodoo2\u201D (by Dege)."
    dst: $CACHE/dgvoodoo2
    file: $dgvoodoo2
- move:
    dst: $GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata/ddraw.dll.bak
    src: $GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata/ddraw.dll
- move:
    dst: $GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata
    src: $CACHE/dgvoodoo2/dgVoodooCpl.exe
- move:
    dst: $GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata
    src: $CACHE/dgvoodoo2/MS/x86/D3DImm.dll
- move:
    dst: $GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata
    src: $CACHE/dgvoodoo2/MS/x86/DDraw.dll
- write_config:
    data:
      DirectX:
        VRAM: '4096'
        dgVoodooWatermark: 'false'
      DirectXExt:
        DefaultEnumeratedResolutions: none
        Dithering: appdriven
        DitheringEffect: ordered4x4
        EnumeratedResolutionBitdepths: '16'
        ExtraEnumeratedResolutions: 640x480
      General:
        ScalingMode: stretched_ar
    file: $GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata/dgVoodoo.conf
    merge: false
- move:
    dst: $GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/ddraw.dll.bak
    src: $GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/ddraw.dll
- execute:
    command: 'cd "$GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/" &&
      \

      ln -s ''Sdata/D3DImm.dll'' .; \

      ln -s ''Sdata/DDraw.dll'' .; \

      ln -s ''Sdata/dgVoodoo.conf'' .'
    description: "Installing \u201CdgVoodoo 2\u201D (by Dege)."
- task:
    key: 3D Device
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\LucasArts Entertainment Company\Shadows
      of the Empire
    type: REG_SZ
    value: dgVoodoo Hardware Accelerated Device
- task:
    key: Display Device
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\LucasArts Entertainment Company\Shadows
      of the Empire
    type: REG_SZ
    value: dgVoodoo DirectX Wrapper
system:
  env:
    MANGOHUD_CONFIG: no_display,fps_limit=30
  mangohud: true
wine:
  overrides:
    ddraw: n,b
description: ''
game_slug: star-wars-shadows-of-the-empire
gogslug: star_wars_shadows_of_the_empire
humblestoreid: ''
installer_slug: star-wars-shadows-of-the-empi-gog
name: 'STAR WARS: Shadows of the Empire'
notes: "Fixes:\r\n\t-\tResolution is fixed to 640\xD7480, as certain graphical effects\
  \ are broken at other resolutions.\r\n\t-\tFramerate is limited to 30 FPS (requires\
  \ MangoHud), as certain gameplay elements are affected.\r\n\r\nNotes:\r\n\t-\tRequires\
  \ low mouse poll rate (ideally, 40 Hz)."
runner: wine
script:
  files:
  - goginstaller: 'N/A:Please select the GOG installer for this game:'
  - dgvoodoo2: https://web.archive.org/web/20230906195705/http://dege.fw.hu/dgVoodoo2/bin/dgVoodoo2_81_3.zip
  game:
    exe: $GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata/Shadows.exe
    launch_configs:
    - exe: $GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata/dgVoodooCpl.exe
      name: dgVoodoo Control Panel
    - exe: $GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Shadows.doc
      name: Troubleshooting Guide
    prefix: $GAMEDIR
  installer:
  - task:
      install_gecko: false
      install_mono: false
      name: create_prefix
  - task:
      args: /SP- /NOCANCEL /VERYSILENT /SUPPRESSMSGBOXES /NOGUI
      executable: $goginstaller
      name: wineexec
  - extract:
      description: "Installing \u201CdgVoodoo2\u201D (by Dege)."
      dst: $CACHE/dgvoodoo2
      file: $dgvoodoo2
  - move:
      dst: $GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata/ddraw.dll.bak
      src: $GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata/ddraw.dll
  - move:
      dst: $GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata
      src: $CACHE/dgvoodoo2/dgVoodooCpl.exe
  - move:
      dst: $GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata
      src: $CACHE/dgvoodoo2/MS/x86/D3DImm.dll
  - move:
      dst: $GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata
      src: $CACHE/dgvoodoo2/MS/x86/DDraw.dll
  - write_config:
      data:
        DirectX:
          VRAM: '4096'
          dgVoodooWatermark: 'false'
        DirectXExt:
          DefaultEnumeratedResolutions: none
          Dithering: appdriven
          DitheringEffect: ordered4x4
          EnumeratedResolutionBitdepths: '16'
          ExtraEnumeratedResolutions: 640x480
        General:
          ScalingMode: stretched_ar
      file: $GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata/dgVoodoo.conf
      merge: false
  - move:
      dst: $GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/ddraw.dll.bak
      src: $GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/ddraw.dll
  - execute:
      command: 'cd "$GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/"
        && \

        ln -s ''Sdata/D3DImm.dll'' .; \

        ln -s ''Sdata/DDraw.dll'' .; \

        ln -s ''Sdata/dgVoodoo.conf'' .'
      description: "Installing \u201CdgVoodoo 2\u201D (by Dege)."
  - task:
      key: 3D Device
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\LucasArts Entertainment Company\Shadows
        of the Empire
      type: REG_SZ
      value: dgVoodoo Hardware Accelerated Device
  - task:
      key: Display Device
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\LucasArts Entertainment Company\Shadows
        of the Empire
      type: REG_SZ
      value: dgVoodoo DirectX Wrapper
  system:
    env:
      MANGOHUD_CONFIG: no_display,fps_limit=30
    mangohud: true
  wine:
    overrides:
      ddraw: n,b
slug: star-wars-shadows-of-the-empi-gog
steamid: 560170
version: GOG
year: 1996
{
  "game_slug": "star-wars-shadows-of-the-empire",
  "version": "GOG",
  "description": "",
  "notes": "Fixes:\r\n\t-\tResolution is fixed to 640\u00d7480, as certain graphical effects are broken at other resolutions.\r\n\t-\tFramerate is limited to 30 FPS (requires MangoHud), as certain gameplay elements are affected.\r\n\r\nNotes:\r\n\t-\tRequires low mouse poll rate (ideally, 40 Hz).",
  "name": "STAR WARS: Shadows of the Empire",
  "year": 1996,
  "steamid": 560170,
  "gogslug": "star_wars_shadows_of_the_empire",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "star-wars-shadows-of-the-empi-gog",
  "installer_slug": "star-wars-shadows-of-the-empi-gog",
  "script": {
    "files": [
      {
        "goginstaller": "N/A:Please select the GOG installer for this game:"
      },
      {
        "dgvoodoo2": "https://web.archive.org/web/20230906195705/http://dege.fw.hu/dgVoodoo2/bin/dgVoodoo2_81_3.zip"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata/Shadows.exe",
      "launch_configs": [
        {
          "exe": "$GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata/dgVoodooCpl.exe",
          "name": "dgVoodoo Control Panel"
        },
        {
          "exe": "$GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Shadows.doc",
          "name": "Troubleshooting Guide"
        }
      ],
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "install_gecko": false,
          "install_mono": false,
          "name": "create_prefix"
        }
      },
      {
        "task": {
          "args": "/SP- /NOCANCEL /VERYSILENT /SUPPRESSMSGBOXES /NOGUI",
          "executable": "$goginstaller",
          "name": "wineexec"
        }
      },
      {
        "extract": {
          "description": "Installing \u201cdgVoodoo2\u201d (by Dege).",
          "dst": "$CACHE/dgvoodoo2",
          "file": "$dgvoodoo2"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata/ddraw.dll.bak",
          "src": "$GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata/ddraw.dll"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata",
          "src": "$CACHE/dgvoodoo2/dgVoodooCpl.exe"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata",
          "src": "$CACHE/dgvoodoo2/MS/x86/D3DImm.dll"
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata",
          "src": "$CACHE/dgvoodoo2/MS/x86/DDraw.dll"
        }
      },
      {
        "write_config": {
          "data": {
            "DirectX": {
              "VRAM": "4096",
              "dgVoodooWatermark": "false"
            },
            "DirectXExt": {
              "DefaultEnumeratedResolutions": "none",
              "Dithering": "appdriven",
              "DitheringEffect": "ordered4x4",
              "EnumeratedResolutionBitdepths": "16",
              "ExtraEnumeratedResolutions": "640x480"
            },
            "General": {
              "ScalingMode": "stretched_ar"
            }
          },
          "file": "$GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/Sdata/dgVoodoo.conf",
          "merge": false
        }
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/ddraw.dll.bak",
          "src": "$GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/ddraw.dll"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c/GOG Games/Star Wars - Shadows of the Empire/\" && \\\nln -s 'Sdata/D3DImm.dll' .; \\\nln -s 'Sdata/DDraw.dll' .; \\\nln -s 'Sdata/dgVoodoo.conf' .",
          "description": "Installing \u201cdgVoodoo 2\u201d (by Dege)."
        }
      },
      {
        "task": {
          "key": "3D Device",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Wow6432Node\\LucasArts Entertainment Company\\Shadows of the Empire",
          "type": "REG_SZ",
          "value": "dgVoodoo Hardware Accelerated Device"
        }
      },
      {
        "task": {
          "key": "Display Device",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Wow6432Node\\LucasArts Entertainment Company\\Shadows of the Empire",
          "type": "REG_SZ",
          "value": "dgVoodoo DirectX Wrapper"
        }
      }
    ],
    "system": {
      "env": {
        "MANGOHUD_CONFIG": "no_display,fps_limit=30"
      },
      "mangohud": true
    },
    "wine": {
      "overrides": {
        "ddraw": "n,b"
      }
    }
  }
}
Back to game