| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:bsd:wine:cod_mw2_2009_iw4x_steamcmd [2026/06/18 01:52] – Sean Rhone | games:bsd:wine:cod_mw2_2009_iw4x_steamcmd [2026/06/18 02:01] (current) – Sean Rhone |
|---|
| * Last tested: ''dxvk-master-9aa4e3da8d026b767de3c530e3b6bd0cdd9b0a76.zip'' | * Last tested: ''dxvk-master-9aa4e3da8d026b767de3c530e3b6bd0cdd9b0a76.zip'' |
| |
| unzip -j -o ~/'Downloads/dxvk-master-'*'.zip' 'x32/d3d9.dll' -d ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/windows/system32' | bsdunzip -j -o ~/'Downloads/dxvk-master-'*'.zip' 'x32/d3d9.dll' -d ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/windows/system32' |
| |
| ==== Dll Override ==== | ==== Dll Override ==== |
| * https://github.com/doitsujin/dxvk/blob/master/dxvk.conf | * https://github.com/doitsujin/dxvk/blob/master/dxvk.conf |
| |
| ee ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/dxvk.conf' | ee ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps/common/Call of Duty Modern Warfare 2/dxvk.conf' |
| | |
| <code> | |
| # General | |
| d3d9.dpiAware = "False" | |
| d3d9.enumerateByDisplays = "False" | |
| | |
| # Intel | |
| d3d9.hideIntelGpu = "False" | |
| d3d9.floatEmulation = "False" | |
| dxvk.enableGraphicsPipelineLibrary = "False" | |
| dxvk.enableMemoryDefrag = "False" | |
| dxvk.lowerSinCos = "False" | |
| | |
| # Tweaks | |
| d3d9.presentInterval = "0" | |
| d3d9.maxFrameLatency = "1" | |
| dxgi.maxFrameLatency = "1" | |
| dxgi.syncInterval = "0" | |
| dxvk.tearFree = "False" | |
| dxvk.latencySleep = "False" | |
| | |
| # HUD | |
| #dxvk.hud = "devinfo,fps,memory,gpuload,frametimes" | |
| #dxvk.hud = "full" | |
| | |
| # End</code> | |
| |
| ====== Scripts ====== | ====== Scripts ====== |
| **** | **** |
| |
| WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' wine ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/iw4x.exe' +exec 'iw4x_custom.cfg' +set 'r_fullscreen 1' +set 'g_antilag 0' | WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' wine ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps/common/Call of Duty Modern Warfare 2/iw4x.exe' +exec 'iw4x_custom.cfg' +set 'r_fullscreen 1' +set 'g_antilag 0' |
| |
| === Window === | === Window === |
| **** | **** |
| |
| WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' wine ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/iw4x.exe' +exec 'iw4x_custom.cfg' +set 'r_fullscreen 0' +set 'g_antilag 0' | WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' wine ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps/common/Call of Duty Modern Warfare 2/iw4x.exe' +exec 'iw4x_custom.cfg' +set 'r_fullscreen 0' +set 'g_antilag 0' |
| |
| ==== Server ==== | ==== Server ==== |
| **** | **** |
| |
| WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' wine ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/iw4x.exe' -dedicated -disable-notifies -disable-mongoose -disable-rate-limit-check +exec 'iw4x_localhost.cfg' +map_rotate | WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' wine ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps/common/Call of Duty Modern Warfare 2/iw4x.exe' -dedicated -disable-notifies -disable-mongoose -disable-rate-limit-check +exec 'iw4x_localhost.cfg' +map_rotate |
| |
| ===== Save Restore ===== | ===== Save Restore ===== |
| * ''players/iw4x.stat'' | * ''players/iw4x.stat'' |
| |
| mkdir -p ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/players' && gio open ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/players' | mkdir -p ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps/common/Call of Duty Modern Warfare 2/players' && gio open ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps/common/Call of Duty Modern Warfare 2/players' |
| |
| ===== Main Config ===== | ===== Main Config ===== |
| **** | **** |
| |
| ee ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/players/iw4x_config.cfg' | ee ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps/common/Call of Duty Modern Warfare 2/iw4x_config.cfg' |
| |
| ===== Root Folder ===== | ===== Root Folder ===== |
| **** | **** |
| |
| gio open ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2' | gio open ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps/common/Call of Duty Modern Warfare 2' |
| |