Installer midtown-madness-2-cd

files:
- setup: N/A:Please select the Midtown Madness 2 setup executable (setup.exe)
- nocd: 'N/A:Please select the No-CD executable for Midtown Madness 2 (Midtown2.exe)
    NOTE: Case sensitive'
game:
  arch: win32
  exe: drive_c/Program Files/Microsoft Games/Midtown Madness 2/Midtown2.exe
  prefix: $GAMEDIR
installer:
- task:
    description: Creating Wine prefix...
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: directmusic
    arch: win32
    description: Installing DirectMusic...
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: icodecs
    arch: win32
    description: Installing Indeo codec...
    name: winetricks
    prefix: $GAMEDIR
- task:
    description: Installing Midtown Madness 2...
    executable: setup
    name: wineexec
    prefix: $GAMEDIR
    return_code: 256
- merge:
    description: Installing No-CD executable...
    dst: $GAMEDIR/drive_c/Program Files/Microsoft Games/Midtown Madness 2/
    src: nocd
wine:
  dgvoodoo2: true
  overrides:
    ddraw: native
description: ''
game_slug: midtown-madness-2
gogslug: ''
humblestoreid: ''
installer_slug: midtown-madness-2-cd
name: Midtown Madness 2
notes: "The executable is case sensitive. If your No-CD exe file begins with a lowercase\
  \ m (midtown2.exe), then please rename it to have a capital M (Midtown2.exe), or\
  \ the installer will fail at the final step.\r\n\r\nIf you want to install mods\
  \ then be aware that while they do work, some custom maps can cause extreme stuttering\
  \ in certain areas and may lead to GPU hangs in rare cases. I am investigating the\
  \ cause of this."
runner: wine
script:
  files:
  - setup: N/A:Please select the Midtown Madness 2 setup executable (setup.exe)
  - nocd: 'N/A:Please select the No-CD executable for Midtown Madness 2 (Midtown2.exe)
      NOTE: Case sensitive'
  game:
    arch: win32
    exe: drive_c/Program Files/Microsoft Games/Midtown Madness 2/Midtown2.exe
    prefix: $GAMEDIR
  installer:
  - task:
      description: Creating Wine prefix...
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: directmusic
      arch: win32
      description: Installing DirectMusic...
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: icodecs
      arch: win32
      description: Installing Indeo codec...
      name: winetricks
      prefix: $GAMEDIR
  - task:
      description: Installing Midtown Madness 2...
      executable: setup
      name: wineexec
      prefix: $GAMEDIR
      return_code: 256
  - merge:
      description: Installing No-CD executable...
      dst: $GAMEDIR/drive_c/Program Files/Microsoft Games/Midtown Madness 2/
      src: nocd
  wine:
    dgvoodoo2: true
    overrides:
      ddraw: native
slug: midtown-madness-2-cd
steamid: null
version: CD
year: 2000
{
  "game_slug": "midtown-madness-2",
  "version": "CD",
  "description": "",
  "notes": "The executable is case sensitive. If your No-CD exe file begins with a lowercase m (midtown2.exe), then please rename it to have a capital M (Midtown2.exe), or the installer will fail at the final step.\r\n\r\nIf you want to install mods then be aware that while they do work, some custom maps can cause extreme stuttering in certain areas and may lead to GPU hangs in rare cases. I am investigating the cause of this.",
  "name": "Midtown Madness 2",
  "year": 2000,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "midtown-madness-2-cd",
  "installer_slug": "midtown-madness-2-cd",
  "script": {
    "files": [
      {
        "setup": "N/A:Please select the Midtown Madness 2 setup executable (setup.exe)"
      },
      {
        "nocd": "N/A:Please select the No-CD executable for Midtown Madness 2 (Midtown2.exe) NOTE: Case sensitive"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "drive_c/Program Files/Microsoft Games/Midtown Madness 2/Midtown2.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "description": "Creating Wine prefix...",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "directmusic",
          "arch": "win32",
          "description": "Installing DirectMusic...",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "icodecs",
          "arch": "win32",
          "description": "Installing Indeo codec...",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Installing Midtown Madness 2...",
          "executable": "setup",
          "name": "wineexec",
          "prefix": "$GAMEDIR",
          "return_code": 256
        }
      },
      {
        "merge": {
          "description": "Installing No-CD executable...",
          "dst": "$GAMEDIR/drive_c/Program Files/Microsoft Games/Midtown Madness 2/",
          "src": "nocd"
        }
      }
    ],
    "wine": {
      "dgvoodoo2": true,
      "overrides": {
        "ddraw": "native"
      }
    }
  }
}
Back to game