The M-Zone

utilities/programs/source code/tutorials by mohaps

Win32 Utilties

top

This Section deals with certain Win32 Tools and Utility programs that I wrote mostly for my own use. There are certain commands which are very useful in the Unix world but are completely absent in windows. I mostly use these programs for debugging or Batch file programming. Feel Free to use them as you please. Also I have enclosed the Source Code for the programs for your viewing pleasure.

top
Utilty

WinWhich

top

A UNIX which like program for Windows.

Prints out which file is called when a command is given. finds out the first executable/batch file that matches the command.

usage : WinWhich [file-name]

parameters:

  file-name - the name of the command to be searched.

top binary (win32) source doc
Utilty

WinPath

top

A tool to convert between long and short path names for windows.

It is a cmd line utility to convert a windows path from short notation to long and vice versa. Very useful for batchfile programing and installation/configuration tasks.

usage : WinPath [cmd] [path]

commands:

-help : prints help

-s2l : converts path from short to long (e.g. from C:\Progra~1 to C:\Program Files)

-l2s : converts path from long to short (e.g. from C:\Program Files to C:\Progra~1)

parameters:

  path - the path to be manipulated

top binary (win32) source doc
Utilty

WinTime

top

A tool to time the amount of time used by commands to run.

It prints out the time required to execute the command in milliseconds.Very useful for profiling and comparision.

usage : WinTime [cmd-name] [params...]

parameters:

  cmd-name - name of command to execute

   params - 0 to n command paramters. these are passed as is to the command

top binary (win32) source doc

3D/Game Programming

top

This Section deals libraries and utilities I developed for various 3D/Game Programming projects I work on from time to time. Most of the programs are C++ wrappers over existing libraries written by existing authors and some are inspired by work released as open source. In fact such generosity prompted me to release my source code to the public.

top
Library

LibCSM

top

This is a library writtern in C++ for loading CSM2 Files produced by the Cartography Shop Editor.

I Based my code on the CSMDump utility available here and the documentation on the CShop CSM2 Format available here. You can also browse the site which is a pretty cool one.

The Source Code currently compiles on a Win32 machine with VC++ 6.0 SP5. It is written in a platform independent manner and should compile on any other ANSI C++ compiler/platform. Drop me a line if you manage to get it to compile in any other format.

top dev-sdk(win32) source doc
Utilty

CSMDumper

top

This is a simple tool to load and print out some data from a CSM2 file produced by the Cartography Shop editor. It uses the LibCSM library.

I Based my code on the CSMDump utility available here and the documentation on the CShop CSM2 Format available here. You can also browse the site which is a pretty cool one.

The Source Code currently compiles on a Win32 machine with VC++ 6.0 SP5. It is written in a platform independent manner and should compile on any other ANSI C++ compiler/platform. Drop me a line if you manage to get it to compile in any other format.

The Download already comes with a precompiled SDK for LibCSM and two test maps in the data Folder. The Libray is compiled with Multithreaded DLL settings in MSVC++ SP5 on a XP Pro running on a P III.

usage:

CSMDumper

Paramters :

   file-name - name of the CSM file to load

top binary(win32) source doc

JAVA Programming

top

This Section deals with libraries and utilities I developed for various Java projects I work on from time to time. Most of the work is for widgets and utilities that are not available in the standard java libraries.

top
Library

Case Sesnsitive Text Field Widget

top

This is a widget that I worte for a friend who wanted to have a textfield which took only Lowercase or Uppercase Characters. The Widget is very generic and is interchanageable with the Java JTextField widget as it derives from it.

I have built and tested the Widget under JDK 1.3.1 and JDK 1.4.1 on a Win32 machine.

top binary (jar) source doc

copyright (c) Saurav Mohapatra
For Comments and Suggestions mail me
See License and Disclaimer before downloading anything.