Installer mafia-ii-gog

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.

files:
- install: N/A:Select the Windows setup file downloaded from GOG
game:
  exe: $GAMEDIR/drive_c/GOG Games/Mafia II/pc/mafia2.exe
  prefix: $GAMEDIR
installer:
- task:
    app: d3dx9
    description: Installing d3dx9
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: physx
    description: Installing physx
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: vcrun2008
    description: Installing vcrun2008
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: vcrun2010
    description: Installing vcrun2010
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: xact
    description: Installing xact
    name: winetricks
    prefix: $GAMEDIR
- task:
    description: Installing the game
    executable: install
    name: wineexec
    prefix: $GAMEDIR
wine:
  UseGLSL: disabled
{
  "wine": {
    "UseGLSL": "disabled"
  },
  "installer": [
    {
      "task": {
        "description": "Installing d3dx9",
        "prefix": "$GAMEDIR",
        "name": "winetricks",
        "app": "d3dx9"
      }
    },
    {
      "task": {
        "description": "Installing physx",
        "prefix": "$GAMEDIR",
        "name": "winetricks",
        "app": "physx"
      }
    },
    {
      "task": {
        "description": "Installing vcrun2008",
        "prefix": "$GAMEDIR",
        "name": "winetricks",
        "app": "vcrun2008"
      }
    },
    {
      "task": {
        "description": "Installing vcrun2010",
        "prefix": "$GAMEDIR",
        "name": "winetricks",
        "app": "vcrun2010"
      }
    },
    {
      "task": {
        "description": "Installing xact",
        "prefix": "$GAMEDIR",
        "name": "winetricks",
        "app": "xact"
      }
    },
    {
      "task": {
        "executable": "install",
        "description": "Installing the game",
        "prefix": "$GAMEDIR",
        "name": "wineexec"
      }
    }
  ],
  "files": [
    {
      "install": "N/A:Select the Windows setup file downloaded from GOG"
    }
  ],
  "game": {
    "exe": "$GAMEDIR/drive_c/GOG Games/Mafia II/pc/mafia2.exe",
    "prefix": "$GAMEDIR"
  }
}
Back to game