Files not load, when i'm using .irr files

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
petra999
Posts: 10
Joined: Sat May 31, 2008 5:54 am

Files not load, when i'm using .irr files

Post by petra999 »

Hello!
I'm start to play with irrlicht for some days, and i have some strange problem. When i tries to load to my little irrlicht project write in c++ some .irr files i have some troubles. When i tries to load any of .irr files i seen on my screen that the meshes and textures are can't be loaded. I tries with files from examples included with irredit, and i have the same problem. I can't load meshes and textures, but when i open this strange irr file in irredit, everything is allwrite. When i tries to load normal (by c++) meshes and textures, everything is allright. What to do with this problem?

Thanks very much for any help, and sorry for my english:D
doqkhanh
Posts: 158
Joined: Sat Mar 01, 2008 3:14 am
Location: Tokyo, Japan
Contact:

Re: Files not load, when i'm using .irr files

Post by doqkhanh »

Maybe, you are not set working directory yet..

You can open irr with notepad or vi and you will see your mesh or texture's path are wrong...
petra999 wrote:Hello!
I'm start to play with irrlicht for some days, and i have some strange problem. When i tries to load to my little irrlicht project write in c++ some .irr files i have some troubles. When i tries to load any of .irr files i seen on my screen that the meshes and textures are can't be loaded. I tries with files from examples included with irredit, and i have the same problem. I can't load meshes and textures, but when i open this strange irr file in irredit, everything is allwrite. When i tries to load normal (by c++) meshes and textures, everything is allright. What to do with this problem?

Thanks very much for any help, and sorry for my english:D
petra999
Posts: 10
Joined: Sat May 31, 2008 5:54 am

Post by petra999 »

Thanks! It's seems that irredit change directiores, and everything crashed. Now i know what to change, thanks a lot.
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

You just need to change irrEdit's working directory (in the options menu) to the directory your .exe is in then it will have the correct paths.
Image Image Image
Post Reply