Makefile (replacement for BuildMOD.bat):
download
prerequisite: M$ nmake (I've tried some version of make ported from unix but some SDK tools didn't work correctly.) -
download
There is a nice tool called BuildModExpress Version 2 but if you fancy a command liene tool then you could try Makefile.
1. Put this file into MOD SDK folder
2. Edit it with notepad or like.
3. Run 'nmake' from MOD SDK.
Image Packer :
download
prerequisite: Active Perl & Imager package for perl (install it using Perl Package Manager. You'll get PPM when you install Active Perl) :
download
If you have many images with same size (width x height), this tool will pack them in one file and generate xml file for you.
1. Put ImagePacker.pl to any folder.
2. Create folder named "_compiled" (without quotes)
3. Create a folder, if it is named PortraitPack01, final output will be named PortraitPack01.tga and PortraitPack01.xml, and will be created in _compiled folder.
4. Put your unit portraits (all of them should have the same size!) in PortraitPack01 folder. They should be in tga format and must have alpha channel. If alpha channel is "black", portraits will be complety transparent!
5. Those individual portrait's filename can be later referenced in other XML files.
6. run command "ImagePacker.pl [folder]" without quotes, for example, ImagePacker.pl PortraitPack01.
CSF<->TXT:
csf2txt,
txt2csf
prerequisites: Active Perl
str files cannot be used for non-ascii characterset languages

So I have ported my previous csf<->txt util in perl.