A Blender (4.0+) plugin for importing/exporting XModels and XAnims, forked from here. Tested with Call of Duty® 2 only.
It is a continuation for the original Blender 2.7 addon by SE2Dev and CoDEmanX, made compatible with the newest Blender API versions.
Zip the folder containing this repo or download as .zip, then load/install the .zip in Blender > Edit > Preferences > Add-ons. After that, you should be able to export things via File > Export > CoD XModel/XAnim.