Installer gothic-gog

files:
- setup: N/A:Select the GOG game setup file
- primary_patch:
    filename: Union_Primary_Universal 12.02.2022.zip
    url: https://worldofplayers.ru/attachments/103682/
- union_mod:
    filename: Union 1.0m 26.06.2022 v3.zip
    url: https://worldofplayers.ru/attachments/107728/
- zgamepad: N/A:Select the zGamepad.exe
- ninja: https://github.com/szapp/Ninja/releases/download/v2.7.12/Ninja-2.7.12.exe
- g1cp: https://github.com/AmProsius/gothic-1-community-patch/releases/download/v1.2.0/G1CP-1.2.0.exe
- gd3d11: https://github.com/kirides/GD3D11/releases/download/v17.8-dev9/GD3D11-v17.8-dev9.zip
- upscaled_fmvs: https://www.moddb.com/games/gothic/downloads/gothic-upscaled-and-subtitled-fmvs
- riisis_texture_mix: https://www.moddb.com/mods/riisis-texture-mix-g1-version/downloads/riisisgothic1texturemixv11
- high_resolution_fonts: https://www.worldofgothic.de/download.php?id=1461
game:
  exe: $gamesystempath/GothicMod.exe
  prefix: $GAMEDIR
installer:
- task:
    description: Creating Wine prefix
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: win7
    description: 'winetricks: win7'
    name: winetricks
    prefix: $GAMEDIR
- task:
    args: /SP- /SUPRESSMSGBOXES /LOG /SILENT
    description: Installing Gothic
    executable: setup
    name: wineexec
    prefix: $GAMEDIR
- task:
    app: dotnet40 vcrun2010
    description: Install Union patch dependencies. It takes some time. Be patient
    name: winetricks
    prefix: $GAMEDIR
- execute:
    command: mkdir -p $UNIONPATH
- execute:
    command: printf "\r\nC:\GOG Games\Gothic\\\\\\r\n" > $UNIONPATH/history_d.cs
- execute:
    command: echo "ENG" > $UNIONPATH/Language.cs
- extract:
    dst: $CACHE
    file: primary_patch
- task:
    args: /S /D"C:\GOG Games\Gothic"
    description: Installing Primary Universal patch
    executable: $CACHE/Union_Primary_Universal.exe
    name: wineexec
    prefix: $GAMEDIR
    working_dir: $GAMEDIR
- extract:
    dst: $CACHE
    file: union_mod
- task:
    args: /S /D"C:\GOG Games\Gothic"
    description: Installing Union patch
    executable: $CACHE/Union 1.0m.exe
    name: wineexec
    prefix: $GAMEDIR
    working_dir: $GAMEDIR
- task:
    args: /S /D"C:\GOG Games\Gothic"
    description: Installing zGamePad
    executable: zgamepad
    name: wineexec
    prefix: $GAMEDIR
    working_dir: $GAMEDIR
- extract:
    description: upacking of huge archieve. Be patient
    dst: $GAMEDIR/$gamedatapath/
    file: riisis_texture_mix
- extract:
    dst: $GAMEDIR/$gamedatapath/
    file: high_resolution_fonts
- task:
    args: /S /D=C:\\GOG Games\\Gothic
    description: Installing Ninja mod
    executable: ninja
    name: wineexec
    prefix: $GAMEDIR
    working_dir: $GAMEDIR
- task:
    args: /S /D=C:\\GOG Games\\Gothic
    description: Installing GCP mod
    executable: g1cp
    name: wineexec
    prefix: $GAMEDIR
    working_dir: $GAMEDIR
- extract:
    dst: $GAMEDIR/$gamesystempath
    file: gd3d11
- extract:
    dst: $GAMEDIR/$gamepath/_work/DATA/
    file: upscaled_fmvs
- task:
    app: directmusic
    arch: win32
    description: Background music fix
    env:
      WINETRICKS_DOWNLOADER: curl
    name: winetricks
    prefix: $GAMEDIR
