Digital Art Zone

 
   
1 of 10
1
DAZ Studio 4.5 - Fix Duplicate IDs script
Posted: 28 May 2012 07:23 AM   [ Ignore ]
Administrator
Avatar
RankRankRankRank
Total Posts:  14008
Joined  2003-10-09

http://www.4shared.com/zip/oY0vbkJk/Fix_Duplicate_IDs.html


http://rhaseltine.ovbi.org/Fix_Duplicate_IDs.zip


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.

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile
 
 
Posted: 28 May 2012 09:54 AM   [ Ignore ]   [ # 1 ]
Addict
Avatar
RankRankRankRank
Total Posts:  4534
Joined  2004-08-11

Thanks for reposting this Richard!

 Signature 

    —- Wolff On The Prowl—-

Pan Project

Profile
 
 
Posted: 31 May 2012 06:59 AM   [ Ignore ]   [ # 2 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  14008
Joined  2003-10-09

Updated with new link, courtesy of Kendall Sears

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile
 
 
Posted: 31 May 2012 09:10 PM   [ Ignore ]   [ # 3 ]
Power Member
Avatar
RankRankRank
Total Posts:  1815
Joined  2005-06-08

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?

 Signature 

~

Hat-wearing member of the Bald Wizards Club

Eyebrow-Free Face Textures — A List

Profile
 
 
Posted: 01 June 2012 07:41 AM   [ Ignore ]   [ # 4 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  14008
Joined  2003-10-09

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?

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile
 
 
Posted: 01 June 2012 08:47 AM   [ Ignore ]   [ # 5 ]
Power Member
Avatar
RankRankRank
Total Posts:  1815
Joined  2005-06-08
Richard Haseltine - 01 June 2012 07:41 AM

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.

 Signature 

~

Hat-wearing member of the Bald Wizards Club

Eyebrow-Free Face Textures — A List

Profile
 
 
Posted: 01 June 2012 01:46 PM   [ Ignore ]   [ # 6 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  14008
Joined  2003-10-09

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.

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile
 
 
Posted: 01 June 2012 03:27 PM   [ Ignore ]   [ # 7 ]
Power Member
Avatar
RankRankRank
Total Posts:  1498
Joined  2010-02-14

Wait, I’m confused. It’s opening Studio 4.5 with my Library open like you said, but I don’t know where to go from there.


Sorry, I’m a complete noob with kinds of things. downer

 Signature 

“I’m sorry, I can’t hear you over the sound of how awesome I am!” ~ Brextor Ultimus

FORUM MEMBER POST RANKS
New Member = 0
Member = 25
Active Member = 250
Power Member = 1000
Addict = 2500

My Art Studio

Profile
 
 
Posted: 01 June 2012 04:16 PM   [ Ignore ]   [ # 8 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  14008
Joined  2003-10-09

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.

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile
 
 
Posted: 04 June 2012 11:07 AM   [ Ignore ]   [ # 9 ]
Power Member
Avatar
RankRankRank
Total Posts:  1815
Joined  2005-06-08
Richard Haseltine - 01 June 2012 01:46 PM

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.

 Signature 

~

Hat-wearing member of the Bald Wizards Club

Eyebrow-Free Face Textures — A List

Profile
 
 
Posted: 04 June 2012 01:02 PM   [ Ignore ]   [ # 10 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  14008
Joined  2003-10-09

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.

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile
 
 
Posted: 05 June 2012 08:37 AM   [ Ignore ]   [ # 11 ]
Power Member
Avatar
RankRankRank
Total Posts:  1815
Joined  2005-06-08
Richard Haseltine - 04 June 2012 01:02 PM
KickAir 8P - 04 June 2012 11:07 AM
Richard Haseltine - 01 June 2012 01:46 PM

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.

Found it—yep, that fixed it, thanks!

 Signature 

~

Hat-wearing member of the Bald Wizards Club

Eyebrow-Free Face Textures — A List

Profile
 
 
Posted: 08 June 2012 08:33 AM   [ Ignore ]   [ # 12 ]
Power Member
Avatar
RankRankRank
Total Posts:  1498
Joined  2010-02-14
Richard Haseltine - 01 June 2012 04:16 PM

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?

 Signature 

“I’m sorry, I can’t hear you over the sound of how awesome I am!” ~ Brextor Ultimus

FORUM MEMBER POST RANKS
New Member = 0
Member = 25
Active Member = 250
Power Member = 1000
Addict = 2500

My Art Studio

Profile
 
 
Posted: 08 June 2012 08:51 AM   [ Ignore ]   [ # 13 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  14008
Joined  2003-10-09

For those that are a problem, yes - a lot of content has been updated, or never showed the issue.

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile
 
 
Posted: 28 June 2012 07:25 AM   [ Ignore ]   [ # 14 ]
Member
Rank
Total Posts:  111
Joined  2011-09-07
Richard Haseltine - 01 June 2012 04:16 PM

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.

Profile
 
 
Posted: 28 June 2012 07:56 AM   [ Ignore ]   [ # 15 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  14008
Joined  2003-10-09

Download the script and place it somewhere on your hard drive, such as My Library\Scripts.

 Signature 

DAZ Studio Frequently Asked Questions

Index of free DAZ Studio scripts and plugins list

Profile
 
 
   
1 of 10
1