Installer harry-potter-and-the-chamber-pc-retail-cd

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.

files:
- GamePatch:
    filename: patch.7z
    url: https://files.lonebullet.com/harry-potter-the-chamber-of-secrets/cracks/harry-potter-and-the-chamber-of-secrets-v10-english-no-cd.zip?
- SysPatch:
    filename: system.zip
    url: https://github.com/AsayuGit/HarryPotter2-NeoLauncher/releases/latest/download/system.zip
game:
  arch: win32
  exe: $GAMEDIR/drive_c/Program Files/EA Games/Harry Potter and the Chamber of Secrets/system/Harry.bat
  prefix: $GAMEDIR
installer:
- insert-disc:
    requires: AutoRun.exe
- task:
    arch: win32
    description: Creating Wine prefix
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- task:
    arch: win32
    description: Installing Harry Potter and the Chamber of Secrets ...
    executable: $DISC/AutoRun.exe
    name: wineexec
    working_dir: $DISC
- move:
    dst: $CACHE
    src: GamePatch
- move:
    dst: $CACHE
    src: SysPatch
- execute:
    command: GAME_FOLDER=$(ls "$GAMEDIR/drive_c/Program Files/EA Games/" | grep -i
      "Harry"); 7z x -plonebullet $CACHE/patch.7z -o$CACHE -aoa; 7z x $CACHE/harry-potter-and-the-chamber-of-secrets-v10-english-no-cd.zip
      -o$GAMEDIR/"drive_c/Program Files/EA Games/$GAME_FOLDER/system" -aoa; 7z x $CACHE/system.zip
      -o$GAMEDIR/"drive_c/Program Files/EA Games/$GAME_FOLDER/" -aoa; mv "$GAMEDIR/drive_c/Program
      Files/EA Games/$GAME_FOLDER" "$GAMEDIR/drive_c/Program Files/EA Games/Harry
      Potter and the Chamber of Secrets"
require-binaries: 7z
wine:
  overrides:
    VistaAPI.dll: native, builtin
    ddraw: native, builtin
{
  "files": [
    {
      "GamePatch": {
        "filename": "patch.7z",
        "url": "https://files.lonebullet.com/harry-potter-the-chamber-of-secrets/cracks/harry-potter-and-the-chamber-of-secrets-v10-english-no-cd.zip?"
      }
    },
    {
      "SysPatch": {
        "filename": "system.zip",
        "url": "https://github.com/AsayuGit/HarryPotter2-NeoLauncher/releases/latest/download/system.zip"
      }
    }
  ],
  "game": {
    "arch": "win32",
    "exe": "$GAMEDIR/drive_c/Program Files/EA Games/Harry Potter and the Chamber of Secrets/system/Harry.bat",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "insert-disc": {
        "requires": "AutoRun.exe"
      }
    },
    {
      "task": {
        "arch": "win32",
        "description": "Creating Wine prefix",
        "install_gecko": false,
        "install_mono": false,
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win32",
        "description": "Installing Harry Potter and the Chamber of Secrets ...",
        "executable": "$DISC/AutoRun.exe",
        "name": "wineexec",
        "working_dir": "$DISC"
      }
    },
    {
      "move": {
        "dst": "$CACHE",
        "src": "GamePatch"
      }
    },
    {
      "move": {
        "dst": "$CACHE",
        "src": "SysPatch"
      }
    },
    {
      "execute": {
        "command": "GAME_FOLDER=$(ls \"$GAMEDIR/drive_c/Program Files/EA Games/\" | grep -i \"Harry\"); 7z x -plonebullet $CACHE/patch.7z -o$CACHE -aoa; 7z x $CACHE/harry-potter-and-the-chamber-of-secrets-v10-english-no-cd.zip -o$GAMEDIR/\"drive_c/Program Files/EA Games/$GAME_FOLDER/system\" -aoa; 7z x $CACHE/system.zip -o$GAMEDIR/\"drive_c/Program Files/EA Games/$GAME_FOLDER/\" -aoa; mv \"$GAMEDIR/drive_c/Program Files/EA Games/$GAME_FOLDER\" \"$GAMEDIR/drive_c/Program Files/EA Games/Harry Potter and the Chamber of Secrets\""
      }
    }
  ],
  "require-binaries": "7z",
  "wine": {
    "overrides": {
      "VistaAPI.dll": "native, builtin",
      "ddraw": "native, builtin"
    }
  }
}
Back to game