Files
Aurora.3/tools/mapmerge2/convert.py
Lohikar 1d335dd9e9 Add mapmerge 2 (#4645)
Adds TG's mapmerge2, a new TGM-compatible merger that handles things like dictionary expansion much better than the old tool, as well as supporting a git merge hook for map files.

This PR does not remove the old merger as this one is more annoying to setup.
2018-06-01 23:54:51 +03:00

9 lines
236 B
Python

#!/usr/bin/env python3
import frontend
import dmm
if __name__ == '__main__':
settings = frontend.read_settings()
for fname in frontend.process(settings, "convert"):
dmm.DMM.from_file(fname).to_file(fname, settings.tgm)