Thanks to Kendall Sears for providing hsoting that doesn’t require users to have an account, as 4Shared now does.
This script will (usually) fix files that throw the Duplicate IDs error in DAZ Studio 4.5. I have found one that didn’t get fixed, which had a very odd structure, and another couple of items had errors that stopped it from working but it worked on everything else I tried. You should note, however, that many files at DAZ have already had the fix applied (or have been fixed manually) so you may want to reset your downloads on those.
It’s simple to use - I’d make it a custom action, or open it with File>Merge, while viewing the folder with the content in the Content Library pane - that way the file selector will open in the right place. Select one or more files in the folder, click Accept, and it will do its thing. Don’t go looking for files in the \data folder - the script expects to be given user files, usually in \People\Genesis\some folder, and will then find the data files from there. The script creates a .bak file for each file it edits - one in the library folder, one in the \daat folder, so that you can go back if it fails. If you do a lot of conversions and they are working you might want to use the OS search to find and remove the .bak files.
Thanks Richard! But I’m getting the Duplicate ID error on Genesis.duf (!?!), and you script gives me “Error writing updated C:\Users\KickAir8P\Documents\DAZ 3D\Studio\My Library\People\Genesis\Genesis.duf” when I run it. Help?
The script assumes a dsf format file - the error shouldn’t be happening with a DUF. Is this the regular Genesis.duf that comes with DS 4.5? Or is it a saved scene that uses Genesis, and possibly some other content?
The script assumes a dsf format file - the error shouldn’t be happening with a DUF. Is this the regular Genesis.duf that comes with DS 4.5? Or is it a saved scene that uses Genesis, and possibly some other content?
The “Duplicate formulas found in files” error pops up when the default Genesis scene first loads, and then again if I delete Genesis from the scene and reload it. I believe it’s the Genesis.duf that comes with DS 4.5, but I’m not at home to check and won’t be again till Sunday night, sorry.
Ah, this script is a fix for Duplicate IDs, Duplicate Formulas is a different issue - and shouldn’t be happening. If you open the log file after loading Genesis and scroll to the end you should see the morphs causing the error listed.
With the Content Library showing the folder you want to work on, under DAZ Studio Formats, run the script (File>Merge, though if you use it a lot it may be worth making it a custom action and adding it to a menu). Pick the file or files that give the error (usual system - click to seelct one file, ctrl/cmd-click to add another single file, shift-click to select a range). Click Accept. That should do the job - try reloading the content to make sure the Duplicate IDs error has gone.
Ah, this script is a fix for Duplicate IDs, Duplicate Formulas is a different issue - and shouldn’t be happening. If you open the log file after loading Genesis and scroll to the end you should see the morphs causing the error listed.
Seems like a very long list! Where’s the thread for the “Duplicate formulas found in files” issue? I don’t wanna derail this one with it.
It has an entry in the FAQ - with luck the items in the list will come from the affected products and a simple download and install will fix it. If not I don’t think there is an existing thread.
Ah, this script is a fix for Duplicate IDs, Duplicate Formulas is a different issue - and shouldn’t be happening. If you open the log file after loading Genesis and scroll to the end you should see the morphs causing the error listed.
Seems like a very long list! Where’s the thread for the “Duplicate formulas found in files” issue? I don’t wanna derail this one with it.
It has an entry in the FAQ - with luck the items in the list will come from the affected products and a simple download and install will fix it. If not I don’t think there is an existing thread.
With the Content Library showing the folder you want to work on, under DAZ Studio Formats, run the script (File>Merge, though if you use it a lot it may be worth making it a custom action and adding it to a menu). Pick the file or files that give the error (usual system - click to seelct one file, ctrl/cmd-click to add another single file, shift-click to select a range). Click Accept. That should do the job - try reloading the content to make sure the Duplicate IDs error has gone.
Ahh, I see! Basically run the script over and over again with every department of dsf files in the People > Genesis Directory?
With the Content Library showing the folder you want to work on, under DAZ Studio Formats, run the script (File>Merge, though if you use it a lot it may be worth making it a custom action and adding it to a menu). Pick the file or files that give the error (usual system - click to seelct one file, ctrl/cmd-click to add another single file, shift-click to select a range). Click Accept. That should do the job - try reloading the content to make sure the Duplicate IDs error has gone.
Sorry, total noob here to scripts (and Studio, . . . mostly), and not getting it.
Are you saying from within the Studio application select a suspect file, then go outside of Studio to the downloaded ‘script’ and double-click on it? Or does the script need to be installed to Studio somehow, and accessed form there? I don’t see a place for scripts in any old the Studio 4 menus.