Installer thief-deadly-shadows-gog-mods

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.

files:
- installer: N/A:Select the game's setup file
- sneakyupgrade: N/A:Please download Sneaky Upgrade here and select it http://www.ttlg.com/forums/showthread.php?t=138607
- esrganpack: N/A:Please download ESRGAN texture pack here and select it https://www.moddb.com/mods/thief-deadly-shadows-esrgan-pack
- hdcinematics: N/A:Please download HD Cinematics here and select it https://www.moddb.com/mods/thief-deadly-shadows-esrgan-pack
- largeaddressaware: N/A:Please download Large Address Aware here and select it https://www.techpowerup.com/forums/threads/large-address-aware.112556/
game:
  arch: win32
  exe: drive_c/GOG Games/Thief - Deadly Shadows/System/T3Main.exe
  gogid: 1207659036
  prefix: $GAMEDIR
installer:
- task:
    arch: win32
    description: Installing Thief - Deadly Shadows
    executable: installer
    name: wineexec
    prefix: $GAMEDIR
- task:
    app: arial
    description: Install arial font for Sneaky Upgrade installer
    name: winetricks
- task:
    description: Installing Sneaky Upgrade
    executable: sneakyupgrade
    name: wineexec
    prefix: $GAMEDIR
- extract:
    description: Installing ESRGAN texture pack
    dst: $GAMEDIR/drive_c/ProgramData/Thief 3 Sneaky Upgrade/Installed Mods/Briefing
      Videos/Content/T3/VideoTextures
    file: esrganpack
- extract:
    description: Installing HD cinematics pack
    dst: $GAMEDIR/drive_c/ProgramData/Thief 3 Sneaky Upgrade/Installed Mods/Collective
      Texture Pack
    file: hdcinematics
- extract:
    description: Extract Large Address Aware
    dst: $CACHE
    file: largeaddressaware
- task:
    description: Please apply Large Address Aware to C:\GOG Games\Thief - Deadly Shadows\System\T3Main.exe
    executable: $CACHE/Large Address Aware.exe
    name: wineexec
    prefix: $GAMEDIR
- execute:
    command: curl https://api.github.com/repos/dege-diosg/dgVoodoo2/releases/latest
      | grep browser_download_url | grep -vE '(dbg|API)' | cut -d '"' -f 4 | wget
      -i- -P $CACHE
    description: Download latest dgVoodoo2 release
- execute:
    command: find $CACHE -name 'dgVoodoo*' -exec unzip {} -d $CACHE ';'
    description: Extract latest dgVoodoo2 release to $CACHE
- merge:
    description: Copy dgVoodoo2 components to $GAMEDIR
    dst: $GAMEDIR/drive_c/GOG Games/Thief - Deadly Shadows/System
    src: $CACHE/MS/x86/D3D8.dll
- merge:
    dst: $GAMEDIR/drive_c/GOG Games/Thief - Deadly Shadows/System
    src: $CACHE/MS/x86/D3DImm.dll
- merge:
    dst: $GAMEDIR/drive_c/GOG Games/Thief - Deadly Shadows/System
    src: $CACHE/dgVoodooCpl.exe
- merge:
    dst: $GAMEDIR/drive_c/GOG Games/Thief - Deadly Shadows/System
    src: $CACHE/dgVoodoo.conf
- write_config:
    data:
      DirectX:
        Antialiasing: 8x
        AppControlledScreenMode: false
        DisableAltEnterToToggleScreenMode: false
        Filtering: 16
        Resolution: max_isf
        VRAM: 512
        VideoCard: internal3D
        dgVoodooWatermark: false
      General:
        CaptureMouse: true
        CenterAppWindow: false
        FullScreenOutput: default
        KeepWindowAspectRatio: true
        ScalingMode: stretched_ar
    description: Write dgVoodoo.conf file
    file: $GAMEDIR/drive_c/GOG Games/Thief - Deadly Shadows/System/dgVoodoo.conf
    merge: false
- task:
    arch: win32
    description: Set d3d8 to native,builtin
    key: d3d8
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
    prefix: $GAMEDIR
    type: REG_SZ
    value: native,builtin
