Installer the-punisher-2005

files:
- wspatch: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/punisher/ThePunisher.WidescreenFix.zip
game:
  exe: drive_c/Program Files (x86)/THQ/Marvel/The Punisher/punisher.exe
  prefix: $GAMEDIR
installer:
- task:
    description: Setting up wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    description: Insert disc 1
    requires: setup.exe
- merge:
    description: Extracting installation data from disc, please stand by ...
    dst: $GAMEDIR/drive_c/punishersetup
    src: $DISC
- execute:
    args: 744 -R $GAMEDIR/drive_c/punishersetup
    descritpion: Set proper file permissions for extracted data, please stand by...
    file: chmod
- task:
    executable: $GAMEDIR/drive_c/punishersetup/setup.exe
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/THQ/Marvel/The Punisher
    file: wspatch
- input_menu:
    description: Please choose your main desktop width for the widescreen patch
    id: RESX
    options:
    - '256': '256'
    - '426': '426'
    - '640': '640'
    - '768': '768'
    - '800': '800'
    - '848': '848'
    - '854': '854'
    - '960': '960'
    - '1024': '1024'
    - '1280': '1280'
    - '1366': '1366'
    - '1600': '1600'
    - '1920': '1920'
    - '2048': '2048'
    - '2560': '2560'
    - '2880': '2880'
    - '3200': '3200'
    - '3840': '3840'
    - '4096': '4096'
    - '5120': '5120'
    - '7680': '7680'
    - '15360': '15360'
    preselect: '1920'
- input_menu:
    description: Please choose your main desktop height for the widescreen patch
    id: RESY
    options:
    - '144': '144'
    - '240': '240'
    - '360': '360'
    - '432': '432'
    - '450': '450'
    - '480': '480'
    - '540': '540'
    - '576': '576'
    - '720': '720'
    - '768': '768'
    - '900': '900'
    - '1080': '1080'
    - '1152': '1152'
    - '1440': '1440'
    - '1620': '1620'
    - '1800': '1800'
    - '2160': '2160'
    - '2304': '2304'
    - '2880': '2880'
    - '4320': '4320'
    - '8640': '8640'
    preselect: '1080'
- input_menu:
    description: Do you want to disable the intro
    id: SKIP_INTRO
    options:
    - '1': 'Yes'
    - '0': 'No'
- write_config:
    data:
      MAIN:
        ResX: $INPUT_RESX
        ResY: $INPUT_RESY
      MISC:
        ImproveGamepadSupport: $INPUT_GAMEPAD
        SkipIntro: $INPUT_SKIP_INTRO
    file: $GAMEDIR/drive_c/Program Files (x86)/THQ/Marvel/The Punisher/scripts/ThePunisher.WidescreenFix.ini
wine:
  overrides:
    d3d8: n,b
    dinput8: n,b
description: 3 Disc Installer + Widescreen Fix
game_slug: the-punisher-2005
gogslug: ''
humblestoreid: ''
installer_slug: the-punisher-2005
name: The Punisher (2005)
notes: "Installer which requires 3 CDs for the game installation. This installer will\
  \ copy the content of the entire 1st disc into the wine prefix in order to launch\
  \ the setup from there and prevent Linux from refusing to eject the CD ROM because\
  \ of open files. You'll be able to switch CDs if requested by the installer. \r\n\
  \r\nForked from NFSU 2 Disc installer (https://lutris.net/games/install/14069/view)\
  \  and edited to work for The Punisher."
runner: wine
script:
  files:
  - wspatch: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/punisher/ThePunisher.WidescreenFix.zip
  game:
    exe: drive_c/Program Files (x86)/THQ/Marvel/The Punisher/punisher.exe
    prefix: $GAMEDIR
  installer:
  - task:
      description: Setting up wine prefix
      name: create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      description: Insert disc 1
      requires: setup.exe
  - merge:
      description: Extracting installation data from disc, please stand by ...
      dst: $GAMEDIR/drive_c/punishersetup
      src: $DISC
  - execute:
      args: 744 -R $GAMEDIR/drive_c/punishersetup
      descritpion: Set proper file permissions for extracted data, please stand by...
      file: chmod
  - task:
      executable: $GAMEDIR/drive_c/punishersetup/setup.exe
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/THQ/Marvel/The Punisher
      file: wspatch
  - input_menu:
      description: Please choose your main desktop width for the widescreen patch
      id: RESX
      options:
      - '256': '256'
      - '426': '426'
      - '640': '640'
      - '768': '768'
      - '800': '800'
      - '848': '848'
      - '854': '854'
      - '960': '960'
      - '1024': '1024'
      - '1280': '1280'
      - '1366': '1366'
      - '1600': '1600'
      - '1920': '1920'
      - '2048': '2048'
      - '2560': '2560'
      - '2880': '2880'
      - '3200': '3200'
      - '3840': '3840'
      - '4096': '4096'
      - '5120': '5120'
      - '7680': '7680'
      - '15360': '15360'
      preselect: '1920'
  - input_menu:
      description: Please choose your main desktop height for the widescreen patch
      id: RESY
      options:
      - '144': '144'
      - '240': '240'
      - '360': '360'
      - '432': '432'
      - '450': '450'
      - '480': '480'
      - '540': '540'
      - '576': '576'
      - '720': '720'
      - '768': '768'
      - '900': '900'
      - '1080': '1080'
      - '1152': '1152'
      - '1440': '1440'
      - '1620': '1620'
      - '1800': '1800'
      - '2160': '2160'
      - '2304': '2304'
      - '2880': '2880'
      - '4320': '4320'
      - '8640': '8640'
      preselect: '1080'
  - input_menu:
      description: Do you want to disable the intro
      id: SKIP_INTRO
      options:
      - '1': 'Yes'
      - '0': 'No'
  - write_config:
      data:
        MAIN:
          ResX: $INPUT_RESX
          ResY: $INPUT_RESY
        MISC:
          ImproveGamepadSupport: $INPUT_GAMEPAD
          SkipIntro: $INPUT_SKIP_INTRO
      file: $GAMEDIR/drive_c/Program Files (x86)/THQ/Marvel/The Punisher/scripts/ThePunisher.WidescreenFix.ini
  wine:
    overrides:
      d3d8: n,b
      dinput8: n,b
