Installer harry-potter-and-the-order-of-retail-dvd

game:
  arch: win64
  exe: drive_c/Program Files (x86)/Electronic Arts/Harry Potter and the Order of the
    Phoenix/hp.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    requires: ootp_icon.ico
- task:
    description: Creating Wine prefix
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- task:
    description: Installing...
    executable: $DISC/AutoRun.exe
    name: wineexec
    prefix: $GAMEDIR
- execute:
    args: -c '[ "$(ls -1 "$GAMEDIR/drive_c/Program Files (x86)/Electronic Arts" |
      wc -l)" -eq 1 ]' || exit 1
    file: bash
- execute:
    command: '[ -d "$INSTALL_ROOT/$PRODUCT" ] || ln -s "$INSTALL_ROOT"/{*,"$PRODUCT"}'
    env:
      INSTALL_ROOT: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts
      PRODUCT: Harry Potter and the Order of the Phoenix
description: ''
game_slug: harry-potter-and-the-order-of-the-phoenix
gogslug: ''
humblestoreid: ''
installer_slug: harry-potter-and-the-order-of-retail-dvd
name: Harry Potter and the Order of the Phoenix
notes: '- Feedback, Issues and Pull Requests are gladly welcome at: https://codeberg.org/lutris-forge/lutris-harry-potter-order-of-the-phoenix'
runner: wine
script:
  game:
    arch: win64
    exe: drive_c/Program Files (x86)/Electronic Arts/Harry Potter and the Order of
      the Phoenix/hp.exe
    prefix: $GAMEDIR
  installer:
  - insert-disc:
      requires: ootp_icon.ico
  - task:
      description: Creating Wine prefix
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      description: Installing...
      executable: $DISC/AutoRun.exe
      name: wineexec
      prefix: $GAMEDIR
  - execute:
      args: -c '[ "$(ls -1 "$GAMEDIR/drive_c/Program Files (x86)/Electronic Arts"
        | wc -l)" -eq 1 ]' || exit 1
      file: bash
  - execute:
      command: '[ -d "$INSTALL_ROOT/$PRODUCT" ] || ln -s "$INSTALL_ROOT"/{*,"$PRODUCT"}'
      env:
        INSTALL_ROOT: $GAMEDIR/drive_c/Program Files (x86)/Electronic Arts
        PRODUCT: Harry Potter and the Order of the Phoenix
slug: harry-potter-and-the-order-of-retail-dvd
steamid: null
version: Retail, DVD
year: 2007
{
  "game_slug": "harry-potter-and-the-order-of-the-phoenix",
  "version": "Retail, DVD",
  "description": "",
  "notes": "- Feedback, Issues and Pull Requests are gladly welcome at: https://codeberg.org/lutris-forge/lutris-harry-potter-order-of-the-phoenix",
  "name": "Harry Potter and the Order of the Phoenix",
  "year": 2007,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "harry-potter-and-the-order-of-retail-dvd",
  "installer_slug": "harry-potter-and-the-order-of-retail-dvd",
  "script": {
    "game": {
      "arch": "win64",
      "exe": "drive_c/Program Files (x86)/Electronic Arts/Harry Potter and the Order of the Phoenix/hp.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "insert-disc": {
          "requires": "ootp_icon.ico"
        }
      },
      {
        "task": {
          "description": "Creating Wine prefix",
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Installing...",
          "executable": "$DISC/AutoRun.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": {
          "args": "-c '[ \"$(ls -1 \"$GAMEDIR/drive_c/Program Files (x86)/Electronic Arts\" | wc -l)\" -eq 1 ]' || exit 1",
          "file": "bash"
        }
      },
      {
        "execute": {
          "command": "[ -d \"$INSTALL_ROOT/$PRODUCT\" ] || ln -s \"$INSTALL_ROOT\"/{*,\"$PRODUCT\"}",
          "env": {
            "INSTALL_ROOT": "$GAMEDIR/drive_c/Program Files (x86)/Electronic Arts",
            "PRODUCT": "Harry Potter and the Order of the Phoenix"
          }
        }
      }
    ]
  }
}
Back to game