Installer martian-gothic-unification-cd-fixes

files:
- version2.0: https://github.com/keenanweaver/lutris-files/raw/martian-gothic-unification/Martian-Gothic-Unification_Patch_Win_EN_Official-patch-to-version-20.zip
- unofficialversion3.0: https://github.com/keenanweaver/lutris-files/raw/martian-gothic-unification/Martian-Gothic-Unification_Patch_Win_EN_Unofficial-Patch-30.zip
- leakfix: https://github.com/keenanweaver/lutris-files/raw/martian-gothic-unification/Martian-Gothic-Unification_Fix_Win_EN_Unofficial-fix.zip
game:
  arch: win32
  exe: drive_c/Program Files/Talonsoft/Martian Gothic/mglaunch.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    description: Please mount the Martian Gothic Unification disc and browse to the
      directory
    requires: Setup.exe
- write_file:
    content: '[InstallShield Silent]

      Version=v6.00.000

      File=Response File

      [File Transfer]

      OverwrittenReadOnly=NoToAll

      [{32459F90-B150-11D3-AFFF-0000211033EE}-DlgOrder]

      Dlg0={32459F90-B150-11D3-AFFF-0000211033EE}-SdWelcome-0

      Count=7

      Dlg1={32459F90-B150-11D3-AFFF-0000211033EE}-SdLicense-0

      Dlg2={32459F90-B150-11D3-AFFF-0000211033EE}-SdAskDestPath-0

      Dlg3={32459F90-B150-11D3-AFFF-0000211033EE}-SdSetupTypeEx-0

      Dlg4={32459F90-B150-11D3-AFFF-0000211033EE}-SdSelectFolder-0

      Dlg5={32459F90-B150-11D3-AFFF-0000211033EE}-AskYesNo-0

      Dlg6={32459F90-B150-11D3-AFFF-0000211033EE}-SdFinish-0

      [{32459F90-B150-11D3-AFFF-0000211033EE}-SdWelcome-0]

      Result=1

      [{32459F90-B150-11D3-AFFF-0000211033EE}-SdLicense-0]

      Result=1

      [{32459F90-B150-11D3-AFFF-0000211033EE}-SdAskDestPath-0]

      szDir=C:\Program Files\Talonsoft\Martian Gothic

      Result=1

      [{32459F90-B150-11D3-AFFF-0000211033EE}-SdSetupTypeEx-0]

      Result=Full

      [{32459F90-B150-11D3-AFFF-0000211033EE}-SdSelectFolder-0]

      szFolder=Martian Gothic

      Result=1

      [Application]

      Name=Martian Gothic

      Version=1.00.000

      Company=Creative Reality Software Ltd

      Lang=0009

      [{32459F90-B150-11D3-AFFF-0000211033EE}-AskYesNo-0]

      Result=0

      [{32459F90-B150-11D3-AFFF-0000211033EE}-SdFinish-0]

      Result=1

      bOpt1=0

      bOpt2=0'
    file: $GAMEDIR/drive_c/setup.iss
- task:
    arch: win32
    args: -s -f1c:\setup.iss
    description: Installing Martian Gothic Unification. Please click OK. Exit the
      launcher when it opens.
    executable: $DISC/Setup.exe
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $CACHE/2.0
    src: version2.0
- extract:
    dst: $CACHE/3.0
    src: unofficialversion3.0
- extract:
    dst: $GAMEDIR/drive_c/Program Files/Talonsoft/Martian Gothic
    src: leakfix
- task:
    description: Installing patch 2.0
    executable: $CACHE/2.0/mgpatch2.exe
    name: wineexec
    prefix: $GAMEDIR
    return_code: 1024
- task:
    description: Installing unofficial patch 3.0
    executable: $CACHE/3.0/rmgxpfix/mgpatch3.exe
    name: wineexec
    prefix: $GAMEDIR
    return_code: 1024
