millighost opened this issue on Aug 29, 2011 · 104 posts
millighost posted Mon, 09 July 2012 at 7:20 PM
Normally this should work for other figures as well. Two things might get into the way, though.
1: Other figures might contain other polygons next to quadliterals. This is an oversight by me in the importer script, because i was thinking all dsf models had only quads. I have attached an updated version of the scripts, that fixes this bug.
2: To make DS find your morphs after you exported them, you have to copy the exported dsf into the right place. What "the right place" is exactly i am not sure, but it seems always to be a directory named "Morphs" relative to the directory where the item data is located in; for example, i have those boots by dx30 called Workboots for genesis. There are two boots, WorkBootsL and WorkBootR. The data files for the WorkBootL is in:
/dsdata4/data/dx30/WorkBoots/WorkBootL/WorkBootL.dsf
(dsdata4 is the name of my DS content directory)
Now i create a morph for that boot by loading this file into blender, create a shapekey, and export is into the file bootmorph.dsf.
I have to copy the bootmorph.dsf somewhere into the directory
/dsdata4/data/dx30/WorkBoots/WorkBootL/Morphs
to let DS4 find it and make it usable, i.e. it has to be in the Morphs directory next to the data file. It does not seem to matter if there are additional directory components after the name. For example copying it into one of these will both work:
/dsdata4/data/dx30/WorkBoots/WorkBootL/Morphs/bootmorph.dsf
/dsdata4/data/dx30/WorkBoots/WorkBootL/Morphs/Millighost/bootmorph.dsf
You might still want to tweek one thing within the exported dsf file; in the generated file there is this section called "modifier_library" containing a "group", it looks like this:
"modifier_library": [
{
"formulas": [],
"group": "/Universal",
"parent": "/data/dx30/WorkBoots/WorkBootL/WorkBootL.dsf#WorkBootL",
....
The line '"group": "/Universal"' specifies where you can find the morph in DS4's Parameters tab. By default it is "/Universal" which makes it appear in the Universal section of the Parameters tab, but you can enter any name there. All that i do to make it appear in another section is, for example, change it to:
"group": "/Millighost",
Other than that, everything should work out of the box. Let me know if there are any problems.