Installer gabriel-knight-3-blood-of-the-cd

files:
- game_installer: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Gabriel%20Knight%203%20-%20Blood%20of%20the%20Sacred%20-%20Blood%20of%20the%20Damned/GK3Setup.zip
- g_wrapper: https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/dgVoodoo2/dgVoodoo2_79_3.zip
game:
  exe: drive_c/Sierra/Gabriel Knight 3/GK3.exe
  launch_configs:
  - exe: $GAMEDIR/drive_c/Sierra/Gabriel Knight 3/Configure GK3.exe
    name: Configure Graphic Resolution
  - exe: $GAMEDIR/drive_c/Sierra/Gabriel Knight 3/GK3_Graphic_Novel.pdf
    name: Graphic Novel
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c
    file: game_installer
- task:
    executable: $GAMEDIR/drive_c/GK3Setup.exe
    name: wineexec
- task:
    key: Gamma
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Sierra On-Line\Gabriel Knight 3\Engine\Hardware
    type: REG_SZ
    value: '2.579442'
- task:
    key: Surface Quality
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Sierra On-Line\Gabriel Knight 3\Engine\Hardware
    type: REG_SZ
    value: High
- task:
    key: Lod
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Sierra On-Line\Gabriel Knight 3\Engine\Hardware
    type: REG_DWORD
    value: '64'
- task:
    key: Camera Glide
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Sierra On-Line\Gabriel Knight 3\Engine
    type: REG_DWORD
    value: '1'
- input_menu:
    description: 'Please precise what is your CD language:'
    id: LANG
    options:
    - E: English
    - F: French
    - I: Italian
    - G: German
    - S: Spanish
    preselect: E
- task:
    key: Language
    name: set_regedit
    path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Sierra On-Line\Gabriel Knight 3\app
    type: REG_SZ
    value: $INPUT_LANG
- extract:
    dst: $CACHE
    file: g_wrapper
- copy:
    dst: $GAMEDIR/drive_c/Sierra/Gabriel Knight 3
    src: $CACHE/MS/x86/DDraw.dll
- copy:
    dst: $GAMEDIR/drive_c/Sierra/Gabriel Knight 3
    src: $CACHE/MS/x86/D3DImm.dll
- write_config:
    data:
      DirectX:
        dgVoodooWatermark: false
    file: $GAMEDIR/drive_c/Sierra/Gabriel Knight 3/dgVoodoo.conf
wine:
  overrides:
    ddraw: native, builtin
description: 'Play "Gabriel Knight 3: Blood of the Sacred, Blood of the Damned" CD
  edition on Linux!'
game_slug: gabriel-knight-3-blood-of-the-sacred-blood-of-the-
gogslug: gabriel_knight_3_blood_of_the_sacred_blood_of_the_damned
humblestoreid: ''
installer_slug: gabriel-knight-3-blood-of-the-cd
name: 'Gabriel Knight 3: Blood of the Sacred, Blood of the Damned'
notes: "- Using new Gabriel Knight 3 installer provided by Sierra. You will need 3\
  \ CDs only one time during install\r\n- You can choose your resolution during install\
  \ or from the launch menu. But the cinematics will stay at 640x480\r\n- This script\
  \ installer should be compatible with English, French, Italian, German and Spanish\
  \ CD. You will need to precise your language CD during install"
runner: wine
script:
  files:
  - game_installer: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Gabriel%20Knight%203%20-%20Blood%20of%20the%20Sacred%20-%20Blood%20of%20the%20Damned/GK3Setup.zip
  - g_wrapper: https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/dgVoodoo2/dgVoodoo2_79_3.zip
  game:
    exe: drive_c/Sierra/Gabriel Knight 3/GK3.exe
    launch_configs:
    - exe: $GAMEDIR/drive_c/Sierra/Gabriel Knight 3/Configure GK3.exe
      name: Configure Graphic Resolution
    - exe: $GAMEDIR/drive_c/Sierra/Gabriel Knight 3/GK3_Graphic_Novel.pdf
      name: Graphic Novel
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c
      file: game_installer
  - task:
      executable: $GAMEDIR/drive_c/GK3Setup.exe
      name: wineexec
  - task:
      key: Gamma
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Sierra On-Line\Gabriel Knight 3\Engine\Hardware
      type: REG_SZ
      value: '2.579442'
  - task:
      key: Surface Quality
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Sierra On-Line\Gabriel Knight 3\Engine\Hardware
      type: REG_SZ
      value: High
  - task:
      key: Lod
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Sierra On-Line\Gabriel Knight 3\Engine\Hardware
      type: REG_DWORD
      value: '64'
  - task:
      key: Camera Glide
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Sierra On-Line\Gabriel Knight 3\Engine
      type: REG_DWORD
      value: '1'
  - input_menu:
      description: 'Please precise what is your CD language:'
      id: LANG
      options:
      - E: English
      - F: French
      - I: Italian
      - G: German
      - S: Spanish
      preselect: E
  - task:
      key: Language
      name: set_regedit
      path: HKEY_LOCAL_MACHINE\Software\Wow6432Node\Sierra On-Line\Gabriel Knight
        3\app
      type: REG_SZ
      value: $INPUT_LANG
  - extract:
      dst: $CACHE
      file: g_wrapper
  - copy:
      dst: $GAMEDIR/drive_c/Sierra/Gabriel Knight 3
      src: $CACHE/MS/x86/DDraw.dll
  - copy:
      dst: $GAMEDIR/drive_c/Sierra/Gabriel Knight 3
      src: $CACHE/MS/x86/D3DImm.dll
  - write_config:
      data:
        DirectX:
          dgVoodooWatermark: false
      file: $GAMEDIR/drive_c/Sierra/Gabriel Knight 3/dgVoodoo.conf
  wine:
    overrides:
      ddraw: native, builtin
