User Tools

Site Tools


games:bsd:wine:cod_mw2_2009_iw4x_steamcmd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
games:bsd:wine:cod_mw2_2009_iw4x_steamcmd [2026/06/17 01:02] – [Server Start] Sean Rhonegames:bsd:wine:cod_mw2_2009_iw4x_steamcmd [2026/06/18 02:01] (current) Sean Rhone
Line 9: Line 9:
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[linux:distros:opensuse_tumbleweed_gnome|openSUSE Tumbleweed (GNOME)]] +  * [[bsd:freebsd_15.1_xfce|FreeBSD 15.1 (Xfce)]] 
-  * [[linux:notes:wine|Wine]] (new WoW64) +  * [[bsd:notes:wine|Wine]] (old WoW64)
-  * [[programs:linux:steamcmd|SteamCMD]]+
  
 ====== Dependencies ====== ====== Dependencies ======
  
-****+  su -
  
-  sudo zypper install 'git-core'+  pkg install 'git'
  
-====== Modern Warfare 2 ======+====== Initial Prefix ======
  
-===== Restore Files =====+  mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' WINEARCH='win32' wine wineboot --init && WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' wine winecfg /v 'win10' && WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'winemenubuilder.exe' /t 'REG_SZ' /d '' /f
  
-  mkdir -p ~/'Steam/steamapps/common&& gio open ~/'Steam/steamapps'+  WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\Drivers' /v 'Graphics' /t 'REG_SZ' /'x11' /f
  
-  ls -d ~/'Steam/steamapps/appmanifest_10180.acf~/'Steam/steamapps/appmanifest_10190.acf~/'Steam/steamapps/common/Call of Duty Modern Warfare 2'+  WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\Direct3D' /v 'renderer' /t 'REG_SZ' /d 'gdi' /
 + 
 +====== SteamCMD ======
  
 ===== Install ===== ===== Install =====
  
-  ~/'Steam/steamcmd/steamcmd.sh' +'login' 'Espionage724' +'@sSteamCmdForcePlatformType' 'windows' +'app_update' '10180' +'quit'+  mkdir -p ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam'
  
-  ~/'Steam/steamcmd/steamcmd.sh+'login' 'Espionage724+'@sSteamCmdForcePlatformType' 'windows+'app_update' '10190' +'quit'+  wget -O '/tmp/steamcmd-win32.zip-q --show-progress 'https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip&& bsdunzip -o -q -d ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam' '/tmp/steamcmd-win32.zip' 'steamcmd.exe&& rm -f '/tmp/steamcmd-win32.zip'
  
-===== Validate =====+===== Login =====
  
-****+  WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' wine ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamcmd.exe' +login 'Espionage724' +quit
  
-  ~/'Steam/steamcmd/steamcmd.sh' +'login' 'Espionage724' +'@sSteamCmdForcePlatformType' 'windows' +'app_update' '10180' 'validate' +'quit'+<code>-overrideminos</code>
  
-====== Initial Prefix ======+====== Modern Warfare 2 ======
  
-  mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' WINEARCH='wow64' '/usr/local/bin/wine64.bin' wineboot --init && WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' '/usr/local/bin/wine64.bin' winecfg /v 'vista' && WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' '/usr/local/bin/wine64.bin' REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'winemenubuilder.exe' /t 'REG_SZ' /d '' /f+===== Restore Files =====
  
-  WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' '/usr/local/bin/wine64.bin' REG ADD 'HKEY_CURRENT_USER\Software\Wine\Drivers' /v 'Graphics' /t 'REG_SZ' /d 'x11' /f+  mkdir -p ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps&& gio open ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps'
  
-  WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' '/usr/local/bin/wine64.binREG ADD 'HKEY_CURRENT_USER\Software\Wine\Direct3D' /'renderer' /'REG_SZ' /'gdi' /f+  ls -d ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps/appmanifest_10180.acf' ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps/appmanifest_10190.acf' ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps/common/Call of Duty Modern Warfare 2' 
 + 
 +===== Install/Update ===== 
 + 
 +  WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' wine ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamcmd.exe+login 'Espionage724+app_update '10180' +quit 
 + 
 +  WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)wine ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamcmd.exe+login 'Espionage724' +app_update '10190' +quit 
 + 
 +===== Validate ===== 
 + 
 +  WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)wine ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamcmd.exe' +login 'Espionage724' +app_update '10180' validate +quit 
 + 
 +  WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' wine ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamcmd.exe' +login 'Espionage724' +app_update '10190' validate +quit
  
 ====== IW4x ====== ====== IW4x ======
Line 54: Line 67:
   * https://github.com/iw4x/iw4x-rawfiles/releases   * https://github.com/iw4x/iw4x-rawfiles/releases
  
