Chaos Corona Forum
Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: Njen on 2017-09-24, 12:28:35
-
I've completely uninstalled, then reinstalled the latest RC-1 build, and I find I'm missing some things:
* I can't find a 'Corona' menu that I've read elsewhere in the forum is supposed to exist on the main menu bar.
* When I attempt to launch the Corona Material Library, I get the following error: "Corona Matlib has failed to load. Material file is missing." I can load the matlib file manually and I see all of the materials, but anything with a bitmap map is failing to load.
I'm running Max 2017.
-
It might be good to know that I've sent my default program files install directory in the Windows registry to be the D drive, not the C drive. So Corona automatically installs here on my computer:
D:\Program Files\Corona
-
Do you have the D:\Program Files\Corona\materials\library.mat file on the disk? Or perhaps was this file created in the same path on the C drive?
-
I would suggest trying the manual installation from the newest RC: https://forum.corona-renderer.com/index.php?topic=15845.msg110252#msg110252
-
Manual installation didn't fix this, still no Corona menu in Max and still unable to find the Corona matlib when I attempt to launch the library. It did look like it installed into the correct directory though:
D:\Program Files\Corona\materials\library.mat
Not sure what else to check...
-
Please try the following:
-uninstall Corona from the programs and features list
-go to disk cleanup in Windows, and clear temporary internet files
-open internet explorer and clean browsing cache
-Go to your X:\Users\yournamehere\AppData\Local\Autodesk\3dsMax\2015 - 64bit\ENU\en-US\plugcfg\
and remove the CoronaRendererMenus.ini file. You may also remove anything else with "Corona" in it if you wish.
-In 3ds Max run customize > customize user interface > menus tab > menus at bottom-left > find Corona and delete it (if it's there)
-Install Corona again
If that doesn't help, then I am afraid this will need an intervention from the dev team.
-
Thanks for the list, unfortunately I am getting the same result, no Corona menu and the Corona Material Library fails to find the appropriate matlib.
-
Hi, I will look into this issue. Please, could you answer the following questions?
- How do you start Corona MatLib if there is no Corona menu for it?
- Start Corona Image Editor and do not load any image into it. Just expand the LUT panel on the right. What is the path written on the path-selecting button (above the combo box for selecting LUTs)?
-
1. I manually make my own menu and find the necessary items form the "Corona Renderer" category, then launch it from there.
2. It says "C:\", which leads me to believe there may possibly be some hard coding in the path? I guess the lack of access to LUTs have not been an issue for me, since I never apply LUTs to my renders, preferring to do all comping in Nuke.
-
1. I manually make my own menu and find the necessary items form the "Corona Renderer" category, then launch it from there.
2. It says "C:\", which leads me to believe there may possibly be some hard coding in the path? I guess the lack of access to LUTs have not been an issue for me, since I never apply LUTs to my renders, preferring to do all comping in Nuke.
OK, thank you. So it has something to do with your change of Program Files path.
Please, can you open command line (press Win+R and type cmd), run echo %ProgramW6432% %ProgramFiles% command, and post here output of it?
Do you remember which registry keys you have changed to move Program Files to D drive?
-
Running the command gives me:
D:\Program Files D:\Program Files
I modified all keys in the following location that was originally pointing to the C drive:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
CommonFilesDir
CommonFilesDir (x86)
CommonW6432Dir
ProgramFilesDir
ProgramFilesDir (x86)
ProgramW6432Dir
-
OK, what about HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion, do you see any "C:\Program Files" string values there? Still not sure, if it is the cause of your issues.
-
Actually, I changed those too. There is nothing there pointing to the C drive, only the D drive.
-
There must be something. You can try to search for "Program Files" token in registry. Maybe there is something you have left out. Remember there are paths containing "%SystemDrive%" variable so searching for "C:\Program Files" may not be enough.
The thing is that Corona installer is 32bit but Max plugin is 64bit. When asking the system for a path to Program Files, we are getting different paths in your case. That is why your Corona installation cannot find Material Library resources and LUT files. Unfortunately I am unable to find out which registry key the system uses for that (when running a 64bit application). It is probably wrong in your case.
Generally I would rather copy whole Program Files directory to D drive and then use mklink /J "C:\Program Files" "D:\Program Files" to create a directory junction. It seems more robust and problem free to me. But I have never tried that. Nevertheless, I would not suggest to do such thing at all. One can almost always install stuff to a different drive.
-
I attempted a search for "Program Files" in the registry, but it was far too numerous to continue.
I've had this setup (editing the registry for default program files location) working for many years now on a few computers, and this is the first time I've had an issue with a program not finding something on the correct drive. The only thing I keep on my C drive is the operating system. All third party program files and user documents are moved to other (physical) drives to prevent data loss should the operating system falter in any way.
Are you sure there isn't anything in Corona that is specifically looking for a specific drive?
-
Have you tried creating C:\Program Files\Corona directory with a full structure for the material library?
-
I attempted a search for "Program Files" in the registry, but it was far too numerous to continue.
I've had this setup (editing the registry for default program files location) working for many years now on a few computers, and this is the first time I've had an issue with a program not finding something on the correct drive. The only thing I keep on my C drive is the operating system. All third party program files and user documents are moved to other (physical) drives to prevent data loss should the operating system falter in any way.
Are you sure there isn't anything in Corona that is specifically looking for a specific drive?
Yes, I am sure. We are using an official system call to obtain a correct path to Program Files, and the path we are receiving from the system is in your case on C drive. Hence, something is wrong with your setup for 64-bit applications. Unfortunately I was not able to google what should you change to make the system call to return a path on D drive.
I am sorry I cannot help you more with this. I can just suggest you to not to do such things. Even Microsoft warns that it is not supported/tested and users should not do it (just see introduction at https://support.microsoft.com/en-us/help/933700/microsoft-does-not-support-changing-the-location-of-the-program-files (https://support.microsoft.com/en-us/help/933700/microsoft-does-not-support-changing-the-location-of-the-program-files)).
Have you tried creating C:\Program Files\Corona directory with a full structure for the material library?
Yes, this (or just making a directory junction) would probably fix that. It could be a workaround for you.
-
old, uncommon, no easy solution