wine:
  overrides:
    d3d8: n,b
{
  "files": [
    {
      "installer": "N/A:Select the game's setup file"
    },
    {
      "sneakyupgrade": "N/A:Please download Sneaky Upgrade here and select it http://www.ttlg.com/forums/showthread.php?t=138607"
    },
    {
      "esrganpack": "N/A:Please download ESRGAN texture pack here and select it https://www.moddb.com/mods/thief-deadly-shadows-esrgan-pack"
    },
    {
      "hdcinematics": "N/A:Please download HD Cinematics here and select it https://www.moddb.com/mods/thief-deadly-shadows-esrgan-pack"
    },
    {
      "largeaddressaware": "N/A:Please download Large Address Aware here and select it https://www.techpowerup.com/forums/threads/large-address-aware.112556/"
    }
  ],
  "game": {
    "arch": "win32",
    "exe": "drive_c/GOG Games/Thief - Deadly Shadows/System/T3Main.exe",
    "gogid": 1207659036,
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "arch": "win32",
        "description": "Installing Thief - Deadly Shadows",
        "executable": "installer",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "arial",
        "description": "Install arial font for Sneaky Upgrade installer",
        "name": "winetricks"
      }
    },
    {
      "task": {
        "description": "Installing Sneaky Upgrade",
        "executable": "sneakyupgrade",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "extract": {
        "description": "Installing ESRGAN texture pack",
        "dst": "$GAMEDIR/drive_c/ProgramData/Thief 3 Sneaky Upgrade/Installed Mods/Briefing Videos/Content/T3/VideoTextures",
        "file": "esrganpack"
      }
    },
    {
      "extract": {
        "description": "Installing HD cinematics pack",
        "dst": "$GAMEDIR/drive_c/ProgramData/Thief 3 Sneaky Upgrade/Installed Mods/Collective Texture Pack",
        "file": "hdcinematics"
      }
    },
    {
      "extract": {
        "description": "Extract Large Address Aware",
        "dst": "$CACHE",
        "file": "largeaddressaware"
      }
    },
    {
      "task": {
        "description": "Please apply Large Address Aware to C:\\GOG Games\\Thief - Deadly Shadows\\System\\T3Main.exe",
        "executable": "$CACHE/Large Address Aware.exe",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "execute": {
        "command": "curl https://api.github.com/repos/dege-diosg/dgVoodoo2/releases/latest | grep browser_download_url | grep -vE '(dbg|API)' | cut -d '\"' -f 4 | wget -i- -P $CACHE",
        "description": "Download latest dgVoodoo2 release"
      }
    },
    {
      "execute": {
        "command": "find $CACHE -name 'dgVoodoo*' -exec unzip {} -d $CACHE ';'",
        "description": "Extract latest dgVoodoo2 release to $CACHE"
      }
    },
    {
      "merge": {
        "description": "Copy dgVoodoo2 components to $GAMEDIR",
        "dst": "$GAMEDIR/drive_c/GOG Games/Thief - Deadly Shadows/System",
        "src": "$CACHE/MS/x86/D3D8.dll"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/drive_c/GOG Games/Thief - Deadly Shadows/System",
        "src": "$CACHE/MS/x86/D3DImm.dll"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/drive_c/GOG Games/Thief - Deadly Shadows/System",
        "src": "$CACHE/dgVoodooCpl.exe"
      }
    },
    {
      "merge": {
        "dst": "$GAMEDIR/drive_c/GOG Games/Thief - Deadly Shadows/System",
        "src": "$CACHE/dgVoodoo.conf"
      }
    },
    {
      "write_config": {
        "data": {
          "DirectX": {
            "Antialiasing": "8x",
            "AppControlledScreenMode": false,
            "DisableAltEnterToToggleScreenMode": false,
            "Filtering": 16,
            "Resolution": "max_isf",
            "VRAM": 512,
            "VideoCard": "internal3D",
            "dgVoodooWatermark": false
          },
          "General": {
            "CaptureMouse": true,
            "CenterAppWindow": false,
            "FullScreenOutput": "default",
            "KeepWindowAspectRatio": true,
            "ScalingMode": "stretched_ar"
          }
        },
        "description": "Write dgVoodoo.conf file",
        "file": "$GAMEDIR/drive_c/GOG Games/Thief - Deadly Shadows/System/dgVoodoo.conf",
        "merge": false
      }
    },
    {
      "task": {
        "arch": "win32",
        "description": "Set d3d8 to native,builtin",
        "key": "d3d8",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides",
        "prefix": "$GAMEDIR",
        "type": "REG_SZ",
        "value": "native,builtin"
      }
    }
  ],
  "wine": {
    "overrides": {
      "d3d8": "n,b"
    }
  }
}
Back to game