Homebrew [Release] PC *hax 2.5 screenshot merge tool.

  • Thread starter Thread starter RedHat
  • Start date Start date
  • Views Views 10,295
  • Replies Replies 40
  • Likes Likes 22

RedHat

Well-Known Member
Member
Joined
Oct 10, 2015
Messages
235
Reaction score
247
Trophies
0
Location
Mii Plaza
Website
github.com
XP
446
Country
United States
So I made a really quick and dirty screenshot tool to convert *hax 2.5 screenshots to a little bit nicer format. It uses Java.

OVERVIEW:
This program takes your screenshot folder and makes all those messy images into nicer compiled images in a reasonable amount of time! It is also quite simple to use. Not only can it simply merge two images together, but it also can apply a template file to your set of images.


DOWNLOAD:
Here is the GitHub repository (It's open source because everyone loves open source)!
https://github.com/RedInquisitive/Screenshot-Tool
Download ScreenshotTool.jar and double click to run it!


WARNINGS:
/!\ This program was made in literally 2 hours. There may be some bugs. But it works on my machine so I guess that counts for something.
/!\ This program was released in a hope that it provides some form of usefulness to someone. Of course it might not be useful for everyone, including you. I understand that these operations can be done with basically any image editing software, but I am wayyyy too lazy to do any of that stuff. Automation!

EXAMPLES:
With a template file:
scr_68_MERGED.png


Without a template file:
scr_28_MERGED.png
 
I could definitely use this. Would it be possible to add support for screenshots taken with NTR? I don't know if they differ at all from 2.5 *Hax screenshots or not.
 
I don't know if they differ at all from 2.5 *Hax screenshots or not.
Actually, it has nothing to do with the format, but the name. Java will look at the name scr_1_BOTTOM.png and find "1" between the first and second underscore and BOTTOM after the second underscore and match it with the corresponding number and eye of the top screen. I suppose it wouldn't be too hard to make it work.
 
I'll definitely use this, as I hate having to merge the top and bottom screens with Microsoft paint :D
 
Actually, it has nothing to do with the format, but the name. Java will look at the name scr_1_BOTTOM.png and find "1" between the first and second underscore and BOTTOM after the second underscore and match it with the corresponding number and eye of the top screen. I suppose it wouldn't be too hard to make it work.

So simply renaming the screenshots I take to match the naming scheme of *Hax screenshots should theoretically work?
That's easy enough to do. Thanks for the tool :).
 
I'll definitely use this, as I hate having to merge the top and bottom screens with Microsoft paint :D
 
I know you warned about usefulness and bugs, but I thought I'd bring it to your attention that even though I get the All Done! message (which happens way too quickly), there is nothing in the output folder.
 
I know you warned about usefulness and bugs, but I thought I'd bring it to your attention that even though I get the All Done! message (which happens way too quickly), there is nothing in the output folder.
That's interesting! Care to share the input folder's contents? It should basically look like the one in the repository. I think it might be any of these:
1. You didn't actually double click to enter the input folder before selecting OK
2. The input folder cannot be read from (Is it on the same drive?).
3. The output folder cannot be written to.

Try running the program with java -jar ScreenshotTool.jar
 
Last edited by RedHat,
That's interesting! Care to share the input folder's contents? It should basically look like the one in the repository. I think it might be any of these:
1. You didn't actually double click to enter the input folder before selecting OK
2. The input folder cannot be read from (Is it on the same drive?).
3. The output folder cannot be written to.

Try running the program with java -jar ScreenshotTool.jar

I tried to run it through Terminal, with the command you mentioned and this happened. I'm going to see if there's any problem with the permissions of the folders. Also, here are my folders where the .jar is located, and the contents of the input folder.

Screen Shot 2015-11-11 at 10.05.24 PM.png
Screen Shot 2015-11-11 at 10.11.07 PM.png
Screen Shot 2015-11-11 at 10.11.17 PM.png
 
I should have suspected. I used \\ (which converts to just \) in Java to separate files. I never accounted for Mac which uses /! Doh! I'll have to fix it tomorrow for UNIX people.
 
Last edited by RedHat, , Reason: a word
I should have suspected. I used \\ (which converts to just \) in Java to separate files. I never accounted for Mac which uses /! Doh! I'll have to fix it tomorrow for UNIX people.
I just expected it to work, since it was a .jar file, and my immediate thought was that it was universal. Thanks for the help!
 
@RetroBitMig you are correct, it totally should be platform independent (that's the whole point of Java). It's just my lazy programming! No worries, I'll fix it soon when I get a chance. It should be a trivial fix. I'll try it out on my Ubuntu box first thing tomorrow, too.
 
This reminds me of my own comment in mashers grid launcher thread: click
Thank you very much RedHat :bow:


EDIT 1: Could you add support for multiple templates?
  • template1.cfg / template1.png
  • template2.cfg / template2.png
  • ...
EDIT 2: some more templates

EDIT 3: added '*.cfg' files for all templates

pozOM1J.png
 

Attachments

Last edited by Shaker78,
At least provide the source if you are at it so people can be sure your tool does not do malicious things. You can also merge the screenshots with Imagemagick easily.

EDIT:
Source available now.
 
Last edited by ghjfdtg,

Site & Scene News