Why do all the filenames end with .pbm? Did you attempt to change them back to .bmp or what?(Which you don't need to do providing you converted them to bmp first properly)
Cave Story will freeze if it can't find the files just because the filenames have been changed.
EDIT:Welp the current...