opening the library files gets errors

Issue #423 resolved
Alessandro Padovani created an issue

I don’t know if this is a bug or the intended behaviour. But it seems we can’t open the files in the daz library. I mean they’re duf files but I get errors. Below an example where I tried to open the file for g8f, that’s what we load in a daz scene.

C:\Users\..\Documents\DAZ 3D\Studio\My Library\People\Genesis 8 Female\Genesis 8 Basic Female.duf

Comments (12)

  1. Alessandro Padovani reporter

    p.s. The reason why I posted this is because it is asked in the daz forum if diffeo can open the files in the daz library. That is, without daz studio installed.

  2. Thomas Larsson repo owner

    Should work now. When you import a character directly from the People directory you don’t get the morphs of course, but you do get the materials.

  3. Alessandro Padovani reporter

    Commit f030492 works fine.

    Since this fix was mainly requested for people with a small or old pc that couldn’t run daz studio, could you please fix 1.5.1 too ? So they can use blender 2.7 that’s not supported in 1.6.

  4. Thomas Larsson repo owner
    • changed status to open

    We can do better. If you can't open DS, you can't create dbz files, so only the base character is imported. I'm working on a new option that loads morphs and changes the armature when the character is imported. This does not work in all cases, but when it does, you can then transfer the shapekeys to all other meshes, and finally apply all shapekeys. That should make it possible to load a morphed character without ever opening DS.

  5. Alessandro Padovani reporter

    Please consider that if this is too complex or too much work then it may be not worth it. I mean, not being able to run DS is for very old pcs that can’t run the 32 bit version either. So in that case being able to load the base figures could be enough already.

  6. Thomas Larsson repo owner

    Not too complex, since the importer and the morph loader largely run the same code. Only had to add some flags which direct which parts of the code are active.

    The significant limitation is that you can only load a single character at full strength, because the duf file contains the final armature. Character mixing must be done in DS.

  7. Alessandro Padovani reporter

    The description in the blog is very interesting, I didn’t realize the transfer tool is so powerful. There is often request in the daz forum if one can fit a dress to a figure in blender, without having to fit it in daz first. That is, import the figure, then import the dress, then fit the dress to the figure in blender. So I guess what’s described in the blog can also be used to fit a dress to a figure in blender.

    Then you said it may not work in all cases, can you please make an example where it doesn’t work ? Is it only the figure mixing that doesn’t work ? And if so a note in the blog may also help.

  8. Thomas Larsson repo owner

    It works if the duf file refers to the individual morphs directly, but not if there is an indirect reference via a control file. I cleared this up, at least to myself, in the follow-up post.

  9. Alessandro Padovani reporter

    Thank you for the nice explanation, I’d have to play with it a bit to understand the limits for dress fitting ..

  10. Log in to comment