Packaging a Product - File and Directory Structure
I see there is a thread on trying to get metadata specs published. I have scoured through the publishing area on the Daz website. Very nice! I however can find no good answers to directory structure and file storage. It seems that file 'structure' should be pretty much a standard for Daz products as well? What I'm seeing on my drive is a vast array of things done different ways. This seems to even be the case with Daz products.
So, is there a good guide for this? Is there any real spec?
For brevity, lets drop the 'Path To Daz Content'. On Windows, this would be something like C:\ Users\YourUserName\My Documents\Daz 3D\Studio\My Library in favor of simply using 'My Library'.
I'll then drop the Winders \ in favor of the Unix / as it is easier to read and easier to type and Mac users should like this. ;)
Here is what I have found: The sample shirt zip file in the publishers area. It includes this structure.
My Library/data/DAZ 3D
My Library/data/DAZ 3D/Cool Stuff
My Library/data/DAZ 3D/Cool Stuff/Shirt/Shirt.dsf
My Library/data/DAZ 3D/Cool Stuff/Shirt/UV Sets
My Library/data/DAZ 3D/Cool Stuff/Shirt/UV Sets/DAZ 3D/Base/default.dsf
My Library/People/Genesis/Clothing/Cool Stuff/Shirt.dsf
This is a layout for a shirt that is Genesis Clothing Item. The structure is explained by Daz as this:
Looking at my My Library, things are a hodgepodge to say the least! It seems that this format was not followed by many if not most.
The suggested data directory structure looks simple enough. Lets come back to that.
The People directory is pretty obvious, 'if' you are creating a clothing item for Genesis, but what if it is not a clothing item? Perhaps this layout should come from the root of the metadata structure? Some of what I see on my drive at the moment includes:
Some of these look to be product type bases and others... I don't know where they came from. I have not listed a number of obvious 'out of place' directories. I may have left some here, like why shaders and Shader Presets? Then there is a 'Hair' directory and also a People/Genesis/Hair directory? Where should the darned Hair go?
Following the logic of the Genesis Clothing Item example, which resides under My Library/People/Genesis/Clothing, it seems we could pull together a 'standard' directory structure for the other item types used within Daz Studio?
However when I look in my People Genesis folder, I see the following:
My Library/People/Genesis/Dynamic Clothes
My Library/People/Genesis/Visibility Presets
There appears to be some redundancy which I suppose helps one define a Genesis product vs. a pre-Genesis character item?
At the moment I'm trying to finish up some various items for Daz Studio. Yet I'm stuck with not knowing where to put things. I have clothing and props so far. I have textures, bump maps and poses. I'm not even sure where to start with my base OBJs and the rest of these files so even though I have some nice looking items on my computer, I have no idea about how my files should be placed.
I hope this thread might be a place for others to discuss a possible spec for this, much like what is being worked on with metadata.