Released GTK+ Map2Dif User Interface for Windows/Linux
by Jeffrey Bakker · 12/18/2005 (4:11 pm) · 21 comments
Since my video game plan is going to have to be put on hold, due to time and money constraints, I figured I can still make myself useful by starting other projects in the meantime.
I don't know how many people will find it useful, but I designed a user interface for map2dif that works on Linux and on Windows. It requires python, GTK+ 2.6, pyGTK 2.6 and libglade, which are all available on any Linux distro and can easily be installed on Windows** in minutes.
Most people either know how to use map2dif from the command line, and others may use BSP programs that have map2dif already integrated. But for those in between, or those who'd like to do batch converting, m2dui is the ting for you! Below are some screenshots:
Windows

Linux

I hope that at least a small handful of people may find this useful. Here's the download link:
Linux/Windows python script release:
damnclan.com/evil/torque/m2dui-1.0.2.zip
"Standalone" Windows .exe release (only basic GTK+ runtime is required):
damnclan.com/evil/torque/m2dui_exe-1.0.2.zip
Enjoy!
*Note: first time running, you will have to locate the map2dif executeable and your paths, then you can click on save settings which will create an m2duirc file in your home folder.
**The "standalone" .exe version is recommended on Windows, as it has less requirements (only GTK+ runtime). The non-exe version still works fine in Windows, however. If you want to use the non-exe, you will need the following...
GTK+ for windows, GTK+ devel for Windows, libglade for windows are all available in one package, found here:
gladewin32.sourceforge.net/modules/wfdownloads/viewcat.php?cid=1
Then install python:
www.python.org/download
Then install pygtk (make sure to download the version the corresponding version of python and GTK+ you downloaded):
www.pcpm.ucl.ac.be/~gustin/win32_ports/pygtk.html
Update:
New feature, plus minor changes in v1.0.2, as well as another Windows .exe release (requires GTK+ runtime, but nothing more :). The non-exe release still works in Windows, given all requirements are met.
m2dui changes
v 1.0.2 (21/12/2005)
- Added more tooltips to the GUI.
- Added the ability to write batch/shell scripts for later/repeated use.
- Fixed for output and textures directory paths containing spaces.
- Fixed adding a whole directory to only add .map files inside.
- Maps directory chooser will now only show .map files.
v 1.0.1 (20/12/2005)
- Added a separate Windows .exe version (regular version still works too).
- Code cleanup/organization.
- Fixed GTK+ 2.8 FileChooser warnings.
- Fixed AboutBox bug if License file is not found.
- Updated toolbar with text labels.
v 1.0.0 (18/12/2005)
- Initial release.
I don't know how many people will find it useful, but I designed a user interface for map2dif that works on Linux and on Windows. It requires python, GTK+ 2.6, pyGTK 2.6 and libglade, which are all available on any Linux distro and can easily be installed on Windows** in minutes.
Most people either know how to use map2dif from the command line, and others may use BSP programs that have map2dif already integrated. But for those in between, or those who'd like to do batch converting, m2dui is the ting for you! Below are some screenshots:
Windows

Linux

I hope that at least a small handful of people may find this useful. Here's the download link:
Linux/Windows python script release:
damnclan.com/evil/torque/m2dui-1.0.2.zip
"Standalone" Windows .exe release (only basic GTK+ runtime is required):
damnclan.com/evil/torque/m2dui_exe-1.0.2.zip
Enjoy!
*Note: first time running, you will have to locate the map2dif executeable and your paths, then you can click on save settings which will create an m2duirc file in your home folder.
**The "standalone" .exe version is recommended on Windows, as it has less requirements (only GTK+ runtime). The non-exe version still works fine in Windows, however. If you want to use the non-exe, you will need the following...
GTK+ for windows, GTK+ devel for Windows, libglade for windows are all available in one package, found here:
gladewin32.sourceforge.net/modules/wfdownloads/viewcat.php?cid=1
Then install python:
www.python.org/download
Then install pygtk (make sure to download the version the corresponding version of python and GTK+ you downloaded):
www.pcpm.ucl.ac.be/~gustin/win32_ports/pygtk.html
Update:
New feature, plus minor changes in v1.0.2, as well as another Windows .exe release (requires GTK+ runtime, but nothing more :). The non-exe release still works in Windows, given all requirements are met.
m2dui changes
v 1.0.2 (21/12/2005)
- Added more tooltips to the GUI.
- Added the ability to write batch/shell scripts for later/repeated use.
- Fixed for output and textures directory paths containing spaces.
- Fixed adding a whole directory to only add .map files inside.
- Maps directory chooser will now only show .map files.
v 1.0.1 (20/12/2005)
- Added a separate Windows .exe version (regular version still works too).
- Code cleanup/organization.
- Fixed GTK+ 2.8 FileChooser warnings.
- Fixed AboutBox bug if License file is not found.
- Updated toolbar with text labels.
v 1.0.0 (18/12/2005)
- Initial release.
About the author

Torque Owner Giorgio Zanetti ( JoZ )
Corona Team
I've some problem with map2dif ui...
I'm not able to select the destination folder,
when I try it open the folder and select the first file of the folder... haw to explain... pratically selection of folder doesn't work it's only able to select file... Only one time after hundred temptative I was able no sure in wich way to have the output folder setted for the interior directory...
Can you help me?
Tnx a lot :)