View previous topic :: View next topic |
Author |
Message |
Red Lion-King Member
Joined: 09 Aug 2006 Posts: 10
|
Posted: Wed Sep 06, 2006 1:23 pm Post subject: Texture and map into a file or directory? |
|
|
Hi,
I would like to send to my friend a map thereby it the map to look at can the problem thereby am I would like all textures thereby to have I have all textures in a file. Only I want which I the map comfortably to further-send can without something at the option to change.
I want to know whether that am possible and as one make.
Thx |
|
Back to top |
|
|
Mr.Fletcher DeleD PRO user
Joined: 07 Aug 2004 Posts: 1772 Location: Germany
|
Posted: Wed Sep 06, 2006 1:35 pm Post subject: |
|
|
What a great example of translation machines. Never use them. Never.
I extract the following informations from your post:
You have a map and you want to send it to your friend but you don't want to send each texture file by its own.
The answer:
You have to zip it up.
You need to create a .zip archive, which includes your map file (ends with .dmf) and the texture folder. Send it to your friend. To view it, he has to move the texture folder of your map into DeleD's texture folder. Most likely, it will be the same folder from where you took the map-texture folder. So, if your DeleD directory is C:\Programme\DeleD LITE, then your texture folder might be C:\Programme\DeleD LITE\Textures\My_Map\ . You take the My_Map folder into the zip file. When your friend extracts the zip file, he will also have the My_Map folder, which he would have to move into his C:\Programme\DeleD LITE\Textures\ folder.
Kapiert? _________________ Behold! The DeleD Wiki! Please help us expanding it
DeleD on IRC |
|
Back to top |
|
|
Red Lion-King Member
Joined: 09 Aug 2006 Posts: 10
|
Posted: Wed Sep 06, 2006 1:43 pm Post subject: |
|
|
Genau das will ich ja nicht. Ich will das der Textureordner im gleichen Ordner sein soll wie die map, da es für ein spiel ist. geht das?
I want that the Texturedirectory is in the same directory as the map. |
|
Back to top |
|
|
jwatte DeleD PRO user
Joined: 26 Apr 2006 Posts: 513
|
Posted: Wed Sep 06, 2006 3:09 pm Post subject: |
|
|
DeleD only loads textures from the DeleD/Textures directory, so you really need to create a Zip file with the following structure:
"Map Files\yourmap.dmf"
"Textures\..."
You then zip up the map file and the textures, using those paths. Your recipient can then un-zip the file in the DeleD directory, and get the map and textures.
In general, though, it would be swell to have a tool that extracts the list of textures used by a map. Given that the map file is text, that should be pretty easy to write. |
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Thu Sep 07, 2006 6:27 pm Post subject: |
|
|
To add to that suggestion... Maybe DeleD should have some functionality to do just that: export a pack (zip or some other format) including all the needed textures, and offer functionality to import such a pack as well, allowing for easy sharing of textured models.
And maybe this has been on our wish-todo-list for quite a while, so maybe we should actually build this in sometime soon, if nobody beats us to it... maybe...
Red Lion-King: (feel free to answer in German if that's any easier. Writing in German is kinda hard for us Dutch guys, aber lesen ist ganz einfach) So you are saying your game engine reads our dmf file format directly, but you want all the textures to be in one folder? How do you make such a dmf then, as our .dmf format normally contains only textures inside subfolders? Wouldn't a different file format be better suited for your particular goal? .DMF was designed for use within DeleD itself, and might not be the best choice for end-application deployment. Still, it should be relatively easy to write a tool like jwatte suggests, that parses out all the textures from a .DMF and puts them inside a single directory. That still leaves the issue of having your engine actually ignore the folder settings inside the .DMF, but that would be up to you.
Lots of questions, but I hope these help you towards a solution. |
|
Back to top |
|
|
afecelis DeleD PRO user
Joined: 08 Aug 2004 Posts: 427 Location: Colombia
|
|
Back to top |
|
|
|