Installer mafia-gog

files:
- setup_mafia: N/A:Please select the GOG installer
game:
  exe: $GAMEDIR/prefix/drive_c/GOG Games/Mafia/Setup.exe
  prefix: $GAMEDIR/prefix
installer:
- task:
    app: vcrun6
    name: winetricks
    prefix: $GAMEDIR/prefix
- task:
    executable: $setup_mafia
    name: wineexec
    prefix: $GAMEDIR/prefix
- task:
    arch: win64
    key: LS3D_setup
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Illusion Softworks\Mafia
    prefix: $GAMEDIR/prefix
    type: REG_BINARY
    value: 14 00 00 05 00 00 00 04 00 00 20 00 00 00 00 00 00 00 00 00 00 00 01 00
      00 00 01 00 01 00 01 01 00 01 00 00 00 00 01 00 00 80 3f 00 00 80 3f 02 00 00
      00 02 00 00 00 03 00 00 00 02 00 00 00
winesteam:
  overrides:
    winegstreamer: disabled
description: null
game_slug: mafia
gogslug: mafia
humblestoreid: ''
installer_slug: mafia-gog
name: Mafia (Classic)
notes: ''
runner: wine
script:
  files:
  - setup_mafia: N/A:Please select the GOG installer
  game:
    exe: $GAMEDIR/prefix/drive_c/GOG Games/Mafia/Setup.exe
    prefix: $GAMEDIR/prefix
  installer:
  - task:
      app: vcrun6
      name: winetricks
      prefix: $GAMEDIR/prefix
  - task:
      executable: $setup_mafia
      name: wineexec
      prefix: $GAMEDIR/prefix
  - task:
      arch: win64
      key: LS3D_setup
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Illusion Softworks\Mafia
      prefix: $GAMEDIR/prefix
      type: REG_BINARY
      value: 14 00 00 05 00 00 00 04 00 00 20 00 00 00 00 00 00 00 00 00 00 00 01
        00 00 00 01 00 01 00 01 01 00 01 00 00 00 00 01 00 00 80 3f 00 00 80 3f 02
        00 00 00 02 00 00 00 03 00 00 00 02 00 00 00
  winesteam:
    overrides:
      winegstreamer: disabled
slug: mafia-gog
steamid: 40990
version: GOG
year: 2002
{
  "game_slug": "mafia",
  "version": "GOG",
  "description": null,
  "notes": "",
  "name": "Mafia (Classic)",
  "year": 2002,
  "steamid": 40990,
  "gogslug": "mafia",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "mafia-gog",
  "installer_slug": "mafia-gog",
  "script": {
    "files": [
      {
        "setup_mafia": "N/A:Please select the GOG installer"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/prefix/drive_c/GOG Games/Mafia/Setup.exe",
      "prefix": "$GAMEDIR/prefix"
    },
    "installer": [
      {
        "task": {
          "app": "vcrun6",
          "name": "winetricks",
          "prefix": "$GAMEDIR/prefix"
        }
      },
      {
        "task": {
          "executable": "$setup_mafia",
          "name": "wineexec",
          "prefix": "$GAMEDIR/prefix"
        }
      },
      {
        "task": {
          "arch": "win64",
          "key": "LS3D_setup",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Illusion Softworks\\Mafia",
          "prefix": "$GAMEDIR/prefix",
          "type": "REG_BINARY",
          "value": "14 00 00 05 00 00 00 04 00 00 20 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 01 00 01 00 01 01 00 01 00 00 00 00 01 00 00 80 3f 00 00 80 3f 02 00 00 00 02 00 00 00 03 00 00 00 02 00 00 00"
        }
      }
    ],
    "winesteam": {
      "overrides": {
        "winegstreamer": "disabled"
      }
    }
  }
}
Back to game