- task:
    description: Installing leak fix patch
    executable: $GAMEDIR/drive_c/Program Files/Talonsoft/Martian Gothic/Fixer.exe
    name: wineexec
    prefix: $GAMEDIR
- write_config:
    data:
      DirectX:
        Antialiasing: appdriven
        AppControlledScreenMode: false
        DisableAltEnterToToggleScreenMode: false
        Filtering: appdriven
        Resolution: max_isf
        VRAM: 64
        VideoCard: internal3D
        dgVoodooWatermark: false
      General:
        CaptureMouse: true
        CenterAppWindow: true
        FullScreenOutput: default
        KeepWindowAspectRatio: true
        ScalingMode: stretched_ar
    description: Write dgVoodoo.conf file
    file: $GAMEDIR/drive_c/Program Files/Talonsoft/Martian Gothic/dgVoodoo.conf
    merge: false
wine:
  dgvoodoo2: true
description: Includes Unofficial Patch 3.0 and memory leak fix
game_slug: martian-gothic-unification
gogslug: ''
humblestoreid: ''
installer_slug: martian-gothic-unification-cd-fixes
name: 'Martian Gothic: Unification'
notes: Requires dgVoodoo2 v2.75 or later and the disc mounted to play
runner: wine
script:
  files:
  - version2.0: https://github.com/keenanweaver/lutris-files/raw/martian-gothic-unification/Martian-Gothic-Unification_Patch_Win_EN_Official-patch-to-version-20.zip
  - unofficialversion3.0: https://github.com/keenanweaver/lutris-files/raw/martian-gothic-unification/Martian-Gothic-Unification_Patch_Win_EN_Unofficial-Patch-30.zip
  - leakfix: https://github.com/keenanweaver/lutris-files/raw/martian-gothic-unification/Martian-Gothic-Unification_Fix_Win_EN_Unofficial-fix.zip
  game:
    arch: win32
    exe: drive_c/Program Files/Talonsoft/Martian Gothic/mglaunch.exe
    prefix: $GAMEDIR
  installer:
  - insert-disc:
      description: Please mount the Martian Gothic Unification disc and browse to
        the directory
      requires: Setup.exe
  - write_file:
      content: '[InstallShield Silent]

        Version=v6.00.000

        File=Response File

        [File Transfer]

        OverwrittenReadOnly=NoToAll

        [{32459F90-B150-11D3-AFFF-0000211033EE}-DlgOrder]

        Dlg0={32459F90-B150-11D3-AFFF-0000211033EE}-SdWelcome-0

        Count=7

        Dlg1={32459F90-B150-11D3-AFFF-0000211033EE}-SdLicense-0

        Dlg2={32459F90-B150-11D3-AFFF-0000211033EE}-SdAskDestPath-0

        Dlg3={32459F90-B150-11D3-AFFF-0000211033EE}-SdSetupTypeEx-0

        Dlg4={32459F90-B150-11D3-AFFF-0000211033EE}-SdSelectFolder-0

        Dlg5={32459F90-B150-11D3-AFFF-0000211033EE}-AskYesNo-0

        Dlg6={32459F90-B150-11D3-AFFF-0000211033EE}-SdFinish-0

        [{32459F90-B150-11D3-AFFF-0000211033EE}-SdWelcome-0]

        Result=1

        [{32459F90-B150-11D3-AFFF-0000211033EE}-SdLicense-0]

        Result=1

        [{32459F90-B150-11D3-AFFF-0000211033EE}-SdAskDestPath-0]

        szDir=C:\Program Files\Talonsoft\Martian Gothic

        Result=1

        [{32459F90-B150-11D3-AFFF-0000211033EE}-SdSetupTypeEx-0]

        Result=Full

        [{32459F90-B150-11D3-AFFF-0000211033EE}-SdSelectFolder-0]

        szFolder=Martian Gothic

        Result=1

        [Application]

        Name=Martian Gothic

        Version=1.00.000

        Company=Creative Reality Software Ltd

        Lang=0009

        [{32459F90-B150-11D3-AFFF-0000211033EE}-AskYesNo-0]

        Result=0

        [{32459F90-B150-11D3-AFFF-0000211033EE}-SdFinish-0]

        Result=1

        bOpt1=0

        bOpt2=0'
      file: $GAMEDIR/drive_c/setup.iss
  - task:
      arch: win32
      args: -s -f1c:\setup.iss
      description: Installing Martian Gothic Unification. Please click OK. Exit the
        launcher when it opens.
      executable: $DISC/Setup.exe
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $CACHE/2.0
      src: version2.0
  - extract:
      dst: $CACHE/3.0
      src: unofficialversion3.0
  - extract:
      dst: $GAMEDIR/drive_c/Program Files/Talonsoft/Martian Gothic
      src: leakfix
  - task:
      description: Installing patch 2.0
      executable: $CACHE/2.0/mgpatch2.exe
      name: wineexec
      prefix: $GAMEDIR
      return_code: 1024
  - task:
      description: Installing unofficial patch 3.0
      executable: $CACHE/3.0/rmgxpfix/mgpatch3.exe
      name: wineexec
      prefix: $GAMEDIR
      return_code: 1024
  - task:
      description: Installing leak fix patch
      executable: $GAMEDIR/drive_c/Program Files/Talonsoft/Martian Gothic/Fixer.exe
      name: wineexec
      prefix: $GAMEDIR
  - write_config:
      data:
        DirectX:
          Antialiasing: appdriven
          AppControlledScreenMode: false
          DisableAltEnterToToggleScreenMode: false
          Filtering: appdriven
          Resolution: max_isf
          VRAM: 64
          VideoCard: internal3D
          dgVoodooWatermark: false
        General:
          CaptureMouse: true
          CenterAppWindow: true
          FullScreenOutput: default
          KeepWindowAspectRatio: true
          ScalingMode: stretched_ar
      description: Write dgVoodoo.conf file
      file: $GAMEDIR/drive_c/Program Files/Talonsoft/Martian Gothic/dgVoodoo.conf
      merge: false
  wine:
    dgvoodoo2: true
