User Tools

Site Tools


games:windows: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:windows:cod_mw2_2009_iw4x_steamcmd [2026/07/02 14:48] – [Client] VS update in client update script; TC 335 has priority since this rebuilds Sean Rhonegames:windows:cod_mw2_2009_iw4x_steamcmd [2026/09/24 23:14] (current) – [localhost] Sean Rhone
Line 66: Line 66:
   * https://github.com/iw4x/iw4x-client#premake-arguments   * https://github.com/iw4x/iw4x-client#premake-arguments
  
-  RMDIR /S /Q "%UserProfile%\Projects\IW4x-Client\src\build" & CD "%UserProfile%\Projects\IW4x-Client\src" && "%UserProfile%\Projects\IW4x-Client\src\tools\premake5.exe" --copy-to="%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2" --disable-binary-check "vs2026"+  RMDIR /S /Q "%UserProfile%\Projects\IW4x-Client\src\build" & CD "%UserProfile%\Projects\IW4x-Client\src" && "%UserProfile%\Projects\IW4x-Client\src\tools\premake5.exe" --cc="msc-v145" --copy-to="%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2" --disable-binary-check "vs2026"
  
   "%ProgramFiles%\Microsoft Visual Studio\18\Insiders\MSBuild\Current\Bin\amd64\MSBuild.exe" "%UserProfile%\Projects\IW4x-Client\src\build\iw4x.vcxproj" -target:"Rebuild" -property:"Configuration=Release" -maxCpuCount -nodeReuse:"False" -terminalLogger:"off" && DIR /B "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x.dll"   "%ProgramFiles%\Microsoft Visual Studio\18\Insiders\MSBuild\Current\Bin\amd64\MSBuild.exe" "%UserProfile%\Projects\IW4x-Client\src\build\iw4x.vcxproj" -target:"Rebuild" -property:"Configuration=Release" -maxCpuCount -nodeReuse:"False" -terminalLogger:"off" && DIR /B "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x.dll"
