Installer dr-brain-thinking-games-iq-ad-cd

game:
  arch: win32
  exe: drive_c/KA/DBIQADV/dbiqadv.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    description: Please mount the Dr. Brain IQ Adventure disc.
    requires: setup.exe
- task:
    arch: win32
    description: Installing Dr. Brain IQ Adventure
    executable: $DISC/setup.exe
    name: wineexec
    prefix: $GAMEDIR
- execute:
    command: curl https://api.github.com/repos/dege-diosg/dgVoodoo2/releases/latest
      | grep browser_download_url | grep -vE '(dbg|API)' | cut -d '"' -f 4 | wget
      -i- -P $CACHE
    description: Download latest dgVoodoo2 release
- execute:
    command: find $CACHE -name 'dgVoodoo*' -exec unzip {} -d $CACHE ';'
    description: Extract latest dgVoodoo2 release to $CACHE
- merge:
    description: Copy dgVoodoo2 components to $GAMEDIR
    dst: $GAMEDIR/drive_c/KA/DBIQADV
    src: $CACHE/MS/x86/DDraw.dll
- merge:
    dst: $GAMEDIR/drive_c/KA/DBIQADV
    src: $CACHE/MS/x86/D3DImm.dll
- merge:
    dst: $GAMEDIR/drive_c/KA/DBIQADV
    src: $CACHE/dgVoodooCpl.exe
- merge:
    dst: $GAMEDIR/drive_c/KA/DBIQADV
    src: $CACHE/dgVoodoo.conf
- write_config:
    data:
      DirectX:
        Antialiasing: appdriven
        AppControlledScreenMode: false
        DisableAltEnterToToggleScreenMode: false
        Filtering: appdriven
        Resolution: unforced
        VRAM: 64
        VideoCard: internal3D
        dgVoodooWatermark: false
      General:
        CaptureMouse: true
        CenterAppWindow: true
        FullScreenOutput: default
        KeepWindowAspectRatio: true
        ScalingMode: unspecified
    description: Write dgVoodoo.conf file
    file: $GAMEDIR/drive_c/KA/DBIQADV/dgVoodoo.conf
    merge: false
- task:
    arch: win32
    description: Set ddraw to native,builtin
    key: ddraw
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
    prefix: $GAMEDIR
    type: REG_SZ
    value: native,builtin
wine:
  overrides:
    ddraw.dll: n,b
  version: lutris-fshack-5.6-5-x86_64
description: ''
game_slug: dr-brain-thinking-games-iq-adventure
gogslug: ''
humblestoreid: ''
installer_slug: dr-brain-thinking-games-iq-ad-cd
name: 'Dr. Brain Thinking Games: IQ Adventure'
notes: ''
runner: wine
script:
  game:
    arch: win32
    exe: drive_c/KA/DBIQADV/dbiqadv.exe
    prefix: $GAMEDIR
  installer:
  - insert-disc:
      description: Please mount the Dr. Brain IQ Adventure disc.
      requires: setup.exe
  - task:
      arch: win32
      description: Installing Dr. Brain IQ Adventure
      executable: $DISC/setup.exe
      name: wineexec
      prefix: $GAMEDIR
  - execute:
      command: curl https://api.github.com/repos/dege-diosg/dgVoodoo2/releases/latest
        | grep browser_download_url | grep -vE '(dbg|API)' | cut -d '"' -f 4 | wget
        -i- -P $CACHE
      description: Download latest dgVoodoo2 release
  - execute:
      command: find $CACHE -name 'dgVoodoo*' -exec unzip {} -d $CACHE ';'
      description: Extract latest dgVoodoo2 release to $CACHE
  - merge:
      description: Copy dgVoodoo2 components to $GAMEDIR
      dst: $GAMEDIR/drive_c/KA/DBIQADV
      src: $CACHE/MS/x86/DDraw.dll
  - merge:
      dst: $GAMEDIR/drive_c/KA/DBIQADV
      src: $CACHE/MS/x86/D3DImm.dll
  - merge:
      dst: $GAMEDIR/drive_c/KA/DBIQADV
      src: $CACHE/dgVoodooCpl.exe
  - merge:
      dst: $GAMEDIR/drive_c/KA/DBIQADV
      src: $CACHE/dgVoodoo.conf
  - write_config:
      data:
        DirectX:
          Antialiasing: appdriven
          AppControlledScreenMode: false
          DisableAltEnterToToggleScreenMode: false
          Filtering: appdriven
          Resolution: unforced
          VRAM: 64
          VideoCard: internal3D
          dgVoodooWatermark: false
        General:
          CaptureMouse: true
          CenterAppWindow: true
          FullScreenOutput: default
          KeepWindowAspectRatio: true
          ScalingMode: unspecified
      description: Write dgVoodoo.conf file
      file: $GAMEDIR/drive_c/KA/DBIQADV/dgVoodoo.conf
      merge: false
  - task:
      arch: win32
      description: Set ddraw to native,builtin
      key: ddraw
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\DllOverrides
      prefix: $GAMEDIR
      type: REG_SZ
      value: native,builtin
  wine:
    overrides:
      ddraw.dll: n,b
    version: lutris-fshack-5.6-5-x86_64
