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
generate-project.bat - Open .sln projects that are generated in
build-sp,build-mp, andbuild-dedirespectively. - Copy COD4 Game files to
bin/(BUILD_TYPE)/*(Don't try to cherry-pick them, small files like localization.txt are needed) - Copy
deps/binklib/binkw32.dllas well ^^ - Copy all files in
deps/msslib/dlls/*^^ - Copy
deps/steamsdk/steam_api.dll^^ - 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_ipandnet_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
- Can we use AI in this project?
- Yes you can, but you're still responsible for whatever you commit. In general, you should have the AI be assisting you, and not carrying you. We have started using AI to help de-bug, and it's been extremely helpful.
- 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.
