files:
- xlabs: https://updater.xlabs.dev/data/xlabs.exe
game:
arch: win64
exe: drive_c/Xlabs/xlabs.exe
name: Xlabs
prefix: $GAMEDIR
installer:
- task:
app: d3dcompiler_42 d3dcompiler_43 d3dcompiler_46 d3dcompiler_47
name: winetricks
prefix: $GAMEDIR
- task:
app: d3dx10 d3dx11_43 d3dx9_43 d3dx9
name: winetricks
prefix: $GAMEDIR
- task:
app: glut
name: winetricks
prefix: $GAMEDIR
- task:
app: galliumnine08
name: winetricks
prefix: $GAMEDIR
- task:
key: GrabFullscreen
name: set_regedit
path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
prefix: $GAMEDIR
value: Y
- task:
key: DisableHidraw
name: set_regedit
path: HKEY_LOCAL_MACHINE\Software\System\CurrentControlSet\Services\WineBus
prefix: $GAMEDIR
value: 1
- merge:
dst: $GAMEDIR/drive_c/Xlabs
src: xlabs
system:
env:
DXVK_STATE_CACHE: 1
DXVK_STATE_CACHE_PATH: $GAMEDIR
STAGING_SHARED_MEMORY: 0
__GL_SHADER_DISK_CACHE: 1
__GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
__GL_SHADER_DISK_CACHE_SKIP_CLEANUP: true
__GL_THREADED_OPTIMIZATIONS: 1
description: 'This installs the XLabs launcher, which is used to update and launch
Call of Duty: Modern Warfare II, Call of Duty: Ghosts and Call of Duty: Advanced
Warfare'
game_slug: call-of-duty-modern-warfare-2
gogslug: ''
humblestoreid: ''
installer_slug: call-of-duty-modern-warfare-2-xlabs
name: 'Call of Duty: Modern Warfare 2'
notes: "For separate launchers in Steam which directly launch the game, you can duplicate\
\ the installed Lutris game and modify a few launch arguments and environment variables.\
\ Below is a guide for each Call of Duty game the XLabs launcher supports. Pick\
\ which one is relevant to you.\r\n\r\nNote the internal names of each Call of Duty\
\ game:\r\n - Call of Duty: Modern Warfare II is called \"IW4x\"\r\n - Call\
\ of Duty: Ghosts is called \"IW6x\"\r\n - Call of Duty: Advanced Warfare is\
\ called \"S1x\"\r\n\r\n=======================================================================\r\
\nCall of Duty: Modern Warfare II \
\ IW4x\r\n=======================================================================\r\
\nThis currently doesn't work directly, you need to launch through XLabs launcher.\
\ This is due to how MW2 launches.\r\n\r\nAnyway, arguments are either `-multiplayer`\
\ or `-singleplayer` and the environment variable is `XLABS_MW2_INSTALL`\r\n\r\n\
=======================================================================\r\nCall\
\ of Duty: Ghosts \
\ IW6x\r\n=======================================================================\r\
\n1. After this installer has completed, right-click on the icon and click \"Duplicate\"\
\r\n2. Right-click on the newly duplicated icon and click \"Configure\"\r\n3. Update\
\ the following options. Note that you will need to change the username (for Steam\
\ Deck it's \"deck\"):\r\n Game info:\r\n Name: Call of Duty: Ghosts (Multiplayer)\r\
\n Game options:\r\n Executable: /home/deck/drive_c/users/deck/AppData/Local/xlabs/data/iw6x/iw6x.exe\r\
\n Arguments: -multiplayer (this can be either -multiplayer or -singleplayer)\r\
\n System options:\r\n Environment variables:\r\n Click on\
\ \"Add\". For the key, add in XLABS_GHOSTS_INSTALL. For the value, copy the directy\
\ of where you have installed Call of Duty: Ghosts\r\n Example:\r\
\n | Key | Value\r\n\
\ | XLABS_GHOSTS_INSTALL | /var/mnt/steamshare/Games/iw6x_full_game/\r\
\n\r\n=======================================================================\r\n\
Call of Duty: Advanced Warfare \
\ S1x\r\n=======================================================================\r\
\n1. After this installer has completed, right-click on the icon and click \"Duplicate\"\
\r\n2. Right-click on the newly duplicated icon and click \"Configure\"\r\n3. Update\
\ the following options. Note that you will need to change the username (for Steam\
\ Deck it's \"deck\"):\r\n Game info:\r\n Name: Call of Duty: Advanced\
\ Warfare (Multiplayer)\r\n Game options:\r\n Executable: /home/deck/drive_c/users/deck/AppData/Local/xlabs/data/s1x/s1x.exe\r\
\n Arguments: -multiplayer (this can be either -multiplayer, -singleplayer,\
\ -zombies or -survival)\r\n System options:\r\n Environment variables:\r\
\n Click on \"Add\". For the key, add in XLABS_AW_INSTALL. For the value,\
\ copy the directy of where you have installed Call of Duty: Ghosts\r\n \
\ Example:\r\n | Key \
\ | Value\r\n | XLABS_AW_INSTALL | /var/mnt/steamshare/Games/s1x_full_game/"
runner: wine
script:
files:
- xlabs: https://updater.xlabs.dev/data/xlabs.exe
game:
arch: win64
exe: drive_c/Xlabs/xlabs.exe
name: Xlabs
prefix: $GAMEDIR
installer:
- task:
app: d3dcompiler_42 d3dcompiler_43 d3dcompiler_46 d3dcompiler_47
name: winetricks
prefix: $GAMEDIR
- task:
app: d3dx10 d3dx11_43 d3dx9_43 d3dx9
name: winetricks
prefix: $GAMEDIR
- task:
app: glut
name: winetricks
prefix: $GAMEDIR
- task:
app: galliumnine08
name: winetricks
prefix: $GAMEDIR
- task:
key: GrabFullscreen
name: set_regedit
path: HKEY_CURRENT_USER\Software\Wine\X11 Driver
prefix: $GAMEDIR
value: Y
- task:
key: DisableHidraw
name: set_regedit
path: HKEY_LOCAL_MACHINE\Software\System\CurrentControlSet\Services\WineBus
prefix: $GAMEDIR
value: 1
- merge:
dst: $GAMEDIR/drive_c/Xlabs
src: xlabs
system:
env:
DXVK_STATE_CACHE: 1
DXVK_STATE_CACHE_PATH: $GAMEDIR
STAGING_SHARED_MEMORY: 0
__GL_SHADER_DISK_CACHE: 1
__GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
__GL_SHADER_DISK_CACHE_SKIP_CLEANUP: true
__GL_THREADED_OPTIMIZATIONS: 1
slug: call-of-duty-modern-warfare-2-xlabs
steamid: 10180
version: Xlabs
year: 2009
{
"game_slug": "call-of-duty-modern-warfare-2",
"version": "Xlabs",
"description": "This installs the XLabs launcher, which is used to update and launch Call of Duty: Modern Warfare II, Call of Duty: Ghosts and Call of Duty: Advanced Warfare",
"notes": "For separate launchers in Steam which directly launch the game, you can duplicate the installed Lutris game and modify a few launch arguments and environment variables. Below is a guide for each Call of Duty game the XLabs launcher supports. Pick which one is relevant to you.\r\n\r\nNote the internal names of each Call of Duty game:\r\n - Call of Duty: Modern Warfare II is called \"IW4x\"\r\n - Call of Duty: Ghosts is called \"IW6x\"\r\n - Call of Duty: Advanced Warfare is called \"S1x\"\r\n\r\n=======================================================================\r\nCall of Duty: Modern Warfare II IW4x\r\n=======================================================================\r\nThis currently doesn't work directly, you need to launch through XLabs launcher. This is due to how MW2 launches.\r\n\r\nAnyway, arguments are either `-multiplayer` or `-singleplayer` and the environment variable is `XLABS_MW2_INSTALL`\r\n\r\n=======================================================================\r\nCall of Duty: Ghosts IW6x\r\n=======================================================================\r\n1. After this installer has completed, right-click on the icon and click \"Duplicate\"\r\n2. Right-click on the newly duplicated icon and click \"Configure\"\r\n3. Update the following options. Note that you will need to change the username (for Steam Deck it's \"deck\"):\r\n Game info:\r\n Name: Call of Duty: Ghosts (Multiplayer)\r\n Game options:\r\n Executable: /home/deck/drive_c/users/deck/AppData/Local/xlabs/data/iw6x/iw6x.exe\r\n Arguments: -multiplayer (this can be either -multiplayer or -singleplayer)\r\n System options:\r\n Environment variables:\r\n Click on \"Add\". For the key, add in XLABS_GHOSTS_INSTALL. For the value, copy the directy of where you have installed Call of Duty: Ghosts\r\n Example:\r\n | Key | Value\r\n | XLABS_GHOSTS_INSTALL | /var/mnt/steamshare/Games/iw6x_full_game/\r\n\r\n=======================================================================\r\nCall of Duty: Advanced Warfare S1x\r\n=======================================================================\r\n1. After this installer has completed, right-click on the icon and click \"Duplicate\"\r\n2. Right-click on the newly duplicated icon and click \"Configure\"\r\n3. Update the following options. Note that you will need to change the username (for Steam Deck it's \"deck\"):\r\n Game info:\r\n Name: Call of Duty: Advanced Warfare (Multiplayer)\r\n Game options:\r\n Executable: /home/deck/drive_c/users/deck/AppData/Local/xlabs/data/s1x/s1x.exe\r\n Arguments: -multiplayer (this can be either -multiplayer, -singleplayer, -zombies or -survival)\r\n System options:\r\n Environment variables:\r\n Click on \"Add\". For the key, add in XLABS_AW_INSTALL. For the value, copy the directy of where you have installed Call of Duty: Ghosts\r\n Example:\r\n | Key | Value\r\n | XLABS_AW_INSTALL | /var/mnt/steamshare/Games/s1x_full_game/",
"name": "Call of Duty: Modern Warfare 2",
"year": 2009,
"steamid": 10180,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "call-of-duty-modern-warfare-2-xlabs",
"installer_slug": "call-of-duty-modern-warfare-2-xlabs",
"script": {
"files": [
{
"xlabs": "https://updater.xlabs.dev/data/xlabs.exe"
}
],
"game": {
"arch": "win64",
"exe": "drive_c/Xlabs/xlabs.exe",
"name": "Xlabs",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"app": "d3dcompiler_42 d3dcompiler_43 d3dcompiler_46 d3dcompiler_47",
"name": "winetricks",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"app": "d3dx10 d3dx11_43 d3dx9_43 d3dx9",
"name": "winetricks",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"app": "glut",
"name": "winetricks",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"app": "galliumnine08",
"name": "winetricks",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"key": "GrabFullscreen",
"name": "set_regedit",
"path": "HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver",
"prefix": "$GAMEDIR",
"value": "Y"
}
},
{
"task": {
"key": "DisableHidraw",
"name": "set_regedit",
"path": "HKEY_LOCAL_MACHINE\\Software\\System\\CurrentControlSet\\Services\\WineBus",
"prefix": "$GAMEDIR",
"value": 1
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Xlabs",
"src": "xlabs"
}
}
],
"system": {
"env": {
"DXVK_STATE_CACHE": 1,
"DXVK_STATE_CACHE_PATH": "$GAMEDIR",
"STAGING_SHARED_MEMORY": 0,
"__GL_SHADER_DISK_CACHE": 1,
"__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR",
"__GL_SHADER_DISK_CACHE_SKIP_CLEANUP": true,
"__GL_THREADED_OPTIMIZATIONS": 1
}
}
}
}