slug: dr-brain-thinking-games-iq-ad-cd
steamid: null
version: CD
year: 1998
{
  "game_slug": "dr-brain-thinking-games-iq-adventure",
  "version": "CD",
  "description": "",
  "notes": "",
  "name": "Dr. Brain Thinking Games: IQ Adventure",
  "year": 1998,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "dr-brain-thinking-games-iq-ad-cd",
  "installer_slug": "dr-brain-thinking-games-iq-ad-cd",
  "script": {
    "game": {
      "arch": "win32",
      "exe": "drive_c/KA/DBIQADV/dbiqadv.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "insert-disc": {
          "description": "Please mount the Dr. Brain IQ Adventure disc.",
          "requires": "setup.exe"
        }
      },
      {
        "task": {
          "arch": "win32",
          "description": "Installing Dr. Brain IQ Adventure",
          "executable": "$DISC/setup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "command": "curl https://api.github.com/repos/dege-diosg/dgVoodoo2/releases/latest | grep browser_download_url | grep -vE '(dbg|API)' | cut -d '\"' -f 4 | wget -i- -P $CACHE",
          "description": "Download latest dgVoodoo2 release"
        }
      },
      {
        "execute": {
          "command": "find $CACHE -name 'dgVoodoo*' -exec unzip {} -d $CACHE ';'",
          "description": "Extract latest dgVoodoo2 release to $CACHE"
        }
      },
      {
        "merge": {
          "description": "Copy dgVoodoo2 components to $GAMEDIR",
          "dst": "$GAMEDIR/drive_c/KA/DBIQADV",
          "src": "$CACHE/MS/x86/DDraw.dll"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/KA/DBIQADV",
          "src": "$CACHE/MS/x86/D3DImm.dll"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/KA/DBIQADV",
          "src": "$CACHE/dgVoodooCpl.exe"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/KA/DBIQADV",
          "src": "$CACHE/dgVoodoo.conf"
        }
      },
      {
        "write_config": {
          "data": {
            "DirectX": {
              "Antialiasing": "appdriven",
              "AppControlledScreenMode": false,
              "DisableAltEnterToToggleScreenMode": false,
              "Filtering": "appdriven",
              "Resolution": "unforced",
              "VRAM": 64,
              "VideoCard": "internal3D",
              "dgVoodooWatermark": false
            },
            "General": {
              "CaptureMouse": true,
              "CenterAppWindow": true,
              "FullScreenOutput": "default",
              "KeepWindowAspectRatio": true,
              "ScalingMode": "unspecified"
            }
          },
          "description": "Write dgVoodoo.conf file",
          "file": "$GAMEDIR/drive_c/KA/DBIQADV/dgVoodoo.conf",
          "merge": false
        }
      },
      {
        "task": {
          "arch": "win32",
          "description": "Set ddraw to native,builtin",
          "key": "ddraw",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides",
          "prefix": "$GAMEDIR",
          "type": "REG_SZ",
          "value": "native,builtin"
        }
      }
    ],
    "wine": {
      "overrides": {
        "ddraw.dll": "n,b"
      },
      "version": "lutris-fshack-5.6-5-x86_64"
    }
  }
}
Back to game