Installer harry-potter-and-the-philosop-cd-widescreen-mods

files:
- mods: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Harry%20Potter%20and%20the%20Philosopher's%20Stone/hp1_mods.tar.xz
game:
  exe: drive_c/Program Files (x86)/EA Games/Harry Potter TM/System/HP.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Preparing wineprefix...
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- insert-disc:
    requires: system/hp.ico
- task:
    description: Installing Harry Potter and the Philosopher's Stone...
    executable: $DISC/AutoRun.exe
    name: wineexec
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter TM/System
    src: mods
- write_config:
    data:
      Engine.Engine:
        GameRenderDevice: D3D9Drv.D3D9RenderDevice
      FirstRun:
        FirstRun: 433
      HPBase.baseConsole:
        bDebugMode: false
      UWindow.WindowConsole:
        ConsoleKey: 112
      WinDrv.WindowsClient:
        FullscreenColorBits: 32
        FullscreenViewportX: $RESOLUTION_WIDTH
        FullscreenViewportY: $RESOLUTION_HEIGHT
        MinDesiredFrameRate: 60.0
        WindowedViewportX: $RESOLUTION_WIDTH
        WindowedViewportY: $RESOLUTION_HEIGHT
    file: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter TM/System/Default.ini
    merge: true
- write_config:
    data:
      Engine.PlayerPawn:
        DefaultFOV: 106.26
        DesiredFOV: 106.26
    file: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter TM/System/DefUser.ini
    merge: true
system:
  env:
    DXVK_FRAME_RATE: '60'
    DXVK_HUD: null
  gamescope: true
  gamescope_game_res: $RESOLUTION
  gamescope_output_res: $RESOLUTION
description: Play "Harry Potter and the Philosopher's Stone" CD edition on Linux!
game_slug: harry-potter-and-the-philosophers-stone
gogslug: ''
humblestoreid: ''
installer_slug: harry-potter-and-the-philosop-cd-widescreen-mods
name: Harry Potter and the Philosopher's Stone
notes: "- Game will be automagically set to use your native desktop resolution\r\n\
  - Using different mods: DirectX 9 renderer, Widescreen menu mods\r\n- Alt-Tab could\
  \ crash the game or cause game unstability. Workaround: use Gamescope\r\n- In debug\
  \ mode, type F1 key to show console\r\n- This game does not natively support controller.\
  \ I wrote Antimicrox profiles, you can download them here:\r\nhttps://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Harry%20Potter%20and%20the%20Chamber%20of%20Secrets/gamepad%20profiles"
runner: wine
script:
  files:
  - mods: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Harry%20Potter%20and%20the%20Philosopher's%20Stone/hp1_mods.tar.xz
  game:
    exe: drive_c/Program Files (x86)/EA Games/Harry Potter TM/System/HP.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Preparing wineprefix...
      install_gecko: false
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - insert-disc:
      requires: system/hp.ico
  - task:
      description: Installing Harry Potter and the Philosopher's Stone...
      executable: $DISC/AutoRun.exe
      name: wineexec
      prefix: $GAMEDIR
  - extract:
      dst: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter TM/System
      src: mods
  - write_config:
      data:
        Engine.Engine:
          GameRenderDevice: D3D9Drv.D3D9RenderDevice
        FirstRun:
          FirstRun: 433
        HPBase.baseConsole:
          bDebugMode: false
        UWindow.WindowConsole:
          ConsoleKey: 112
        WinDrv.WindowsClient:
          FullscreenColorBits: 32
          FullscreenViewportX: $RESOLUTION_WIDTH
          FullscreenViewportY: $RESOLUTION_HEIGHT
          MinDesiredFrameRate: 60.0
          WindowedViewportX: $RESOLUTION_WIDTH
          WindowedViewportY: $RESOLUTION_HEIGHT
      file: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter TM/System/Default.ini
      merge: true
  - write_config:
      data:
        Engine.PlayerPawn:
          DefaultFOV: 106.26
          DesiredFOV: 106.26
      file: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter TM/System/DefUser.ini
      merge: true
  system:
    env:
      DXVK_FRAME_RATE: '60'
      DXVK_HUD: null
    gamescope: true
    gamescope_game_res: $RESOLUTION
    gamescope_output_res: $RESOLUTION
slug: harry-potter-and-the-philosop-cd-widescreen-mods
steamid: null
version: CD + widescreen mods
year: 2001
{
  "game_slug": "harry-potter-and-the-philosophers-stone",
  "version": "CD + widescreen mods",
  "description": "Play \"Harry Potter and the Philosopher's Stone\" CD edition on Linux!",
  "notes": "- Game will be automagically set to use your native desktop resolution\r\n- Using different mods: DirectX 9 renderer, Widescreen menu mods\r\n- Alt-Tab could crash the game or cause game unstability. Workaround: use Gamescope\r\n- In debug mode, type F1 key to show console\r\n- This game does not natively support controller. I wrote Antimicrox profiles, you can download them here:\r\nhttps://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Harry%20Potter%20and%20the%20Chamber%20of%20Secrets/gamepad%20profiles",
  "name": "Harry Potter and the Philosopher's Stone",
  "year": 2001,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "harry-potter-and-the-philosop-cd-widescreen-mods",
  "installer_slug": "harry-potter-and-the-philosop-cd-widescreen-mods",
  "script": {
    "files": [
      {
        "mods": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Harry%20Potter%20and%20the%20Philosopher's%20Stone/hp1_mods.tar.xz"
      }
    ],
    "game": {
      "exe": "drive_c/Program Files (x86)/EA Games/Harry Potter TM/System/HP.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Preparing wineprefix...",
          "install_gecko": false,
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "requires": "system/hp.ico"
        }
      },
      {
        "task": {
          "description": "Installing Harry Potter and the Philosopher's Stone...",
          "executable": "$DISC/AutoRun.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter TM/System",
          "src": "mods"
        }
      },
      {
        "write_config": {
          "data": {
            "Engine.Engine": {
              "GameRenderDevice": "D3D9Drv.D3D9RenderDevice"
            },
            "FirstRun": {
              "FirstRun": 433
            },
            "HPBase.baseConsole": {
              "bDebugMode": false
            },
            "UWindow.WindowConsole": {
              "ConsoleKey": 112
            },
            "WinDrv.WindowsClient": {
              "FullscreenColorBits": 32,
              "FullscreenViewportX": "$RESOLUTION_WIDTH",
              "FullscreenViewportY": "$RESOLUTION_HEIGHT",
              "MinDesiredFrameRate": 60.0,
              "WindowedViewportX": "$RESOLUTION_WIDTH",
              "WindowedViewportY": "$RESOLUTION_HEIGHT"
            }
          },
          "file": "$GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter TM/System/Default.ini",
          "merge": true
        }
      },
      {
        "write_config": {
          "data": {
            "Engine.PlayerPawn": {
              "DefaultFOV": 106.26,
              "DesiredFOV": 106.26
            }
          },
          "file": "$GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter TM/System/DefUser.ini",
          "merge": true
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_FRAME_RATE": "60",
        "DXVK_HUD": null
      },
      "gamescope": true,
      "gamescope_game_res": "$RESOLUTION",
      "gamescope_output_res": "$RESOLUTION"
    }
  }
}
Back to game