added createHMD
backported PAK support