I'm converting over some of my old code to work with the newest version of jME and I have been struggling with some model loading code I wrote previously:
JmeBinaryReader jbr = new JmeBinaryReader();
node = new Node("Model");
It used to work but now when it gets executed it an IOException is thrown:
java.io.IOException: Binary Header doesn't match. Maybe wrong file?
My assumption is that the changeover from JmeBinaryReader to BinaryImporter caused this problem. After switching my code to be:
BinaryImporter importer = new BinaryImporter();
node = (Node)importer.load(model);
Instead, it works fine again, but it makes me wonder what the purpose of JmeBinaryReader is anymore and if it shouldn't be deprecated or removed if it no longer works the same way as it used to?