Ported everything. All that's missing is the 'klei' Python C module, which has no source available.
Commented out debugging prints
Changed the premake logic to better account for *cross* compilation to other systems, instead of self-hosted ones.
Further improved premake logic
Fixed namespace/declaration issues in the Windows version. The windows binaries are compiling successfully from Linux using MinGW.
Oops, fixed premake bug.
Restructured the Python layout to factor out what needs to chance under Unix. Reverted the Windows Python scripts to their original format.
Further factored out Python parts which need to change...
Finished porting (minus the decision on whether to integrate ktech or not; the Unix version currently uses it)
Fixed OSX premake4.lua bug, improved the Path class and some other misc stuff.
Minor premake improvements.
Finer grained compilation environment detection.
Fixed a bug in modification time comparison and added nanosecond
resolution for the same (Unix only).
Moved the building folder from ../ds_mod_tools_out to ./build.

A .gitignore was added to ./build to make its files never be added to
the git repo (but the ./build directory itself, as well as the
.gitignore file inside of it, are a part of the repo).
Moved the .gitignore to the base repo dir, to allow build/ to be deleted
and recreated without issues (see the previous commit).
Memory leaks and stuff
Changed the Unix texturecompiler.py to account for the new features added to ktech. It is now fully compatible.
Had forgotten to update one detail about textureconverter.py
Some win32 fixes.
made scml compilation take png timestamps into account