View Single Post
Old 09-23-2011, 10:12 PM   #1
JohnnyLeven
FFR Player
 
Join Date: May 2006
Posts: 157
Default Automatic Screenshot Renamer

So, I take a lot of screenshot and I mean a lot (or I used to at least). The only problem with that is it's a pain to go back and rename those screenshots to keep track of scores. So, I decided to make a program to automatically rename your sm screenshots for you to something useful.

I thought of trying to make my own build of SM and changing it there, but I've had issues trying to build sm in the past and I wasn't looking forward to trying again, so I went with a different approach.

I made a new lua file that can be added to any theme that essentially creates a barcode on your screenshots with the relevant information and then I created a program that monitors your screenshot folder and renames any new screenshot that comes in (assuming it can find the barcode in your screenshot).

This just works with SM-SSC (and probably SM 5 but I haven't tried it). It should work with any theme, but I guess it's possible that some themes could have some sort of graphic that would appear on top of my bar code on the very right which would cause issues. Also, if you have the fps showing that can get in the way and prevent it from working.

I've set it up to rename screenshots the way I've always done it, but I'd like to make it customizable at some point so that people can define their own rules for renaming screenshots.

Although I probably won't be making a new version in the next two weeks due to school stuff, I'd love to get feedback and suggestions on how to improve this.

Screenshots:

(You can see the "barcode" on the very right of the screenshot)





v0.01 Download: http://www.mediafire.com/?q1t00bxg003f6xg
(You may need to download the most recent .NET framework to run this as well)
------------
Installation
------------
1) First, back up your theme. I don't want to be blamed for something breaking.
2) Second, go to:
<stepmania directory>/Themes/<themename>/BGAnimations
where <stepmania directory> is where you installed stepmania and <themename> is the theme you want to add this to.
3) Check if there is an existing "ScreenEvaluation overlay" folder
If there is not a "ScreenEvaluation overlay" folder:
3a) Copy the "ScreenEvaluation overlay" folder from the zip file into the BGAnimations folder

If there is a "ScreenEvaluation overlay" folder:
3b) Does the folder contain a default.lua? If not, simply copy over the default.lua from the zip file.
If the folder does contain a default.lua file, you may want to consider using a different theme if you're going to use this. The other option is to simply replace the existing default.lua, but that could cause some major issues with your theme. The other option is to try to paste the contents of the included default.lua into the existing default.lua, but that probably won't work without some tweaking.

4) Now place screenshotNamer.exe anywhere you'd like and run it (you may need to run as administrator). Select your screenshots folder (usually C:\Users\<user>\AppData\Roaming\sm-ssc\Screenshots) and then click Start Renamer. From there you can just play SM and take screenshots. The program with take care of the rest.



================================================================

You may have noticed that the 2nd results screen has some various timing stats on it. I added those awhile back plus I changed the gameplay screen to match the 3.95 theme gameplay screen. Here's the sm-ssc default theme mod if you'd like it:
http://www.mediafire.com/?wzvmtfv53gm0mcq
It also already includes the "barcode" theme mod, but you'll still need the auto renaming exe from the zip above.

Last edited by JohnnyLeven; 09-29-2011 at 11:32 PM..
JohnnyLeven is offline   Reply With Quote