Installer legend-of-kay-anniversary-gog
files:
- setup: N/A:Select setup_legend_of_kay_anniversary_x.x.x.x.exe
- instcab:
filename: python-installcab.zip
url: https://codeload.github.com/nastys/python-installcab/zip/0b22cab6b88c4c97b63c9405040563f431ec66b3
- dx: https://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe
- w7sp: https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X64.exe
game:
arch: win64
exe: $GAMEDIR/drive_c/GOG Games/Legend of Kay - Anniversary Edition/legendofkay.exe
prefix: $GAMEDIR
installer:
- input_menu:
description: 'Allow the window manager to control and decorate the game window
(disable if you use DXVK and the game hangs):'
id: DECOR
options:
- Y: 'Yes'
- N: 'No'
- task:
arch: win64
description: Creating Wine prefix...
name: create_prefix
prefix: $GAMEDIR
- extract:
description: Unpacking python-installcab...
dst: $GAMEDIR
file: instcab
- chmodx: $GAMEDIR/installcab.py
- chmodx: $GAMEDIR/install-mf.sh
- execute:
args: w7sp
description: Installing Media Foundation libraries...
env:
WINEPREFIX: $GAMEDIR
file: $GAMEDIR/install-mf.sh
- execute:
args: -F Jun2010_XAudio_x??.cab $dx -d /tmp
description: Installing DirectX Audio libraries...
file: cabextract
- move:
description: Backing up fake DirectX Audio libraries...
dst: $GAMEDIR/drive_c/windows/system32/xaudio2_7.dll.bak
src: $GAMEDIR/drive_c/windows/system32/xaudio2_7.dll
- move:
description: Backing up fake DirectX Audio libraries...
dst: $GAMEDIR/drive_c/windows/syswow64/xaudio2_7.dll.bak
src: $GAMEDIR/drive_c/windows/syswow64/xaudio2_7.dll
- execute:
args: -F xaudio2_7.dll /tmp/Jun2010_XAudio_x64.cab -d $GAMEDIR/drive_c/windows/system32
description: Installing DirectX Audio libraries...
file: cabextract
- execute:
args: -F xaudio2_7.dll /tmp/Jun2010_XAudio_x86.cab -d $GAMEDIR/drive_c/windows/syswow64
description: Installing DirectX Audio libraries...
file: cabextract
- task:
arch: win64
args: /SP- /VERYSILENT /SUPPRESSMSGBOXES /NOCANCEL /NORESTART /NOCLOSEAPPLICATIONS
/NORESTARTAPPLICATIONS /NOICONS
description: Installing Legend of Kay Anniversary...
executable: setup
name: wineexec
prefix: $GAMEDIR
- task:
arch: win64
description: Setting registry keys...
key: Decorated
name: set_regedit
path: HKEY_CURRENT_USER\Software\Wine\X11 Driver\
prefix: $GAMEDIR
value: $INPUT_DECOR
- task:
arch: win64
description: Setting registry keys...
key: Managed
name: set_regedit
path: HKEY_CURRENT_USER\Software\Wine\X11 Driver\
prefix: $GAMEDIR
value: $INPUT_DECOR
system:
env:
__GL_SHADER_DISK_CACHE: '1'
__GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
__GL_THREADED_OPTIMIZATIONS: '1'
mesa_glthread: 'true'
wine:
overrides:
mf.dll: n
mfplat.dll: n
mfreadwrite.dll: n
wmadmod.dll: n
wmvdcod.dll: n
xaudio2_7.dll: n
description: Windows version from GOG.com.
game_slug: legend-of-kay-anniversary
gogslug: legend_of_kay_anniversary
humblestoreid: ''
installer_slug: legend-of-kay-anniversary-gog
name: Legend of Kay Anniversary
notes: "- Requires cabextract and Python to install the Media Foundation libraries\
\ required for video playback\r\n- If you hear crackling, enable \"Reset PulseAudio\"\
\ (right-click on the game, select \"Configure\" \u2192 \"System options\")\r\n\
- Video playback may be sluggish and out of sync with the audio. Enabling DXVK fixes\
\ it (right-click on the game, select \"Configure\" \u2192 \"Runner options\", then\
\ check/tick \"Enable DXVK\"), but it may also make the game run slower and cause\
\ issues with certain video drivers"
runner: wine
script:
files:
- setup: N/A:Select setup_legend_of_kay_anniversary_x.x.x.x.exe
- instcab:
filename: python-installcab.zip
url: https://codeload.github.com/nastys/python-installcab/zip/0b22cab6b88c4c97b63c9405040563f431ec66b3
- dx: https://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe
- w7sp: https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X64.exe
game:
arch: win64
exe: $GAMEDIR/drive_c/GOG Games/Legend of Kay - Anniversary Edition/legendofkay.exe
prefix: $GAMEDIR
installer:
- input_menu:
description: 'Allow the window manager to control and decorate the game window
(disable if you use DXVK and the game hangs):'
id: DECOR
options:
- Y: 'Yes'
- N: 'No'
- task:
arch: win64
description: Creating Wine prefix...
name: create_prefix
prefix: $GAMEDIR
- extract:
description: Unpacking python-installcab...
dst: $GAMEDIR
file: instcab
- chmodx: $GAMEDIR/installcab.py
- chmodx: $GAMEDIR/install-mf.sh
- execute:
args: w7sp
description: Installing Media Foundation libraries...
env:
WINEPREFIX: $GAMEDIR
file: $GAMEDIR/install-mf.sh
- execute:
args: -F Jun2010_XAudio_x??.cab $dx -d /tmp
description: Installing DirectX Audio libraries...
file: cabextract
- move:
description: Backing up fake DirectX Audio libraries...
dst: $GAMEDIR/drive_c/windows/system32/xaudio2_7.dll.bak
src: $GAMEDIR/drive_c/windows/system32/xaudio2_7.dll
- move:
description: Backing up fake DirectX Audio libraries...
dst: $GAMEDIR/drive_c/windows/syswow64/xaudio2_7.dll.bak
src: $GAMEDIR/drive_c/windows/syswow64/xaudio2_7.dll
- execute:
args: -F xaudio2_7.dll /tmp/Jun2010_XAudio_x64.cab -d $GAMEDIR/drive_c/windows/system32
description: Installing DirectX Audio libraries...
file: cabextract
- execute:
args: -F xaudio2_7.dll /tmp/Jun2010_XAudio_x86.cab -d $GAMEDIR/drive_c/windows/syswow64
description: Installing DirectX Audio libraries...
file: cabextract
- task:
arch: win64
args: /SP- /VERYSILENT /SUPPRESSMSGBOXES /NOCANCEL /NORESTART /NOCLOSEAPPLICATIONS
/NORESTARTAPPLICATIONS /NOICONS
description: Installing Legend of Kay Anniversary...
executable: setup
name: wineexec
prefix: $GAMEDIR
- task:
arch: win64
description: Setting registry keys...
key: Decorated
name: set_regedit
path: HKEY_CURRENT_USER\Software\Wine\X11 Driver\
prefix: $GAMEDIR
value: $INPUT_DECOR
- task:
arch: win64
description: Setting registry keys...
key: Managed
name: set_regedit
path: HKEY_CURRENT_USER\Software\Wine\X11 Driver\
prefix: $GAMEDIR
value: $INPUT_DECOR
system:
env:
__GL_SHADER_DISK_CACHE: '1'
__GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
__GL_THREADED_OPTIMIZATIONS: '1'
mesa_glthread: 'true'
wine:
overrides:
mf.dll: n
mfplat.dll: n
mfreadwrite.dll: n
wmadmod.dll: n
wmvdcod.dll: n
xaudio2_7.dll: n
slug: legend-of-kay-anniversary-gog
steamid: 313810
version: GOG
year: 2015
{
"game_slug": "legend-of-kay-anniversary",
"version": "GOG",
"description": "Windows version from GOG.com.",
"notes": "- Requires cabextract and Python to install the Media Foundation libraries required for video playback\r\n- If you hear crackling, enable \"Reset PulseAudio\" (right-click on the game, select \"Configure\" \u2192 \"System options\")\r\n- Video playback may be sluggish and out of sync with the audio. Enabling DXVK fixes it (right-click on the game, select \"Configure\" \u2192 \"Runner options\", then check/tick \"Enable DXVK\"), but it may also make the game run slower and cause issues with certain video drivers",
"name": "Legend of Kay Anniversary",
"year": 2015,
"steamid": 313810,
"gogslug": "legend_of_kay_anniversary",
"humblestoreid": "",
"runner": "wine",
"slug": "legend-of-kay-anniversary-gog",
"installer_slug": "legend-of-kay-anniversary-gog",
"script": {
"files": [
{
"setup": "N/A:Select setup_legend_of_kay_anniversary_x.x.x.x.exe"
},
{
"instcab": {
"filename": "python-installcab.zip",
"url": "https://codeload.github.com/nastys/python-installcab/zip/0b22cab6b88c4c97b63c9405040563f431ec66b3"
}
},
{
"dx": "https://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe"
},
{
"w7sp": "https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X64.exe"
}
],
"game": {
"arch": "win64",
"exe": "$GAMEDIR/drive_c/GOG Games/Legend of Kay - Anniversary Edition/legendofkay.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"input_menu": {
"description": "Allow the window manager to control and decorate the game window (disable if you use DXVK and the game hangs):",
"id": "DECOR",
"options": [
{
"Y": "Yes"
},
{
"N": "No"
}
]
}
},
{
"task": {
"arch": "win64",
"description": "Creating Wine prefix...",
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"extract": {
"description": "Unpacking python-installcab...",
"dst": "$GAMEDIR",
"file": "instcab"
}
},
{
"chmodx": "$GAMEDIR/installcab.py"
},
{
"chmodx": "$GAMEDIR/install-mf.sh"
},
{
"execute": {
"args": "w7sp",
"description": "Installing Media Foundation libraries...",
"env": {
"WINEPREFIX": "$GAMEDIR"
},
"file": "$GAMEDIR/install-mf.sh"
}
},
{
"execute": {
"args": "-F Jun2010_XAudio_x??.cab $dx -d /tmp",
"description": "Installing DirectX Audio libraries...",
"file": "cabextract"
}
},
{
"move": {
"description": "Backing up fake DirectX Audio libraries...",
"dst": "$GAMEDIR/drive_c/windows/system32/xaudio2_7.dll.bak",
"src": "$GAMEDIR/drive_c/windows/system32/xaudio2_7.dll"
}
},
{
"move": {
"description": "Backing up fake DirectX Audio libraries...",
"dst": "$GAMEDIR/drive_c/windows/syswow64/xaudio2_7.dll.bak",
"src": "$GAMEDIR/drive_c/windows/syswow64/xaudio2_7.dll"
}
},
{
"execute": {
"args": "-F xaudio2_7.dll /tmp/Jun2010_XAudio_x64.cab -d $GAMEDIR/drive_c/windows/system32",
"description": "Installing DirectX Audio libraries...",
"file": "cabextract"
}
},
{
"execute": {
"args": "-F xaudio2_7.dll /tmp/Jun2010_XAudio_x86.cab -d $GAMEDIR/drive_c/windows/syswow64",
"description": "Installing DirectX Audio libraries...",
"file": "cabextract"
}
},
{
"task": {
"arch": "win64",
"args": "/SP- /VERYSILENT /SUPPRESSMSGBOXES /NOCANCEL /NORESTART /NOCLOSEAPPLICATIONS /NORESTARTAPPLICATIONS /NOICONS",
"description": "Installing Legend of Kay Anniversary...",
"executable": "setup",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"arch": "win64",
"description": "Setting registry keys...",
"key": "Decorated",
"name": "set_regedit",
"path": "HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver\\",
"prefix": "$GAMEDIR",
"value": "$INPUT_DECOR"
}
},
{
"task": {
"arch": "win64",
"description": "Setting registry keys...",
"key": "Managed",
"name": "set_regedit",
"path": "HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver\\",
"prefix": "$GAMEDIR",
"value": "$INPUT_DECOR"
}
}
],
"system": {
"env": {
"__GL_SHADER_DISK_CACHE": "1",
"__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR",
"__GL_THREADED_OPTIMIZATIONS": "1",
"mesa_glthread": "true"
}
},
"wine": {
"overrides": {
"mf.dll": "n",
"mfplat.dll": "n",
"mfreadwrite.dll": "n",
"wmadmod.dll": "n",
"wmvdcod.dll": "n",
"xaudio2_7.dll": "n"
}
}
}
}