mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-22 16:12:19 +00:00
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.
9 lines
236 B
Python
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)
|