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/05/13 05:56] Sean Rhonegames:windows:cod_mw2_2009_iw4x_steamcmd [2026/05/14 18:53] (current) Sean Rhone
Line 2: Line 2:
   * [[games;linux;wine;cod_mw2_2009_iw4x_steamcmd|Linux notes]]   * [[games;linux;wine;cod_mw2_2009_iw4x_steamcmd|Linux notes]]
   * [[servers;windows;games;trinitycore_3.3.5_localhost]] (MSVC)   * [[servers;windows;games;trinitycore_3.3.5_localhost]] (MSVC)
 +  * :!: 2026/05/14: WIP (needs more Rawfiles stuff noted but works)
 +
 +====== SteamCMD ======
 +
 +===== Restore =====
 +
 +****
  
   MKDIR "%ProgramFiles%\Steam\steamapps\common" & "%SystemRoot%\explorer.exe" "%ProgramFiles%\Steam\steamapps"   MKDIR "%ProgramFiles%\Steam\steamapps\common" & "%SystemRoot%\explorer.exe" "%ProgramFiles%\Steam\steamapps"
  
   DIR /B "%ProgramFiles%\Steam\steamapps\appmanifest_10180.acf" "%ProgramFiles%\Steam\steamapps\appmanifest_10190.acf" & DIR /AD /B "%ProgramFiles%\Steam\steamapps\common" | "%SystemRoot%\System32\find.exe" "Call of Duty Modern Warfare 2"   DIR /B "%ProgramFiles%\Steam\steamapps\appmanifest_10180.acf" "%ProgramFiles%\Steam\steamapps\appmanifest_10190.acf" & DIR /AD /B "%ProgramFiles%\Steam\steamapps\common" | "%SystemRoot%\System32\find.exe" "Call of Duty Modern Warfare 2"
 +
 +===== Install/Update =====
  
   "%ProgramFiles%\Steam\steamcmd.exe" +login "Espionage724" +app_update "10180" +quit   "%ProgramFiles%\Steam\steamcmd.exe" +login "Espionage724" +app_update "10180" +quit
Line 12: Line 21:
  
   "%ProgramFiles%\Steam\steamcmd.exe" +login "Espionage724" +app_update "10180" validate +quit   "%ProgramFiles%\Steam\steamcmd.exe" +login "Espionage724" +app_update "10180" validate +quit
 +
 +===== TODO =====
  
   MKDIR "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\players"   MKDIR "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\players"
  
   "%SystemRoot%\System32\notepad.exe" "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\players\iw4x_config.cfg"   "%SystemRoot%\System32\notepad.exe" "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\players\iw4x_config.cfg"
 +
 +<code>
 +seta r_useD3D9Ex "0"
 +seta g_log "NUL"</code>
  
   "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x.exe" +set "g_antilag 0"   "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x.exe" +set "g_antilag 0"
  
-====== iw4x-client ======+====== IW4x ======
  
-****+===== Client =====
  
-  "%ProgramFiles%\Git\bin\git.exe" clone --branch "main" --depth "1" --recurse-submodules "https://github.com/iw4x/iw4x-client.git" "%UserProfile%\Projects\iw4x-client\src"+  https://github.com/iw4x/iw4x-client
  
-===== Update =====+==== Download Source ====
  
-  "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\iw4x-client\src" reset --hard "origin/main"+  * https://github.com/iw4x/iw4x-client/commits/main/
  
-  "%ProgramFiles%\Git\bin\git.exe" -"%UserProfile%\Projects\iw4x-client\src" pull origin "main" --rebase+  "%ProgramFiles%\Git\bin\git.exe" clone --branch "main" --depth "1" --recurse-submodules "https://github.com/iw4x/iw4x-client.git" "%UserProfile%\Projects\IW4x-Client\src"
  
-  "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\iw4x-client\src" submodule update --init --recursive --rebase+=== Update ===
  
-===== Build =====+  "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\IW4x-Client\src" reset --hard "origin/main"
  
-  RMDIR /S /Q "%UserProfile%\Projects\iw4x-client\src\build& CD "%UserProfile%\Projects\iw4x-client\src" && "%UserProfile%\Projects\iw4x-client\src\tools\premake5.exe" --disable-binary-check "vs2022"+  "%ProgramFiles%\Git\bin\git.exe-C "%UserProfile%\Projects\IW4x-Client\src" pull origin "main" --rebase
  
-  "%ProgramFiles%\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSBuild.exe" "%UserProfile%\Projects\iw4x-client\src\build\iw4x.vcxproj" -target:"Rebuild" -property:"Configuration=Release" -maxCpuCount -nodeReuse:"False" -terminalLogger:"off"+  "%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\IW4x-Client\src" submodule update --init --recursive --rebase
  
-  "%UserProfile%\Projects\iw4x-client\src\build\bin\Win32\Release\iw4x.dll"+==== Build ==== 
  
