Added setLegacyPack() function for use in Tiggit