Linux compatibility with .x files?

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
hansmbakker
Posts: 41
Joined: Mon Feb 16, 2004 7:37 pm

Linux compatibility with .x files?

Post by hansmbakker »

I succeeded in coompiling an Irrlicht game of mine under linux and the models (.3ds) etc work, but the engine can't load .x files (It says that in the console window: cant load model map.x. BTW I only tried .x files created under windows, they work with irrlicht under windows, but It can't be that. I have version 0.6). I don't think the file permissions are wrong, but can there be something else what's wrong?
warui
Posts: 232
Joined: Wed Apr 14, 2004 12:06 pm
Location: Lodz, Poland
Contact:

Post by warui »

Irrlicht supports only text X meshes, so maybe the problem is in different handling of an end of line in Windows and in Linux.
Tomasz Nowakowski
Openoko - www.openoko.pl
vermeer
Posts: 2017
Joined: Wed Jan 21, 2004 3:22 pm
Contact:

Post by vermeer »

yup...probably...grab some text editor that allows windows--> linux type of end of line formatting...


I had several in the past,(there are loads, and free) for windows, but surely there's some also in linux world...
Finally making games again!
http://www.konekogames.com
Armen138
Posts: 298
Joined: Mon Feb 23, 2004 3:38 am

Post by Armen138 »

i loaded an .x file in linux and it worked ok, but it was created on linux,
so warul and vermeer are probably right
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

Hm, I tried the .x file which comes with the sdk, but it works on both operating systems for me. But my parsers (the xml parser too) seem to have always problems with the line formatting.. :)
vermeer
Posts: 2017
Joined: Wed Jan 21, 2004 3:22 pm
Contact:

Post by vermeer »

indeed, I'm suspecting this since some time...but I was unsure...
Finally making games again!
http://www.konekogames.com
Post Reply