Log in

View Full Version : Utility Sepiazer - Turn your maps to sepia toned versions!


elmokki
March 26th, 2012, 07:34 AM
I did this a while back and didn't release. It apparently had a bug that made the output flipped sometimes since my tga reading code didn't handle the fact that tgas can for some uncomprehensible reason be stored with origin in any corner of the file.

Some people like sepia tones and dom3 doesn't check if all the players of a game share the same map image file, so I guess some people might enjoy playing with sepia versions of the maps they otherwise use.

Anyway, basically what it does is:
http://koti.kapsi.fi/elmokki/dom3/mods/before.png
http://koti.kapsi.fi/elmokki/dom3/mods/after.png

The intensity of the sepia filter is customizable. Out of 0 to 255 the above example is 20.

It's a command line java program, so you'll need JRE and understanding. Here's the readme:
Sepiazer readme!
----------------

Sepiazer is a program that adds a sepia filter to .tga images. In theory both RLE-packaged and unpackaged images should work.

Syntax:
java -jar sepiazer.jar output input sepiaintensity

Example:
java -jar sepiazer.jar output.tga input.tga 20


The sepia intensity parameter must be 0-255. 20 is recommended. The lower the number the less colorful the image will be and the higher the number more yellow the image will be.

Changelog
----------------
26.3.2012:
- Fixed .tgas sometimes printing flipped.

...and here's the program: I personally won't link to Dominions 3 content made by me any more and I hope no-one else will either (old links are fine, whatever). You should be able to find them or most of them by asking on IRC or googling the other forums

legowarrior
March 26th, 2012, 11:13 AM
Can you sepiazer the Age of Hyberain Map?

elmokki
March 26th, 2012, 12:17 PM
Can you sepiazer the Age of Hyberain Map?

Just use the program.

Gandalf Parker
March 26th, 2012, 02:59 PM
So this saves the white dots then puts them back?

elmokki
March 26th, 2012, 06:54 PM
So this saves the white dots then puts them back?

Yes.