For some reason, Renpy launcher defaults to saving the screenshots taking while developing in the actual runtime folder... instead of, like... the My pictures folder, My documents/renpy-screenshots or whatever else would make a bit more sense. You don't store anything in program-folders!
Is it possible to change this behavior? A setting somewhere? Or is this hardcoded into the launcher?
[solved] Renpy-launcher (development) - change default storage for screenshots?
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
- Regular
- Posts: 164
- Joined: Wed Nov 08, 2017 4:32 pm
- Projects: HSS
- Deviantart: studioerrilhl
- Github: studioerrilhl
- Contact:
[solved] Renpy-launcher (development) - change default storage for screenshots?
Last edited by Errilhl on Tue Nov 28, 2017 3:47 pm, edited 1 time in total.
- RicharDann
- Veteran
- Posts: 286
- Joined: Thu Aug 31, 2017 11:47 am
- Contact:
Re: Renpy-launcher (development) - change default storage for screenshots?
Screenshots are saved in the sdk folder only if testing (with the launcher), when you build and release the game screenshots will be saved in the same folder where the game's executable is.
Anyways there's this variable called config.screenshot_pattern, wich determines the full name of the image including filepath. So you can add this somewhere in your code, for example, in your script.rpy file, to specify a path yourself:
This would save the image in Pictures folder on Windows 7 onwards, but I don't know what it would do on a different OS or platform.
Anyways there's this variable called config.screenshot_pattern, wich determines the full name of the image including filepath. So you can add this somewhere in your code, for example, in your script.rpy file, to specify a path yourself:
Code: Select all
define config.screenshot_pattern = "C:\Users\Public\Pictures\screenshot%04d.png"
The most important step is always the next one.
-
- Regular
- Posts: 164
- Joined: Wed Nov 08, 2017 4:32 pm
- Projects: HSS
- Deviantart: studioerrilhl
- Github: studioerrilhl
- Contact:
Re: Renpy-launcher (development) - change default storage for screenshots?
Thanks - I will test it out.
That worked perfectly! Thanks a lot. Still think it would be nice to have a specific setting for the development / launcher console, so that this was kept separate from the in-game logic, but it works. Now I just need to remember to take it out when I'm packaging
That worked perfectly! Thanks a lot. Still think it would be nice to have a specific setting for the development / launcher console, so that this was kept separate from the in-game logic, but it works. Now I just need to remember to take it out when I'm packaging
- komehara
- Regular
- Posts: 36
- Joined: Fri Jan 31, 2020 10:08 pm
- Projects: Spirit Link
- Tumblr: hsandt
- Deviantart: hsandt
- Github: hsandt
- itch: komehara
- Contact:
Re: [solved] Renpy-launcher (development) - change default storage for screenshots?
Maybe you could check config.developer before setting config.screenshot_pattern? I guess a define won't work in this case, but you could use a Python assignment instead.
Who is online
Users browsing this forum: Google [Bot]