| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:linux:wine:cod_mw2_2009_iw4x_steamcmd [2026/05/09 18:39] – [DXVK] Sean Rhone | games:linux:wine:cod_mw2_2009_iw4x_steamcmd [2026/05/10 05:49] (current) – [dxvk.conf] Sean Rhone |
|---|
| * [[programs:linux:steamcmd]] | ====== Information ====== |
| * https://store.steampowered.com/app/10180/Call_of_Duty_Modern_Warfare_2_2009/ | |
| * https://steamdb.info/app/10180/info/ | * Call of Duty: Modern Warfare 2 (2009) |
| * https://docs.iw4x.io/get-started/manual-install/linux-guide/ | * Steam ((https://store.steampowered.com/app/10180/Call_of_Duty_Modern_Warfare_2_2009/)) |
| * ''vista'' min, DXVK, in-game settings | * IW4x ((https://iw4x.io/)) |
| * :!: ''DISPLAY='' and ''Graphics = wayland'' cause ''~'' console key to not work | |
| | ===== Prerequisites ===== |
| | |
| | * [[linux:distros:opensuse_tumbleweed_xfce|openSUSE Tumbleweed (Xfce)]] |
| | * [[linux:notes:wine|Wine]] (old WoW64) |
| | * [[programs:linux:steamcmd|SteamCMD]] |
| |
| ====== SteamCMD ====== | ====== SteamCMD ====== |
| | |
| | * https://steamdb.info/app/10180/info/ |
| | |
| | ===== Restore ===== |
| | |
| | mkdir -p ~/'Steam/steamapps/common' && gio open ~/'Steam/steamapps' |
| | |
| | ls ~/'Steam/steamapps/appmanifest_10180.acf' ~/'Steam/steamapps/appmanifest_10190.acf' ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/iw4sp.exe' ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/iw4mp.exe' |
| | |
| | ===== Install/Update ===== |
| |
| ~/'Steam/steamcmd/steamcmd.sh' +'login' 'Espionage724' +'@sSteamCmdForcePlatformType' 'windows' +'app_update' '10180' +'quit' | ~/'Steam/steamcmd/steamcmd.sh' +'login' 'Espionage724' +'@sSteamCmdForcePlatformType' 'windows' +'app_update' '10180' +'quit' |
| |
| ~/'Steam/steamcmd/steamcmd.sh' +'login' 'Espionage724' +'@sSteamCmdForcePlatformType' 'windows' +'app_update' '10190' +'quit' | ~/'Steam/steamcmd/steamcmd.sh' +'login' 'Espionage724' +'@sSteamCmdForcePlatformType' 'windows' +'app_update' '10190' +'quit' |
| | |
| | ===== Verify Files ===== |
| | |
| | **** |
| |
| ~/'Steam/steamcmd/steamcmd.sh' +'login' 'Espionage724' +'@sSteamCmdForcePlatformType' 'windows' +'app_update' '10180' 'validate' +'quit' | ~/'Steam/steamcmd/steamcmd.sh' +'login' 'Espionage724' +'@sSteamCmdForcePlatformType' 'windows' +'app_update' '10180' 'validate' +'quit' |
| |
| ====== IW4x ====== | ====== IW4x ====== |
| | |
| | * https://docs.iw4x.io/get-started/manual-install/linux-guide/#2-using-wine-prefix |
| |
| * https://github.com/iw4x/iw4x-client/releases | * https://github.com/iw4x/iw4x-client/releases |
| **** | **** |
| |
| cd ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2' && WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' wine ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/iw4x.exe' | cd ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2' && WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' wine ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/iw4x.exe' +set 'com_maxfps 0' +set 'sv_lanOnly 1' +set 'g_antilag 0' |
| |
| ====== Bots ====== | ====== Bots ====== |
| |
| * https://github.com/ineedbots/iw4_bot_warfare/releases | * https://github.com/ineedbots/iw4_bot_warfare/releases |
| * Last tested: ''iw4bw230.zip'' | * Last tested: ''iw4bw230.zip'' (May 15, 2024) |
| |
| unzip -o ~/'Downloads/iw4bw'*'.zip' -d '/tmp/iw4bw' && mkdir -p ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/userraw' && mv -f '/tmp/iw4bw/Move files to root of MW2 folder/mods/mp_bots/'* ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/userraw' && rm -Rf '/tmp/iw4bw' | unzip -o ~/'Downloads/iw4bw'*'.zip' -d '/tmp/iw4bw' && mkdir -p ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/userraw' && mv -f '/tmp/iw4bw/Move files to root of MW2 folder/mods/mp_bots/'* ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/userraw' && rm -Rf '/tmp/iw4bw' |
| * :?: https://github.com/ineedbots/iw4_bot_warfare/issues/45#issuecomment-1938616252 | * :?: https://github.com/ineedbots/iw4_bot_warfare/issues/45#issuecomment-1938616252 |
| |
| nano ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/players/iw4x_config.cfg' | mkdir -p ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/players' && nano ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/players/iw4x_config.cfg' |
| |
| <code> | <code> |
| // Bot Warfare | // Bot Warfare |
| | seta bots_main_menu "0" |
| seta com_maxfps "0" | |
| seta bots_main_chat "0" | seta bots_main_chat "0" |
| seta bots_manage_fill "10" | seta bots_manage_fill "10" |
| seta bots_skill "4" | seta bots_skill "4" |
| |
| // BW End</code> | // BW End</code> |
| |
| |
| * https://github.com/doitsujin/dxvk/actions ((need to be signed into GitHub, and select the latest ''master'' artifacts package)) | * https://github.com/doitsujin/dxvk/actions ((need to be signed into GitHub, and select the latest ''master'' artifacts package)) |
| * Last tested: ''dxvk-master-2097f566e49882a13d362a06fa5b61366a7dbc52.zip'' | * Last tested: ''dxvk-master-6e9b5047218f6a9e720730140cb97c9abd8ed697.zip'' |
| |
| unzip -j -o ~/'Downloads/dxvk-master-'*'.zip' 'x32/d3d9.dll' -d ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/windows/system32' | unzip -j -o ~/'Downloads/dxvk-master-'*'.zip' 'x32/d3d9.dll' -d ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/windows/system32' |
| d3d9.enumerateByDisplays = "False" | d3d9.enumerateByDisplays = "False" |
| d3d9.samplerLodBias = "-2.0" | d3d9.samplerLodBias = "-2.0" |
| | d3d9.maxFrameRate = "85" |
| |
| # Intel | # Intel |
| d3d9.invariantPosition = "False" | d3d9.invariantPosition = "False" |
| d3d9.maxFrameLatency = "1" | d3d9.maxFrameLatency = "1" |
| d3d9.useD32forD24 = "True" | |
| |
| # HUD | # HUD |
| |
| # End</code> | # End</code> |
| |
| ====== Etc ====== | |
| |
| * :?: Not sure if beneficial | |
| |
| WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\Direct3D' /v 'renderer' /t 'REG_SZ' /d 'vulkan' /f | |
| |