When I try to run any of the examples that load data files they fail to load, due to unreadable headers or unrecognized file format.
Example03 for example runs fine since it does not load any models/textures.
zip@tartarus:~/Desktop/irrlicht-0.10.0/examples/01.HelloWorld$ ./example
Irrlicht Engine version 0.10.0
Linux
Creating X window...
OpenGL Renderer.
OpenGL driver version is 1.2 or better.
Multittexturing active.
Not a PNG file: wrong header
: #DefaultFont
Could not load texture: #DefaultFont
Error: Could not load built-in Font.
MD2 Loader: Wrong file header: ../../media/sydney.md2
Could not load mesh, file format seems to be unsupported: ../../media/sydney.md2
What system architecture are you using? Irrlicht does not support big endian systems right now, it could be a problem related to that topic, or related.
What system architecture are you using? Irrlicht does not support big endian systems right now, it could be a problem related to that topic, or some compiler/linker problem. Did you get any warnings?
Nexus: It isn't, but it wouldn't matter since the code to load MD2s is built into Irrlicht.
I have already checked permissions and that the file is indeed where it should be("Unsupported file format", not "File not found").
I'm running a PPC which is big endian so... short of buying a PC, what can I do?
*hovers over NeoEngine download link*
Yes, most file loaders (image and mesh) need byte swap functions to be built in. I have a first rip off patch from IrrlichtNX, but I never tried to apply it yet. If someone wants to try I could send it on request. Be aware of much work todo, though.