Installer silent-hill-3-pc-dvd

files:
- widescreen_patch: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/sh3/SilentHill3.WidescreenFix.zip
game:
  exe: drive_c/Program Files/KONAMI/SILENT HILL 3/sh3.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    description: Waiting for game installer...
    message: Select the path for the Silent Hill 3 DVD
    requires: SILENT HILL 3.msi
- task:
    description: Creating Wine prefix...
    name: create_prefix
    prefix: $GAMEDIR
- write_file:
    content: '[{14D10AAC-9737-454E-A247-8075C26C30E1}-DlgOrder]

      Dlg0={14D10AAC-9737-454E-A247-8075C26C30E1}-SdWelcome-0

      Count=6

      Dlg1={14D10AAC-9737-454E-A247-8075C26C30E1}-SdLicense-0

      Dlg2={14D10AAC-9737-454E-A247-8075C26C30E1}-SdAskDestPath-0

      Dlg3={14D10AAC-9737-454E-A247-8075C26C30E1}-SdComponentTree-0

      Dlg4={14D10AAC-9737-454E-A247-8075C26C30E1}-SdStartCopy-0

      Dlg5={14D10AAC-9737-454E-A247-8075C26C30E1}-SdFinish-0

      [{14D10AAC-9737-454E-A247-8075C26C30E1}-SdWelcome-0]

      Result=1

      [{14D10AAC-9737-454E-A247-8075C26C30E1}-SdLicense-0]

      Result=1

      [{14D10AAC-9737-454E-A247-8075C26C30E1}-SdAskDestPath-0]

      szDir=C:\Program Files\KONAMI\SILENT HILL 3\

      Result=1

      [{14D10AAC-9737-454E-A247-8075C26C30E1}-SdComponentTree-0]

      szDir=C:\Program Files\KONAMI\SILENT HILL 3\

      Component-type=string

      Component-count=6

      Component-0=Exe

      Component-1=ConfigExe

      Component-2=MainApp

      Component-3=Sound

      Component-4=SoundDemo

      Component-5=Movie

      Result=1

      [{14D10AAC-9737-454E-A247-8075C26C30E1}-SdStartCopy-0]

      Result=1

      [{14D10AAC-9737-454E-A247-8075C26C30E1}-SdFinish-0]

      Result=1

      bOpt1=0

      bOpt2=0'
    file: $GAMEDIR/drive_c/setup.iss
- task:
    args: /s /f1"c:\setup.iss"
    description: Installing Game, this will take a while...
    executable: $DISC/setup.exe
    name: wineexec
    prefix: $GAMEDIR
- extract:
    description: Installing the widescreen patch
    dst: $GAMEDIR/drive_c/Program Files/KONAMI/SILENT HILL 3/
    file: $widescreen_patch
- execute:
    args: -i -e 's/^ResX = 0/ResX = $RESOLUTION_WIDTH/' -e 's/^ResY = 0/ResY = $RESOLUTION_HEIGHT/'
      '$GAMEDIR/drive_c/Program Files/KONAMI/SILENT HILL 3/scripts/SilentHill3.WidescreenFix.ini'
    file: sed
wine:
  esync: false
  fsync: false
  overrides:
    dinput8.dll: n,b
    dsound.dll: b
    winegstreamer: b
  version: lutris-fshack-7.2-x86_64
description: Installer for the PC version on DVD. It will also install the widescreen
  patch.
game_slug: silent-hill-3
gogslug: ''
humblestoreid: ''
installer_slug: silent-hill-3-pc-dvd
name: Silent Hill 3
notes: You probably will need to manually install a cracked sh3.exe in order to play
  it without DVD. That is not included in this installer.
runner: wine
script:
  files:
  - widescreen_patch: https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/sh3/SilentHill3.WidescreenFix.zip
  game:
    exe: drive_c/Program Files/KONAMI/SILENT HILL 3/sh3.exe
    prefix: $GAMEDIR
  installer:
  - insert-disc:
      description: Waiting for game installer...
      message: Select the path for the Silent Hill 3 DVD
      requires: SILENT HILL 3.msi
  - task:
      description: Creating Wine prefix...
      name: create_prefix
      prefix: $GAMEDIR
  - write_file:
      content: '[{14D10AAC-9737-454E-A247-8075C26C30E1}-DlgOrder]

        Dlg0={14D10AAC-9737-454E-A247-8075C26C30E1}-SdWelcome-0

        Count=6

        Dlg1={14D10AAC-9737-454E-A247-8075C26C30E1}-SdLicense-0

        Dlg2={14D10AAC-9737-454E-A247-8075C26C30E1}-SdAskDestPath-0

        Dlg3={14D10AAC-9737-454E-A247-8075C26C30E1}-SdComponentTree-0

        Dlg4={14D10AAC-9737-454E-A247-8075C26C30E1}-SdStartCopy-0

        Dlg5={14D10AAC-9737-454E-A247-8075C26C30E1}-SdFinish-0

        [{14D10AAC-9737-454E-A247-8075C26C30E1}-SdWelcome-0]

        Result=1

        [{14D10AAC-9737-454E-A247-8075C26C30E1}-SdLicense-0]

        Result=1

        [{14D10AAC-9737-454E-A247-8075C26C30E1}-SdAskDestPath-0]

        szDir=C:\Program Files\KONAMI\SILENT HILL 3\

        Result=1

        [{14D10AAC-9737-454E-A247-8075C26C30E1}-SdComponentTree-0]

        szDir=C:\Program Files\KONAMI\SILENT HILL 3\

        Component-type=string

        Component-count=6

        Component-0=Exe

        Component-1=ConfigExe

        Component-2=MainApp

        Component-3=Sound

        Component-4=SoundDemo

        Component-5=Movie

        Result=1

        [{14D10AAC-9737-454E-A247-8075C26C30E1}-SdStartCopy-0]

        Result=1

        [{14D10AAC-9737-454E-A247-8075C26C30E1}-SdFinish-0]

        Result=1

        bOpt1=0

        bOpt2=0'
      file: $GAMEDIR/drive_c/setup.iss
  - task:
      args: /s /f1"c:\setup.iss"
      description: Installing Game, this will take a while...
      executable: $DISC/setup.exe
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      description: Installing the widescreen patch
      dst: $GAMEDIR/drive_c/Program Files/KONAMI/SILENT HILL 3/
      file: $widescreen_patch
  - execute:
      args: -i -e 's/^ResX = 0/ResX = $RESOLUTION_WIDTH/' -e 's/^ResY = 0/ResY = $RESOLUTION_HEIGHT/'
        '$GAMEDIR/drive_c/Program Files/KONAMI/SILENT HILL 3/scripts/SilentHill3.WidescreenFix.ini'
      file: sed
  wine:
    esync: false
    fsync: false
    overrides:
      dinput8.dll: n,b
      dsound.dll: b
      winegstreamer: b
    version: lutris-fshack-7.2-x86_64
