.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Scenarios, Maps and Mods (http://forum.shrapnelgames.com/forumdisplay.php?f=146)
-   -   Utility: Sepiazer - Turn your maps to sepia toned versions! (http://forum.shrapnelgames.com/showthread.php?t=48584)

elmokki March 26th, 2012 07:34 AM

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

legowarrior March 26th, 2012 11:13 AM

Re: Sepiazer - Turn your maps to sepia toned versions!
 
Can you sepiazer the Age of Hyberain Map?

elmokki March 26th, 2012 12:17 PM

Re: Sepiazer - Turn your maps to sepia toned versions!
 
Quote:

Originally Posted by legowarrior (Post 799729)
Can you sepiazer the Age of Hyberain Map?

Just use the program.

Gandalf Parker March 26th, 2012 02:59 PM

Re: Sepiazer - Turn your maps to sepia toned versions!
 
So this saves the white dots then puts them back?

elmokki March 26th, 2012 06:54 PM

Re: Sepiazer - Turn your maps to sepia toned versions!
 
Quote:

Originally Posted by Gandalf Parker (Post 799747)
So this saves the white dots then puts them back?

Yes.


All times are GMT -4. The time now is 07:16 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.