-  wget -O ~/'Downloads/IW4x-iw4x-latest.dll' 'https://github.com/iw4x/iw4x-client/releases/latest/download/iw4x.dll' && mv -fv ~/'Downloads/IW4x-iw4x-latest.dll' ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/iw4x.dll'+  wget -O ~/'Downloads/IW4x-iw4x-latest.dll' -q --show-progress 'https://github.com/iw4x/iw4x-client/releases/latest/download/iw4x.dll' && mv -fv ~/'Downloads/IW4x-iw4x-latest.dll' ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps/common/Call of Duty Modern Warfare 2/iw4x.dll'
  
-  wget -O ~/'Downloads/IW4x-release-latest.zip' 'https://github.com/iw4x/iw4x-rawfiles/releases/latest/download/release.zip' && unzip -o ~/'Downloads/IW4x-release-latest.zip' -d ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2' && rm -fv ~/'Downloads/IW4x-release-latest.zip'+  wget -O ~/'Downloads/IW4x-release-latest.zip' -q --show-progress 'https://github.com/iw4x/iw4x-rawfiles/releases/latest/download/release.zip' && bsdunzip -o --d ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps/common/Call of Duty Modern Warfare 2' ~/'Downloads/IW4x-release-latest.zip' && rm -~/'Downloads/IW4x-release-latest.zip'
  
 ====== Settings ====== ====== Settings ======
Line 65: Line 78:
 ===== Client ===== ===== Client =====
  
-  mkdir -p ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/players' && ee ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/players/iw4x_custom.cfg'+  mkdir -p ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps/common/Call of Duty Modern Warfare 2/players' && ee ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps/common/Call of Duty Modern Warfare 2/players/iw4x_custom.cfg'
  
 <code> <code>
Line 109: Line 122:
   * https://github.com/iw4x/iw4-server-configs   * https://github.com/iw4x/iw4-server-configs
  
-  mkdir -p ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/players' && ee ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/players/iw4x_localhost.cfg'+  mkdir -p ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps/common/Call of Duty Modern Warfare 2/players' && ee ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps/common/Call of Duty Modern Warfare 2/players/iw4x_localhost.cfg'
  
 <code> <code>
Line 163: Line 176:
 **** ****
  
-  mkdir -p ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/userraw' && cp -Rf ~/'Projects/IW4-Bot-Warfare/src/scriptdata' ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/userraw/scriptdata'+  mkdir -p ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps/common/Call of Duty Modern Warfare 2/userraw' && cp -Rf ~/'Projects/IW4-Bot-Warfare/src/scriptdata' ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps/common/Call of Duty Modern Warfare 2/userraw/scriptdata'
  
 ===== IWD ===== ===== IWD =====
Line 169: Line 182:
 **** ****
  
-  7z a -m'0=Copy' -t'zip' ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/userraw/z_svr_bots.iwd' ~/'Projects/IW4-Bot-Warfare/src/maps' ~/'Projects/IW4-Bot-Warfare/src/scripts' && ls ~/'Steam/steamapps/common/Call of Duty Modern Warfare 2/userraw/z_svr_bots.iwd'+  7z a -m'0=Copy' -t'zip' ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps/common/Call of Duty Modern Warfare 2/userraw/z_svr_bots.iwd' ~/'Projects/IW4-Bot-Warfare/src/maps' ~/'Projects/IW4-Bot-Warfare/src/scripts' && ls ~/'.wine/Call of Duty Modern Warfare 2 (2009)/drive_c/Program Files/Steam/steamapps/common/Call of Duty Modern Warfare 2/userraw/z_svr_bots.iwd'
  
 ====== Libraries ====== ====== Libraries ======
Line 182: Line 195:
   * 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/syswow64'+  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 ====
Line 188: Line 201:
 **** ****
  
-  WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' '/usr/local/bin/wine64.bin' REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'd3d9' /t 'REG_SZ' /d 'native' /f+  WINEPREFIX=~/'.wine/Call of Duty Modern Warfare 2 (2009)' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'd3d9' /t 'REG_SZ' /d 'native' /f
  
 ==== dxvk.conf ==== ==== dxvk.conf ====
Line 194: Line 207:
   * 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 ======
Line 391: Line 378:
 **** ****
  
-  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 ===
Line 397: Line 384:
 **** ****
  
-  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 ====
Line 403: Line 390:
 **** ****
  
-  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 =====
Line 409: Line 396:
   * ''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 =====
Line 415: Line 402:
 **** ****
  
-  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 =====
Line 421: Line 408:
 **** ****
  
-  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'
  
/usr/local/www/wiki/data/attic/games/bsd/wine/cod_mw2_2009_iw4x_steamcmd.1781672551.txt.gz · Last modified: by Sean Rhone