I had to change IsXPK() function implementation as XpkExamineTags() returns XPKERR_OK also for non-xpk files (it now just checks for 'XPKF' in the file header). It's fixed in the current archive though.