/CoD4-DM1

Reverse CoD4 & CoD4X 16+ demo files (.DM_1), including player's snapshots, entities, clients and APIs

Primary LanguageC++GNU General Public License v3.0GPL-3.0

CoD4 DM1

Checks CodeFactor CodeCov License

Reverse of CoD4 & CoD4X .DM_1 demo files with features such as parsing snapshot informations, frames, entities, clients and server messages. This project comes with a CLI and a library.

Features

  • Protocol CoD4 & CoD4X 16+
  • Parsing of gamestate, snapshot, frames, entities, clients, configs and server messages
  • CoD4 & Q3 huffman code
  • Demo reader API

Building

  1. CMake and vcpkg.
  2. Visual Studio

Build Command:

mkdir build && cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=.vcpkg/windows.cmake
cmake --build .

Package

This package is available for use via vcpkg-registry.

Contributors

Note: If you would like to contribute to this repository, feel free to send a pull request, and I will review your code. Also feel free to post about any problems that may arise in the issues section of the repository.