Rediculously long load times for scenes.
aedonix
Posts: 30
Yeah, I know this has always been an issue with Daz.. As far as I could ever figure out it was something to do with Morphs and too many causing problems, but beyond that I stopped paying attention.
I'm here for suggestions. How would you suggest I go about fixing this issue?
(Strangely the load times are much more reasonable in the BETA version which i also have installed This issue seems to be with my main Public build)
Comments
This sounds like you have duplicate formulas amoungst your morphs as that is one of the areas that the beta handles better than the standard version.
Check your log for these via the beta version since that should provide details on both conflicting formulas rather than the standard one which only specifies the second one.
You'll need to either fix/disable one of the conflicting products or fix the files yourself using a text editor.
is there a guide somewhere on how to do that as I'm not sure how i would even begin!
I haven't seen a specific guide out there, although it is probably needed since even if both products are reported to support, there is no guarentee that either product will receive a fix soon if at all :(
Not sure I am the best person to write a guide since I am not an expert on the intricate details of morph file construction, however, incase no-one else chips in here goes:
The basic cause will be two different morph files registering the same "unique ID" so you need to pick one of them and find & replace to set a different unique ID for one of them. So the first thing is to view the log for the guilty parties - as mentioned if you do this in the beta it provides more helpful info. You are looking for entries that start with "Duplicate:" and then list some lines followed by "Previous:" - both of these will be followed by a "File:" entry which will point to the files that clash and via the path names it should give you a hint of the guilty vendor and product. At this point, if they are from the same store then you probably should report both products - if they are from different stores then arguably neither is "broken" and so there is not much you can really do there.
To attempt the fix yourself you need to pick one of these files to edit - if one of them is a pose then I would choose that since it should be simpler (morphs might be used by other things which will then be broken because the ID has changed). I would advise backing up the file since even tho you can re-install if you break it would be easier to just put the original file back and/or try again. You will need to edit this file in a text editor - preferably one that is designed for editing code, e.g. Sublime Text or VSCode. Don't edit it in MS Word or any other word processor as it will probably corrupt the formatting and render the file more broken. If the file appears to be in binary format (a code-editor should warn you about this) then this means the file is compressed and you have to unzip it first.
Now you have your chosen file open, refer back to you log and note the "Input:" line - the text after this label is the the unique ID that you need to replace in this file. For instance, one such duplicate that I have had to fix myself has the line "Input: 10" which means that two products have used the "Unique ID" of "10" in their products.
This file you that you are editing is in a specifc format but you do not need to understand anything other than you will only be editing parts of text that are enclosed within speechmarks (") to the right of a colon (:). The new ID you are picking is technically not important aslong as it will be unique and so I would select something that retains the original but adds something that refers to the product.
I believe you need to change this in the following places:
"id" : "10",
to
"id" : "BIGEXF10",
:#10?value
to be replaced with
:#BIGEXF10?value
"id" : "10-1",
"url" : "#10"
to be replaced with
"id" : "BIGEXF10-1",
"url" : "#BIGEXF10"
Now you can save your file, clear your log, delete the figure from your scene and re-add it. Hopefully, the duplicate formula messgaes for that ID are now gone. You should then test both morphs/poses to ensure both work as expected. If everything went well then hopefully the issue is now fixed.
Oh, it might be worth just doing a search in your logs to make sure there are no instances of "Formula target property not found" that relate to the file you just edited.
Yeah.. my brain turned to mush about 3 lines into that. I can usually find my way around most things, but this one seems to be confounding me.
I have a pretty big database, and this has been a thing for a long while now..
at this point am i better just uninstaling and re-installing Daz public again?
Sorry, I don't think I can make it simpler than that - as mentioned it's not really something that users should have to do :( It might be something that a script can be written to change but really the best fix is for the PAs to update their product since they are supposed to be the experts. There is an update in the beta of Daz which will enforce a unique ID but that will only affect products released in the future, it won't fix already released stuff.
Re-installing things will not fix it - technically the products are broken at source and so un-installing and re-installing will have zero effect. The official advice is to uninstall one of the products that is in conflict and wait for a fix. I guess if one is a recent purchase then you could get a refund due to this error.
If you are going to plow ahead and deal with the duplicates then using the beta would be better since it does cope with them more efficiently and does not slow-down quite as much.
The beta is faster because this is an area that has received attention, especially for cases of duplicate formulas. Also, in the beta, the log now lists the culprit morphs more informatively than the release build.
I may have to do that again then (I did end up switching to beta for a long while before, until i did a full database reboot..
I suspect that I may be reinfecting myself by loading up saves that were previously infected.
I'd have honestly thought after this long and it is such a common issue, Daz would have long since implemented something to deal with this issue.
Thank you for taking the time though to try to help me.
Dupliate formulas are not an infection - they are (usually) a clash between two character or shaping products using overly generic names. The fixes are to edit one or both to make the identifiers unique, or to uninstall one of them (always assuming that there has been no update to fix the issue).