add triplet format support
Merge branch 'master' of https://github.com/hspuppy/mess