add nbx format support; add gbk file support