Convert pack.txt