slug: silent-hill-3-pc-dvd
steamid: null
version: PC-DVD
year: 2003
{
  "game_slug": "silent-hill-3",
  "version": "PC-DVD",
  "description": "Installer for the PC version on DVD. It will also install the widescreen patch.",
  "notes": "You probably will need to manually install a cracked sh3.exe in order to play it without DVD. That is not included in this installer.",
  "name": "Silent Hill 3",
  "year": 2003,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "silent-hill-3-pc-dvd",
  "installer_slug": "silent-hill-3-pc-dvd",
  "script": {
    "files": [
      {
        "widescreen_patch": "https://github.com/ThirteenAG/WidescreenFixesPack/releases/download/sh3/SilentHill3.WidescreenFix.zip"
      }
    ],
    "game": {
      "exe": "drive_c/Program Files/KONAMI/SILENT HILL 3/sh3.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "insert-disc": {
          "description": "Waiting for game installer...",
          "message": "Select the path for the Silent Hill 3 DVD",
          "requires": "SILENT HILL 3.msi"
        }
      },
      {
        "task": {
          "description": "Creating Wine prefix...",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "write_file": {
          "content": "[{14D10AAC-9737-454E-A247-8075C26C30E1}-DlgOrder]\nDlg0={14D10AAC-9737-454E-A247-8075C26C30E1}-SdWelcome-0\nCount=6\nDlg1={14D10AAC-9737-454E-A247-8075C26C30E1}-SdLicense-0\nDlg2={14D10AAC-9737-454E-A247-8075C26C30E1}-SdAskDestPath-0\nDlg3={14D10AAC-9737-454E-A247-8075C26C30E1}-SdComponentTree-0\nDlg4={14D10AAC-9737-454E-A247-8075C26C30E1}-SdStartCopy-0\nDlg5={14D10AAC-9737-454E-A247-8075C26C30E1}-SdFinish-0\n[{14D10AAC-9737-454E-A247-8075C26C30E1}-SdWelcome-0]\nResult=1\n[{14D10AAC-9737-454E-A247-8075C26C30E1}-SdLicense-0]\nResult=1\n[{14D10AAC-9737-454E-A247-8075C26C30E1}-SdAskDestPath-0]\nszDir=C:\\Program Files\\KONAMI\\SILENT HILL 3\\\nResult=1\n[{14D10AAC-9737-454E-A247-8075C26C30E1}-SdComponentTree-0]\nszDir=C:\\Program Files\\KONAMI\\SILENT HILL 3\\\nComponent-type=string\nComponent-count=6\nComponent-0=Exe\nComponent-1=ConfigExe\nComponent-2=MainApp\nComponent-3=Sound\nComponent-4=SoundDemo\nComponent-5=Movie\nResult=1\n[{14D10AAC-9737-454E-A247-8075C26C30E1}-SdStartCopy-0]\nResult=1\n[{14D10AAC-9737-454E-A247-8075C26C30E1}-SdFinish-0]\nResult=1\nbOpt1=0\nbOpt2=0",
          "file": "$GAMEDIR/drive_c/setup.iss"
        }
      },
      {
        "task": {
          "args": "/s /f1\"c:\\setup.iss\"",
          "description": "Installing Game, this will take a while...",
          "executable": "$DISC/setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "description": "Installing the widescreen patch",
          "dst": "$GAMEDIR/drive_c/Program Files/KONAMI/SILENT HILL 3/",
          "file": "$widescreen_patch"
        }
      },
      {
        "execute": {
          "args": "-i -e 's/^ResX = 0/ResX = $RESOLUTION_WIDTH/' -e 's/^ResY = 0/ResY = $RESOLUTION_HEIGHT/' '$GAMEDIR/drive_c/Program Files/KONAMI/SILENT HILL 3/scripts/SilentHill3.WidescreenFix.ini'",
          "file": "sed"
        }
      }
    ],
    "wine": {
      "esync": false,
      "fsync": false,
      "overrides": {
        "dinput8.dll": "n,b",
        "dsound.dll": "b",
        "winegstreamer": "b"
      },
      "version": "lutris-fshack-7.2-x86_64"
    }
  }
}
Back to game