Installer colin-mcrae-rally-3-international-window

files:
- v1_1_patch: https://archive.org/download/cmr-3-upgrade-installer-1.1/CMR3%20Upgrade%20Installer%201.1.exe
- xdelta_patcher: https://github.com/jmacd/xdelta-gpl/releases/download/v3.1.0/xdelta3-3.1.0-i686.exe.zip
- v1_1_drmfree_patch: https://github.com/CookiePLMonster/SilentPatchCMR3/releases/latest/download/CMR3Patcher.zip
- silent_patch: https://github.com/CookiePLMonster/SilentPatchCMR3/releases/latest/download/SilentPatchCMR3.zip
game:
  arch: win32
  exe: $GAMEDIR/drive_c/Program Files/Codemasters/Colin McRae Rally 3/Rally_3PC.exe
  prefix: $GAMEDIR
  working_dir: $GAMEDIR/drive_c/Program Files/Codemasters/Colin McRae Rally 3/
installer:
- insert-disc:
    requires: setup.exe
- task:
    arch: win32
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    arch: win32
    description: Running installer...  use all defaults. The two error messages are
      normal.
    executable: $DISC/setup.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win32
    description: Running v1.1 patch installer...  use all defaults.
    executable: v1_1_patch
    name: wineexec
    prefix: $GAMEDIR
- extract:
    description: Extracting DRM delta patches
    dst: $CACHE/drmfree
    file: v1_1_drmfree_patch
    name: extract_v1_1_drmfree_patch
- extract:
    description: Extracting xdeltapatcher
    dst: $CACHE/drmfree
    file: xdelta_patcher
    name: extract_xdelta_patcher
- copy:
    description: Move game executable for patching
    dst: $CACHE/drmfree/orig
    src: $GAMEDIR/drive_c/Program Files/Codemasters/Colin McRae Rally 3/Rally_3PC.exe
- task:
    arch: win32
    args: -f -d -s ./orig/Rally_3PC.exe ./patcher/efigs.xdelta ./Rally_3PC.exe'
    description: Patching the executable
    executable: $CACHE/drmfree/xdelta3-3.1.0-i686.exe
    name: wineexec
    prefix: $GAMEDIR
- copy:
    description: Install patched executable
    dst: $GAMEDIR/drive_c/Program Files/Codemasters/Colin McRae Rally 3/
    src: $CACHE/drmfree/Rally_3PC.exe
- extract:
    description: Extracting silentpatch for CMR3
    dst: $GAMEDIR/drive_c/Program Files/Codemasters/Colin McRae Rally 3/
    file: silent_patch
    name: extract_silent_patch
wine:
  overrides:
    dinput8.dll: n,b
description: ''
game_slug: colin-mcrae-rally-3
gogslug: ''
humblestoreid: ''
installer_slug: colin-mcrae-rally-3-international-window
name: Colin McRae Rally 3
notes: "Requires the CD release of Colin McRae Rally 3, or an extracted version of\
  \ it (with all three discs).\r\n\r\nIncludes SilentPatch for CMR3."
runner: wine
script:
  files:
  - v1_1_patch: https://archive.org/download/cmr-3-upgrade-installer-1.1/CMR3%20Upgrade%20Installer%201.1.exe
  - xdelta_patcher: https://github.com/jmacd/xdelta-gpl/releases/download/v3.1.0/xdelta3-3.1.0-i686.exe.zip
  - v1_1_drmfree_patch: https://github.com/CookiePLMonster/SilentPatchCMR3/releases/latest/download/CMR3Patcher.zip
  - silent_patch: https://github.com/CookiePLMonster/SilentPatchCMR3/releases/latest/download/SilentPatchCMR3.zip
  game:
    arch: win32
    exe: $GAMEDIR/drive_c/Program Files/Codemasters/Colin McRae Rally 3/Rally_3PC.exe
    prefix: $GAMEDIR
    working_dir: $GAMEDIR/drive_c/Program Files/Codemasters/Colin McRae Rally 3/
  installer:
  - insert-disc:
      requires: setup.exe
  - task:
      arch: win32
      description: Creating Wine prefix
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      arch: win32
      description: Running installer...  use all defaults. The two error messages
        are normal.
      executable: $DISC/setup.exe
      name: wineexec
      prefix: $GAMEDIR
  - task:
      arch: win32
      description: Running v1.1 patch installer...  use all defaults.
      executable: v1_1_patch
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      description: Extracting DRM delta patches
      dst: $CACHE/drmfree
      file: v1_1_drmfree_patch
      name: extract_v1_1_drmfree_patch
  - extract:
      description: Extracting xdeltapatcher
      dst: $CACHE/drmfree
      file: xdelta_patcher
      name: extract_xdelta_patcher
  - copy:
      description: Move game executable for patching
      dst: $CACHE/drmfree/orig
      src: $GAMEDIR/drive_c/Program Files/Codemasters/Colin McRae Rally 3/Rally_3PC.exe
  - task:
      arch: win32
      args: -f -d -s ./orig/Rally_3PC.exe ./patcher/efigs.xdelta ./Rally_3PC.exe'
      description: Patching the executable
      executable: $CACHE/drmfree/xdelta3-3.1.0-i686.exe
      name: wineexec
      prefix: $GAMEDIR
  - copy:
      description: Install patched executable
      dst: $GAMEDIR/drive_c/Program Files/Codemasters/Colin McRae Rally 3/
      src: $CACHE/drmfree/Rally_3PC.exe
  - extract:
      description: Extracting silentpatch for CMR3
      dst: $GAMEDIR/drive_c/Program Files/Codemasters/Colin McRae Rally 3/
      file: silent_patch
      name: extract_silent_patch
  wine:
    overrides:
      dinput8.dll: n,b
