Help! All my scripts disappeared!
![Wonderland](https://farnsworth-prod.uc.r.appspot.com/forums/uploads/userpics/117/nUQYG3AEB1BME.jpg)
in The Commons
Today when I opened DS, everything under my scripts menu is gone! What happened and how do I restore them?
You currently have no notifications.
Today when I opened DS, everything under my scripts menu is gone! What happened and how do I restore them?
Licensing Agreement | Terms of Service | Privacy Policy | EULA
© 2025 Daz Productions Inc. All Rights Reserved.
Comments
They are all still sitting under scripts in your content library so you can still use them. I don't know how you get them on the menu.
These are all scripts I created to go under scripts. They’ve been there for ages and just disappeared!
The V3Digitimes menu items disappeared too. What happened to my entire script menu? @RichardHazeltine ? Please help... I had like 50 things I use all the time in that menu...
At any point did you save your setup? I've had that happen a couple of times so now I save a custom workspace set up each time I add a script . Other then that I think your only other option is to go back through your script folder and resave as a customisible action
Is this using the released version of DS or the Beta?
If it the beta, then look here:
https://www.daz3d.com/forums/discussion/311401/using-your-old-preferences-in-ds-beta-public-build#latest
No the released version. Everything was fine yesterday and today it suddenly disappeared...
They are probably still listed in Window>Workspace>Customise, under Custom Actions on the left. You can drag them into the desired menu or toolbar in the tabs on the right, if you don't have a saved layout to restore.
Thanks, I will try that after this render finishes
No, didn’t work, all my scripts are still gone...
Where do I drag what?
Can't speak to your other scripts, but the V3Digitimes menu has disappeared on me before, too, and I have no idea why. But you can re-install it if you go to that product in the Product Library; there's an icon to install the script.
Yes, I’m not too worried about that one, it’s the 50 ones I created myself...
Do you back up, or have File History on for, your AppData folders?
@Wonderland, Window>Workspace>Customize is the path from the main menu, however the shortcut key is F3.
I hope this helps.
Sometimes just creating a new custom action will add the scripts menu back to your menu bar with all your old custom actions still there. Good luck. It is a pain to have to recreate the whole thing again.
They are probably still listed in Window>Workspace>Customise, under Custom Actions on the left. You can drag them into the desired menu or toolbar in the tabs on the right, if you don't have a saved layout to restore.
That worked for me. Thanks!!
This post is very valuable. This happened to me and I was able to get things back because fo this post Thank you.
Doesn't work for me. I have a backup. I overwrote the files with the files I backed up in November 2020 (the last time I backed up my script menu). Nothing changed, no Scripts menu. Created a Scripts menu and tried again. No change, nothing was populated under the menu.
The layout has worked but the customactions.dsx does not repopulate my scripts list.
I am used to program updates needing me to redo my layout, which is why I started to backup these files specifically, but I've never had an entire menu disappear before.
Any help getting this to work would be greatly appreciated, I really don't want to have to recreate a scripts list by hand, with many sub folders, that has been created over months/years. Even with the above method recreating and ordering all my subfolders will be a pain (not of my making).
The scripts/content they are pointing to are still there, in the same relative location (or same absolute location if not in a content directory)? Also, check permissions - I've been told in the past that restoring the CMS database can cause permission issues.
Hi Richard, thanks for the response. I know the scripts are in my Library, I know the Custom list is still there as mentioned above. I'm not sure which permissions you are talking about. If you could elaborate I would be obliged.
So the customactions.dsx is the list that is in the left hand pane of the settings and not what appears in the Scripts menu list i.e it lists the scripts but not menu sub folders and order?
Right, the Scripts menu is in the menus.dsx file - but the actions are identified by the alphanumeric string from the name entry in Custom Actions, not by the file name.
It is just broken as far as I can see. I replaced the menu.dsx with a backup and the Scripts menu item disappeared. I replaced the entire Studio4 folder in AppData-Roaming-DAZ3D with one from my C drive backup in November to a copy of 4.15 in which I had created a Scripts menu item. On starting Studio the Scripts menu I had created had disappeared. There is more going on here than I know how to fix other than rolling back completely to my 4.14 install or to do it it by hand.
I've noticed that sometimes when I switch Daz's layout... Broadway to whatever, that sometimes I loose my scripts. It hasn't happened in a while... but I don't mess around with the layout much.
It always seem to work again when I switched back to the layout theme I had been working on before the change.
Your mileage may vary.
Thanks for the suggestion, I had tried that without sucess however.
In my case, the thing is quite bizarre: I still have my custom menus and the scripts menu has all the submenus I added, but there are no references to the things I added in there. When I look in the workspace menu (F3), I can see alphanumeric strings in there, but I can't seem to make them link to their reference in any way. It's as if Studio hiccuped when referencing things and since then just refuses to look in their direction. Any suggestions?
These are the files I back up every time I add new scripts.
These are the files I back up every time I add new scripts. --> After I close DS
I had the same problem and I follow the procedure of L'Adair, ie to drag the actions in the proper menu.
I have a couple of questions
1/ is there a way to select several actions to drag them altogether to the menu or am I really supposed to drag tens of actions one by one to the proper location?
2/ Once it is done, I will definitely save the configuration. I saw that I can save some files from the roaming dir, but is there a method to do that within DS?
Window>Workspace>Save Layout, or use the Export button in Window>Workspace>Customise.
Thanks Richard for the tip to save the menus.
Re-editing the menu entries in DS is a real PITA as you cannot move several items and moving 100+ items one by one with this tiny font is a definite no-no for me.
Here is how I did proceed, it may help some of you.
IMPORTANT NOTE: it requires some tools that are only available in windows with cygwin installed or linux. It should also work on macs but it is untested.
Close DS.
In the roaming dir %appdata%/daz 3d/studio4/ (C:\Users\<Your User Name>\AppData\Roaming\DAZ 3D\Studio4) there are two related files:
customaction.dsx that defines a cryptic NAME for every custom actions
menus.dsx that defines menus entries by means of these previously defined NAMEs
customactions.dsx looks like that (formatted by me for lisibility)
while menus.dsx is
To allow an easy edition of the menu file, I use the following procedure.
Copy the files customaction.dsx and menus.dsx from the roaming dir to another dir
Run this command on a console to clean the customactions.dsx entries and add them a meaningful comment.
sed -n -e '/CustomAction Accel/s/^.*Name=\"\([a-f0-9-]*\)\".*Text=\"\(.*\)\"\/>/<CustomAction Name=\"\1\"\/><!--\2-->/p' < <your-copy-of-customactions.dsx> > <a-new-text-file>
This will transform customactions.dsx and copy it in the file <a-new-text-file> with entries like
The entry format corresponds to what is expected in the menus.dsx file, with an xml comment (safely ignored by DS) to ease the organization of the menus.
If you want to create submenus, add
Using an editor that understands xml formats and that allows to create macros (like atom, sublime, emacs, etc), helps a lot for the menu customization.
Once you have created all your menus entries, copy the new menus.dsx in the Roaming directory (but keep the initial version, just in case).
Then you can restart DS and verify that everything is correct.