A cli tool to export differences between two .win files from the same GameMaker-based game.
Note
This tool relies heavily on UTMT.
MSD will export in seperate files the following:
- list of added and removed
Codesin txt - list of added and removed
GameObjectsin txt - list of added and removed
Roomsin txt - list of added and removed
Soundsin txt - list of added and removed
Spritesin txt - list of added and removed
TexturePageItemsin txt - added
Codesin gml - added
GameObjectsin json - added
Spritesin png - modified diff
Codesin html - modified diff
GameObjectsin html - modified
Spritesin png - list of modified
Sprites originin txt
The diff for Codes and GameObjects is made using the diff-match-patch lib, and the html export relies on this same api.
- Install the latest .NET Core SDK.
- Run
dotnet tool install --global ModShardDiff.
To compare data_modified.win from data_vanilla.win and export the results in the folder PATH/TO/EXPORT, run msd -n data_modified.win -r data_vanilla.win -o PATH/TO/EXPORT.
This tool assumes that each element (Codes, GameObjects, Sprites, ...) is named with a unique name. If for any reasons, some elements share the same name (for instance two Codes using the same name), the tool will export only one (and maybe the one you are not interested in).