View Single Post
  #1  
Old March 26th, 2012, 07:34 AM

elmokki elmokki is offline
Second Lieutenant
 
Join Date: Aug 2008
Posts: 408
Thanks: 11
Thanked 209 Times in 57 Posts
elmokki is on a distinguished road
Default Sepiazer - Turn your maps to sepia toned versions!

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:
Quote:
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
__________________
UnitGen - randomly generated nations with randomly generated sprites
http://forum.shrapnelgames.com/showthread.php?t=48341

Last edited by elmokki; July 2nd, 2012 at 09:17 AM..
Reply With Quote