Export custom actions to the new beta?
![cheard](https://hpclscruffy.daz3d.com/forums/uploads/userpics/090/n0C3821B38067.jpg)
Hi all! I am trying to figure out how to export my custom actions from Studio 4.3 to the just-released Studio 4.3 beta.
In the latest general non-beta release, I opened Window > Workspace > Customize, clicked Export, selected Menus from the dropdown menu, saved the file in a convenient location. Then I launched the beta, opened Window > Workspace > Customize, clicked Import, selected Menus from the dropdown menu, found the file I previously exported. As expected, the scripts and favorites menus were imported. However, when I clicked on the Favorites or Scripts menu, nothing happenes ... because the custom actions aren't there. That's also the expected behavior.
So I then repeated the export-import process, this time choosing Actions from the dropdown menu at the appropriate step. But ... no custom actions get imported. The XML file has a long list of all the custom actions, but still nothing happens on import.
What am I doing wrong?
Note: If I export-import the Layout with Custom actions and Custom menus selected in the drop-down menus, same outcome.
Comments
It doesn't export Custom Actions... You have to: Open File Browser, go to: %appdata%\DAZ 3D\Studio4 There's a file "customactions.dsx". Copy / Paste it to: %appdata%\DAZ 3D\Studio4 Public Build
Better backup "customactions.dsx" in %appdata%\DAZ 3D\Studio4 Public Build beforehand.
Actually, if you install and use Public Build for the 1st time, you can just replicate the whole folder of %appdata%\DAZ 3D\Studio4 to %appdata%\DAZ 3D\Studio4 Public Build
Thank you @crosswind!! That worked perfectly.
You can use http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/general_ui/copy_ui_from_channel/start
Moving this here as Crosswind pointed this thread out.
Is there an ini file or such in the roaming data (or anywhere?) for the regular one I can copy and put in the same (relative) position for pubic build and not have to recreate all my custom settings etc?
---
attached image, which will hopefully go big enough to be read.
and in window 1 my current roaming daz studio 4, window 2 current condition of roaming public build, and window 3 the 3 exported dsx which look awfully mournfully lacking in upgrading the beta
--
after I dup the roaming beta folder, how much or what or if any of the current studio 4 folder can I just drag into the the beta folder
----
And yes I'm lazy .. that's why I got into computer way back in 78 to make them do the work.
There's no *.ini files related to Layout and CustomActions you defined in DS... The necessary folders / files that are relevant to Layout and your customized settings in General Release roaming directory that are framed in red in below screenshot are the ones you need to move to Public Build roaming folder. You have to make sure you've also installed / copy the plugins from the plugin folder of General Release to Public Build.
As for Layout and CustomActions only, you can directly use the script that Richard posted above... Download that script, drag it to your DS Public Build window, select Studio4, Accept.
Okay, have successfully burped the baby (with the help of your colored adornments on the image)
Only one mountain left to climb.
When I started public for the first time it did say "wow, I found a new directory 3 scenery on drive E.
Well that was good that was the newest directory added. However magically done that it has successfully ignored all other directories
So how do I syc the content directories between the two builds?
image one current state of public build content
image two current state of regular build content
image three search for native in regular log file
image four seach for native in public log file.
obviously they are looking in diffect places for a list ... How do I fix this
And the idea of adding one folder/directory at a time is not appealing
nor is scanning for data because there are used and unused folders on 3 drives making up the working content directory.
because obviously the data from 15,000 products are not going to sit on the m2 system drive
---
I did try copying the ContentDirectoryManager.dsx and the dazpath.text which were not in the public roaming from the regular roaming but to no avail (although it didn't break anythingz)
As per standard work flows I did copy the original public build folder to another drive before updating the one on the C drive so it's in there I can retrieve the info for the old one
or I suppose that would be same as having the public access the info that the regular does,
Logfile on opening regular shows this.
2025-02-08 01:27:22.715 [VERBOSE] :: Native format content directories: 94
2025-02-08 01:27:22.715 [VERBOSE] :: Poser format content directories: 5
2025-02-08 01:27:22.715 [VERBOSE] :: Other import format content directories: 0
Ouch, you have too many root libraries... ContentDirectoryManager.dsx is used for storing Content Set rather than your Daz Library paths. Library paths are saved in Windows Registry.
Usually I just manually enter the paths into Content Directory Manager as I only have 3 Daz Libraries. Since you have so many, you can use this script to migrate the library paths from DS General Release:
http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/file_io/save_mapped_paths/start
Save the script to your disk. Firstly drag it to your DS General Release window to save another DSA file ( e.g. name it as MyLib.dsa ) in which all your library paths will be stored. Then drag MyLib.dsa file to your DS Public Build window. Done ~
Then in DS Public Build, check the paths in Content Directory Manager and refresh Content Libary.
color me paranoid the top of the referenced page says
Save Mapped Paths
Summary
Below is an example demonstrating the creation of another script that will clear any currently mapped content directories and subsequently set the mapped content directories to those that were mapped at the time the script was created.
---
That sequence worries me in that it implies erasing the current list and the running an recreated that listing. What could go wrong?
---
Is it possible to take the script shown and remove the clearing and just have it creat a new list of the ones that exist?
---
from in roaming
dzStudio4MappedContent=HKEY_CURRENT_USER/SOFTWARE/DAZ/Studio4
duplicate the content of that in place and then change it's name to
dzStudio4MappedContent=HKEY_CURRENT_USER/SOFTWARE/DAZ/Studio4/PublicBuild (or approiate name)?
--
I can go in to public program and add the dircectories one and a time and it's going to modify the list it currently as the daz and poser defaults
so shouldn't I be able to edit that directly like I can the list that is used to tell Dim where I want to install the content?
Nope, it won't erase any of you library seetings. Just go for the above steps I mentioned.
If you really DO worry about it, go to your Windows Registry : HKEY_CURRENT_USER\Software\DAZ\Studio4 Right-click to export the registry as a backup.
Thanks ... the libraries are transferred.
As to having too many.
My Daz library is on C and has about 20g of the stuff that seems to have to go in the recommended folder.
I suppose I could have a directory / folder on the E drive with all of the stuff on E in it and one on the G drive that would have all the stuff on the G drive in it.
But could I still install products to the separate sorted folders I use now (and have since way back probably in the first year when every product had an installer).
Or once I stick them in an uber directory do I have to use the content directory manager ... which I seem to remember seeing folks talk about failing and losing all their sorted data (which I guessed was done via aliases?)
My data is currently accessed via the real location on disk with named folders for specific types of data. And since in theory the drives are backed up if the E fails I can rename F to E and be back up. (Memo to self ... probably need another 8g drive to make sure the backups are intact again).
Beside the 15,000 daz products and some from other places some directorys access folders of subsets with custom built items etc.
But thanks for the help
No doubt you still can do it in your routine way no matter where the content directories locate... as long as you assured a correct settings beforehand. Only... switching the content path each time you install a single package in DIM seems cumbersome to me.![devil devil](https://www.daz3d.com/forums/plugins/ckeditor/js/ckeditor/plugins/smiley/images/devil_smile.png)