Installer thief-gold-gog-newdark

files:
- goginstaller: N/A:Select the GOG Offline Installer for Thief Gold
- tfix: https://archive.org/download/Theif_Coll/Essential%20Resources%20for%20Theif%201.rar/Essential%20Resources%20for%20Theif%201%2FTFix_1.27.exe
- openalsoft: https://www.openal-soft.org/openal-binaries/openal-soft-1.23.1-bin.zip
game:
  arch: win64
  exe: $GAMEDIR/drive_c/Games/Thief/THIEF.EXE
  launch_configs:
  - args: -fm
    exe: $GAMEDIR/drive_c/Games/Thief/THIEF.EXE
    name: Fan Mission Manager
  - exe: $GAMEDIR/drive_c/OpenAL/alsoft-config/alsoft-config.exe
    name: OpenAL Configurator
  prefix: $GAMEDIR
  working_dir: $GAMEDIR/drive_c/Games/Thief/
install_complete_text: 'Installation successful!


  By the Builder, take note of the following:


  - Do not change the wine runner version, this can break video playback.

  - Make sure to enable OpenAL Hardware Acceleration with EAX in the audio settings'
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- task:
    args: /SILENT /NOCANCEL /SUPPRESSMSGBOXES /NOGUI /DIR="C:/Games/Thief"
    description: Installing Thief Gold
    executable: goginstaller
    name: wineexec
    prefix: $GAMEDIR
- task:
    app: vcrun2008
    arch: win64
    description: Installing Visual C++ Runtime 2008
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: d3dx9
    arch: win64
    description: Installing DirectX 9.0c June 2010
    name: winetricks
    prefix: $GAMEDIR
- task:
    description: Installing TFix 1.27b (NewDark). Do not change any settings.
    executable: tfix
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/OpenAL
    src: openalsoft
- copy:
    dst: $GAMEDIR/drive_c/Games/Thief/soft_oal.dll
    src: $GAMEDIR/drive_c/OpenAL/bin/Win32/soft_oal.dll
- task:
    description: "Once the OpenAL configurator opens make sure to change the entry\
      \ in Playback \u2192 Stereo Mode to Headphones. Apply the changes and Close\
      \ the configurator."
    executable: $GAMEDIR/drive_c/OpenAL/alsoft-config/alsoft-config.exe
    name: wineexec
    prefix: $GAMEDIR
- execute:
    command: sed -i -e 's/\;snd_oal_device\ Generic\ Software/snd_oal_device\ OpenAL\
      Soft/g' '$GAMEDIR/drive_c/Games/Thief/cam_ext.cfg'
    description: Change audio settings to OpenAL Soft (Stereo mode)
- execute:
    command: sed -i -e 's/\;snd_speaker_config\ 6/snd_speaker_config\ 2/g' '$GAMEDIR/drive_c/Games/Thief/cam_ext.cfg'
system:
  pulse_latency: false
description: Full Installer
game_slug: thief-gold
gogslug: thief_gold
humblestoreid: ''
installer_slug: thief-gold-gog-newdark
name: Thief Gold
notes: "- Automated Download of necessary files\r\n- Installs TFix 1.27b (includes\
  \ \"NewDark\" Engine Fixes)\r\n- Fixes audio issues (Read installer instructions!)\r\
  \n- Enables optional FM Manager for Fan Mission Support"
runner: wine
script:
  files:
  - goginstaller: N/A:Select the GOG Offline Installer for Thief Gold
  - tfix: https://archive.org/download/Theif_Coll/Essential%20Resources%20for%20Theif%201.rar/Essential%20Resources%20for%20Theif%201%2FTFix_1.27.exe
  - openalsoft: https://www.openal-soft.org/openal-binaries/openal-soft-1.23.1-bin.zip
  game:
    arch: win64
    exe: $GAMEDIR/drive_c/Games/Thief/THIEF.EXE
    launch_configs:
    - args: -fm
      exe: $GAMEDIR/drive_c/Games/Thief/THIEF.EXE
      name: Fan Mission Manager
    - exe: $GAMEDIR/drive_c/OpenAL/alsoft-config/alsoft-config.exe
      name: OpenAL Configurator
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/Games/Thief/
  install_complete_text: 'Installation successful!


    By the Builder, take note of the following:


    - Do not change the wine runner version, this can break video playback.

    - Make sure to enable OpenAL Hardware Acceleration with EAX in the audio settings'
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      args: /SILENT /NOCANCEL /SUPPRESSMSGBOXES /NOGUI /DIR="C:/Games/Thief"
      description: Installing Thief Gold
      executable: goginstaller
      name: wineexec
      prefix: $GAMEDIR
  - task:
      app: vcrun2008
      arch: win64
      description: Installing Visual C++ Runtime 2008
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: d3dx9
      arch: win64
      description: Installing DirectX 9.0c June 2010
      name: winetricks
      prefix: $GAMEDIR
  - task:
      description: Installing TFix 1.27b (NewDark). Do not change any settings.
      executable: tfix
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/OpenAL
      src: openalsoft
  - copy:
      dst: $GAMEDIR/drive_c/Games/Thief/soft_oal.dll
      src: $GAMEDIR/drive_c/OpenAL/bin/Win32/soft_oal.dll
  - task:
      description: "Once the OpenAL configurator opens make sure to change the entry\
        \ in Playback \u2192 Stereo Mode to Headphones. Apply the changes and Close\
        \ the configurator."
      executable: $GAMEDIR/drive_c/OpenAL/alsoft-config/alsoft-config.exe
      name: wineexec
      prefix: $GAMEDIR
  - execute:
      command: sed -i -e 's/\;snd_oal_device\ Generic\ Software/snd_oal_device\ OpenAL\
        Soft/g' '$GAMEDIR/drive_c/Games/Thief/cam_ext.cfg'
      description: Change audio settings to OpenAL Soft (Stereo mode)
  - execute:
      command: sed -i -e 's/\;snd_speaker_config\ 6/snd_speaker_config\ 2/g' '$GAMEDIR/drive_c/Games/Thief/cam_ext.cfg'
  system:
    pulse_latency: false
