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

RedHat

Well-Known Member
OP
Member
Joined
Oct 10, 2015
Messages
235
Trophies
0
Location
Mii Plaza
Website
github.com
XP
376
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
 

bache

Well-Known Member
Member
Joined
Sep 28, 2009
Messages
694
Trophies
1
XP
515
Country
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.
 

RedHat

Well-Known Member
OP
Member
Joined
Oct 10, 2015
Messages
235
Trophies
0
Location
Mii Plaza
Website
github.com
XP
376
Country
United States
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.
 

bache

Well-Known Member
Member
Joined
Sep 28, 2009
Messages
694
Trophies
1
XP
515
Country
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 :).
 

RedHat

Well-Known Member
OP
Member
Joined
Oct 10, 2015
Messages
235
Trophies
0
Location
Mii Plaza
Website
github.com
XP
376
Country
United States
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,

RetroBitMig

Banana Boy
Member
Joined
Oct 19, 2015
Messages
162
Trophies
0
Age
28
Location
Los Angeles
Website
xn--yck0dzd.xn--q9jyb4c
XP
170
Country
United States
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
 

RedHat

Well-Known Member
OP
Member
Joined
Oct 10, 2015
Messages
235
Trophies
0
Location
Mii Plaza
Website
github.com
XP
376
Country
United States
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

RetroBitMig

Banana Boy
Member
Joined
Oct 19, 2015
Messages
162
Trophies
0
Age
28
Location
Los Angeles
Website
xn--yck0dzd.xn--q9jyb4c
XP
170
Country
United States
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!
 

RedHat

Well-Known Member
OP
Member
Joined
Oct 10, 2015
Messages
235
Trophies
0
Location
Mii Plaza
Website
github.com
XP
376
Country
United States
@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.
 

Shaker78

Well-Known Member
Member
Joined
Jan 17, 2007
Messages
121
Trophies
1
XP
547
Country
Gambia, The
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

  • new 3DS XL (black).zip
    274.9 KB · Views: 276
  • new 3DS XL (white).zip
    236.3 KB · Views: 275
  • old 3DS (black).zip
    249.1 KB · Views: 264
  • HBL with grid layout.zip
    724 bytes · Views: 296
  • Home Menu Screenshot.zip
    605 bytes · Views: 274
Last edited by Shaker78,

ghjfdtg

Well-Known Member
Member
Joined
Jul 13, 2014
Messages
1,360
Trophies
1
XP
3,274
Country
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

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=uLN9qrJ8ESs