slug: colin-mcrae-rally-3-international-window
steamid: null
version: International Windows CD
year: 2002
{
  "game_slug": "colin-mcrae-rally-3",
  "version": "International Windows CD",
  "description": "",
  "notes": "Requires the CD release of Colin McRae Rally 3, or an extracted version of it (with all three discs).\r\n\r\nIncludes SilentPatch for CMR3.",
  "name": "Colin McRae Rally 3",
  "year": 2002,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "colin-mcrae-rally-3-international-window",
  "installer_slug": "colin-mcrae-rally-3-international-window",
  "script": {
    "files": [
      {
        "v1_1_patch": "https://archive.org/download/cmr-3-upgrade-installer-1.1/CMR3%20Upgrade%20Installer%201.1.exe"
      },
      {
        "xdelta_patcher": "https://github.com/jmacd/xdelta-gpl/releases/download/v3.1.0/xdelta3-3.1.0-i686.exe.zip"
      },
      {
        "v1_1_drmfree_patch": "https://github.com/CookiePLMonster/SilentPatchCMR3/releases/latest/download/CMR3Patcher.zip"
      },
      {
        "silent_patch": "https://github.com/CookiePLMonster/SilentPatchCMR3/releases/latest/download/SilentPatchCMR3.zip"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "$GAMEDIR/drive_c/Program Files/Codemasters/Colin McRae Rally 3/Rally_3PC.exe",
      "prefix": "$GAMEDIR",
      "working_dir": "$GAMEDIR/drive_c/Program Files/Codemasters/Colin McRae Rally 3/"
    },
    "installer": [
      {
        "insert-disc": {
          "requires": "setup.exe"
        }
      },
      {
        "task": {
          "arch": "win32",
          "description": "Creating Wine prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win32",
          "description": "Running installer...  use all defaults. The two error messages are normal.",
          "executable": "$DISC/setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win32",
          "description": "Running v1.1 patch installer...  use all defaults.",
          "executable": "v1_1_patch",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "description": "Extracting DRM delta patches",
          "dst": "$CACHE/drmfree",
          "file": "v1_1_drmfree_patch",
          "name": "extract_v1_1_drmfree_patch"
        }
      },
      {
        "extract": {
          "description": "Extracting xdeltapatcher",
          "dst": "$CACHE/drmfree",
          "file": "xdelta_patcher",
          "name": "extract_xdelta_patcher"
        }
      },
      {
        "copy": {
          "description": "Move game executable for patching",
          "dst": "$CACHE/drmfree/orig",
          "src": "$GAMEDIR/drive_c/Program Files/Codemasters/Colin McRae Rally 3/Rally_3PC.exe"
        }
      },
      {
        "task": {
          "arch": "win32",
          "args": "-f -d -s ./orig/Rally_3PC.exe ./patcher/efigs.xdelta ./Rally_3PC.exe'",
          "description": "Patching the executable",
          "executable": "$CACHE/drmfree/xdelta3-3.1.0-i686.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "copy": {
          "description": "Install patched executable",
          "dst": "$GAMEDIR/drive_c/Program Files/Codemasters/Colin McRae Rally 3/",
          "src": "$CACHE/drmfree/Rally_3PC.exe"
        }
      },
      {
        "extract": {
          "description": "Extracting silentpatch for CMR3",
          "dst": "$GAMEDIR/drive_c/Program Files/Codemasters/Colin McRae Rally 3/",
          "file": "silent_patch",
          "name": "extract_silent_patch"
        }
      }
    ],
    "wine": {
      "overrides": {
        "dinput8.dll": "n,b"
      }
    }
  }
}
Back to game