Cool VL Viewer forum http://sldev.free.fr/forum/ |
|
Day cycle gets lost on viewer update http://sldev.free.fr/forum/viewtopic.php?f=6&t=1218 |
Page 1 of 2 |
Author: | Tillie [ 2013-05-28 16:01:30 ] |
Post subject: | Day cycle gets lost on viewer update |
Hello Henry, shouldn't the client use the file [user home]\...\user_settings\windlight\days\Default.xml, if it is available, like the files in windlight\skies and windlight\water, overriding the defaults? Looks like it only uses the Default.xml in [client folder]\app_settings\windlight\days So on each update of the client the file is overwritten and the settings gone. Any chance to fix/improve that? Thank you! |
Author: | Henri Beauchamp [ 2013-05-28 20:09:08 ] |
Post subject: | Re: Day cycle gets lost on viewer update |
This is not a bug, but the expected and normal behaviour... I suggest you name your custom settings otherwise than "Default"... |
Author: | Tillie [ 2013-06-02 15:45:42 ] |
Post subject: | Re: Day cycle gets lost on viewer update |
Renamed it, didnt help. You can only load/save in the client without giving a name, it's always loading/saving from/to the client folder. |
Author: | ErikaThorkveld [ 2018-08-09 15:28:31 ] |
Post subject: | Re: Day cycle gets lost on viewer update |
OK, I'm kind of late for the party, but I'm getting this little issue at each reinstall too, so I thought I'd chime in. So I do have to redefine my custom day cycle settings each time, but beside that very minor point, isn't that a problem to store user settings in Cool VL Viewer's installation folder? If the user is not an administrator, it will probably not work, am I right? And if there are several users on different accounts and they both want a custom day cycle, won't the second one override the changes made by the first one? Because there's no way in the interface to give a custom name to the day cycle, it seems to always be saved to Default.xml… |
Author: | Henri Beauchamp [ 2018-08-09 21:47:12 ] |
Post subject: | Re: Day cycle gets lost on viewer update |
Custom settings are not saved into the viewer installation directory but in the (per OS-account/login) user_settings directory You may also override all viewer default settings with files installed in user_settings/windlight/[days|skies|water] Finally, you can use the Cool VL Viewer Lua scripting feature to setup Windlight however you like on login. |
Author: | ErikaThorkveld [ 2018-08-10 06:19:19 ] |
Post subject: | Re: Day cycle gets lost on viewer update |
For skies and water settings, you're absolutely right. But are you sure it really works that way for day cycles? I always do a custom day cycle via World -> Environment settings -> Day cycle editor, but it doesn't seem to save anything in …/user_settings/windlight/days, which is always empty. But when I click the "Save test day" button in the day cycle editor, the file Default.xml in app_settings/windlight/days in Cool VL Viewer's installation folder seems to get updated. Or at least, I see its modification date changing… |
Author: | Henri Beauchamp [ 2018-08-10 13:18:22 ] | |||||||||
Post subject: | Re: Day cycle gets lost on viewer update | |||||||||
Yes, that would be a bug... And indeed, day cycles are not properly handled in LL's code. I changed it for next release so that it saves all settings to LL_PATH_USER_SETTINGS and tries to load them from both LL_PATH_USER_SETTINGS and then LL_PATH_APP_SETTINGS, in this order. |
Author: | Amalia Illios [ 2018-08-11 10:47:42 ] |
Post subject: | Re: Day cycle gets lost on viewer update |
Hello Henri et al., I fear that whatever changes were made did break Environment settings. Sunrise / Midday / Sunset / Midnight and, especially annoying, Revert to region default are without function now. This also extends to the related LUA functionality. Reverting to .13 for now. Love, Lia |
Author: | Henri Beauchamp [ 2018-08-11 12:34:56 ] | |||||||||
Post subject: | Re: Day cycle gets lost on viewer update | |||||||||
*sighs* Now you can tell I do not use Windlight at all... The problem is that I added filename characters escaping for safety, but the escaping code also escapes the "." in Defaults.xml, meaning the viewer attempts to load Defaults%2Exml instead. I'll publish a fixed release later today... |
Author: | GeoffEarnshaw [ 2018-09-07 02:19:26 ] |
Post subject: | Re: Day cycle gets lost on viewer update |
Has this been fixed? The reason why I ask is because when I visit a region that has windlight settings, I do not see anything but the default sky and water. When I login and visit the same region with FS, I am able to see the different settings for the sky and water. Geoff |
Page 1 of 2 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |