add default resource files to img
optimize format generation
Merge branch 'master' of https://github.com/Bramamine/mcc