files:
- wrapper_vid: https://github.com/elishacloud/dxwrapper/releases/download/v1.4.7900.25/dxwrapper.zip
- wine_fix: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Harry%20Potter%20and%20the%20Chamber%20of%20Secrets/hp2wine.zip
game:
exe: drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber of Secrets/system/Game.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
description: Preparing wineprefix...
name: create_prefix
prefix: $GAMEDIR
- insert-disc:
requires: game.ico
- task:
description: Installing Harry Potter and the Chamber of Secrets ...
executable: $DISC/autorun.exe
name: wineexec
- execute:
command: cd "$GAMEDIR/drive_c/Program Files (x86)/EA Games"; if [ -d "Harry Potter
and the Chamber of Secrets" ]; then exit; else gamepath=$(find . -maxdepth 1
-type d -iname "*Harry*"); gamepath=$(basename "$gamepath"); ln -s "$gamepath"
"Harry Potter and the Chamber of Secrets"; fi;
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber
of Secrets/backup
src: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber
of Secrets/system/Game.exe
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber
of Secrets/backup
src: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber
of Secrets/system/D3DDrv.dll
- write_config:
data:
ALAudio.ALAudioSubsystem:
MusicVolume: 0.3
SoundVolume: 0.9
WinDrv.WindowsClient:
FullscreenColorBits: 32
FullscreenViewportX: 1024
FullscreenViewportY: 768
MinDesiredFrameRate: 60.0
SkinDetail: High
TextureDetail: High
WindowedColorBits: 32
WindowedViewportX: 1024
WindowedViewportY: 768
file: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber
of Secrets/system/default.ini
merge: true
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber
of Secrets/system
file: wine_fix
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber
of Secrets/system
file: wrapper_vid
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber
of Secrets/system
src: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber
of Secrets/system/Stub/ddraw.dll
- write_config:
data:
Compatibility:
Dd7to9: 1
d3d9:
FullscreenWindowMode: 1
LimitPerFrameFPS: 60
OverrideRefreshRate: 1
file: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber
of Secrets/system/dxwrapper.ini
merge: true
system:
env:
DXVK_FRAME_RATE: '60'
DXVK_HUD: null
wine:
overrides:
ddraw: native, builtin
description: Play "Harry Potter and the Chamber of Secrets" CD edition on Linux!
game_slug: harry-potter-and-the-chamber-of-secrets
gogslug: ''
humblestoreid: ''
installer_slug: harry-potter-and-the-chamber-cd-dxwrapper-hp2-win
name: Harry Potter and the Chamber of Secrets
notes: "- You will need CD only one time during install\r\n- Using \"DxWrapper\" and\
\ \"HP2 Wine fix\" for better graphic performance and stability\r\n- Resolution\
\ 1024x768, ratio 4:3, no mods, just the game in his vanilla flavour\r\n- This game\
\ does not natively support controller. I wrote Antimicrox profiles, you can download\
\ them here:\r\nhttps://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Harry%20Potter%20and%20the%20Chamber%20of%20Secrets/gamepad%20profiles"
runner: wine
script:
files:
- wrapper_vid: https://github.com/elishacloud/dxwrapper/releases/download/v1.4.7900.25/dxwrapper.zip
- wine_fix: https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Harry%20Potter%20and%20the%20Chamber%20of%20Secrets/hp2wine.zip
game:
exe: drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber of Secrets/system/Game.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
description: Preparing wineprefix...
name: create_prefix
prefix: $GAMEDIR
- insert-disc:
requires: game.ico
- task:
description: Installing Harry Potter and the Chamber of Secrets ...
executable: $DISC/autorun.exe
name: wineexec
- execute:
command: cd "$GAMEDIR/drive_c/Program Files (x86)/EA Games"; if [ -d "Harry
Potter and the Chamber of Secrets" ]; then exit; else gamepath=$(find . -maxdepth
1 -type d -iname "*Harry*"); gamepath=$(basename "$gamepath"); ln -s "$gamepath"
"Harry Potter and the Chamber of Secrets"; fi;
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber
of Secrets/backup
src: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber
of Secrets/system/Game.exe
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber
of Secrets/backup
src: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber
of Secrets/system/D3DDrv.dll
- write_config:
data:
ALAudio.ALAudioSubsystem:
MusicVolume: 0.3
SoundVolume: 0.9
WinDrv.WindowsClient:
FullscreenColorBits: 32
FullscreenViewportX: 1024
FullscreenViewportY: 768
MinDesiredFrameRate: 60.0
SkinDetail: High
TextureDetail: High
WindowedColorBits: 32
WindowedViewportX: 1024
WindowedViewportY: 768
file: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber
of Secrets/system/default.ini
merge: true
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber
of Secrets/system
file: wine_fix
- extract:
dst: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber
of Secrets/system
file: wrapper_vid
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber
of Secrets/system
src: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber
of Secrets/system/Stub/ddraw.dll
- write_config:
data:
Compatibility:
Dd7to9: 1
d3d9:
FullscreenWindowMode: 1
LimitPerFrameFPS: 60
OverrideRefreshRate: 1
file: $GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber
of Secrets/system/dxwrapper.ini
merge: true
system:
env:
DXVK_FRAME_RATE: '60'
DXVK_HUD: null
wine:
overrides:
ddraw: native, builtin
slug: harry-potter-and-the-chamber-cd-dxwrapper-hp2-win
steamid: null
version: CD + DxWrapper + HP2 Wine fix
year: 2002
{
"game_slug": "harry-potter-and-the-chamber-of-secrets",
"version": "CD + DxWrapper + HP2 Wine fix",
"description": "Play \"Harry Potter and the Chamber of Secrets\" CD edition on Linux!",
"notes": "- You will need CD only one time during install\r\n- Using \"DxWrapper\" and \"HP2 Wine fix\" for better graphic performance and stability\r\n- Resolution 1024x768, ratio 4:3, no mods, just the game in his vanilla flavour\r\n- This game does not natively support controller. I wrote Antimicrox profiles, you can download them here:\r\nhttps://github.com/legluondunet/MyLittleLutrisScripts/tree/master/Harry%20Potter%20and%20the%20Chamber%20of%20Secrets/gamepad%20profiles",
"name": "Harry Potter and the Chamber of Secrets",
"year": 2002,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "harry-potter-and-the-chamber-cd-dxwrapper-hp2-win",
"installer_slug": "harry-potter-and-the-chamber-cd-dxwrapper-hp2-win",
"script": {
"files": [
{
"wrapper_vid": "https://github.com/elishacloud/dxwrapper/releases/download/v1.4.7900.25/dxwrapper.zip"
},
{
"wine_fix": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/refs/heads/master/Harry%20Potter%20and%20the%20Chamber%20of%20Secrets/hp2wine.zip"
}
],
"game": {
"exe": "drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber of Secrets/system/Game.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"arch": "win64",
"description": "Preparing wineprefix...",
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"insert-disc": {
"requires": "game.ico"
}
},
{
"task": {
"description": "Installing Harry Potter and the Chamber of Secrets ...",
"executable": "$DISC/autorun.exe",
"name": "wineexec"
}
},
{
"execute": {
"command": "cd \"$GAMEDIR/drive_c/Program Files (x86)/EA Games\"; if [ -d \"Harry Potter and the Chamber of Secrets\" ]; then exit; else gamepath=$(find . -maxdepth 1 -type d -iname \"*Harry*\"); gamepath=$(basename \"$gamepath\"); ln -s \"$gamepath\" \"Harry Potter and the Chamber of Secrets\"; fi;"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber of Secrets/backup",
"src": "$GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber of Secrets/system/Game.exe"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber of Secrets/backup",
"src": "$GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber of Secrets/system/D3DDrv.dll"
}
},
{
"write_config": {
"data": {
"ALAudio.ALAudioSubsystem": {
"MusicVolume": 0.3,
"SoundVolume": 0.9
},
"WinDrv.WindowsClient": {
"FullscreenColorBits": 32,
"FullscreenViewportX": 1024,
"FullscreenViewportY": 768,
"MinDesiredFrameRate": 60.0,
"SkinDetail": "High",
"TextureDetail": "High",
"WindowedColorBits": 32,
"WindowedViewportX": 1024,
"WindowedViewportY": 768
}
},
"file": "$GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber of Secrets/system/default.ini",
"merge": true
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber of Secrets/system",
"file": "wine_fix"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber of Secrets/system",
"file": "wrapper_vid"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber of Secrets/system",
"src": "$GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber of Secrets/system/Stub/ddraw.dll"
}
},
{
"write_config": {
"data": {
"Compatibility": {
"Dd7to9": 1
},
"d3d9": {
"FullscreenWindowMode": 1,
"LimitPerFrameFPS": 60,
"OverrideRefreshRate": 1
}
},
"file": "$GAMEDIR/drive_c/Program Files (x86)/EA Games/Harry Potter and the Chamber of Secrets/system/dxwrapper.ini",
"merge": true
}
}
],
"system": {
"env": {
"DXVK_FRAME_RATE": "60",
"DXVK_HUD": null
}
},
"wine": {
"overrides": {
"ddraw": "native, builtin"
}
}
}
}