slug: thief-gold-gog-newdark
steamid: 211600
version: GOG + NewDark
year: 1998
{
  "game_slug": "thief-gold",
  "version": "GOG + NewDark",
  "description": "Full Installer",
  "notes": "- Automated Download of necessary files\r\n- Installs TFix 1.27b (includes \"NewDark\" Engine Fixes)\r\n- Fixes audio issues (Read installer instructions!)\r\n- Enables optional FM Manager for Fan Mission Support",
  "name": "Thief Gold",
  "year": 1998,
  "steamid": 211600,
  "gogslug": "thief_gold",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "thief-gold-gog-newdark",
  "installer_slug": "thief-gold-gog-newdark",
  "script": {
    "files": [
      {
        "goginstaller": "N/A:Select the GOG Offline Installer for Thief Gold"
      },
      {
        "tfix": "https://archive.org/download/Theif_Coll/Essential%20Resources%20for%20Theif%201.rar/Essential%20Resources%20for%20Theif%201%2FTFix_1.27.exe"
      },
      {
        "openalsoft": "https://www.openal-soft.org/openal-binaries/openal-soft-1.23.1-bin.zip"
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "$GAMEDIR/drive_c/Games/Thief/THIEF.EXE",
      "launch_configs": [
        {
          "args": "-fm",
          "exe": "$GAMEDIR/drive_c/Games/Thief/THIEF.EXE",
          "name": "Fan Mission Manager"
        },
        {
          "exe": "$GAMEDIR/drive_c/OpenAL/alsoft-config/alsoft-config.exe",
          "name": "OpenAL Configurator"
        }
      ],
      "prefix": "$GAMEDIR",
      "working_dir": "$GAMEDIR/drive_c/Games/Thief/"
    },
    "install_complete_text": "Installation successful!\n\nBy the Builder, take note of the following:\n\n- Do not change the wine runner version, this can break video playback.\n- Make sure to enable OpenAL Hardware Acceleration with EAX in the audio settings",
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "args": "/SILENT /NOCANCEL /SUPPRESSMSGBOXES /NOGUI /DIR=\"C:/Games/Thief\"",
          "description": "Installing Thief Gold",
          "executable": "goginstaller",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "vcrun2008",
          "arch": "win64",
          "description": "Installing Visual C++ Runtime 2008",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "d3dx9",
          "arch": "win64",
          "description": "Installing DirectX 9.0c June 2010",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Installing TFix 1.27b (NewDark). Do not change any settings.",
          "executable": "tfix",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/OpenAL",
          "src": "openalsoft"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/Games/Thief/soft_oal.dll",
          "src": "$GAMEDIR/drive_c/OpenAL/bin/Win32/soft_oal.dll"
        }
      },
      {
        "task": {
          "description": "Once the OpenAL configurator opens make sure to change the entry in Playback \u2192 Stereo Mode to Headphones. Apply the changes and Close the configurator.",
          "executable": "$GAMEDIR/drive_c/OpenAL/alsoft-config/alsoft-config.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "sed -i -e 's/\\;snd_oal_device\\ Generic\\ Software/snd_oal_device\\ OpenAL\\ Soft/g' '$GAMEDIR/drive_c/Games/Thief/cam_ext.cfg'",
          "description": "Change audio settings to OpenAL Soft (Stereo mode)"
        }
      },
      {
        "execute": {
          "command": "sed -i -e 's/\\;snd_speaker_config\\ 6/snd_speaker_config\\ 2/g' '$GAMEDIR/drive_c/Games/Thief/cam_ext.cfg'"
        }
      }
    ],
    "system": {
      "pulse_latency": false
    }
  }
}
Back to game