Texture editing

32-bit unsigned ARGB .bmp



PNG



TIFF

BMP = 0



PNG = 1



TIFF = 2

ImageMagick\convert.exe <filename.bmp> -channel rgba -alpha on <new_filename.bmp>

converts texture files (.tid ones) and converts them into:files back and forth. You can choose output format by editing "nr1_tidtool.ini" (ExtractImageFormat).Converted files are placed in the same folder as source ones.BMP:You'll need an image editor which supports 32-bit unsigned ARGB .bmp (gimp/paint/paint.net won't work, saved images will be saved as Big Endian ones I think; not sure about photoshop). For modding I use http://www.qualibyte.com/pixelformer/ . Open the bmp there, save as .png with transparency, edit .png in whatever editor you want then open it in pixelformer again. Save the image as 32-bit, top-down row order (pic to the left).You can also use ImageMagick ( http://www.imagemagick.org/ ) to convert your file to 32-bit .bmp. Use commandPNG:Your image must have alphachannel (transparency).TIFF:Nothing here - need more info.Convert your file back to .tid by dragging the file back onto tidtool.exe.Here is an example of bad bmp file (non-unsigned one) And here is the proper one -