angus.wood Posted July 16, 2014 Share Posted July 16, 2014 I want to save a sequence of screenshots to a RAM disk for performance reasons. However I cannot set an absolute path i.e. Q:\screenshots\ - instead the only argument I can pass is a relative path to $APP\bin\screenshots\ Or at leasts if there is a way I can't see it. Link to comment
sebastianbah Posted July 20, 2014 Share Posted July 20, 2014 Hi, I'm afraid for the present moment path for video_grab is related to bin/screenshots. We'll add this problem to our task list, but we can't give any ETA.Sorry for the inconvenience. Link to comment
cory.parks Posted August 19, 2015 Share Posted August 19, 2015 Any update on this feature? I just tried to do this and had the same issue. I'd like to be able to save my screenshots to: "C:/Users/<username>/Saved Games/<game_name>/screenshots/" Is it possible to write my own screenshot function as a workaround? Edit: I was able to work around it by adding a BUNCH of "../../../../" relative up directory strings, but it's certainly not an elegant solution. Also, that only works if the program already resides on the same drive as the windows user profile. Link to comment
silent Posted August 19, 2015 Share Posted August 19, 2015 Hi Cory, You can pass project_name startup parameter to your application (https://developer.unigine.com/en/docs/1.0/code/command_line?words=project_name,project_nam#highlight). For example, we used this approach in our benchmarks: -project_name "Valley" parameter will create directory %userprofile%/Valley under Windows where engine config, shaders cache and screenshots will be stored. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
cory.parks Posted August 19, 2015 Share Posted August 19, 2015 Excellent! It's not a perfect solution for providing an absolute path, but this will work for my needs. Thank you. Link to comment
cory.parks Posted August 19, 2015 Share Posted August 19, 2015 Actually, upon talking to several others, it seems many people change their default "Saved Games" to other drives besides their windows install or even their userprofile directory. The current solutions only allow a path relative to install directory or userprofile. Is there a possibility of being able to provide an absolute path for the project_name data in the future? Link to comment
Recommended Posts