Post #1 · Posted at 2016-05-09 08:54:21am 9 years ago
![]() | |
---|---|
![]() |
Member |
7 Posts | |
![]() | |
Reg. 2008-05-26 | |
Hi,
I´m using a PC running Stepmania 5 (last version) on an DDR cabinet vía a JPAC.
I´ve recently configured USB profiles & saving and it works like a charm.
But there´s something I still don´t know how to do: when playing with our USB drives, we want to be able to save screenshots of our scores in our USB drives instead of having them saved in the /Screenshots Stepmania install folder on the PC. For example, having a screenshot of our scores by pressing the two yellow buttons on the front panel simultaneously.
Currently we can only save them using PrintScreen. But the goal is to somehow "map" this key to any of the buttons on the front panel to take the screenshot and then have it saved on the USB drives.
¿Any clues on how we can do this?
Thanks in advance,
I´m using a PC running Stepmania 5 (last version) on an DDR cabinet vía a JPAC.
I´ve recently configured USB profiles & saving and it works like a charm.
But there´s something I still don´t know how to do: when playing with our USB drives, we want to be able to save screenshots of our scores in our USB drives instead of having them saved in the /Screenshots Stepmania install folder on the PC. For example, having a screenshot of our scores by pressing the two yellow buttons on the front panel simultaneously.
Currently we can only save them using PrintScreen. But the goal is to somehow "map" this key to any of the buttons on the front panel to take the screenshot and then have it saved on the USB drives.
¿Any clues on how we can do this?
Thanks in advance,
Post #2 · Posted at 2016-05-09 05:08:48pm 9 years ago
![]() | |
---|---|
![]() |
Member |
1,637 Posts | |
![]() | |
Reg. 2012-07-13 | |
"No." |
I believe the button mapped to "SELECT" does this?
Post #3 · Posted at 2016-05-09 09:18:33pm 9 years ago
![]() | |
---|---|
![]() |
Member |
313 Posts | |
![]() | |
Reg. 2012-09-13 | |
"ITG, The Best Dance Machine!" |
You could try something, on the Theme you are currently running, you can use a function called SaveScreenshot() that obviously, saves a screenshot. I have never tried it by myself.
This function has the following arguments:
The Function: SaveScreenshot( PlayerNumber pn, bool compress, bool sign, string prefix, string suffix )
Description: Saves a screenshot. If pn is nil, saves to the machine's Screenshots dir, otherwise saves to the profile's Screenshots dir. Saves as jpg if compress is true, or png if compress is false. The screenshot is signed if sign is true. prefix and suffix are optional strings to add to the beginning and end of the filename.
You can use that on any part of the Theme on a .lua file. If u need something else, I will try my best to answer it.
This function has the following arguments:
The Function: SaveScreenshot( PlayerNumber pn, bool compress, bool sign, string prefix, string suffix )
Description: Saves a screenshot. If pn is nil, saves to the machine's Screenshots dir, otherwise saves to the profile's Screenshots dir. Saves as jpg if compress is true, or png if compress is false. The screenshot is signed if sign is true. prefix and suffix are optional strings to add to the beginning and end of the filename.
You can use that on any part of the Theme on a .lua file. If u need something else, I will try my best to answer it.
Post #4 · Posted at 2016-05-10 06:55:47am 9 years ago
Thanks both for your reply !! I solved this by myself. By doing a little research on the theme code I figured out what I needed:
I had to manually edit the theme metrics to force the Codescreenshot to be invoked by just holding MenuLeft instead of Select.
Also, I was missing the correct screenshot storage paths for P1 and P2 on the metrics.ini.
No need to edit any .lua file (I did as well, but I just renamed the folder where the screenshots are stored).
I have to mention that holding Select did the job as well but that wasn´t what I needed as I´m using an arcade cabinet and don´t want to use the keyboard keys, but just the cabinet buttons.
I had to manually edit the theme metrics to force the Codescreenshot to be invoked by just holding MenuLeft instead of Select.
Also, I was missing the correct screenshot storage paths for P1 and P2 on the metrics.ini.
No need to edit any .lua file (I did as well, but I just renamed the folder where the screenshots are stored).
I have to mention that holding Select did the job as well but that wasn´t what I needed as I´m using an arcade cabinet and don´t want to use the keyboard keys, but just the cabinet buttons.
Post #5 · Posted at 2016-05-10 07:05:00pm 9 years ago
Quote: Laura_DDR
Thanks both for your reply !! I solved this by myself. By doing a little research on the theme code I figured out what I needed:
I had to manually edit the theme metrics to force the Codescreenshot to be invoked by just holding MenuLeft instead of Select.
Also, I was missing the correct screenshot storage paths for P1 and P2 on the metrics.ini.
No need to edit any .lua file (I did as well, but I just renamed the folder where the screenshots are stored).
I have to mention that holding Select did the job as well but that wasn´t what I needed as I´m using an arcade cabinet and don´t want to use the keyboard keys, but just the cabinet buttons.
I had to manually edit the theme metrics to force the Codescreenshot to be invoked by just holding MenuLeft instead of Select.
Also, I was missing the correct screenshot storage paths for P1 and P2 on the metrics.ini.
No need to edit any .lua file (I did as well, but I just renamed the folder where the screenshots are stored).
I have to mention that holding Select did the job as well but that wasn´t what I needed as I´m using an arcade cabinet and don´t want to use the keyboard keys, but just the cabinet buttons.
Pressing LEFT RIGHT and START activates Select as well i believe.
EDIT: Nevermind it's a theme im using that did it. Don't remember which one.
Probably was just on OITG