Support all text-based ctypes
Land #3626, @wchen-r7's storing of text loot as txt