SY Ultra Template problem on MacOS

When I try to use the Ultra Templates I get an error that it cannot find the projection template, morphs, uv....  dsf files.  I looked into the files myself (being the nosy person I am) and noticed that the duf files under /data/DAZ 3D/Genesis 3/Female/Projection Templates... had a "%5C" inside the path.  That is a URL encoding for a "\" used in a Windows path and doesn't translate correctly for us MacOS folks.  Looking further at the dsf files in /data/DAZ 3D/Genesis 3/Female/Tools/Projection Templates... looked to include them, too.

Until Sickleyield and/or DAZ folks get it worked out and provide an update below is a set of commands that will run through them all and correct them.  I had to separate them because rolling them into a single command was more effort than I wanted to put into it.  No warrenty, use at your own risk... yada, yada... but they're pretty safe.  These will find all files that match path and/or name then execute for each of them a sed command to find %5C and replace with a /.  The alternative is to go to all 41 files and do a find and replace on them all individually.

 

Open a command prompt and change directory to your library's /data/DAZ 3D/Genesis 3/Female/ directory.  Copy and paste the below 2 commands.

 

DSF files under Tools/Projection Templates

find . -type f -name "*dsf" -path "*SY*[(Ultra)|(Sarong)]*" -exec sed -i '' 's/%5C/\//g' {} +

 

DUF files under Projection Templates

find . -type f -name "SY*duf" -exec sed -i '' 's/%5C/\//g' {} +

 

It worked great for me and now I get to enjoy this package like other folks.  I hope this helps.

Comments

  • fixmypcmikefixmypcmike Posts: 19,693

    Could you bug report this, please?

  • EsemwyEsemwy Posts: 578

    I noticed the problem this morning. Thanks for saving me the trouble of tracking it down. smiley

  • My external disk which holds my library crashed and I had to rebuild everything.  I see it has not been fixed, no movement on my bug report, and I'm glad I actually posted the commands to fix everything at once here so it didn't go the way of the library.  That being said, I've fixed it twice already.

    Being a programmer, been a part of QA and have to deal with QA all the time still... I can dream and think this was split into development tasks to fix DAZ exports to make sure those characters aren't put into exported files, QA to check these files on Mac OS X, and contact SickleYield to have him fix his product.... but knowing most of the companies I've worked at (DAZ not being one of them), it is probably just sitting in a backlog virtually untouched.  Who knows where it is at...

  • TotteTotte Posts: 14,734

    I've seen those errors in many items (and reported them) but I havn't tried this one, good catch. I usually use TextWrangler multifile find / replace as I always make typos using sed scripts and its a pain to first have to  back up the files, but I've done the same stuff several times.  Also a promblem (even more common) when the path says C:\My Library or C:\Runtime ...

  • I noticed an update to SY's Ultra Templates the other day.  Now we have "Backup 1..." files being duplicates of the originals, still lingering %5C codes, and we have an entry pointing to a "default_uv_set" which is invalid in some but not all of the templates.  Because I don't think UV templates are required for these projections (I want to maintain the UV in the target), I'm just globally removing them with the below command.  I probably don't recommend everyone doing this, but seems to work fine for me.  This one might be best to find the ones that don't work and manually edit the dsf file under ..../Tools/Projection Templates/... and remove the invalid default_uv_set line one by one.  The backup files in Projection Templates can probably be removed to unclutter the template selection list in DAZ Studio.

    I really like these projection templates, I just wish they'd get fixed so I don't have to keep fixing them.  I wouldn't be suprised if these were now broken for Windows folks, too.

    DSF files under Tools/Projection Templates

    find . -type f -name "*dsf" -path "*SY*[(Ultra)|(Sarong)]*" -exec sed -i '' 's/^.*default_uv_set.*$//g' {} +

     

  • It looks like it's broken on Windows as well.

  • jestmartjestmart Posts: 4,449

    There are some weird back-up files that seem to be tripping up the beta version of Studio but they appear to work in 4.8.

  • I didn't look that close at the backup files before I decided I could just delete them, but I remember doing a diff on them that showed they were the same.  That probably means the ID for the projection templates were the same when all IDs in the system are supposed to be unique (for some definition of "all").

  • Praise Jebus and the all holy Sickle Yield!  It has been fixed.  I noticed the update a few days ago, and I finally got around to removing and re-installing it to make sure my changes were not still present while watching the product work.  I didn't want this thread to be left in a negative state, as I hate when people do that.

Sign In or Register to comment.