Installer outlaws-gog-fixes

files:
- installer: N/A:Select the game's setup file
- musicfix: https://gist.githubusercontent.com/shmerl/baa5367fce111e6999a4/raw/98a413cefcf9ac731c33b66218088d7aaeebcda8/gog_outlaws_winmm_fix.sh
- cncddraw: https://github.com/FunkyFr3sh/cnc-ddraw/releases/download/v5.0.0.0/cnc-ddraw.zip
- winmm: https://github.com/dippy-dipper/ogg-winmm/files/5636818/ogg-winmm_rev3.zip
game:
  arch: win32
  exe: drive_c/GOG Games/Outlaws/OUTLAWS.EXE
  gogid: 1425302464
  prefix: $GAMEDIR
installer:
- task:
    arch: win32
    description: Installing Outlaws
    executable: installer
    name: wineexec
    prefix: $GAMEDIR
- move:
    description: Back up ddraw file
    dst: $GAMEDIR/drive_c/GOG Games/Outlaws/ddraw.dll.bak
    src: $GAMEDIR/drive_c/GOG Games/Outlaws/ddraw.dll
- extract:
    dst: $GAMEDIR/drive_c/GOG Games/Outlaws
    file: cncddraw
- task:
    app: tahoma
    description: Install a font for nGlide installer
    name: winetricks
- task:
    arch: win32
    key: ddraw
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DllOverrides\
    prefix: $GAMEDIR
    type: REG_SZ
    value: native,builtin
- extract:
    description: Extract ogg-winmm
    dst: $GAMEDIR/drive_c/GOG Games/Outlaws
    file: winmm
- chmodx: musicfix
- move:
    dst: $GAMEDIR/drive_c/GOG Games/Outlaws
    src: musicfix
- execute:
    command: cd "$GAMEDIR/drive_c/GOG Games/Outlaws/" && bash "$GAMEDIR/drive_c/GOG
      Games/Outlaws/gog_outlaws_winmm_fix.sh"
    description: Fix music playback
require-binaries: bbe
wine:
  dgvoodoo2: true
description: Installs graphics and music playback fixes
game_slug: outlaws
gogslug: outlaws_a_handful_of_missions
humblestoreid: ''
installer_slug: outlaws-gog-fixes
name: Outlaws
notes: "'bbe' is required to apply music fixes. Please install this from your distro\
  \ repository.\r\n\r\nTo change the game controls, change the display renderer to\
  \ Window in Select Video Mode. Change the controls as desired in-game then restart\
  \ the game with the 3DFX or Direct3D display driver."
runner: wine
script:
  files:
  - installer: N/A:Select the game's setup file
  - musicfix: https://gist.githubusercontent.com/shmerl/baa5367fce111e6999a4/raw/98a413cefcf9ac731c33b66218088d7aaeebcda8/gog_outlaws_winmm_fix.sh
  - cncddraw: https://github.com/FunkyFr3sh/cnc-ddraw/releases/download/v5.0.0.0/cnc-ddraw.zip
  - winmm: https://github.com/dippy-dipper/ogg-winmm/files/5636818/ogg-winmm_rev3.zip
  game:
    arch: win32
    exe: drive_c/GOG Games/Outlaws/OUTLAWS.EXE
    gogid: 1425302464
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win32
      description: Installing Outlaws
      executable: installer
      name: wineexec
      prefix: $GAMEDIR
  - move:
      description: Back up ddraw file
      dst: $GAMEDIR/drive_c/GOG Games/Outlaws/ddraw.dll.bak
      src: $GAMEDIR/drive_c/GOG Games/Outlaws/ddraw.dll
  - extract:
      dst: $GAMEDIR/drive_c/GOG Games/Outlaws
      file: cncddraw
  - task:
      app: tahoma
      description: Install a font for nGlide installer
      name: winetricks
  - task:
      arch: win32
      key: ddraw
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\DllOverrides\
      prefix: $GAMEDIR
      type: REG_SZ
      value: native,builtin
  - extract:
      description: Extract ogg-winmm
      dst: $GAMEDIR/drive_c/GOG Games/Outlaws
      file: winmm
  - chmodx: musicfix
  - move:
      dst: $GAMEDIR/drive_c/GOG Games/Outlaws
      src: musicfix
  - execute:
      command: cd "$GAMEDIR/drive_c/GOG Games/Outlaws/" && bash "$GAMEDIR/drive_c/GOG
        Games/Outlaws/gog_outlaws_winmm_fix.sh"
      description: Fix music playback
  require-binaries: bbe
  wine:
    dgvoodoo2: true
slug: outlaws-gog-fixes
steamid: 559620
version: GOG + fixes
year: 1997
{
  "game_slug": "outlaws",
  "version": "GOG + fixes",
  "description": "Installs graphics and music playback fixes",
  "notes": "'bbe' is required to apply music fixes. Please install this from your distro repository.\r\n\r\nTo change the game controls, change the display renderer to Window in Select Video Mode. Change the controls as desired in-game then restart the game with the 3DFX or Direct3D display driver.",
  "name": "Outlaws",
  "year": 1997,
  "steamid": 559620,
  "gogslug": "outlaws_a_handful_of_missions",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "outlaws-gog-fixes",
  "installer_slug": "outlaws-gog-fixes",
  "script": {
    "files": [
      {
        "installer": "N/A:Select the game's setup file"
      },
      {
        "musicfix": "https://gist.githubusercontent.com/shmerl/baa5367fce111e6999a4/raw/98a413cefcf9ac731c33b66218088d7aaeebcda8/gog_outlaws_winmm_fix.sh"
      },
      {
        "cncddraw": "https://github.com/FunkyFr3sh/cnc-ddraw/releases/download/v5.0.0.0/cnc-ddraw.zip"
      },
      {
        "winmm": "https://github.com/dippy-dipper/ogg-winmm/files/5636818/ogg-winmm_rev3.zip"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "drive_c/GOG Games/Outlaws/OUTLAWS.EXE",
      "gogid": 1425302464,
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win32",
          "description": "Installing Outlaws",
          "executable": "installer",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "move": {
          "description": "Back up ddraw file",
          "dst": "$GAMEDIR/drive_c/GOG Games/Outlaws/ddraw.dll.bak",
          "src": "$GAMEDIR/drive_c/GOG Games/Outlaws/ddraw.dll"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Outlaws",
          "file": "cncddraw"
        }
      },
      {
        "task": {
          "app": "tahoma",
          "description": "Install a font for nGlide installer",
          "name": "winetricks"
        }
      },
      {
        "task": {
          "arch": "win32",
          "key": "ddraw",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides\\",
          "prefix": "$GAMEDIR",
          "type": "REG_SZ",
          "value": "native,builtin"
        }
      },
      {
        "extract": {
          "description": "Extract ogg-winmm",
          "dst": "$GAMEDIR/drive_c/GOG Games/Outlaws",
          "file": "winmm"
        }
      },
      {
        "chmodx": "musicfix"
      },
      {
        "move": {
          "dst": "$GAMEDIR/drive_c/GOG Games/Outlaws",
          "src": "musicfix"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c/GOG Games/Outlaws/\" && bash \"$GAMEDIR/drive_c/GOG Games/Outlaws/gog_outlaws_winmm_fix.sh\"",
          "description": "Fix music playback"
        }
      }
    ],
    "require-binaries": "bbe",
    "wine": {
      "dgvoodoo2": true
    }
  }
}
Back to game