User Tools

Site Tools


games:windows:cod_mw2_2009_iw4x_steamcmd

This is an old revision of the document!


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"
"%ProgramFiles%\Steam\steamcmd.exe" +login "Espionage724" +app_update "10180" +quit
"%ProgramFiles%\Steam\steamcmd.exe" +login "Espionage724" +app_update "10190" +quit
"%ProgramFiles%\Steam\steamcmd.exe" +login "Espionage724" +app_update "10180" validate +quit
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"
"%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x.exe" +set "g_antilag 0"

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"

Update

"%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\iw4x-client\src" reset --hard "origin/main"
"%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\iw4x-client\src" pull origin "main" --rebase
"%ProgramFiles%\Git\bin\git.exe" -C "%UserProfile%\Projects\iw4x-client\src" submodule update --init --recursive --rebase

Build

RMDIR /S /Q "%UserProfile%\Projects\iw4x-client\src\build" & CD "%UserProfile%\Projects\iw4x-client\src" && "%UserProfile%\Projects\iw4x-client\src\tools\premake5.exe" "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"
"%UserProfile%\Projects\iw4x-client\src\build\bin\Win32\Release\iw4x.dll"

Copy

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"

iw4x-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"
MKDIR "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x"
"%ProgramFiles%\7-Zip\7z.exe" a -m"0=Copy" "%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" "%ProgramFiles%\Steam\steamapps\common\Call of Duty Modern Warfare 2\iw4x\iw4x_01.iwd" "%UserProfile%\Projects\iw4x-rawfiles\src\iw4x\iw4x_01\*"
/srv/www/wiki/data/attic/games/windows/cod_mw2_2009_iw4x_steamcmd.1778658653.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