slug: gabriel-knight-3-blood-of-the-cd
steamid: 497360
version: CD
year: 1999
{
  "game_slug": "gabriel-knight-3-blood-of-the-sacred-blood-of-the-",
  "version": "CD",
  "description": "Play \"Gabriel Knight 3: Blood of the Sacred, Blood of the Damned\" CD edition on Linux!",
  "notes": "- Using new Gabriel Knight 3 installer provided by Sierra. You will need 3 CDs only one time during install\r\n- You can choose your resolution during install or from the launch menu. But the cinematics will stay at 640x480\r\n- This script installer should be compatible with English, French, Italian, German and Spanish CD. You will need to precise your language CD during install",
  "name": "Gabriel Knight 3: Blood of the Sacred, Blood of the Damned",
  "year": 1999,
  "steamid": 497360,
  "gogslug": "gabriel_knight_3_blood_of_the_sacred_blood_of_the_damned",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "gabriel-knight-3-blood-of-the-cd",
  "installer_slug": "gabriel-knight-3-blood-of-the-cd",
  "script": {
    "files": [
      {
        "game_installer": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Gabriel%20Knight%203%20-%20Blood%20of%20the%20Sacred%20-%20Blood%20of%20the%20Damned/GK3Setup.zip"
      },
      {
        "g_wrapper": "https://github.com/legluondunet/mlls-tools/raw/refs/heads/master/dgVoodoo2/dgVoodoo2_79_3.zip"
      }
    ],
    "game": {
      "exe": "drive_c/Sierra/Gabriel Knight 3/GK3.exe",
      "launch_configs": [
        {
          "exe": "$GAMEDIR/drive_c/Sierra/Gabriel Knight 3/Configure GK3.exe",
          "name": "Configure Graphic Resolution"
        },
        {
          "exe": "$GAMEDIR/drive_c/Sierra/Gabriel Knight 3/GK3_Graphic_Novel.pdf",
          "name": "Graphic Novel"
        }
      ],
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c",
          "file": "game_installer"
        }
      },
      {
        "task": {
          "executable": "$GAMEDIR/drive_c/GK3Setup.exe",
          "name": "wineexec"
        }
      },
      {
        "task": {
          "key": "Gamma",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Sierra On-Line\\Gabriel Knight 3\\Engine\\Hardware",
          "type": "REG_SZ",
          "value": "2.579442"
        }
      },
      {
        "task": {
          "key": "Surface Quality",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Sierra On-Line\\Gabriel Knight 3\\Engine\\Hardware",
          "type": "REG_SZ",
          "value": "High"
        }
      },
      {
        "task": {
          "key": "Lod",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Sierra On-Line\\Gabriel Knight 3\\Engine\\Hardware",
          "type": "REG_DWORD",
          "value": "64"
        }
      },
      {
        "task": {
          "key": "Camera Glide",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Sierra On-Line\\Gabriel Knight 3\\Engine",
          "type": "REG_DWORD",
          "value": "1"
        }
      },
      {
        "input_menu": {
          "description": "Please precise what is your CD language:",
          "id": "LANG",
          "options": [
            {
              "E": "English"
            },
            {
              "F": "French"
            },
            {
              "I": "Italian"
            },
            {
              "G": "German"
            },
            {
              "S": "Spanish"
            }
          ],
          "preselect": "E"
        }
      },
      {
        "task": {
          "key": "Language",
          "name": "set_regedit",
          "path": "HKEY_LOCAL_MACHINE\\Software\\Wow6432Node\\Sierra On-Line\\Gabriel Knight 3\\app",
          "type": "REG_SZ",
          "value": "$INPUT_LANG"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "g_wrapper"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/Sierra/Gabriel Knight 3",
          "src": "$CACHE/MS/x86/DDraw.dll"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/Sierra/Gabriel Knight 3",
          "src": "$CACHE/MS/x86/D3DImm.dll"
        }
      },
      {
        "write_config": {
          "data": {
            "DirectX": {
              "dgVoodooWatermark": false
            }
          },
          "file": "$GAMEDIR/drive_c/Sierra/Gabriel Knight 3/dgVoodoo.conf"
        }
      }
    ],
    "wine": {
      "overrides": {
        "ddraw": "native, builtin"
      }
    }
  }
}
Back to game