Version (2012-05-27)

Moderators: GSH, Ultraken

Post Reply
User avatar
Patch Creator
Posts: 373
Joined: Fri Feb 18, 2011 6:06 pm

Version (2012-05-27)

Post by Ultraken » Sun May 27, 2012 6:45 pm

This time for sure! (The prior build didn't actually contain a new executable.)

Things should settle down for a while after this.


Testing Executable and Symbols
MakeMAP utility for creating texture files from images

What's New

* Fixed camera spin when switching between Shift-F3 and Shift-F4 views

* Added support for new MAP texture formats, bringing the total to 5
- Type 0: original 8-bit indexed format for software and opaque textures
- Type 1: original 16-bit A4R4G4B4 format for translucent textures
- Type 2: new 16-bit R5G6B5 format for higher-quality opaque textures
- Type 3: new 32-bit A8R8G8B8 format for highest-quality translucent tetures
- Type 4: new 32-bit X8R8G8B8 format for highest-quality opaque textures

* Created a new MakeMAP utility for creating texture files
- Reads JPEG baseline, PNG, TGA, uncompressed BMP, composited PSD, GIF, HDR, and PIC
- Supports a variety of image processing options (prefix with - or /):
recoveralpha: recover alpha from RGB assuming premultiplied alpha
chromakey <R> <G> <B>: color to treat as transparent
transindex <index>: palette index to use for transparency
undopma: undo premultiplied alpha (useful for effects)
remap <table>: read color remap table from an image (usually 256x1)
colorize: enable colorization curves (pow, mul, and add)
powr <value>: set exponent for the red channel (default 1)
powg <value>: set exponent for the green channel (default 1)
powb <value>: set exponent for the blue channel (default 1)
powa <value>: set exponent for the alpha channel (default 1)
mulr <value>: set output range for the red channel (default 255)
mulg <value>: set output range for the green channel (default 255)
mulb <value>: set output range for the blue channel (default 255)
mula <value>: set output range for the alpha channel (default 255)
addr <value>: add a constant value to the red channel (default 0)
addg <value>: add a constant value to the green channel (default 0)
addb <value>: add a constant value to the blue channel (default 0)
adda <value>: add a constant value to the alpha channel (default 0)
diff <percentage>: amount of error diffusion to apply
flipx: flip the output image horizontally
flipy: flip the output image vertically
- Supports all output formats (prefix with - or /)
pal <palette>: specify palette file for 8-bit indexed (MAP type 0)
4444: output 16-bit A4R4G4B4 (MAP type 1)
565: output 16-bit R5G6B5 (MAP type 2)
8888: output 32-bit A8R8G8B8 (MAP type 3)
888: output 32-bit X8R8G8B8 (MAP type 4)

* Lifted artificial texture size restrictions
- The original restrictions were based on the 3Dfx Voodoo
- Allow texture as large as hardware permits
- Allow non-quare textures if hardware permits (common)
- Allow non-power-of-two textures if hardware permits (less common)

* Reticle gets pitch angle from Craft instead of recalculating it
- This will eventually allow different pitch ranges and behaviors

* Fixed problems on maps with units that start outside the play area
- Fixed a crash in FindPath when deep inside a blocked area
- Unreachable cells retain their original cell type
- Path-finding treats unreachable cells as blocked
. This retains good pathing performance
- Units treat unreachable cells as normal
. This allows units to follow designer-placed paths

* Got 8-bit hardware mode working correctly
- Set it in render.cfg with Texture16=0
- There is not much point in using this :)

* Hotfix for aiming problems with unarmed vehicles

* Attempted fix for alliances getting reset when a player leaves

* Fixed the shell getting stuck when something goes wrong during MP mission load

* Added camera shake in response to hard collisions
- This is a D3D substitute for the software double-image "wiggleburger" effect

Post Reply