Delgine 3D Tools & Content DeleD Community Edition
Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Texture and map into a file or directory?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Community Edition
View previous topic :: View next topic  
Author Message
Red Lion-King
Member


Joined: 09 Aug 2006
Posts: 10

PostPosted: Wed Sep 06, 2006 1:23 pm    Post subject: Texture and map into a file or directory? Reply with quote

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
View user's profile Send private message
Mr.Fletcher
DeleD PRO user


Joined: 07 Aug 2004
Posts: 1772
Location: Germany

PostPosted: Wed Sep 06, 2006 1:35 pm    Post subject: Reply with quote

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 Smile
DeleD on IRC
Back to top
View user's profile Send private message
Red Lion-King
Member


Joined: 09 Aug 2006
Posts: 10

PostPosted: Wed Sep 06, 2006 1:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
jwatte
DeleD PRO user


Joined: 26 Apr 2006
Posts: 513

PostPosted: Wed Sep 06, 2006 3:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Paul-Jan
Site Admin


Joined: 08 Aug 2004
Posts: 3066
Location: Lage Zwaluwe

PostPosted: Thu Sep 07, 2006 6:27 pm    Post subject: Reply with quote

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... Wink

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. Smile
Back to top
View user's profile Send private message Visit poster's website
afecelis
DeleD PRO user


Joined: 08 Aug 2004
Posts: 427
Location: Colombia

PostPosted: Fri Sep 08, 2006 3:32 am    Post subject: Reply with quote

you can also use Ilbuzzo's "export textures" plugin:
http://www.ilbuzzo.net/index.php?option=com_remository&Itemid=4&func=fileinfo&filecatid=3&parent=category

or you can export to b3d which will automatically export the textures to the folder you save the b3d file. Then you can use it for your dmf.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    DeleD Community Edition Forum Index -> DeleD Community Edition All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum