MakeACE Release Notes
MakeACE Release Notes
---------------------
Instructions
------------
The MakeACE utility converts industry-standard image file formats into the
Kuju image file format known as ACE (extension .ACE) which can be used with
Microsoft Train Simulator. MakeACE supports Windows Bitmap files (extension
.BMP) which contain 24-bit RGB encoded images and Truevision Targa files
(extension .TGA) which contain 24-bit RGB encoded or 32-bit RGBA (Red, Green,
Blue + alpha "translucency" channel) encoded images.
ACE files are used for textures applied to shapes (henceforth texture ACEs)
and bitmaps used for the cab panels and controls (henceforth bitmap ACEs).
i) Solid - these are created by converting 24-bit BMP or TGA files and the
resulting ACE file contains only solid pixels. You might use such ACE
files for the general texture detail on buildings and trains you are
creating.
ii) Trans - these are created by converting 32-bit TGA files and specifying
the transparency mask option. The resulting ACE file will contain both
solid pixels and transparent pixels. You can still use solid areas of
this ACE type for the general texture detail on your object but in
addition you can use areas containing transparent pixels for details such
as railings, ladders and other areas that require the appearance of a
"hole" in your object. This is also a good choice for simple cab
backgrounds and controls.
iii) Alpha - these are creating by converting 32-bit TGA files and not
specifying the transparency mask option. The resulting ACE files will
contain solid and both partially and completely transparent pixels. This
texture type can be used in a similar way to the Trans type, except it
also allows you to create effects such as tinted windows.
Additionally you can choose which compression type to use when creating your
ACE file, if any. There are three choices:
For Alpha type ACE files you cannot use DXT, so the recommended option is
ZLib.
For Trans and Solid type ACE files you could choose to use DXT. This will not
result in as small a file size on your hard disk as ZLib would produce,
however many modern graphics cards support DXT compression and so can store it
in memory still compressed which allows your graphics card to store more
textures that would be possible with ZLib compressed or uncompressed ACE
files. If a graphics card does not support DXT the file will be decompressed
when it is loaded into the game.
The only issue to consider is that DXT is a lossy technique which can produce
artifacts in the compressed image. Therefore, you may wish to experiment with
DXT and ZLib compression to determine whether there is a noticable reduction
in image quality when using DXT compression with a particular image.
Therefore valid source and destination image sizes for creating a texture
ACE are 32x32, 64x64, 128x128, 256x256 and 512x512.
Additionally, the source BMP or TGA file for a bitmap ACE must meet the
criteria for a texture ACE, except you may also use a source image of size
1024x1024. However, the destination image can be cropped to contain only the
top left corner of the source image using the width and height command line
options.
Hence, valid sizes for the source image when creating a bitmap ACE are 32x32,
64x64, 128x128, 256x256, 512x512 and 1024x1024.
The destination image size when creating a bitmap ACE can be any size from 1x1
to the size of the source image.
One final factor is that depending on the application used to create your
source images you may find that your ACE file has been created upside down.
If this occurs there is an option to flip the image during the conversion
process.
* Usage
-trans
Creates a Trans type ACE file from a source 32-bit TGA file
-flip
-zlib
Uses ZLib compression.
-dxt
-bmp
Creates a bitmap ACE file with no MIPMAPs and allows the use of the width and
height options.
-width:<nnn>
-height:<nnn>
Used with the bitmap option to crop the contents of the destination image to
the top-left corner of the source image.
* Examples
Convert 24-bit BMP file "texture.bmp" to uncompressed Solid type ACE file
"texture.ace".
Convert 32-bit TGA file "texture.tga" to uncompressed Trans type ACE file
"texture.ace".
Convert 24-bit BMP file "texture.bmp" to ZLib compressed Solid type ACE file
"texture.ace".
Convert 24-bit BMP file "texture.bmp" to DXT compressed Solid type ACE file
"texture.ace".
Convert 32-bit TGA file "texture.tga" to DXT compressed Trans type ACE file
"texture.ace".
Convert 32-bit TGA file "bitmap.tga" (size 1024x1024) to ZLib compressed Trans
type ACE file "bitmap.tga" (size 1024x768), storing the top 768 rows of pixels
of the source image in the destination image.
Update History
---------------
* Prevented the user from creating bitmap ACEs with DXT compression.
* Added -flip command line option to handle images which have been created
with unusual co-ordinate origins.
* Added support for exporting arbitrarily sized bitmaps for creation of cab
views and controls