Installer ford-racing-2-cd

files:
- mfinstaller: https://github.com/z0z0z/mf-install/archive/master.zip
- fr2-wmf: https://archive.org/download/fr2-wmf/fr2-wmf.zip
game:
  arch: win32
  exe: drive_c/Program Files/Empire Interactive/Ford Racing 2/fr2.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    requires: setup.exe
- task:
    executable: $DISC/setup.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    app: winxp wmp10 icodecs directshow winxp
    arch: win32
    description: Installing wmp10, mf, icodecs, directshow
    name: winetricks
    prefix: $GAMEDIR
- extract:
    dst: $CACHE/mfinstaller
    file: mfinstaller
- execute:
    command: $CACHE/mfinstaller/install-mf.sh
    env:
      WINEPREFIX: $GAMEDIR/drive_c
    terminal: true
- extract:
    dst: $GAMEDIR/drive_c
    file: fr2-wmf
- task:
    args: /s $GAMEDIR/drive_c/windows/system32/Windows-Media-Source-Filter/msadds32.ax
    description: Registering DLLs in Wine
    executable: regsvr32
    name: wineexec
    prefix: $GAMEDIR
- task:
    args: /s $GAMEDIR/drive_c/windows/system32/Windows-Media-Source-Filter/dxmasf.dll
    description: Registering DLLs in Wine
    executable: regsvr32
    name: wineexec
    prefix: $GAMEDIR
wine:
  dgvoodoo2: true
  overrides:
    drmclien.dll: n,b
    strmdll.dll: n,b
  version: lutris-fshack-5.6-5-x86_64
description: Working with sound enabled. Gamepads are NOT working.
game_slug: ford-racing-2
gogslug: ''
humblestoreid: ''
installer_slug: ford-racing-2-cd
name: Ford Racing 2
notes: "Make sure to insert the install CD/mount the ISO backup before running the\
  \ installation.\r\nWhen the game finishes installing and the setup appears, apply\
  \ your settings and choose \"OK\". Do not run the game yet. \r\nGame lacks windowed\
  \ support. If running at non-native resolution, consider running with Gamescope.\r\
  \nCurrently limited to Wine versions 5.X with and older, due to incomplete implementation\
  \ of MF.\r\nGame appears to lag a bit during profile creation, but it works well\
  \ after that."
runner: wine
script:
  files:
  - mfinstaller: https://github.com/z0z0z/mf-install/archive/master.zip
  - fr2-wmf: https://archive.org/download/fr2-wmf/fr2-wmf.zip
  game:
    arch: win32
    exe: drive_c/Program Files/Empire Interactive/Ford Racing 2/fr2.exe
    prefix: $GAMEDIR
  installer:
  - insert-disc:
      requires: setup.exe
  - task:
      executable: $DISC/setup.exe
      name: wineexec
      prefix: $GAMEDIR
  - task:
      app: winxp wmp10 icodecs directshow winxp
      arch: win32
      description: Installing wmp10, mf, icodecs, directshow
      name: winetricks
      prefix: $GAMEDIR
  - extract:
      dst: $CACHE/mfinstaller
      file: mfinstaller
  - execute:
      command: $CACHE/mfinstaller/install-mf.sh
      env:
        WINEPREFIX: $GAMEDIR/drive_c
      terminal: true
  - extract:
      dst: $GAMEDIR/drive_c
      file: fr2-wmf
  - task:
      args: /s $GAMEDIR/drive_c/windows/system32/Windows-Media-Source-Filter/msadds32.ax
      description: Registering DLLs in Wine
      executable: regsvr32
      name: wineexec
      prefix: $GAMEDIR
  - task:
      args: /s $GAMEDIR/drive_c/windows/system32/Windows-Media-Source-Filter/dxmasf.dll
      description: Registering DLLs in Wine
      executable: regsvr32
      name: wineexec
      prefix: $GAMEDIR
  wine:
    dgvoodoo2: true
    overrides:
      drmclien.dll: n,b
      strmdll.dll: n,b
    version: lutris-fshack-5.6-5-x86_64
slug: ford-racing-2-cd
steamid: null
version: CD
year: 2003
{
  "game_slug": "ford-racing-2",
  "version": "CD",
  "description": "Working with sound enabled. Gamepads are NOT working.",
  "notes": "Make sure to insert the install CD/mount the ISO backup before running the installation.\r\nWhen the game finishes installing and the setup appears, apply your settings and choose \"OK\". Do not run the game yet. \r\nGame lacks windowed support. If running at non-native resolution, consider running with Gamescope.\r\nCurrently limited to Wine versions 5.X with and older, due to incomplete implementation of MF.\r\nGame appears to lag a bit during profile creation, but it works well after that.",
  "name": "Ford Racing 2",
  "year": 2003,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "ford-racing-2-cd",
  "installer_slug": "ford-racing-2-cd",
  "script": {
    "files": [
      {
        "mfinstaller": "https://github.com/z0z0z/mf-install/archive/master.zip"
      },
      {
        "fr2-wmf": "https://archive.org/download/fr2-wmf/fr2-wmf.zip"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "drive_c/Program Files/Empire Interactive/Ford Racing 2/fr2.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "insert-disc": {
          "requires": "setup.exe"
        }
      },
      {
        "task": {
          "executable": "$DISC/setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "winxp wmp10 icodecs directshow winxp",
          "arch": "win32",
          "description": "Installing wmp10, mf, icodecs, directshow",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/mfinstaller",
          "file": "mfinstaller"
        }
      },
      {
        "execute": {
          "command": "$CACHE/mfinstaller/install-mf.sh",
          "env": {
            "WINEPREFIX": "$GAMEDIR/drive_c"
          },
          "terminal": true
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c",
          "file": "fr2-wmf"
        }
      },
      {
        "task": {
          "args": "/s $GAMEDIR/drive_c/windows/system32/Windows-Media-Source-Filter/msadds32.ax",
          "description": "Registering DLLs in Wine",
          "executable": "regsvr32",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "args": "/s $GAMEDIR/drive_c/windows/system32/Windows-Media-Source-Filter/dxmasf.dll",
          "description": "Registering DLLs in Wine",
          "executable": "regsvr32",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      }
    ],
    "wine": {
      "dgvoodoo2": true,
      "overrides": {
        "drmclien.dll": "n,b",
        "strmdll.dll": "n,b"
      },
      "version": "lutris-fshack-5.6-5-x86_64"
    }
  }
}
Back to game