Line 93: Line 93:
   * Expects [[windows:10#zip|7-Zip]]   * Expects [[windows:10#zip|7-Zip]]
  
-  MKDIR "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x"+=== 0-2 ===
  
-  DEL /Q "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x\iw4x_00.iwd" && "%ProgramFiles%\7-Zip\7z.exe" a -m"0=Copy" -t"zip" "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x\iw4x_00.iwd" "%UserProfile%\Projects\IW4x-Rawfiles\src\iw4x\iw4x_00\*"+  MKDIR "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x" & DEL /Q "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x\iw4x_00.iwd" && "%ProgramFiles%\7-Zip\7z.exe" a -m"0=Copy" -t"zip" "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x\iw4x_00.iwd" "%UserProfile%\Projects\IW4x-Rawfiles\src\iw4x\iw4x_00\*"
  
   DEL /Q "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x\iw4x_01.iwd" && "%ProgramFiles%\7-Zip\7z.exe" a -m"0=Copy" -t"zip" "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x\iw4x_01.iwd" "%UserProfile%\Projects\IW4x-Rawfiles\src\iw4x\iw4x_01\*"   DEL /Q "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x\iw4x_01.iwd" && "%ProgramFiles%\7-Zip\7z.exe" a -m"0=Copy" -t"zip" "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x\iw4x_01.iwd" "%UserProfile%\Projects\IW4x-Rawfiles\src\iw4x\iw4x_01\*"
  
   DEL /Q "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x\iw4x_02.iwd" && "%ProgramFiles%\7-Zip\7z.exe" a -m"0=Copy" -t"zip" "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x\iw4x_02.iwd" "%UserProfile%\Projects\IW4x-Rawfiles\src\iw4x\iw4x_02\*"   DEL /Q "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x\iw4x_02.iwd" && "%ProgramFiles%\7-Zip\7z.exe" a -m"0=Copy" -t"zip" "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x\iw4x_02.iwd" "%UserProfile%\Projects\IW4x-Rawfiles\src\iw4x\iw4x_02\*"
 +
 +=== 3-5 ===
  
   DEL /Q "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x\iw4x_03.iwd" && "%ProgramFiles%\7-Zip\7z.exe" a -m"0=Copy" -t"zip" "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x\iw4x_03.iwd" "%UserProfile%\Projects\IW4x-Rawfiles\src\iw4x\iw4x_03\*"   DEL /Q "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x\iw4x_03.iwd" && "%ProgramFiles%\7-Zip\7z.exe" a -m"0=Copy" -t"zip" "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x\iw4x_03.iwd" "%UserProfile%\Projects\IW4x-Rawfiles\src\iw4x\iw4x_03\*"
Line 112: Line 114:
  
 ==== Localization ==== ==== Localization ====
 +
 +  * https://github.com/iw4x/iw4x-rawfiles#building
  
 === Linker === === Linker ===
Line 117: Line 121:
   * https://github.com/Laupetin/OpenAssetTools   * https://github.com/Laupetin/OpenAssetTools
   * https://openassettools.dev/guide/what-is-oat.html#tools   * https://openassettools.dev/guide/what-is-oat.html#tools
-  * https://github.com/iw4x/iw4x-rawfiles#building+ 
 +== Release == 
 + 
 +  * https://github.com/Laupetin/OpenAssetTools/releases 
 +  * Last tested version: ''v0.30.0''
  
   MKDIR "%UserProfile%\Projects\IW4x-Rawfiles\ext" & "%SystemRoot%\System32\curl.exe" --output "%Temp%\oat-windows.zip" --location "https://github.com/Laupetin/OpenAssetTools/releases/latest/download/oat-windows.zip" --progress-bar && "%SystemRoot%\System32\tar.exe" -xvf "%Temp%\oat-windows.zip" -C "%UserProfile%\Projects\IW4x-Rawfiles\ext" "Linker.exe" && DEL /Q "%Temp%\oat-windows.zip" & "%UserProfile%\Projects\IW4x-Rawfiles\ext\Linker.exe" --version   MKDIR "%UserProfile%\Projects\IW4x-Rawfiles\ext" & "%SystemRoot%\System32\curl.exe" --output "%Temp%\oat-windows.zip" --location "https://github.com/Laupetin/OpenAssetTools/releases/latest/download/oat-windows.zip" --progress-bar && "%SystemRoot%\System32\tar.exe" -xvf "%Temp%\oat-windows.zip" -C "%UserProfile%\Projects\IW4x-Rawfiles\ext" "Linker.exe" && DEL /Q "%Temp%\oat-windows.zip" & "%UserProfile%\Projects\IW4x-Rawfiles\ext\Linker.exe" --version
Line 163: Line 171:
  
 ====== Libraries ====== ====== Libraries ======
- 
-===== DXVK ===== 
- 
-  * https://github.com/doitsujin/dxvk 
- 
-==== 2.6.2 ==== 
- 
-  * Last tested: ''dxvk-2.6.2.tar.gz'' (([[https://github.com/doitsujin/dxvk/wiki/Driver-support/1db7de2a0f0b67b3e1b834dd211dc2faa4dcab80#dxvk-27-and-later|2.7+]] requires Vulkan 1.3)) 
- 
-  * ''d3d9.dll'' 
- 
-  DEL /Q "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x.dxvk-cache" "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x_d3d9.log" & "%SystemRoot%\System32\curl.exe" --output "%Temp%\dxvk.tar.gz" --location "https://github.com/doitsujin/dxvk/releases/download/v2.6.2/dxvk-2.6.2.tar.gz" --progress-bar && "%SystemRoot%\System32\tar.exe" -xzf "%Temp%\dxvk.tar.gz" --strip-components="2" -C "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2" "dxvk-*/x32/d3d9.dll" && DEL /Q "%Temp%\dxvk.tar.gz" & DIR /B "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\d3d9.dll" 
- 
-==== Environment ==== 
- 
-  "%SystemRoot%\System32\setx.exe" "DXVK_LOG_LEVEL" "none" 
- 
-  "%SystemRoot%\System32\setx.exe" "DXVK_STATE_CACHE" "disable" 
- 
-==== dxvk.conf ==== 
- 
-  * https://github.com/doitsujin/dxvk/blob/9d6f54a1ade20d1d27dd421024717a636f3d8c68/dxvk.conf 
- 
-  "%SystemRoot%\System32\notepad.exe" "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\dxvk.conf" 
- 
-<code> 
-#dxvk.hud = "devinfo,fps,memory,gpuload,frametimes" 
-#dxvk.hud = "full" 
- 
-dxvk.allowFse = "True" 
-d3d9.maxFrameLatency = "1" 
-d3d9.maxFrameRate = "-1" 
-dxvk.latencySleep = "False" 
-dxvk.disableNvLowLatency2 = "True" 
-d3d9.hideNvidiaGpu = "False" 
-d3d9.hideNvkGpu = "False" 
-d3d9.hideAmdGpu = "False" 
-d3d9.hideIntelGpu = "False" 
-d3d9.presentInterval = "0" 
-dxvk.tearFree = "False" 
-dxvk.tilerMode = "False" 
-d3d9.samplerAnisotropy = "16" 
-d3d9.samplerLodBias = "-2.0" 
-d3d9.invariantPosition = "False" 
-dxvk.useRawSsbo = "True" 
-dxvk.enableGraphicsPipelineLibrary = "False" 
-dxvk.trackPipelineLifetime = "False" 
-dxvk.enableMemoryDefrag = "False" 
-d3d9.dpiAware = "False" 
-d3d9.lenientClear = "True" 
-d3d9.floatEmulation = "False" 
-d3d9.sincosEmulation = "False" 
-d3d9.forceSwapchainMSAA = "0" 
-d3d9.deviceLocalConstantBuffers = "True" 
-d3d9.enumerateByDisplays = "False" 
-d3d9.seamlessCubes = "True" 
- 
-# End</code> 
  
 ===== DSOAL ===== ===== DSOAL =====
Line 234: Line 184:
  
   "%SystemRoot%\System32\curl.exe" --output "%UserProfile%\Downloads\DSOAL.zip" --location "https://github.com/kcat/dsoal/releases/download/latest-master/DSOAL.zip" --progress-bar && "%SystemRoot%\System32\tar.exe" -xf "%UserProfile%\Downloads\DSOAL.zip" -C "%UserProfile%\Downloads" && MOVE /Y "%UserProfile%\Downloads\DSOAL_r"*".zip" "%UserProfile%\Downloads\DSOAL-master.zip" && "%SystemRoot%\System32\tar.exe" -xf "%UserProfile%\Downloads\DSOAL-master.zip" --strip-components="2" -C "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2" "DSOAL/Win32/dsoal-aldrv.dll" "DSOAL/Win32/dsound.dll" && DIR /B "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\dsoal-aldrv.dll" "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\dsound.dll" & DEL /Q "%UserProfile%\Downloads\DSOAL-master.zip" "%UserProfile%\Downloads\DSOAL.zip"   "%SystemRoot%\System32\curl.exe" --output "%UserProfile%\Downloads\DSOAL.zip" --location "https://github.com/kcat/dsoal/releases/download/latest-master/DSOAL.zip" --progress-bar && "%SystemRoot%\System32\tar.exe" -xf "%UserProfile%\Downloads\DSOAL.zip" -C "%UserProfile%\Downloads" && MOVE /Y "%UserProfile%\Downloads\DSOAL_r"*".zip" "%UserProfile%\Downloads\DSOAL-master.zip" && "%SystemRoot%\System32\tar.exe" -xf "%UserProfile%\Downloads\DSOAL-master.zip" --strip-components="2" -C "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2" "DSOAL/Win32/dsoal-aldrv.dll" "DSOAL/Win32/dsound.dll" && DIR /B "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\dsoal-aldrv.dll" "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\dsound.dll" & DEL /Q "%UserProfile%\Downloads\DSOAL-master.zip" "%UserProfile%\Downloads\DSOAL.zip"
 +
 +==== Environment ====
 +
 +  "%SystemRoot%\System32\setx.exe" "DSOAL_LOGLEVEL" "0"
  
 ==== alsoft.ini ==== ==== alsoft.ini ====
Line 295: Line 249:
  
 RMDIR /S /Q "%UserProfile%\Projects\IW4x-Client\src\build" RMDIR /S /Q "%UserProfile%\Projects\IW4x-Client\src\build"
-"%UserProfile%\Projects\IW4x-Client\src\tools\premake5.exe" --copy-to="%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2" --disable-binary-check "vs2026"+"%UserProfile%\Projects\IW4x-Client\src\tools\premake5.exe" --cc="msc-v145" --copy-to="%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2" --disable-binary-check "vs2026"
  
 CD "%Temp%" CD "%Temp%"
Line 423: Line 377:
 bind MOUSE3 "+melee" bind MOUSE3 "+melee"
 bind MWHEELDOWN "weapnext" bind MWHEELDOWN "weapnext"
 +bind MOUSE4 "+forward"
  
 // Bot Warfare // Bot Warfare
Line 431: Line 386:
  
 // End</code> // End</code>
 +
 +===== localhost =====
 +
 +  ECHO ["127.0.0.1"]> "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\players\favourites.json"
  
 ===== Server ===== ===== Server =====
Line 467: Line 426:
 set bots_main_firstIsHost "1" set bots_main_firstIsHost "1"
 set bots_main_waitForHostTime "0" set bots_main_waitForHostTime "0"
-set bots_manage_fill "17"+//set bots_manage_fill "17" 
 +set bots_manage_fill "11"
 set bots_main_menu "0" set bots_main_menu "0"
 set bots_main_chat "0" set bots_main_chat "0"
/usr/local/www/wiki/data/attic/games/windows/cod_mw2_2009_iw4x_steamcmd.1783018110.txt.gz · Last modified: by Sean Rhone