-===== Copy =====+  * https://github.com/iw4x/iw4x-client#premake-arguments 
 +  * [[servers;windows;games;trinitycore_3.3.5_localhost#visual_studio_2022|VS 2022 notes]] 
 + 
 +  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 "vs2022" 
 + 
 +  "%ProgramFiles%\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSBuild.exe" "%UserProfile%\Projects\IW4x-Client\src\build\iw4x.vcxproj" -target:"Rebuild" -property:"Configuration=Release" -maxCpuCount -nodeReuse:"False" -terminalLogger:"off" 
 + 
 +==== Check ====
  
 **** ****
  
-  COPY /Y "%UserProfile%\Projects\iw4x-client\src\build\bin\Win32\Release\iw4x.dll" "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x.dll"+  DIR /"%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x.dll"
  
-====== iw4x-rawfiles======+===== Rawfiles =====
  
-  "%ProgramFiles%\Git\bin\git.exe" clone --branch "main" --depth "1" --recurse-submodules "https://github.com/iw4x/iw4x-rawfiles.git" "%UserProfile%\Projects\iw4x-rawfiles\src"+  * https://github.com/iw4x/iw4x-rawfiles 
 + 
 +==== Download Source ==== 
 + 
 +  * https://github.com/iw4x/iw4x-rawfiles/commits/main/ 
 + 
 +  "%ProgramFiles%\Git\bin\git.exe" clone --branch "main" --depth "1" --recurse-submodules "https://github.com/iw4x/iw4x-rawfiles.git" "%UserProfile%\Projects\IW4x-Rawfiles\src" 
 + 
 +==== IWDs ==== 
 + 
 +  * https://github.com/iw4x/iw4x-rawfiles#iw4x-rawfiles 
 +  * Expects [[windows:10#zip|7-Zip]]
  
   MKDIR "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x"   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\*"+  "%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\*"+  "%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\*"+  "%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_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\*"+  "%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_04.iwd" && "%ProgramFiles%\7-Zip\7z.exe" a -m"0=Copy" -t"zip" "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x\iw4x_04.iwd" "%UserProfile%\Projects\iw4x-rawfiles\src\iw4x\iw4x_04\*"+  "%ProgramFiles%\7-Zip\7z.exe" a -m"0=Copy" -t"zip" "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x\iw4x_04.iwd" "%UserProfile%\Projects\IW4x-Rawfiles\src\iw4x\iw4x_04\*"
  
-  DEL /Q "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x\iw4x_05.iwd" && "%ProgramFiles%\7-Zip\7z.exe" a -m"0=Copy" -t"zip" "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x\iw4x_05.iwd" "%UserProfile%\Projects\iw4x-rawfiles\src\iw4x\iw4x_05\*"+  "%ProgramFiles%\7-Zip\7z.exe" a -m"0=Copy" -t"zip" "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x\iw4x_05.iwd" "%UserProfile%\Projects\IW4x-Rawfiles\src\iw4x\iw4x_05\*"
  
-  "Linker.exe" --base-folder "%UserProfile%\Projects\iw4x-rawfiles\src" "iw4x_localized_english"+==== English ==== 
 + 
 +  "Linker.exe" --base-folder "%UserProfile%\Projects\IW4x-Rawfiles\src" "iw4x_localized_english"
  
   C:\Program Files\Steam\steamapps\common\Call of Duty Modern Warfare 2\zone\patch\iw4x_localized_english.ff   C:\Program Files\Steam\steamapps\common\Call of Duty Modern Warfare 2\zone\patch\iw4x_localized_english.ff
 +
 +====== Compat Settings ======
 +
 +  "%SystemRoot%\System32\reg.exe" ADD "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x.exe" /t "REG_SZ" /d "~ DISABLEDXMAXIMIZEDWINDOWEDMODE HIGHDPIAWARE DISABLEDWM DISABLETHEMES NoDTToDITMouseBatch" /f
 +
 +  "%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\iw4x.exe" /v "UseLargePages" /t "REG_DWORD" /d "1" /f
 +
 +====== Firewall ======
 +
 +===== Block =====
 +
 +****
 +
 +  "%SystemRoot%\System32\netsh.exe" advfirewall firewall add rule name="Call of Duty Modern Warfare 2 (IW4x)" dir="in" action="block" profile="any" program="%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x.exe" & "%SystemRoot%\System32\netsh.exe" advfirewall firewall add rule name="Call of Duty Modern Warfare 2 (IW4x)" dir="out" action="block" profile="any" program="%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x.exe"
 +
 +===== Delete Rules =====
 +
 +****
 +
 +  "%SystemRoot%\System32\netsh.exe" advfirewall firewall delete rule name="Call of Duty Modern Warfare 2 (IW4x)"
  
/srv/www/wiki/data/attic/games/windows/cod_mw2_2009_iw4x_steamcmd.1778666211.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki