Installer project-igi-cd

game:
  arch: win32
  exe: drive_c/Program Files/Eidos Interactive/I'm Going In/pc/IGI.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    description: Please mount the Project IGI - I'm Going In disc and browse to the
      directory
    requires: setup.exe
- task:
    arch: win32
    description: Installing Project IGI - I'm Going In
    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 -v "API*\|dbg*" | 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/Program Files/Eidos Interactive/I'm Going In/pc
    src: $CACHE/MS/x86/D3D8.dll
- merge:
    dst: $GAMEDIR/drive_c/Program Files/Eidos Interactive/I'm Going In/pc
    src: $CACHE/MS/x86/D3D9.dll
- merge:
    dst: $GAMEDIR/drive_c/Program Files/Eidos Interactive/I'm Going In/pc
    src: $CACHE/MS/x86/D3DImm.dll
- merge:
    dst: $GAMEDIR/drive_c/Program Files/Eidos Interactive/I'm Going In/pc
    src: $CACHE/MS/x86/DDraw.dll
- merge:
    dst: $GAMEDIR/drive_c/Program Files/Eidos Interactive/I'm Going In/pc
    src: $CACHE/dgVoodooCpl.exe
- merge:
    dst: $GAMEDIR/drive_c/Program Files/Eidos Interactive/I'm Going In/pc
    src: $CACHE/dgVoodoo.conf
- write_config:
    data:
      DirectX:
        Resolution: desktop
        VRAM: 256
        dgVoodooWatermark: false
      General:
        KeepWindowAspectRatio: true
        ScalingMode: stretched_ar
    description: Write dgVoodoo.conf file
    file: $GAMEDIR/drive_c/Program Files/Eidos Interactive/I'm Going In/pc/dgVoodoo.conf
    merge: false
description: ''
game_slug: project-igi
gogslug: ''
humblestoreid: ''
installer_slug: project-igi-cd
name: 'Project IGI: I''m Going In'
notes: ''
runner: wine
script:
  game:
    arch: win32
    exe: drive_c/Program Files/Eidos Interactive/I'm Going In/pc/IGI.exe
    prefix: $GAMEDIR
  installer:
  - insert-disc:
      description: Please mount the Project IGI - I'm Going In disc and browse to
        the directory
      requires: setup.exe
  - task:
      arch: win32
      description: Installing Project IGI - I'm Going In
      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 -v "API*\|dbg*" | 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/Program Files/Eidos Interactive/I'm Going In/pc
      src: $CACHE/MS/x86/D3D8.dll
  - merge:
      dst: $GAMEDIR/drive_c/Program Files/Eidos Interactive/I'm Going In/pc
      src: $CACHE/MS/x86/D3D9.dll
  - merge:
      dst: $GAMEDIR/drive_c/Program Files/Eidos Interactive/I'm Going In/pc
      src: $CACHE/MS/x86/D3DImm.dll
  - merge:
      dst: $GAMEDIR/drive_c/Program Files/Eidos Interactive/I'm Going In/pc
      src: $CACHE/MS/x86/DDraw.dll
  - merge:
      dst: $GAMEDIR/drive_c/Program Files/Eidos Interactive/I'm Going In/pc
      src: $CACHE/dgVoodooCpl.exe
  - merge:
      dst: $GAMEDIR/drive_c/Program Files/Eidos Interactive/I'm Going In/pc
      src: $CACHE/dgVoodoo.conf
  - write_config:
      data:
        DirectX:
          Resolution: desktop
          VRAM: 256
          dgVoodooWatermark: false
        General:
          KeepWindowAspectRatio: true
          ScalingMode: stretched_ar
      description: Write dgVoodoo.conf file
      file: $GAMEDIR/drive_c/Program Files/Eidos Interactive/I'm Going In/pc/dgVoodoo.conf
      merge: false
slug: project-igi-cd
steamid: null
version: CD
year: 2000
{
  "game_slug": "project-igi",
  "version": "CD",
  "description": "",
  "notes": "",
  "name": "Project IGI: I'm Going In",
  "year": 2000,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "project-igi-cd",
  "installer_slug": "project-igi-cd",
  "script": {
    "game": {
      "arch": "win32",
      "exe": "drive_c/Program Files/Eidos Interactive/I'm Going In/pc/IGI.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "insert-disc": {
          "description": "Please mount the Project IGI - I'm Going In disc and browse to the directory",
          "requires": "setup.exe"
        }
      },
      {
        "task": {
          "arch": "win32",
          "description": "Installing Project IGI - I'm Going In",
          "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 -v \"API*\\|dbg*\" | 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/Program Files/Eidos Interactive/I'm Going In/pc",
          "src": "$CACHE/MS/x86/D3D8.dll"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files/Eidos Interactive/I'm Going In/pc",
          "src": "$CACHE/MS/x86/D3D9.dll"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files/Eidos Interactive/I'm Going In/pc",
          "src": "$CACHE/MS/x86/D3DImm.dll"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files/Eidos Interactive/I'm Going In/pc",
          "src": "$CACHE/MS/x86/DDraw.dll"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files/Eidos Interactive/I'm Going In/pc",
          "src": "$CACHE/dgVoodooCpl.exe"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files/Eidos Interactive/I'm Going In/pc",
          "src": "$CACHE/dgVoodoo.conf"
        }
      },
      {
        "write_config": {
          "data": {
            "DirectX": {
              "Resolution": "desktop",
              "VRAM": 256,
              "dgVoodooWatermark": false
            },
            "General": {
              "KeepWindowAspectRatio": true,
              "ScalingMode": "stretched_ar"
            }
          },
          "description": "Write dgVoodoo.conf file",
          "file": "$GAMEDIR/drive_c/Program Files/Eidos Interactive/I'm Going In/pc/dgVoodoo.conf",
          "merge": false
        }
      }
    ]
  }
}
Back to game