| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:windows:cod_mw2_2009_iw4x_steamcmd [2026/07/29 09:25] – Sean Rhone | games:windows:cod_mw2_2009_iw4x_steamcmd [2026/08/10 20:04] (current) – Sean Rhone |
|---|
| * 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" |
| |
| 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%" |
| bind MOUSE3 "+melee" | bind MOUSE3 "+melee" |
| bind MWHEELDOWN "weapnext" | bind MWHEELDOWN "weapnext" |
| | bind MOUSE4 "+forward" |
| |
| // Bot Warfare | // Bot Warfare |
| |
| // 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 ===== |
| 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" |