an utility to treat duplicate formulas

It would be nice to have something clearly explaining where dupilcate formulas come from and a way to find the culprit.

For Daz products : is there an updated package

For other vendors : how to get rid of slowing files.

 

Comments

  • Richard HaseltineRichard Haseltine Posts: 107,857

    The last build or so of DS don't get greatly slowed by dupicate formula issues, at least for me.

    Generally duplicate formulas happen when two different people use the same name for their morphs - so the links (formulae) between a full character slider and the head/body morphs or between one of the morphs and the joint centres are refrring to the same name at both ends of the link. Ideally artists should prefix their proprty names with their initials or the like, to greatly reduce the risk of a conflict, and Daz Studio now appends a string generated from the timestamp when creating a new morph from an imported OBJ. In principle a script could fix the issue by being given the names of the conflicting properties (which can be obtained from the log file - a script might even be able to parse that itself, though it would be fairly version-specific) - and editing the values to make the names unique and fix the internal refrences. However, that would potentially conflict with any eventual official fix which would probably break saved scenes.

  • golem841golem841 Posts: 176

    Hi Richard, you seem to be the "sentinel" for Daz : you replied to my post on an other site ;-)

    I agree : the loading of a scene seems to be improving little by little, ideally in a perfect world, all these morphs should be applied AFTER loading a figure.

    DazStudio is my main "3d program" i.e. I'm not a geek at all !

    I suppose DazStudio is a bit like Windows, on a smaller level : it's probably kind of hard chasing bugs from different vendors, but as for your PA they should be a little more careful about compatibility issues. The Vinme package is the first and terrible example.

    But there are many other vendors which products leaves random hidden morphs. It's a real problem plaguing G9, much more than G8. Is there a technical problem behind this  ?

    I still prefer using G8 because of these problems.

    There are many improvements needed for Studio, but it's such a step forward Poser, these complaints are to be taken as totally relative.

  • golem841golem841 Posts: 176

     

     

    Richard Haseltine said:

    The last build or so of DS don't get greatly slowed by dupicate formula issues, at least for me.

    Generally duplicate formulas happen when two different people use the same name for their morphs - so the links (formulae) between a full character slider and the head/body morphs or between one of the morphs and the joint centres are refrring to the same name at both ends of the link. Ideally artists should prefix their proprty names with their initials or the like, to greatly reduce the risk of a conflict, and Daz Studio now appends a string generated from the timestamp when creating a new morph from an imported OBJ. In principle a script could fix the issue by being given the names of the conflicting properties (which can be obtained from the log file - a script might even be able to parse that itself, though it would be fairly version-specific) - and editing the values to make the names unique and fix the internal refrences. However, that would potentially conflict with any eventual official fix which would probably break saved scenes.

     

    The Log file is really intimidating : perhaps a simpler duplicate formulae file would be more informative : I suppose it'a lot of work, and explaining for real dummies which files interfer with which else and proposing the least destructive solution is out of competencies for your programmers.

  • Richard HaseltineRichard Haseltine Posts: 107,857

    If you seard for "duplicate" that should take you to the relevant block - it will tell you what isa ctually triggering the error, and what it is conflicting with (which will usually be another product - it is possible to create the problem within a single property but the artist would catch that as soon as they tried to reload the figure)

  • TotteTotte Posts: 14,676

    I'm actually working on this, so looking for products with that particular issue (that has not been uopdated yet), to get some base line data to work with).
    Anyone have a pointer to products that gives that?

    Thank you for your cooperation....

     

  • MissLeahMissLeah Posts: 194

    Hey, Totte. I got the duplicate formula error a while back on this product: https://www.daz3d.com/spicy-fusion-for-200-plus-for-genesis-8-male. The error went away as soon as I uninstalled it, and I haven't tried installing it again. It's also an older product, so I don't expect that it's been fixed.

    Other than that, I got the error previously on a couple of figures from Magic Brush, but those have since been fixed. Others have reported some duplicate file errors with other MB figures in this thread, though: https://www.daz3d.com/forums/discussion/744771/magic-brush-appreciation-thread.

    I hope that helps get you started! laugh

  • TotteTotte Posts: 14,676

    @MissLeah: Thanks for the pointers, I got some others to, the old oner seems like a good test as it hasn't been updated I guess.

  • TotteTotte Posts: 14,676

    @MissLeah: The tricky thing with Duplicate Formula is that it usually takes two to tango, Product A and Product B causes a duplicate formula, so even if https://www.daz3d.com/spicy-fusion-for-200-plus-for-genesis-8-male  causes it, it would be great to know "which product it collides with", if you still have it, please install, load a figure, and zip the log.txt (Daz Studio logfile) and put it here, so I can see which product it collide with, so I can grab both to force the problem to happen. Currently I do have a product that has been updated but caused it to itself (so I have that in the log to play with) , but the A + B = Duplicate Formula seems hard to cause.

    Thanks!

    / Totte

  • MissLeahMissLeah Posts: 194

    Sure thing, Totte! The log file is attached for you to peruse.

    In case it's helpful in your research, I loaded a base G8 male and then the G8M dev load and didn't get the duplicate formula error on either one. I got it when I loaded the G8.1 male.

    I hope this helps!

    zip
    zip
    2025-10-10_DazLog.zip
    97K
  • TotteTotte Posts: 14,676
    edited October 10

    Thanks!

    So, the "collision" is between these two products:
    > Big Expressive 8.1 for Genesis 8.1 Male
    > Spicy Fusion for 200 Plus for Genesis 8 Male

     

    Post edited by Totte on
  • crosswindcrosswind Posts: 9,537

    Duplicate formulae errors typically result from two kind of cases:
    1) duplicate url from different modifer assets (caused by identical url created by content creators, but after DS 4.22, there shouldn't be such problem since DS gives unique suffix to url when creating modifer assets... unless one directly modifies DSF files~~ );
    2) duplicate formulae within a single modifer asset. (usually caused by re-ERC Freeze without ERC Bake, as well as some vendors wrongly modified DSF files by copy/paste... etc. etc.)

    Scanning the errors in the first case should be easy but more difficult in the 2nd case, IMHO ~~ 

Sign In or Register to comment.