- write_config:
    data:
      GAME:
        bloodDetail: 3
        playLogoVideos: 0
        scaleVideos: 1
        subTitles: 1
      PERFORMANCE:
        modelDetail: 1
        sightValue: 14
    description: Updating 'gothic.ini' file
    file: $GAMEDIR/drive_c/GOG Games/Gothic/system/GOTHIC.INI
- write_config:
    data:
      Display:
        Brightness: 1.0
        Rain: 1
        RainEffects: 0
        TextureQuality: 16384
        UIScale: 1.0
        VSync: 1
      FontRendering:
        Enable: 1
      General:
        AllowNormalmaps: 1
        AnimateStaticVobs: 1
        DrawWorldSectionIntersections: 1
        EnableDebugLog: 0
        EnableGodRays: 1
        EnableInactiveFpsLock: 1
        FpsLimit: 60
        SunLightStrength: 1.5
      HBAO:
        Bias: 0.5
        BlurSharpness: 4.0
        EnableBlur: 1
        Enabled: 0
        PowerExponent: 3.0
        Radius: 1.0
        SsaoBlurRadius: 1
        SsaoStepCount: 0
      SMAA:
        Enabled: 1
        SharpenFactor: 0.2
      Shadows:
        EnableDynamicLighting: 1
        EnableShadows: 1
        EnableSoftShadows: 1
        PointlightShadows: 2
        ShadowAOStrength: 0.5
        ShadowMapSize: 2048
        ShadowStrength: 0.4
        SmoothCameraUpdate: 1
        WorldAOStrength: 0.5
        WorldShadowRangeScale: 8.0
    description: Updating GD3D11 config
    file: $GAMEDIR/drive_c/GOG Games/Gothic/system/GD3D11/UserSettings.ini
- write_config:
    data:
      General:
        OutdoorSmallVobDrawRadius: 15000.0
        OutdoorVobDrawRadius: 30000.0
        SectionDrawRadius: 4
        VisualFXDrawRadius: 10000.0
    description: WORLD distance settings
    file: $GAMEDIR/drive_c/GOG Games/Gothic/system/GD3D11/ZENResources/WORLD.INI
- write_config:
    data:
      General:
        OutdoorSmallVobDrawRadius: 15000.0
        OutdoorVobDrawRadius: 15000.0
        SectionDrawRadius: 4
        VisualFXDrawRadius: 10000.0
    description: ORCGRAVEYARD distance settings
    file: $GAMEDIR/drive_c/GOG Games/Gothic/system/GD3D11/ZENResources/ORCGRAVEYARD.INI
- write_config:
    data:
      General:
        OutdoorSmallVobDrawRadius: 15000.0
        OutdoorVobDrawRadius: 15000.0
        SectionDrawRadius: 4
        VisualFXDrawRadius: 10000.0
    description: OLDMINE distance settings
    file: $GAMEDIR/drive_c/GOG Games/Gothic/system/GD3D11/ZENResources/OLDMINE.INI
- write_config:
    data:
      General:
        OutdoorSmallVobDrawRadius: 15000.0
        OutdoorVobDrawRadius: 15000.0
        SectionDrawRadius: 4
        VisualFXDrawRadius: 10000.0
    description: ORCTEMPEL distance settings
    file: $GAMEDIR/drive_c/GOG Games/Gothic/system/GD3D11/ZENResources/ORCTEMPEL.INI
- write_config:
    data:
      General:
        OutdoorSmallVobDrawRadius: 15000.0
        OutdoorVobDrawRadius: 15000.0
        SectionDrawRadius: 4
        VisualFXDrawRadius: 10000.0
    description: FREEMINE distance settings
    file: $GAMEDIR/drive_c/GOG Games/Gothic/system/GD3D11/ZENResources/FREEMINE.INI
system:
  env:
    UNIONPATH: $GAMEDIR/drive_c/ProgramData/Union/System/
variables:
  gamedatapath: drive_c/GOG Games/Gothic/Data
  gamepath: drive_c/GOG Games/Gothic
  gamesystempath: drive_c/GOG Games/Gothic/system
wine:
  overrides:
    ddraw: n,b
    msvcr100: n,b
description: 'SteamDeck optimized: unity&ninja patches + zGamePad + DX11 + Texture
  pack'
game_slug: gothic
gogslug: gothic
humblestoreid: ''
installer_slug: gothic-gog
name: Gothic
notes: "NOTE: You need to provide the zGamePad file yourself! Download it from\r\n\
  https://docs.google.com/uc?export=download&id=1CNmIwk0VdFUx_XAb4d-PRdNDcjyAUXHm&confirm=t\r\
  \nHassle free installer of Gothic GOG version. Click \"Continue\" button in any\
  \ pop-up during the installation. Please be patient, some steps take time to execute.\r\
  \n\r\nYou have to play the game through Steam interface with selected \"GAMEPAD\
  \ WITH MOUSE TRACKPAD\" control scheme enabled.\r\n\r\nAlso you have to map F11\
  \ button if you wish to access DX11 settings."
runner: wine
script:
  files:
  - setup: N/A:Select the GOG game setup file
  - primary_patch:
      filename: Union_Primary_Universal 12.02.2022.zip
      url: https://worldofplayers.ru/attachments/103682/
  - union_mod:
      filename: Union 1.0m 26.06.2022 v3.zip
      url: https://worldofplayers.ru/attachments/107728/
  - zgamepad: N/A:Select the zGamepad.exe
  - ninja: https://github.com/szapp/Ninja/releases/download/v2.7.12/Ninja-2.7.12.exe
  - g1cp: https://github.com/AmProsius/gothic-1-community-patch/releases/download/v1.2.0/G1CP-1.2.0.exe
  - gd3d11: https://github.com/kirides/GD3D11/releases/download/v17.8-dev9/GD3D11-v17.8-dev9.zip
  - upscaled_fmvs: https://www.moddb.com/games/gothic/downloads/gothic-upscaled-and-subtitled-fmvs
  - riisis_texture_mix: https://www.moddb.com/mods/riisis-texture-mix-g1-version/downloads/riisisgothic1texturemixv11
  - high_resolution_fonts: https://www.worldofgothic.de/download.php?id=1461
  game:
    exe: $gamesystempath/GothicMod.exe
    prefix: $GAMEDIR
  installer:
  - task:
      description: Creating Wine prefix
      install_gecko: false
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: win7
      description: 'winetricks: win7'
      name: winetricks
      prefix: $GAMEDIR
  - task:
      args: /SP- /SUPRESSMSGBOXES /LOG /SILENT
      description: Installing Gothic
      executable: setup
      name: wineexec
      prefix: $GAMEDIR
  - task:
      app: dotnet40 vcrun2010
      description: Install Union patch dependencies. It takes some time. Be patient
      name: winetricks
      prefix: $GAMEDIR
  - execute:
      command: mkdir -p $UNIONPATH
  - execute:
      command: printf "\r\nC:\GOG Games\Gothic\\\\\\r\n" > $UNIONPATH/history_d.cs
  - execute:
      command: echo "ENG" > $UNIONPATH/Language.cs
  - extract:
      dst: $CACHE
      file: primary_patch
  - task:
      args: /S /D"C:\GOG Games\Gothic"
      description: Installing Primary Universal patch
      executable: $CACHE/Union_Primary_Universal.exe
      name: wineexec
      prefix: $GAMEDIR
      working_dir: $GAMEDIR
  - extract:
      dst: $CACHE
      file: union_mod
  - task:
      args: /S /D"C:\GOG Games\Gothic"
      description: Installing Union patch
      executable: $CACHE/Union 1.0m.exe
      name: wineexec
      prefix: $GAMEDIR
      working_dir: $GAMEDIR
  - task:
      args: /S /D"C:\GOG Games\Gothic"
      description: Installing zGamePad
      executable: zgamepad
      name: wineexec
      prefix: $GAMEDIR
      working_dir: $GAMEDIR
  - extract:
      description: upacking of huge archieve. Be patient
      dst: $GAMEDIR/$gamedatapath/
      file: riisis_texture_mix
  - extract:
      dst: $GAMEDIR/$gamedatapath/
      file: high_resolution_fonts
  - task:
      args: /S /D=C:\\GOG Games\\Gothic
      description: Installing Ninja mod
      executable: ninja
      name: wineexec
      prefix: $GAMEDIR
      working_dir: $GAMEDIR
  - task:
      args: /S /D=C:\\GOG Games\\Gothic
      description: Installing GCP mod
      executable: g1cp
      name: wineexec
      prefix: $GAMEDIR
      working_dir: $GAMEDIR
  - extract:
      dst: $GAMEDIR/$gamesystempath
      file: gd3d11
  - extract:
      dst: $GAMEDIR/$gamepath/_work/DATA/
      file: upscaled_fmvs
  - task:
      app: directmusic
      arch: win32
      description: Background music fix
      env:
        WINETRICKS_DOWNLOADER: curl
      name: winetricks
      prefix: $GAMEDIR
  - write_config:
      data:
        GAME:
          bloodDetail: 3
          playLogoVideos: 0
          scaleVideos: 1
          subTitles: 1
        PERFORMANCE:
          modelDetail: 1
          sightValue: 14
      description: Updating 'gothic.ini' file
      file: $GAMEDIR/drive_c/GOG Games/Gothic/system/GOTHIC.INI
  - write_config:
      data:
        Display:
          Brightness: 1.0
          Rain: 1
          RainEffects: 0
          TextureQuality: 16384
          UIScale: 1.0
          VSync: 1
        FontRendering:
          Enable: 1
        General:
          AllowNormalmaps: 1
          AnimateStaticVobs: 1
          DrawWorldSectionIntersections: 1
          EnableDebugLog: 0
          EnableGodRays: 1
          EnableInactiveFpsLock: 1
          FpsLimit: 60
          SunLightStrength: 1.5
        HBAO:
          Bias: 0.5
          BlurSharpness: 4.0
          EnableBlur: 1
          Enabled: 0
          PowerExponent: 3.0
          Radius: 1.0
          SsaoBlurRadius: 1
          SsaoStepCount: 0
        SMAA:
          Enabled: 1
          SharpenFactor: 0.2
        Shadows:
          EnableDynamicLighting: 1
          EnableShadows: 1
          EnableSoftShadows: 1
          PointlightShadows: 2
          ShadowAOStrength: 0.5
          ShadowMapSize: 2048
          ShadowStrength: 0.4
          SmoothCameraUpdate: 1
          WorldAOStrength: 0.5
          WorldShadowRangeScale: 8.0
      description: Updating GD3D11 config
      file: $GAMEDIR/drive_c/GOG Games/Gothic/system/GD3D11/UserSettings.ini
  - write_config:
      data:
        General:
          OutdoorSmallVobDrawRadius: 15000.0
          OutdoorVobDrawRadius: 30000.0
          SectionDrawRadius: 4
          VisualFXDrawRadius: 10000.0
      description: WORLD distance settings
      file: $GAMEDIR/drive_c/GOG Games/Gothic/system/GD3D11/ZENResources/WORLD.INI
  - write_config:
      data:
        General:
          OutdoorSmallVobDrawRadius: 15000.0
          OutdoorVobDrawRadius: 15000.0
          SectionDrawRadius: 4
          VisualFXDrawRadius: 10000.0
      description: ORCGRAVEYARD distance settings
      file: $GAMEDIR/drive_c/GOG Games/Gothic/system/GD3D11/ZENResources/ORCGRAVEYARD.INI
  - write_config:
      data:
        General:
          OutdoorSmallVobDrawRadius: 15000.0
          OutdoorVobDrawRadius: 15000.0
          SectionDrawRadius: 4
          VisualFXDrawRadius: 10000.0
      description: OLDMINE distance settings
      file: $GAMEDIR/drive_c/GOG Games/Gothic/system/GD3D11/ZENResources/OLDMINE.INI
  - write_config:
      data:
        General:
          OutdoorSmallVobDrawRadius: 15000.0
          OutdoorVobDrawRadius: 15000.0
          SectionDrawRadius: 4
          VisualFXDrawRadius: 10000.0
      description: ORCTEMPEL distance settings
      file: $GAMEDIR/drive_c/GOG Games/Gothic/system/GD3D11/ZENResources/ORCTEMPEL.INI
  - write_config:
      data:
        General:
          OutdoorSmallVobDrawRadius: 15000.0
          OutdoorVobDrawRadius: 15000.0
          SectionDrawRadius: 4
          VisualFXDrawRadius: 10000.0
      description: FREEMINE distance settings
      file: $GAMEDIR/drive_c/GOG Games/Gothic/system/GD3D11/ZENResources/FREEMINE.INI
  system:
    env:
      UNIONPATH: $GAMEDIR/drive_c/ProgramData/Union/System/
  variables:
    gamedatapath: drive_c/GOG Games/Gothic/Data
    gamepath: drive_c/GOG Games/Gothic
    gamesystempath: drive_c/GOG Games/Gothic/system
  wine:
    overrides:
      ddraw: n,b
      msvcr100: n,b
