Skip to content

Cokemonkey11/mpq-diff

Repository files navigation

Usage:

./gradlew run -Pfiles=War3.w3x,War3.mpq

Note: w3x, w3m, and mpq files are all supported.

Note: MpqDiff works by iterating over files pairwise in a pair of directories that contain all extracted MPQ contents. Because of this, MpqDiff will produce spurious diffs if, for example, one of the archives is missing a file.

Example output -

$ ./gradlew run -Pfiles=CrashingMap.w3x,WorkingMap.w3x

> Task :run
Begin with arguments [CrashingMap.w3x, WorkingMap.w3x].
Opening editor for CrashingMap.w3x.
Opening editor for WorkingMap.w3x.
Extracting files from editor 0.
Extracting files from editor 1.
  Files differ: war3map.w3a,    war3map.w3a             (D1C22B3CEAFD3C1859B3112A582E9E3C - BF382E1CF9D7D70EF010CAC9081814FA).
  Files differ: war3map.j,      war3map.j               (53A452418DAF0047D61DDF1F14CAE7E8 - E852256D18E156457F6BC0C0BE17042A).

About

Diff for MoPaQ (.mpq, .w3x, .w3m, ...) files

Topics

Resources

License

Stars

Watchers

Forks

Languages