https://github.com/spmn/iwmtool
Tool for manipulating mpdata files for CoD4
https://github.com/spmn/iwmtool
cod4 cod4x mpdata stats
Last synced: 9 months ago
JSON representation
Tool for manipulating mpdata files for CoD4
- Host: GitHub
- URL: https://github.com/spmn/iwmtool
- Owner: spmn
- License: gpl-3.0
- Created: 2020-09-30T16:15:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-11-12T17:16:18.000Z (over 3 years ago)
- Last Synced: 2023-10-20T23:13:10.393Z (over 2 years ago)
- Topics: cod4, cod4x, mpdata, stats
- Language: C++
- Homepage:
- Size: 35.2 KB
- Stars: 15
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# iwmtool
Tool for manipulating mpdata files for CoD4
### Quick info:
CoD4 stores multiplayer stats in an encrypted file. This tool is able to encrypt and decrypt the stats file, and is also able to edit stats.
### Supported operations:
* convert vanilla `iwm0` format to CoD4X `ice0` format and vice-versa (basically: encryption and decryption)
* simple stats manipulation
### Example:
* Decryption:
```console
$ iwmtool --mode=decrypt --input=mpdata --output=mpdata_decrypted --key=YOUR_CD_KEY
```
* Encryption:
```console
$ iwmtool --mode=encrypt --input=mpdata --output=mpdata_encrypted --key=YOUR_CD_KEY
```
* Edit stats: (set total kills to 123)
```console
$ iwmtool --mode=stats --input=mpdata --output=mpdata_edited --index=2303 --set=123
```
*Note:* Most stats indices can be found in string tables and game scripts extracted from `*_mp.ff` files.
*Note:* You can omit CD-key if you run Windows and CoD4 is properly installed on your PC or if you edit a decrypted mpdata file.