New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a "map diff" tool to visualizes changes between two version of a map #2323

Open
gfgtdf opened this Issue Dec 26, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@gfgtdf
Contributor

gfgtdf commented Dec 26, 2017

migrated from the wiki easycoding page, not my own idea.

Maintainers of maps often make small tweaks for balance purposes. For someone who doesn't know the map like the back of their hand it may be very difficult to spot exactly what changed. There isn't any really good way to do this right now -- using the 'diff' tool at command line doesn't give good results for .map files.

Such a tool would be helpful for someone who maintains a map pool containing maps made by others, also for someone who wants to browse a repository and examine balance changes on several maps, which could be instructive for someone who wants to make and balance their own maps.

There's any number of ways to actually do this, one might be to have a feature in the map editor that takes the name of another map and adds map labels to indicate what hexes changed. It could also be a command accessible in debug mode when playing the game, or it could be an additional command-line argument (--diff [map1] [map2] ?) for the game. (It could be a standalone application but that's probably going to end up with much more work for you.)

@CelticMinstrel

This comment has been minimized.

Member

CelticMinstrel commented Dec 26, 2017

Some text diff tools do better than plain command-line diff by the way... still, a visual diff tool would be much better. I think a side-by-side diff (with altered hexes hilited in some way on both maps) would be nicer than just adding map labels though; but of course that's also more work.

I'd say this should be available both from the command-line and from the map editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment