Installer harry-potter-and-the-chamber-cd-dgvoodoo2
files: - dgv: https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_61.zip - patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Harry%20Potter%20and%20the%20Chamber%20of%20Secrets/hp2cos_patch.7z - x360: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Harry%20Potter%20and%20the%20Chamber%20of%20Secrets/gamepad%20profiles/hp2cos_x360.gamecontroller.amgp - readme: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Harry%20Potter%20and%20the%20Chamber%20of%20Secrets/gamepad%20profiles/hp2cos_x360_gamepad_readme.html game: args: PrivetDr.unr -LOADGAME=0 -SAVESLOT=1 exe: drive_c/HP2COS/system/Game.exe prefix: $GAMEDIR installer: - insert-disc: requires: setup/hgame.u - task: arch: win64 description: Creating Wine prefix install_gecko: false install_mono: false name: create_prefix prefix: $GAMEDIR - task: arch: win64 key: background name: set_regedit path: HKEY_CURRENT_USER\Control Panel\Colors\ prefix: $GAMEDIR type: REG_SZ value: 0 0 0 - task: args: /desktop=HP2COS,1024x780 $DISC/setup/Setup.exe description: Installing Harry Potter and the Chamber of Secrets... executable: $GAMEDIR/drive_c/windows/explorer.exe include_processes: explorer.exe name: wineexec - task: app: win10 name: winetricks prefix: $GAMEDIR - execute: command: cd "$GAMEDIR/drive_c/Program Files (x86)/EA Games"; hp2cos=$(ls |grep -i harry); echo $hp2cos; mv "$hp2cos" ../../HP2COS; - execute: command: cd "$GAMEDIR/drive_c/HP2COS/system"; sed -i -e "s/WindowedViewportX.*/WindowedViewportX=1280/g" -e "s/WindowedViewportY.*/WindowedViewportY=960/g" -e "s/FullscreenViewportX.*/FullscreenViewportX=1280/g" -e "s/FullscreenViewportY.*/FullscreenViewportY=960/g" -e "s/WindowedColorBits.*/WindowedColorBits=32/g" -e "s/FullscreenColorBits.*/FullscreenColorBits=32/g" -e "s/MusicVolume.*/MusicVolume=0.3/g" default.ini ; sed -i "s/ObjectDetail.*/ObjectDetail=ObjectDetailVeryHigh/g" DefUser.ini; cd ..; mkdir gamepad_profiles; - extract: dst: $GAMEDIR/drive_c/HP2COS/system file: dgv - copy: dst: $GAMEDIR/drive_c/HP2COS/system src: $GAMEDIR/drive_c/HP2COS/system/MS/x86/DDraw.dll - copy: dst: $GAMEDIR/drive_c/HP2COS/system src: $GAMEDIR/drive_c/HP2COS/system/MS/x86/D3DImm.dll - execute: command: cd "$GAMEDIR/drive_c/HP2COS/system"; mv dgVoodoo.conf dgVoodoo_original.conf; - write_config: data: DirectX: ForceVerticalSync: true Resolution: max_qhd_isf VRAM: 256 dgVoodooWatermark: false General: CaptureMouse: false FullScreenMode: false ScalingMode: stretched_ar file: $GAMEDIR/drive_c/HP2COS/system/dgVoodoo.conf - extract: dst: $GAMEDIR/drive_c/HP2COS/system file: patch - copy: dst: $GAMEDIR/drive_c/HP2COS/gamepad_profiles src: x360 - copy: dst: $GAMEDIR/drive_c/HP2COS/gamepad_profiles src: readme - task: arch: win64 key: ddraw name: set_regedit path: HKEY_CURRENT_USER\Software\Wine\DllOverrides\ prefix: $GAMEDIR type: REG_SZ value: native,builtin
description: null game_slug: harry-potter-and-the-chamber-of-secrets gogslug: '' humblestoreid: '' installer_slug: harry-potter-and-the-chamber-cd-dgvoodoo2 name: Harry Potter and the Chamber of Secrets notes: You will find an Antimicrox profile for a x360 controller in the "gamepad profiles" folder runner: wine script: files: - dgv: https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_61.zip - patch: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Harry%20Potter%20and%20the%20Chamber%20of%20Secrets/hp2cos_patch.7z - x360: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Harry%20Potter%20and%20the%20Chamber%20of%20Secrets/gamepad%20profiles/hp2cos_x360.gamecontroller.amgp - readme: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Harry%20Potter%20and%20the%20Chamber%20of%20Secrets/gamepad%20profiles/hp2cos_x360_gamepad_readme.html game: args: PrivetDr.unr -LOADGAME=0 -SAVESLOT=1 exe: drive_c/HP2COS/system/Game.exe prefix: $GAMEDIR installer: - insert-disc: requires: setup/hgame.u - task: arch: win64 description: Creating Wine prefix install_gecko: false install_mono: false name: create_prefix prefix: $GAMEDIR - task: arch: win64 key: background name: set_regedit path: HKEY_CURRENT_USER\Control Panel\Colors\ prefix: $GAMEDIR type: REG_SZ value: 0 0 0 - task: args: /desktop=HP2COS,1024x780 $DISC/setup/Setup.exe description: Installing Harry Potter and the Chamber of Secrets... executable: $GAMEDIR/drive_c/windows/explorer.exe include_processes: explorer.exe name: wineexec - task: app: win10 name: winetricks prefix: $GAMEDIR - execute: command: cd "$GAMEDIR/drive_c/Program Files (x86)/EA Games"; hp2cos=$(ls |grep -i harry); echo $hp2cos; mv "$hp2cos" ../../HP2COS; - execute: command: cd "$GAMEDIR/drive_c/HP2COS/system"; sed -i -e "s/WindowedViewportX.*/WindowedViewportX=1280/g" -e "s/WindowedViewportY.*/WindowedViewportY=960/g" -e "s/FullscreenViewportX.*/FullscreenViewportX=1280/g" -e "s/FullscreenViewportY.*/FullscreenViewportY=960/g" -e "s/WindowedColorBits.*/WindowedColorBits=32/g" -e "s/FullscreenColorBits.*/FullscreenColorBits=32/g" -e "s/MusicVolume.*/MusicVolume=0.3/g" default.ini ; sed -i "s/ObjectDetail.*/ObjectDetail=ObjectDetailVeryHigh/g" DefUser.ini; cd ..; mkdir gamepad_profiles; - extract: dst: $GAMEDIR/drive_c/HP2COS/system file: dgv - copy: dst: $GAMEDIR/drive_c/HP2COS/system src: $GAMEDIR/drive_c/HP2COS/system/MS/x86/DDraw.dll - copy: dst: $GAMEDIR/drive_c/HP2COS/system src: $GAMEDIR/drive_c/HP2COS/system/MS/x86/D3DImm.dll - execute: command: cd "$GAMEDIR/drive_c/HP2COS/system"; mv dgVoodoo.conf dgVoodoo_original.conf; - write_config: data: DirectX: ForceVerticalSync: true Resolution: max_qhd_isf VRAM: 256 dgVoodooWatermark: false General: CaptureMouse: false FullScreenMode: false ScalingMode: stretched_ar file: $GAMEDIR/drive_c/HP2COS/system/dgVoodoo.conf - extract: dst: $GAMEDIR/drive_c/HP2COS/system file: patch - copy: dst: $GAMEDIR/drive_c/HP2COS/gamepad_profiles src: x360 - copy: dst: $GAMEDIR/drive_c/HP2COS/gamepad_profiles src: readme - task: arch: win64 key: ddraw name: set_regedit path: HKEY_CURRENT_USER\Software\Wine\DllOverrides\ prefix: $GAMEDIR type: REG_SZ value: native,builtin slug: harry-potter-and-the-chamber-cd-dgvoodoo2 steamid: null version: CD + dgvoodoo2 year: 2002
{ "game_slug": "harry-potter-and-the-chamber-of-secrets", "version": "CD + dgvoodoo2", "description": null, "notes": "You will find an Antimicrox profile for a x360 controller in the \"gamepad profiles\" folder", "name": "Harry Potter and the Chamber of Secrets", "year": 2002, "steamid": null, "gogslug": "", "humblestoreid": "", "runner": "wine", "slug": "harry-potter-and-the-chamber-cd-dgvoodoo2", "installer_slug": "harry-potter-and-the-chamber-cd-dgvoodoo2", "script": { "files": [ { "dgv": "https://github.com/legluondunet/mlls-tools/raw/master/dgVoodoo2/dgVoodoo2_61.zip" }, { "patch": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Harry%20Potter%20and%20the%20Chamber%20of%20Secrets/hp2cos_patch.7z" }, { "x360": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Harry%20Potter%20and%20the%20Chamber%20of%20Secrets/gamepad%20profiles/hp2cos_x360.gamecontroller.amgp" }, { "readme": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Harry%20Potter%20and%20the%20Chamber%20of%20Secrets/gamepad%20profiles/hp2cos_x360_gamepad_readme.html" } ], "game": { "args": "PrivetDr.unr -LOADGAME=0 -SAVESLOT=1", "exe": "drive_c/HP2COS/system/Game.exe", "prefix": "$GAMEDIR" }, "installer": [ { "insert-disc": { "requires": "setup/hgame.u" } }, { "task": { "arch": "win64", "description": "Creating Wine prefix", "install_gecko": false, "install_mono": false, "name": "create_prefix", "prefix": "$GAMEDIR" } }, { "task": { "arch": "win64", "key": "background", "name": "set_regedit", "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\", "prefix": "$GAMEDIR", "type": "REG_SZ", "value": "0 0 0" } }, { "task": { "args": "/desktop=HP2COS,1024x780 $DISC/setup/Setup.exe", "description": "Installing Harry Potter and the Chamber of Secrets...", "executable": "$GAMEDIR/drive_c/windows/explorer.exe", "include_processes": "explorer.exe", "name": "wineexec" } }, { "task": { "app": "win10", "name": "winetricks", "prefix": "$GAMEDIR" } }, { "execute": { "command": "cd \"$GAMEDIR/drive_c/Program Files (x86)/EA Games\"; hp2cos=$(ls |grep -i harry); echo $hp2cos; mv \"$hp2cos\" ../../HP2COS;" } }, { "execute": { "command": "cd \"$GAMEDIR/drive_c/HP2COS/system\"; sed -i -e \"s/WindowedViewportX.*/WindowedViewportX=1280/g\" -e \"s/WindowedViewportY.*/WindowedViewportY=960/g\" -e \"s/FullscreenViewportX.*/FullscreenViewportX=1280/g\" -e \"s/FullscreenViewportY.*/FullscreenViewportY=960/g\" -e \"s/WindowedColorBits.*/WindowedColorBits=32/g\" -e \"s/FullscreenColorBits.*/FullscreenColorBits=32/g\" -e \"s/MusicVolume.*/MusicVolume=0.3/g\" default.ini ; sed -i \"s/ObjectDetail.*/ObjectDetail=ObjectDetailVeryHigh/g\" DefUser.ini; cd ..; mkdir gamepad_profiles;" } }, { "extract": { "dst": "$GAMEDIR/drive_c/HP2COS/system", "file": "dgv" } }, { "copy": { "dst": "$GAMEDIR/drive_c/HP2COS/system", "src": "$GAMEDIR/drive_c/HP2COS/system/MS/x86/DDraw.dll" } }, { "copy": { "dst": "$GAMEDIR/drive_c/HP2COS/system", "src": "$GAMEDIR/drive_c/HP2COS/system/MS/x86/D3DImm.dll" } }, { "execute": { "command": "cd \"$GAMEDIR/drive_c/HP2COS/system\"; mv dgVoodoo.conf dgVoodoo_original.conf;" } }, { "write_config": { "data": { "DirectX": { "ForceVerticalSync": true, "Resolution": "max_qhd_isf", "VRAM": 256, "dgVoodooWatermark": false }, "General": { "CaptureMouse": false, "FullScreenMode": false, "ScalingMode": "stretched_ar" } }, "file": "$GAMEDIR/drive_c/HP2COS/system/dgVoodoo.conf" } }, { "extract": { "dst": "$GAMEDIR/drive_c/HP2COS/system", "file": "patch" } }, { "copy": { "dst": "$GAMEDIR/drive_c/HP2COS/gamepad_profiles", "src": "x360" } }, { "copy": { "dst": "$GAMEDIR/drive_c/HP2COS/gamepad_profiles", "src": "readme" } }, { "task": { "arch": "win64", "key": "ddraw", "name": "set_regedit", "path": "HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides\\", "prefix": "$GAMEDIR", "type": "REG_SZ", "value": "native,builtin" } } ] } }