Ability to set screenshot key binding & directory

  • Posts: 11
4 years 11 months ago #1 by Coreda
After searching around and looking through the config files I couldn't find a way of changing the default screenshot key binding of PrintScreen, nor a way to set a custom output directory for screenshots.

As other programs can't capture ReShade's injected effects being able to customize the screenshot hotkey and screenshots directory is something sorely missing, both for the customizable nature of the framework and user's own needs, and for being able to organize screenshots.

Would love to see these features added in a future version, as there's clearly a lot of love in the project and for tinkering with ideal settings :)
The following user(s) said Thank You: BrandonHortman

Please Log in or Create an account to join the conversation.

  • Posts: 3725
4 years 11 months ago #2 by crosire
Agreed, on the TODO list. =)
The following user(s) said Thank You: GroinShooter, BrandonHortman, Coreda

Please Log in or Create an account to join the conversation.

  • Posts: 1221
4 years 11 months ago #3 by Marty McFly
For me, fraps is working fine though

Please Log in or Create an account to join the conversation.

  • Posts: 11
4 years 11 months ago #4 by Coreda

crosire wrote: Agreed, on the TODO list. =)


Wonderful ◝(‾◡◝)◜

Please Log in or Create an account to join the conversation.

  • Posts: 3725
4 years 11 months ago - 4 years 11 months ago #5 by crosire
0.19.0 now allows changing the screenshot location. Just add "#pragma reshade screenshot_location "<PATH>"" anywhere in one of the fx files, where <PATH> is a valid path to an existing directory (like "C:\Users\...\Desktop"). Don't forget the quotes around the path.
The following user(s) said Thank You: Wicked Sick, Coreda

Please Log in or Create an account to join the conversation.

  • Posts: 11
4 years 11 months ago #6 by Coreda
Fantastic! Thanks for the quick update on the first feature. Will test when I get the chance. Will help a lot with keeping things organized.

With the eventual custom keybindings it will be the perfect combination ❛◡❛

Please Log in or Create an account to join the conversation.

  • Posts: 14
4 years 10 months ago #7 by Scotland

crosire wrote: 0.19.0 now allows changing the screenshot location. Just add "#pragma reshade screenshot_location "<PATH>"" anywhere in one of the fx files, where <PATH> is a valid path to an existing directory (like "C:\Users\...\Desktop"). Don't forget the quotes around the path.


Possibly my english is not good enough,but I can't get it to work. I only have one Fx file "Reshade.fx" Put it in,but nothing happened.

Regards,

Scott

Please Log in or Create an account to join the conversation.

  • Posts: 14
4 years 10 months ago #8 by Scotland
Please anyone there for help?

Scott

Please Log in or Create an account to join the conversation.

  • Posts: 3725
4 years 9 months ago #9 by crosire
Just put the following (with your custom path) on a separate line in one of the shader files:
#pragma reshade screenshot_location "C:/......./MyScreenshots"

Please Log in or Create an account to join the conversation.

  • Posts: 14
4 years 9 months ago #10 by Scotland
Thanks Crosire!

I am using the mastereffect.h file.I put it in there ,but nothing changed.

Scott

I have no clue what is meant"..in one of the shader files" ???

Please Log in or Create an account to join the conversation.

  • Posts: 3725
4 years 9 months ago #11 by crosire
Please make sure you are using either "/" or "\\" to separate folders in your path. "C:\Test\Path" won't work for instance, because the string is escaped. It has to be "C:\\Test\\Path" or "C:/Test/Path".

Please Log in or Create an account to join the conversation.

  • Posts: 14
4 years 9 months ago #12 by Scotland
Thanks Crosire !

That's working now.

Scott

Please Log in or Create an account to join the conversation.

  • Posts: 307
4 years 8 months ago #13 by MonarchX
Has this been integrated into ReShade Framework 1.0.0? Which key can I use to take screenshots and where will they be stored???

Please Log in or Create an account to join the conversation.

  • Posts: 790
4 years 8 months ago #14 by Ganossa
No it is not added yet, you can past this line on top of ReShade.fx for now::

#pragma reshade screenshot_location "C:/......./MyScreenshots"

With your screenshot folder location of course. ;)

Please Log in or Create an account to join the conversation.

  • Posts: 4
4 years 7 months ago #15 by Alexandra
No biggie, but this doesn't seem to work for me.

Note: There is a space in my screenshot path, if that matters.

Please Log in or Create an account to join the conversation.

  • Posts: 3725
4 years 7 months ago #16 by crosire

Alexandra wrote: Note: There is a space in my screenshot path, if that matters.

Doesn't matter, as long as you put the path in quotes.

Please Log in or Create an account to join the conversation.

  • Posts: 11
4 years 7 months ago #17 by Coreda

Alexandra wrote: No biggie, but this doesn't seem to work for me.

Note: There is a space in my screenshot path, if that matters.


Looks like the setting requires the use of forward slashes rather than backslashes in the path (at least going from the example above).

Please Log in or Create an account to join the conversation.

  • Posts: 3725
4 years 7 months ago #18 by crosire
Strings use escape sequences, so there is nothing wrong with backslashes, but they need to be escaped:

"C:\\Test\\"

Please Log in or Create an account to join the conversation.

  • Posts: 27
4 years 6 months ago - 4 years 6 months ago #19 by NotSoSweet

ReShade 1.0.0 Changelog
Added option to change screenshot key via "#pragma reshade screenshot_key"


Hello!

Can anyone help me please - how can i add custom screenshot key to standalone "ReShade 1.0.0 with SweetFX 2.0 package"? :blush:
I want to bind F12 for screenshots. I think that F12 keycode is 123 if it's does matter.

Thanks!


EDIT: Managed to edit ReShade.fx with new line #pragma reshade screenshot_key 123
:side:

Please Log in or Create an account to join the conversation.