slug: martian-gothic-unification-cd-fixes
steamid: null
version: CD + fixes
year: 2000
{
  "game_slug": "martian-gothic-unification",
  "version": "CD + fixes",
  "description": "Includes Unofficial Patch 3.0 and memory leak fix",
  "notes": "Requires dgVoodoo2 v2.75 or later and the disc mounted to play",
  "name": "Martian Gothic: Unification",
  "year": 2000,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "martian-gothic-unification-cd-fixes",
  "installer_slug": "martian-gothic-unification-cd-fixes",
  "script": {
    "files": [
      {
        "version2.0": "https://github.com/keenanweaver/lutris-files/raw/martian-gothic-unification/Martian-Gothic-Unification_Patch_Win_EN_Official-patch-to-version-20.zip"
      },
      {
        "unofficialversion3.0": "https://github.com/keenanweaver/lutris-files/raw/martian-gothic-unification/Martian-Gothic-Unification_Patch_Win_EN_Unofficial-Patch-30.zip"
      },
      {
        "leakfix": "https://github.com/keenanweaver/lutris-files/raw/martian-gothic-unification/Martian-Gothic-Unification_Fix_Win_EN_Unofficial-fix.zip"
      }
    ],
    "game": {
      "arch": "win32",
      "exe": "drive_c/Program Files/Talonsoft/Martian Gothic/mglaunch.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "insert-disc": {
          "description": "Please mount the Martian Gothic Unification disc and browse to the directory",
          "requires": "Setup.exe"
        }
      },
      {
        "write_file": {
          "content": "[InstallShield Silent]\nVersion=v6.00.000\nFile=Response File\n[File Transfer]\nOverwrittenReadOnly=NoToAll\n[{32459F90-B150-11D3-AFFF-0000211033EE}-DlgOrder]\nDlg0={32459F90-B150-11D3-AFFF-0000211033EE}-SdWelcome-0\nCount=7\nDlg1={32459F90-B150-11D3-AFFF-0000211033EE}-SdLicense-0\nDlg2={32459F90-B150-11D3-AFFF-0000211033EE}-SdAskDestPath-0\nDlg3={32459F90-B150-11D3-AFFF-0000211033EE}-SdSetupTypeEx-0\nDlg4={32459F90-B150-11D3-AFFF-0000211033EE}-SdSelectFolder-0\nDlg5={32459F90-B150-11D3-AFFF-0000211033EE}-AskYesNo-0\nDlg6={32459F90-B150-11D3-AFFF-0000211033EE}-SdFinish-0\n[{32459F90-B150-11D3-AFFF-0000211033EE}-SdWelcome-0]\nResult=1\n[{32459F90-B150-11D3-AFFF-0000211033EE}-SdLicense-0]\nResult=1\n[{32459F90-B150-11D3-AFFF-0000211033EE}-SdAskDestPath-0]\nszDir=C:\\Program Files\\Talonsoft\\Martian Gothic\nResult=1\n[{32459F90-B150-11D3-AFFF-0000211033EE}-SdSetupTypeEx-0]\nResult=Full\n[{32459F90-B150-11D3-AFFF-0000211033EE}-SdSelectFolder-0]\nszFolder=Martian Gothic\nResult=1\n[Application]\nName=Martian Gothic\nVersion=1.00.000\nCompany=Creative Reality Software Ltd\nLang=0009\n[{32459F90-B150-11D3-AFFF-0000211033EE}-AskYesNo-0]\nResult=0\n[{32459F90-B150-11D3-AFFF-0000211033EE}-SdFinish-0]\nResult=1\nbOpt1=0\nbOpt2=0",
          "file": "$GAMEDIR/drive_c/setup.iss"
        }
      },
      {
        "task": {
          "arch": "win32",
          "args": "-s -f1c:\\setup.iss",
          "description": "Installing Martian Gothic Unification. Please click OK. Exit the launcher when it opens.",
          "executable": "$DISC/Setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/2.0",
          "src": "version2.0"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/3.0",
          "src": "unofficialversion3.0"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files/Talonsoft/Martian Gothic",
          "src": "leakfix"
        }
      },
      {
        "task": {
          "description": "Installing patch 2.0",
          "executable": "$CACHE/2.0/mgpatch2.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR",
          "return_code": 1024
        }
      },
      {
        "task": {
          "description": "Installing unofficial patch 3.0",
          "executable": "$CACHE/3.0/rmgxpfix/mgpatch3.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR",
          "return_code": 1024
        }
      },
      {
        "task": {
          "description": "Installing leak fix patch",
          "executable": "$GAMEDIR/drive_c/Program Files/Talonsoft/Martian Gothic/Fixer.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "write_config": {
          "data": {
            "DirectX": {
              "Antialiasing": "appdriven",
              "AppControlledScreenMode": false,
              "DisableAltEnterToToggleScreenMode": false,
              "Filtering": "appdriven",
              "Resolution": "max_isf",
              "VRAM": 64,
              "VideoCard": "internal3D",
              "dgVoodooWatermark": false
            },
            "General": {
              "CaptureMouse": true,
              "CenterAppWindow": true,
              "FullScreenOutput": "default",
              "KeepWindowAspectRatio": true,
              "ScalingMode": "stretched_ar"
            }
          },
          "description": "Write dgVoodoo.conf file",
          "file": "$GAMEDIR/drive_c/Program Files/Talonsoft/Martian Gothic/dgVoodoo.conf",
          "merge": false
        }
      }
    ],
    "wine": {
      "dgvoodoo2": true
    }
  }
}
Back to game