than i must put the irredit.exe in scene and media. And than i must put the program in scene and media but that don't work...roelor wrote:make it so
irredit -> irrscene
irredit - > media (models and such)
and then copy your program directory
program -> irrscene
program -> media (models and such)
do not loading .iir files
You know, you don't have to go far like set up your own directory structure and all that stuff. That's what you get when you try to do it your way, only to find out the program doesn't want to go your way.
And so, you're screwed.
Now, let's un-screw it, bring it back to where everything works like the celestial objects. Shall we?
Here it is, listen close, pay attention.
1) Don't even try changing the directory structure of irredit.
2) Work within that structure.
3) Just drop the files in the same directory where they should be.
4) Irr files will be located in their own directory.
5) texture files will be in their own directory.
That should be it.
And so, you're screwed.
Now, let's un-screw it, bring it back to where everything works like the celestial objects. Shall we?
Here it is, listen close, pay attention.
1) Don't even try changing the directory structure of irredit.
2) Work within that structure.
3) Just drop the files in the same directory where they should be.
4) Irr files will be located in their own directory.
5) texture files will be in their own directory.
That should be it.

-
rogerborg
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
I'm not sure how many more ways we can say the same thing. 
Look in irrEdit-1.4.2\scenes\example.irr, and search for texture name
OK, see that path? "textures/editor_defaults/default_texture.png"?
If you open that .irr file in an Irrlicht application, then Irrlicht must search for that texture in that location relative to the Irrlicht application's working directory, not relative to the IrrEdit application (since the Irrlicht application has no way of knowing where that is).
This means that for it to be successfully loaded, there must be a textures/editor_defaults directory containing default_texture.png under the Irrlicht application's working directory, i.e. the directory containing the Irrlicht .exe executable file.
In short: if you load textures in IrrEdit from the "textures" directory, then copy that directory to the directory containing your Irrlicht .exe.
You have read the IrrEdit getting started tutorial, right?
Look in irrEdit-1.4.2\scenes\example.irr, and search for texture name
Code: Select all
<texture name="Texture1" value="textures/editor_defaults/default_texture.png" />
If you open that .irr file in an Irrlicht application, then Irrlicht must search for that texture in that location relative to the Irrlicht application's working directory, not relative to the IrrEdit application (since the Irrlicht application has no way of knowing where that is).
This means that for it to be successfully loaded, there must be a textures/editor_defaults directory containing default_texture.png under the Irrlicht application's working directory, i.e. the directory containing the Irrlicht .exe executable file.
In short: if you load textures in IrrEdit from the "textures" directory, then copy that directory to the directory containing your Irrlicht .exe.
You have read the IrrEdit getting started tutorial, right?
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
-
rogerborg
- Admin
- Posts: 3590
- Joined: Mon Oct 09, 2006 9:36 am
- Location: Scotland - gonnae no slag aff mah Engleesh
- Contact:
I don't think the problem is with our explanations.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
u could simply change the working directory of irredit to your game dir. then it uses ur directory structure..
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.