Installer harry-potter-and-the-chamber-cd-harrypotter2-neol

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"
wine:
  overrides:
    VistaAPI.dll: native, builtin
    ddraw: native, builtin
description: ''
game_slug: harry-potter-and-the-chamber-of-secrets
gogslug: ''
humblestoreid: ''
installer_slug: harry-potter-and-the-chamber-cd-harrypotter2-neol
name: Harry Potter and the Chamber of Secrets
notes: "The game is preconfigured with the highest settings so there's no need to\
  \ tweak them unless you want to.\r\nIf you choose to tweak the settings, you should\
  \ select the DGVoodoo2 Renderer for the best results. However you can bypass DGVoodoo2\
  \ entirely by choosing the Direct3D renderer."
runner: wine
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"
  wine:
    overrides:
      VistaAPI.dll: native, builtin
      ddraw: native, builtin
slug: harry-potter-and-the-chamber-cd-harrypotter2-neol
steamid: null
version: CD +  HarryPotter2-NeoLauncher
year: 2002
{
  "game_slug": "harry-potter-and-the-chamber-of-secrets",
  "version": "CD +  HarryPotter2-NeoLauncher",
  "description": "",
  "notes": "The game is preconfigured with the highest settings so there's no need to tweak them unless you want to.\r\nIf you choose to tweak the settings, you should select the DGVoodoo2 Renderer for the best results. However you can bypass DGVoodoo2 entirely by choosing the Direct3D renderer.",
  "name": "Harry Potter and the Chamber of Secrets",
  "year": 2002,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "harry-potter-and-the-chamber-cd-harrypotter2-neol",
  "installer_slug": "harry-potter-and-the-chamber-cd-harrypotter2-neol",
  "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\""
        }
      }
    ],
    "wine": {
      "overrides": {
        "VistaAPI.dll": "native, builtin",
        "ddraw": "native, builtin"
      }
    }
  }
}
Back to game