slug: the-punisher-2005
steamid: null
version: ''
year: 2005
{
  "game_slug": "the-punisher-2005",
  "version": "",
  "description": "3 Disc Installer + Widescreen Fix",
  "notes": "Installer which requires 3 CDs for the game installation. This installer will copy the content of the entire 1st disc into the wine prefix in order to launch the setup from there and prevent Linux from refusing to eject the CD ROM because of open files. You'll be able to switch CDs if requested by the installer. \r\n\r\nForked from NFSU 2 Disc installer (https://lutris.net/games/install/14069/view)  and edited to work for The Punisher.",
  "name": "The Punisher (2005)",
  "year": 2005,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "the-punisher-2005",
  "installer_slug": "the-punisher-2005",
  "script": {
    "files": [
      {
        "wspatch": "https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/punisher/ThePunisher.WidescreenFix.zip"
      }
    ],
    "game": {
      "exe": "drive_c/Program Files (x86)/THQ/Marvel/The Punisher/punisher.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "description": "Setting up wine prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "description": "Insert disc 1",
          "requires": "setup.exe"
        }
      },
      {
        "merge": {
          "description": "Extracting installation data from disc, please stand by ...",
          "dst": "$GAMEDIR/drive_c/punishersetup",
          "src": "$DISC"
        }
      },
      {
        "execute": {
          "args": "744 -R $GAMEDIR/drive_c/punishersetup",
          "descritpion": "Set proper file permissions for extracted data, please stand by...",
          "file": "chmod"
        }
      },
      {
        "task": {
          "executable": "$GAMEDIR/drive_c/punishersetup/setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/THQ/Marvel/The Punisher",
          "file": "wspatch"
        }
      },
      {
        "input_menu": {
          "description": "Please choose your main desktop width for the widescreen patch",
          "id": "RESX",
          "options": [
            {
              "256": "256"
            },
            {
              "426": "426"
            },
            {
              "640": "640"
            },
            {
              "768": "768"
            },
            {
              "800": "800"
            },
            {
              "848": "848"
            },
            {
              "854": "854"
            },
            {
              "960": "960"
            },
            {
              "1024": "1024"
            },
            {
              "1280": "1280"
            },
            {
              "1366": "1366"
            },
            {
              "1600": "1600"
            },
            {
              "1920": "1920"
            },
            {
              "2048": "2048"
            },
            {
              "2560": "2560"
            },
            {
              "2880": "2880"
            },
            {
              "3200": "3200"
            },
            {
              "3840": "3840"
            },
            {
              "4096": "4096"
            },
            {
              "5120": "5120"
            },
            {
              "7680": "7680"
            },
            {
              "15360": "15360"
            }
          ],
          "preselect": "1920"
        }
      },
      {
        "input_menu": {
          "description": "Please choose your main desktop height for the widescreen patch",
          "id": "RESY",
          "options": [
            {
              "144": "144"
            },
            {
              "240": "240"
            },
            {
              "360": "360"
            },
            {
              "432": "432"
            },
            {
              "450": "450"
            },
            {
              "480": "480"
            },
            {
              "540": "540"
            },
            {
              "576": "576"
            },
            {
              "720": "720"
            },
            {
              "768": "768"
            },
            {
              "900": "900"
            },
            {
              "1080": "1080"
            },
            {
              "1152": "1152"
            },
            {
              "1440": "1440"
            },
            {
              "1620": "1620"
            },
            {
              "1800": "1800"
            },
            {
              "2160": "2160"
            },
            {
              "2304": "2304"
            },
            {
              "2880": "2880"
            },
            {
              "4320": "4320"
            },
            {
              "8640": "8640"
            }
          ],
          "preselect": "1080"
        }
      },
      {
        "input_menu": {
          "description": "Do you want to disable the intro",
          "id": "SKIP_INTRO",
          "options": [
            {
              "1": "Yes"
            },
            {
              "0": "No"
            }
          ]
        }
      },
      {
        "write_config": {
          "data": {
            "MAIN": {
              "ResX": "$INPUT_RESX",
              "ResY": "$INPUT_RESY"
            },
            "MISC": {
              "ImproveGamepadSupport": "$INPUT_GAMEPAD",
              "SkipIntro": "$INPUT_SKIP_INTRO"
            }
          },
          "file": "$GAMEDIR/drive_c/Program Files (x86)/THQ/Marvel/The Punisher/scripts/ThePunisher.WidescreenFix.ini"
        }
      }
    ],
    "wine": {
      "overrides": {
        "d3d8": "n,b",
        "dinput8": "n,b"
      }
    }
  }
}
Back to game