Lost my "Scripts" dropdown menu... Can't find some scripts now.

Something seems to have broken my "Scripts" menu. I know I have some scripts, but the dropdown menu doesn't show. The menu item is there, but it does nothing when clicked or mouse-over.

No mention of any scripts failing to load, in the log-file. However, the log-file is horrendously large with all the redundant IRAY errors, due to not having an nVidia card. (Doesn't even check that until half-way down the list, and keeps trying to load all the things that it can't even use, since there is no card detected. Lots of those fail, for obvious reasons. One simple check will instantly tell you if the computer has an nVidia card.) However, in all fairness, I did once have an nVidia card installed. But nothing Daz could use, it was a 9800 GTX. The CPU was faster than the card, so I removed the card.

Also noticed some other strangeness. Animate-lite window can't resize once I put it back below, after being undocked, then docked again. Does a freaky dance trying to endlessly resize itself under the render window too. The animation pop-up window is also being drawn behind the window, where nothing can be seen or selected.

Other oddness... Interrupting the IRAY preview makes daz nearly die... It is hanging-up on something, taking forever to "cancel" as it tries to go back to any other display. Oddly, it takes about 30x longer than just rotating an object and waiting for the screen to refresh. Though, nothing has changed on the screen.

Last oddness... Daz3D completely killed the video-card and OS, causing a major fatal restart which required windows to have to do a "repair", before it would boot-up again. This on a Radeon 7970 HD, while testing a tool called "RenderLine 9000". Though, I am not 100% sure that was the source of the crash. It had a total GUI/display failure, which knocked-out the video-card for three reboots, before the video-card came back to life, drawing more than a solid black screen with a red diagonal broken line across it. After the third reboot, windows detected the unfrozen card, which I am sure had finally surrendered to the internal reset of the video-card. (That is part of Radeon's crash-prevention. That, itself, may actually be the source of the issue, and Daz3D may just have been what I was using when it siezed-up at that time. Has not done it since then. Had never done it before, and other than the above oddities, I have not seen any other issues in any programs.)

P.S. This is one of three computers which have similar issues, all with the same hardware. Though, each is not setup with the same exact daz-items. I am trying to find the common thread among them, but only the latest update is what brought this to my attention.

Comments

  • I suspect you have system issues, but the Scripts menu at least is fairly simple - Window>Workspace>Customise, find the Scripts menu under Main Menus in the Menus tab on the right and drag the scripts into it from the Custom Actions list on the left. As long as the scripts are still where they were when you created the custom actions that should work.

  • JD_MortalJD_Mortal Posts: 760
    edited November 2016

    Thanks, again, in advance Richard

    There is no "Scripts" in the "Actions" tree.

    Only, Scripting IDE, and Scripting...

    "Scripting IDE" shows many menu things, but there is no "Script IDE" menu in the menu bar. Nor is there anything in there which I would want. I don't want to "Script", I want to use scripts that already exist, which were once there before. (Well, I assume they were there, as I previously remember downloading and using scripts before, on all these systems. They were just already there, once they were installed by daz installer. Though, when daz updated, so did many other items.)

    "Scripting" only has one sub-item, "Reset Script Engine"

    The "Scripts" menu in the {Menus}-{Main Menu}, has just a blank space as a sub-item...

    Eg, None of the items I see in my "Content Library", which are all scripts, are anywhere in the "Actions" list. Since it is scripts that should be listed in the scripts menu, there should only be an option to add scripts into the menu. (Or at-least a designated "smart-content" type of menu system. But that is another topic for another day. I can not find any "scripts" listed anywhere to add. Also, the two panes should be reversed... The menu thing should be on the Left, and the things to add should be on the Right. I feel like I am in china, working right to left here, backwards.)

    This is the "Default layout", I have never changed anything in here. As to "system issues", nothing abnormal, except on my personal computer, which was the only one to get the lates radeon-drivers, which are crap built for windows 10, wrapped-up in some stupid "install tons of crap you don't need, with the drivers" package. I'll blame that hang-up on the drivers, but this other stuff is all daz specific, on all three machines.

    All three systems are Windows 8.1 (64-bit). The "drivers", are for windows 8.1, but it is Radeons new "windows 10" install crap. Actually, just got a notice that they released new drivers again... They seem to be hot-patching like mad. They must have lost the original programmers, because since they dropped the Catalyst drivers, and switched to Crimson, it has been nothing but complaints from everyone playing games and trying to use windows dx-integrated windows, which depends on the drivers for windows to work correctly.

    Nothing in the "Actions" window even identifies anything as a "Script". Seems ot only be system actions, which is not what the scripts window was filled with, I don't think... May have had some of those too...

    Post edited by JD_Mortal on
  • mjc1016mjc1016 Posts: 15,001
    edited November 2016

    If Windows had to 'repair' there's a very good chance that it rolled back to the 'default' load with no Scripts in the menu...and it won't show until there is one added. 

    So try this...

    Go to a script you want in the menu, right click on it and choose 'Create Custom Action'.  That should allow you to create a menu item for it. That should then enable the stuff Richard was saying...if not and there are no items in Custom Actions, you'll need to repeat setting up a custom action for each one you want.

    Then once they are back, save the layout as a custom one...that should preserve the settings if it happens again.

    Post edited by mjc1016 on
  • mjc, I see what you are saying...

    Did that, for the few scripts I can find, in the content library, but there are some in a folder called "Scripts", that can only be seen when I select "Open scripts", which goes into one of the Daz folders, which does not show anywhere in the content library. Might get them to show if I make icons for them... or move them to the actual place where all installed things should be installing, to "My Daz 3D Library", not installing into the user/dazstudio4 folder, where it keeps going to "open" scripts, which doesn't even go into the actual "scripts" sub-folder, within that root.

    The windows repair was an internal fix, which does not alter user-content or use rollbacks. With the exception of using the "last known good boot", which was nowhere near a time when I had installed anything into daz. Again, this is across three individual systems, but only my personal computer ever froze. (The, I assume, driver related issue.)

    I literally have over 1,120,000 files and 43,000 folders to go through, on each system, to "hunt" for scripts. It took over 26 minutes just to read the dir-tree/file-list, for windows to display the details of the folder. {Image below} In fairness, that is because I had to compress the whole drive, as it was originally over 439 GB, now down to 332 GB, with all the redundant mini single-line files merged into one single secotor on the drive. Since there are no real standards or file-structure enforcements for content, other than, "think about using this format", which few ever read about, or even know how to do. :(

    I look at it this way... If I can't find it, or I forgot about it bing there, then it surely wasn't that important.  :)

     

    Image4.jpg
    387 x 501 - 52K
  • Richard HaseltineRichard Haseltine Posts: 108,067
    edited November 2016

    The scripts you have turned into Custom Actions are in the Custom list on the left, the Scripts menu is under menus tab Main menus on the right. Drag your entries from the Custom list on the left to the Scripts menu on the right. If they simple aren't there then you will need to recreate them.

    Post edited by Richard Haseltine on
  • JD_MortalJD_Mortal Posts: 760
    edited November 2016

    The scripts you have turned into Custom Actions are in the Custom list on the left, the Scripts menu is under menus tab Main menus on the right. Drag your entries from the Custom list on the left to the Scripts menu on the right. If they simple aren't there then you will need to recreate them.

    I have never created scripts before... (Recreation of which ones? I have no clue where all these scripts are located, other than the obvious ones that are not in the list, which are in the two locations I found for "scripts", as folders.) So there was never any in the custom list at all, previously. They installed into the scripts menu, when I installed them. But I am now trying to locate them, and make them into "Custom actions", now, since they are no longer "just there", where they once were. Like I said, there is not even any script things in the scripts menu. It is just empty, with a single blank item in the list. Like it just lost the list of items somehow, or, I assume, an invalid character or something may have corrupted the list, and thus, now it only shows the point, up to the corruption.

    All scripts DAZ finds, should self-populate in the "Custom actions", but daz doesn't do that... Why daz doesn't put them there, is beyond my comprehension. Better yet, in a section actually called "Scripts", would be the logical location, since the folder is called "scripts", and the items are going to go into the "scripts menu"... Even better, they should populate directly into the menu, without need for inclusion, only for exclusion purposes, if you don't want one in there.

    Would be nice to know where the "contents", of the list are kept. Adding more things is surely not fixing the issue. :P

    Also, like I said, I have a million files to hunt through, for scripts. Though I know that not all scripts are intended to be in the list, as some are just helpers to other scripts. Ultimately, due to this system, I will just leave it broken, as that is the easier way to handle it. I am tired of having to keep fixing things to make them work. Especially when they just previously worked fine, until they self-destructed. (Not only this issue, but the many others that seem to be compounding along the way. Like the constant redundant and irrelevant warning from loading any gen-3 model, which still complains of duplicate somethings... If it is irrelevant, then don't warn about it. If it can be fixed {That is the gen-3 daz core model}, then they need to fix it, or program it to ignore that warning. We can't fix it, it is an original daz core model, which every gen-3 model uses. Image attached.)

    Still waiting for that annoyance to disapear. Wasn't there on the original Gen-3, the update, a few months back, started that happening. (Self destructive. xD. It did it itself.)

    Image2.jpg
    999 x 330 - 63K
    Post edited by JD_Mortal on
  • Some of the custom actions will be scripts, and I was being slopy and using the term to cover .duf files too - anything that appeared in the old Scripts menu, in other words.

    Some scripts ins talled via DIM may get added to Custom automatically, but everything that is in the Scripts menu (unless manually placed there in the Customise dialogue) will be in the Custom action - right-clicking on a script or preset and selecting Create Custom Action will add it to both. If the items are no longer in the Custom list then your custom action list has been corrupted - even if the location was wrong the files would still be listed (and the enrty could be edited to point to the correct location).

  • mindsongmindsong Posts: 1,725

    fwiw, I lost my scripts menu by changing DS windowing layouts (I went from a simpler mode to an advanced mode so I could follow a tutorial that had buttons I couldn't see). My super-mega-handy  'scripts' menu was 'poof' gone in that mode.

    I'm sure I could follow the advice above to re-enable and add scripts, but it might work to revert back to the simpler mode, if the settings are still buried in the user's DAZ user-space.

    I'm also pretty sure that the paths to such scripts and resources are stored in a ascii/notepad editable layout files somewhere in your user-space. IF you can find that, you might be able to track down your list of scripts in the pile-o-files you described. I have the same issue.

    Sorry I can't be more specific. I ran into this too, and didn't have time to fix it, and I'm not at that computer to poke around.

    Hope this helps a bit,

    --ms

  • In the Application Data folder (e.g. C:\\Users\YOU\AppData\Roaming\DAZ 3D\Studio) there are .dsx files - CustomActions.dsx has the custom actions.

  • mindsongmindsong Posts: 1,725

    Thanks for that!

    --ms

  • WandererWanderer Posts: 957

    I was going to post the following:

    I tried following this, but it isn't helping. I changed my layout, lost the scripts menu from above. I'm looking at the Customize Daz Studio window, with my scripts under Custom Actions on the left panel and Main Menu open on the right panel under Menus tab. It contains: &File; &Edit; &Create; &Render; C&onnect; &Window; &Help. No Scripts entry to put the scripts under. 

    Then I discovered that if I right-clicked on main menus, I could add a sub-menu. I added $Scripts (hoping I didn't break something by using "S" as the menu shortcut). I decided even though I fixed it for myself, somebody else might run into this issue since I don't think anyone mentioned above how to add the submenu if it wasn't there already. Once Scripts is in the sub-menus of main menu, you just click-drag the scripts you want in it. That was much easier than I hoped.

  • hansolocambohansolocambo Posts: 649
    edited February 2021

    I just uninstalled Daz to Max and Daz to Maya as the script menu wasn't there. When I tried to restart DAZ after uninstalling those bridges, I ended up with a PostgreSQL error. Not sure how that and bridges are related ? 

    So I also uninstalled PostgreSQL CMS. Reinstalled that + the bridges and at the next restart, everything was fine. Script menu was there. Great. I then loaded my Workspace layout and instantly script menu was gone again. 

    It should, in my opinion, ALWAYS be there. Like other top menus :  File, Edit, Tools, etc. 

    Problem for many users I guess is that Scripts is not saved in the proposed DAZ layouts. When you first install the Daz to Max, Daz to Maya, etc. scripts, the menu is there next time you restart DAZ. But as soon as you load a default layout or one you created : the menu will be gone, because it wasn't saved with the layout. 

    So install or re-install the scripts to get the menu in the top bar. And then delete your custom layouts and re-create them. So that next time you load a workspace layout, the script menu will be there.

    Post edited by hansolocambo on
  • The Scripts menu isn't there until it has something to show. If it vanished after loading the layout I suspect it was empty, check the custom actions list on the left in Window>Workspace>Customise and the entries under Main Menus in the Menu tab on the right.

  • Richard Haseltine said:

    The Scripts menu isn't there until it has something to show. If it vanished after loading the layout I suspect it was empty, check the custom actions list on the left in Window>Workspace>Customise and the entries under Main Menus in the Menu tab on the right.

    I think this is the way that works. Uninstall and Re-install your bridge. Firing up daz will show up the scripts menu at the top. Now save this as a default layout (after making your tweaks)

Sign In or Register to comment.