Copy of https://bitbucket.org/wikier/mw2md