Ludeon Forums

RimWorld => Bugs => Topic started by: Der Failer on January 10, 2016, 11:15:38 AM

Title: Screenshorts won't get saved if Save Data folder is changed
Post by: Der Failer on January 10, 2016, 11:15:38 AM
I found a bug where the game don't save screenshots.
I'm using a modified shortcut to change the Save Data folder like explained here (https://www.reddit.com/r/RimWorld/comments/39l5kg/changing_save_location_in_a11/cs4busc) or here (https://ludeon.com/forums/index.php?topic=16341.msg176061#msg176061). I'm using the "-savedatafolder SaveData" method. This works all fine for the saves, worlds and configs, but if make a screenshot the game wont save it and show this "Failed to store screen shot" the outputlog.txt (is attached).
I found also that if shortcut is modified like this '-savedatafolder "D:\Games\RimWorld\RimWorld914Win\SaveData"' screenshots will be saved properly.

[attachment deleted due to age]
Title: Re: Screenshorts won't get saved if Save Data folder is changed
Post by: milon on January 12, 2016, 07:56:10 AM
I'm guessing that "-savedatafolder SaveData" causes the screenshots directory to get an invalid path/handle.  Good to know that a full path works, but that ruins its portability. 

Did the screenshot folder already exist when you used "-savedatafolder SaveData"?  Did you try using a current-path variable (%CD% on Windows)?  Does anyone know if screenshots can have its own commandline argument?
Title: Re: Screenshorts won't get saved if Save Data folder is changed
Post by: skullywag on January 12, 2016, 07:57:12 AM
i thought this was reported as a unity bug or something, im sure Tynan is aware of this one.

edit - https://ludeon.com/forums/index.php?topic=14927.msg157087#msg157087

yup