Skip to content

callofduty4x/CoD4x_Client_pub

Repository files navigation

CoD4x Client

A CoD4x Server-compatible client.

This client version isn't compatible with CoD4x servers that require client authentication, however, it is compatible with servers that have client authentication disabled (sv_noauth 1).

Modifications of this client may end up in the official release, so merge requests are very welcome.

Build:

Build prerequisites:

Make sure you've got the necessary binaries in the system $PATH environment variable. Click here to learn more.

Building on Windows:

cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=i686-w64-mingw32-gcc -DCMAKE_CXX_COMPILER=i686-w64-mingw32-g++ -G "MinGW Makefiles"
cmake --build build --parallel

Cross-compiling on Linux:

cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=i686-w64-mingw32-gcc -DCMAKE_CXX_COMPILER=i686-w64-mingw32-g++
cmake --build build --parallel

After a successful build, the build artifact is located in build/bin/cod4x_021.dll.

License:

The following conditions apply: https://support.activision.com/license

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.