slug: gothic-gog
steamid: 65540
version: GOG
year: 2001
{
  "game_slug": "gothic",
  "version": "GOG",
  "description": "SteamDeck optimized: unity&ninja patches + zGamePad + DX11 + Texture pack",
  "notes": "NOTE: You need to provide the zGamePad file yourself! Download it from\r\nhttps://docs.google.com/uc?export=download&id=1CNmIwk0VdFUx_XAb4d-PRdNDcjyAUXHm&confirm=t\r\nHassle free installer of Gothic GOG version. Click \"Continue\" button in any pop-up during the installation. Please be patient, some steps take time to execute.\r\n\r\nYou have to play the game through Steam interface with selected \"GAMEPAD WITH MOUSE TRACKPAD\" control scheme enabled.\r\n\r\nAlso you have to map F11 button if you wish to access DX11 settings.",
  "name": "Gothic",
  "year": 2001,
  "steamid": 65540,
  "gogslug": "gothic",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "gothic-gog",
  "installer_slug": "gothic-gog",
  "script": {
    "files": [
      {
        "setup": "N/A:Select the GOG game setup file"
      },
      {
        "primary_patch": {
          "filename": "Union_Primary_Universal 12.02.2022.zip",
          "url": "https://worldofplayers.ru/attachments/103682/"
        }
      },
      {
        "union_mod": {
          "filename": "Union 1.0m 26.06.2022 v3.zip",
          "url": "https://worldofplayers.ru/attachments/107728/"
        }
      },
      {
        "zgamepad": "N/A:Select the zGamepad.exe"
      },
      {
        "ninja": "https://github.com/szapp/Ninja/releases/download/v2.7.12/Ninja-2.7.12.exe"
      },
      {
        "g1cp": "https://github.com/AmProsius/gothic-1-community-patch/releases/download/v1.2.0/G1CP-1.2.0.exe"
      },
      {
        "gd3d11": "https://github.com/kirides/GD3D11/releases/download/v17.8-dev9/GD3D11-v17.8-dev9.zip"
      },
      {
        "upscaled_fmvs": "https://www.moddb.com/games/gothic/downloads/gothic-upscaled-and-subtitled-fmvs"
      },
      {
        "riisis_texture_mix": "https://www.moddb.com/mods/riisis-texture-mix-g1-version/downloads/riisisgothic1texturemixv11"
      },
      {
        "high_resolution_fonts": "https://www.worldofgothic.de/download.php?id=1461"
      }
    ],
    "game": {
      "exe": "$gamesystempath/GothicMod.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "description": "Creating Wine prefix",
          "install_gecko": false,
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "win7",
          "description": "winetricks: win7",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "args": "/SP- /SUPRESSMSGBOXES /LOG /SILENT",
          "description": "Installing Gothic",
          "executable": "setup",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "dotnet40 vcrun2010",
          "description": "Install Union patch dependencies. It takes some time. Be patient",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "mkdir -p $UNIONPATH"
        }
      },
      {
        "execute": {
          "command": "printf \"\\r\\nC:\\GOG Games\\Gothic\\\\\\\\\\\\r\\n\" > $UNIONPATH/history_d.cs"
        }
      },
      {
        "execute": {
          "command": "echo \"ENG\" > $UNIONPATH/Language.cs"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "primary_patch"
        }
      },
      {
        "task": {
          "args": "/S /D\"C:\\GOG Games\\Gothic\"",
          "description": "Installing Primary Universal patch",
          "executable": "$CACHE/Union_Primary_Universal.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR",
          "working_dir": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$CACHE",
          "file": "union_mod"
        }
      },
      {
        "task": {
          "args": "/S /D\"C:\\GOG Games\\Gothic\"",
          "description": "Installing Union patch",
          "executable": "$CACHE/Union 1.0m.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR",
          "working_dir": "$GAMEDIR"
        }
      },
      {
        "task": {
          "args": "/S /D\"C:\\GOG Games\\Gothic\"",
          "description": "Installing zGamePad",
          "executable": "zgamepad",
          "name": "wineexec",
          "prefix": "$GAMEDIR",
          "working_dir": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "description": "upacking of huge archieve. Be patient",
          "dst": "$GAMEDIR/$gamedatapath/",
          "file": "riisis_texture_mix"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/$gamedatapath/",
          "file": "high_resolution_fonts"
        }
      },
      {
        "task": {
          "args": "/S /D=C:\\\\GOG Games\\\\Gothic",
          "description": "Installing Ninja mod",
          "executable": "ninja",
          "name": "wineexec",
          "prefix": "$GAMEDIR",
          "working_dir": "$GAMEDIR"
        }
      },
      {
        "task": {
          "args": "/S /D=C:\\\\GOG Games\\\\Gothic",
          "description": "Installing GCP mod",
          "executable": "g1cp",
          "name": "wineexec",
          "prefix": "$GAMEDIR",
          "working_dir": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/$gamesystempath",
          "file": "gd3d11"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/$gamepath/_work/DATA/",
          "file": "upscaled_fmvs"
        }
      },
      {
        "task": {
          "app": "directmusic",
          "arch": "win32",
          "description": "Background music fix",
          "env": {
            "WINETRICKS_DOWNLOADER": "curl"
          },
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "write_config": {
          "data": {
            "GAME": {
              "bloodDetail": 3,
              "playLogoVideos": 0,
              "scaleVideos": 1,
              "subTitles": 1
            },
            "PERFORMANCE": {
              "modelDetail": 1,
              "sightValue": 14
            }
          },
          "description": "Updating 'gothic.ini' file",
          "file": "$GAMEDIR/drive_c/GOG Games/Gothic/system/GOTHIC.INI"
        }
      },
      {
        "write_config": {
          "data": {
            "Display": {
              "Brightness": 1.0,
              "Rain": 1,
              "RainEffects": 0,
              "TextureQuality": 16384,
              "UIScale": 1.0,
              "VSync": 1
            },
            "FontRendering": {
              "Enable": 1
            },
            "General": {
              "AllowNormalmaps": 1,
              "AnimateStaticVobs": 1,
              "DrawWorldSectionIntersections": 1,
              "EnableDebugLog": 0,
              "EnableGodRays": 1,
              "EnableInactiveFpsLock": 1,
              "FpsLimit": 60,
              "SunLightStrength": 1.5
            },
            "HBAO": {
              "Bias": 0.5,
              "BlurSharpness": 4.0,
              "EnableBlur": 1,
              "Enabled": 0,
              "PowerExponent": 3.0,
              "Radius": 1.0,
              "SsaoBlurRadius": 1,
              "SsaoStepCount": 0
            },
            "SMAA": {
              "Enabled": 1,
              "SharpenFactor": 0.2
            },
            "Shadows": {
              "EnableDynamicLighting": 1,
              "EnableShadows": 1,
              "EnableSoftShadows": 1,
              "PointlightShadows": 2,
              "ShadowAOStrength": 0.5,
              "ShadowMapSize": 2048,
              "ShadowStrength": 0.4,
              "SmoothCameraUpdate": 1,
              "WorldAOStrength": 0.5,
              "WorldShadowRangeScale": 8.0
            }
          },
          "description": "Updating GD3D11 config",
          "file": "$GAMEDIR/drive_c/GOG Games/Gothic/system/GD3D11/UserSettings.ini"
        }
      },
      {
        "write_config": {
          "data": {
            "General": {
              "OutdoorSmallVobDrawRadius": 15000.0,
              "OutdoorVobDrawRadius": 30000.0,
              "SectionDrawRadius": 4,
              "VisualFXDrawRadius": 10000.0
            }
          },
          "description": "WORLD distance settings",
          "file": "$GAMEDIR/drive_c/GOG Games/Gothic/system/GD3D11/ZENResources/WORLD.INI"
        }
      },
      {
        "write_config": {
          "data": {
            "General": {
              "OutdoorSmallVobDrawRadius": 15000.0,
              "OutdoorVobDrawRadius": 15000.0,
              "SectionDrawRadius": 4,
              "VisualFXDrawRadius": 10000.0
            }
          },
          "description": "ORCGRAVEYARD distance settings",
          "file": "$GAMEDIR/drive_c/GOG Games/Gothic/system/GD3D11/ZENResources/ORCGRAVEYARD.INI"
        }
      },
      {
        "write_config": {
          "data": {
            "General": {
              "OutdoorSmallVobDrawRadius": 15000.0,
              "OutdoorVobDrawRadius": 15000.0,
              "SectionDrawRadius": 4,
              "VisualFXDrawRadius": 10000.0
            }
          },
          "description": "OLDMINE distance settings",
          "file": "$GAMEDIR/drive_c/GOG Games/Gothic/system/GD3D11/ZENResources/OLDMINE.INI"
        }
      },
      {
        "write_config": {
          "data": {
            "General": {
              "OutdoorSmallVobDrawRadius": 15000.0,
              "OutdoorVobDrawRadius": 15000.0,
              "SectionDrawRadius": 4,
              "VisualFXDrawRadius": 10000.0
            }
          },
          "description": "ORCTEMPEL distance settings",
          "file": "$GAMEDIR/drive_c/GOG Games/Gothic/system/GD3D11/ZENResources/ORCTEMPEL.INI"
        }
      },
      {
        "write_config": {
          "data": {
            "General": {
              "OutdoorSmallVobDrawRadius": 15000.0,
              "OutdoorVobDrawRadius": 15000.0,
              "SectionDrawRadius": 4,
              "VisualFXDrawRadius": 10000.0
            }
          },
          "description": "FREEMINE distance settings",
          "file": "$GAMEDIR/drive_c/GOG Games/Gothic/system/GD3D11/ZENResources/FREEMINE.INI"
        }
      }
    ],
    "system": {
      "env": {
        "UNIONPATH": "$GAMEDIR/drive_c/ProgramData/Union/System/"
      }
    },
    "variables": {
      "gamedatapath": "drive_c/GOG Games/Gothic/Data",
      "gamepath": "drive_c/GOG Games/Gothic",
      "gamesystempath": "drive_c/GOG Games/Gothic/system"
    },
    "wine": {
      "overrides": {
        "ddraw": "n,b",
        "msvcr100": "n,b"
      }
    }
  }
}
Back to game