Please pardon me if I'm being daft for asking this, but is there any way to define an alternative path (other than the one the executable is in) for the system to look for xml files and graphical assets? I'm trying to put all of my assets in a "data" directory (while keeping the dlls in the "bin" directory), and it would be extremely annoying to have to use the full path, everywhere. I've dug all through the API docs and the forums, and can't find any good way to do this. Any recommendations?
Thanks, in advance!
Tess
Alternative Data Path
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Alternative Data Path
Currently, all paths need to be specified either absolutely, or relative to the working directory (so if you're in 'bin', your paths might have to start "../data/whatever", or similar).
I understand and acknowledge this is a bit lame and _mental_ from the Ogre project has on his TODO list a full resource manager for the system; this will also support existing resource managers, so if you're already using the Ogre resource manager for example, CEGui will also be able to use that same system. I don't have an ETA on this at the moment, so for a little while yet, we're all stuck with the current set-up
CE.
I understand and acknowledge this is a bit lame and _mental_ from the Ogre project has on his TODO list a full resource manager for the system; this will also support existing resource managers, so if you're already using the Ogre resource manager for example, CEGui will also be able to use that same system. I don't have an ETA on this at the moment, so for a little while yet, we're all stuck with the current set-up
CE.
Alternative Data Path
Thanks for the info!
Ogre's resource management system is actually pretty sophisticated. In Gamebryo, I can set a media path, but I don't have anything anywhere near as expressive as Ogre's system. I have to say, I'm continually impressed by the work that Sinbad and the gang have put into Ogre.
Tess
Ogre's resource management system is actually pretty sophisticated. In Gamebryo, I can set a media path, but I don't have anything anywhere near as expressive as Ogre's system. I have to say, I'm continually impressed by the work that Sinbad and the gang have put into Ogre.
Tess
Alternative Data Path
Just to keep everyone updated. I have actually started work on the resource provider and I hope to have something to show within the next week or two.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Alternative Data Path
That's great news _mental_
Thanks for the update.
Thanks for the update.
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 18 guests
