Banner
SCG Chatroom Chatroom
SCG Discord Discord
Welcome to SCG

Team Fortress 2

Discussion started on Thursday, January 11th, 2018 @ 03:25 AM EST by...

iconGestaltšŸ’™Hartmann

Introducing: the Spraymaker5000!

Spraymaker5000

Spraymaker5000 can make super high quality sprays the like you've never seen before! Your typical high quality spray is 512x512 pixels, but Spraymaker5000 can do 1024x1020 pixels!

Features:

  • Easy to use click-and-drag UI!
  • Autocrop!
  • Scale to: Fit, Fill, Stretch, None! See here: https://imgur.com/a/T9WEP
  • Easily determine the highest possible quality given the number of frames and mipmaps!
  • Make super high quality 1024x1020 pixel sprays!
  • Make animated sprays with the highest possible resolution for the number of frames needed!
  • Make fading sprays (resolution must be power of 2)!
  • Make animated fading sprays, because why not!

And here's a look at the UI:

Making a super high quality 1024x1020 pixel spray: Spraymaker5000 BETA version 1.1.0.18 super high quality spray
Making an animated spray: Spraymaker5000 BETA version 1.1.0.18 animated spray
Making a fading spray, which is also uncompressed black and white (L8): Spraymaker5000 BETA version 1.1.0.18 fading spray
The ugly original example picture: Spraymaker5000 BETA version 1.0.0.14

Just what's the big deal? See the quality difference for yourself: https://imgur.com/a/zTLv9
(imgur additionally compresses images a bit, but you get the idea)

Download latest version:
Spraymaker5000 BETA version 1.1.0.18:
http://www.mediafire.com/file/9d09l1910y2h174/Spraymaker5000_BETA_1_1_0_18.zip
SHA1: 2A046E446458A0D05D59E56A657A48CE404DE7DC
SHA256: AF33CBC24A797FAA90E67744F0CDD0380F8984D063AA54FE0F8C44BA3E89ED93

Download previous version:
Spraymaker5000 BETA version 1.0.0.17:
http://www.mediafire.com/file/2co766gn48mi0w1/Spraymaker5000_BETA_1_0_0_17.zip
SHA1: AB241FB90F692A572CC65FAE11B7BD9C812D6E5D
SHA256: 668E49617BA6141483FE173AF6A114D4E9B3E700603174A2094B7FB9B127F91B

Last edited : by GestaltšŸ’™Hartmann
Report
Comments
iconMordy/Magpai Species : Eurasian Magpie #2 Ghastly Ghoul
"Pebble romancer champion"

The sprays look amazingly HD and crisp but there is a odd bug or something that turns pictures that are... lets say 900x900 completely black but when scaled to 1000x1000 they work normally which is funky as fug

iconRowedahelicon Species : Crux Founder
"Crazy is as crazy does"

This tool is great, look at how good this spray came out!

enter image description here

Bugfix for 1.0.0.12, using multiple of the same image file on the same mipmap level would crash due to the resulting image not creating an additional output file. Oops.

UI change for 1.0.0.13, now tells the user when the width or height isn't a multiple of 4 which doesn't work in Source.

So I did something to stress test it, and it worked... I converted an episode of MLP into a 80x76 pixel, 167 frame spray!

Take 8 frames per second, center crop to 1080:1080 for easy resizing without stretching:
ffmpeg.exe -i "YP-1R-01x23.mkv" -vf "fps=8/60, crop=1080:1080" out/a_%03d.png

Then cut out the intro and credits and click-dragged them all at once into Spraymaker5000 and set the resolution until it all fit at the highest possible resolution... and it worked!

If anyone would like that spray for whatever reason: http://www.mediafire.com/file/z4qefttoyq803h6/mlpfim_S01E23_167f.vtf

== Updated to 1.0.0.14
Some UI changes, hopefully improvements!
Replaced the GrumbleBox (the textbox that spams warning messages) with a collection of more useful errors.
Mipmap mode selector and fill buttons are disabled when there aren't any mipmaps.
"Save as" button disabled until all images are filled.
Added "Max Res" button that will find the maximum possible resolution for the given image format, frames, and mipmaps. Won't do odd resolutions like 512x256 since the user probably doesn't want that.
Progress bar is now slightly better. Without threading it can't be made more accurate.
Removed unneeded dependencies.

== Updated to 1.0.0.15
NOLOD is now enabled by default, as it allows for players with low graphics settings to see fading sprays properly. Thanks to an Anon for the info.
ALL_MIPS is enabled when the smallest generated mipmap is below 32 pixels. But it turns out sprays don't honour this flag anyway so it's pointless. Oops.
Now warns user when the minimum mipmap requirement of 32 pixels isn't met.
Removed unneeded language folders.

iconMordy/Magpai Species : Eurasian Magpie #2 Ghastly Ghoul
"Pebble romancer champion"

Time to S P R A Y

== Updated to 1.0.0.16
Added support for uncompressed formats grayscale L8/I8, grayscale alpha A8L8/IA88, colour R8G8B8/BGR888, colour alpha A8R8G8B8/BGRA8888. If your image's native resolution can fit within these the resulting image will look better!
Added warning about aspect ratio not being close to 1:1, since regardless of the spray's actual resolution it will be stretched to fit 1:1 in-game.
I wrote a wrapper DLL in C++ for crnlib to call directly from C# to not need crunch.exe. But, the performance hit was way too much to consider using, due to threading I'd guess. Not implemented.
Tested "Point Sampling" flag for pixel art but the results don't look any clearer, seems grainy instead. Not implemented.

There is an online spray converter that can do 1024x1020, but! The colour quality isn't as good as crnlib or vtflib.
From left to right, image converted to DXT1A: Mishcatt vs. Spraymaker5000 vs. VTFEdit colours
And the website: https://mishcatt.github.io/Mishcatt/


Fatal error: Uncaught Error: Call to undefined function getAuthor() in /var/www/southerncrossgaming.org/public_html/jb/assets/pages/components/comments.php:86 Stack trace: #0 /var/www/southerncrossgaming.org/public_html/jb/assets/pages/discussion.php(48): include() #1 /var/www/southerncrossgaming.org/public_html/jb/index.php(414): include('/var/www/southe...') #2 {main} thrown in /var/www/southerncrossgaming.org/public_html/jb/assets/pages/components/comments.php on line 86