An open source fully-buildable reimplementation of Call of Duty 4's Multi-Player .exe
Aimed towards mod developers and COD4 enthusiasts.
Learn about the Development of KisakCOD here: https://lwss.github.io/Duty-Of-Kisak/
- Windows OS
- Visual Studio 2022
- CMake >= 3.16
- DirectX SDK 2010
- Steam with a copy of Call of Duty 4
- Install the above requirements and Clone repo
- Open a terminal and run
scripts/mksln.bat
orscripts/mksln_dedi.bat
for the dedicated server - Open .sln projects that are generated in
build/
andbuild-dedi/
respectively ^^ - Copy COD4 Game files to
bin/*
(Don't try to cherry-pick them, small files like localization.txt are needed) - Copy
deps/binklib/binkw32.dll
to/bin
- Copy all files in
deps/msslib/dlls/*
to/bin
- Copy
deps/steamsdk/steam_api.dll
to/bin
- Run the game via Visual Studio play button or just the .exe
Keep in Mind: This is a ~20 year old game with some known exploits. We will try to fix these as we become aware of them.
However, there is a non-zero chance of some type of binary exploitation when playing online. Use a sandbox (Sandboxie?) for peace of mind.
(Use the issues section)
- Can't Connect to Dedicated Server :
- Check
net_ip
andnet_port
, the server will increment the port if the preferred one isn't available but the client won't sweep upwards.
- Check
- DLL Error upon launch :
- You didn't copy over the necessary runtime DLL's
- All Original COD4 Developers (for creating one of the best games of all time)
- https://github.com/PJayB/jk3src (Jedi Academy fork with .sln)
- https://github.com/voron00/CoD2rev_Server - Useful yacc code for the gsc scripting here
- https://github.com/shiversoftdev/BO3Enhanced - Viewed as reference code for some of the Steam API Auth
- RAD Game Tools for their Bink and Miles Sound System libraries.
- ODE Physics COD4 uses a modified version of this physics engine.