Valve Map Format Utility Library v1.0 Released
Sunday, December 27, 2009 at 2:13PM Valve Software's Source Engine uses a level editor called Hammer. The files produced by Hammer are in the Valve Map Format (VMF), which are simply text files that define the structure of a map. This file gets passed to a BSP (Binary Space Partitioning) compiler that builds the final product.
A little side project of mine called for a library that could parse VMF files and read the interactive parts of a Source Engine map. So, I built one. The result is the VMF Utility Library. It includes a complete parser, writer, object graph, and special classes for common VMF data types (such as color and vertex). The library is open source and includes documentation, along with a Getting Started tutorial.
I haven't put this one up on CodePlex yet, but you can download it directly (ZIP, 200kb).
.net,
c#,
source engine,
valve,
vmf
Reader Comments (3)
Fantastic work. I've been thinking about writing an alternative to Hammer in C# to overcome its various issues but the VMF parsing put me off; if this is as awesome as I hope it is, you are a godsend.
Thanks for the comment! Admittedly, this is the first time I've written a parser from scratch, so I'm sure it can be done better. For example, there's a bug that causes it to choke when a space doesn't exist between a section name and its opening brace. It should get you started on a path to doing it correctly, though. I didn't end up needing a VMF parser as much as I thought I would, so I'm not sure if this will be updated any further.
Warezone Christian Louboutin Shoes and Pandora Jewelry, lets you send Pandora charm, you may need to Zumba Fitness DVD or P90X or Insanity Workout DVDvideo tutorial, creating unique Fitness.Christian Louboutin Knockoffs,Christian Louboutin Wedding Shoes,
Christian Louboutin Boots,Christian Louboutin Sandals,Christian Louboutin Wedges,Christian Louboutin Platform,P90X DVD,DVD Sales,Vibram Five Fingers,Herve Leger,Cheap Christian Louboutin,Alexander Wang Dress,Alexander Wang Shoes,Alexander Mcqueen Shoes,Giuseppe Zanotti Shoes,ED Hardy Shoes,Jimmy Choo Shoes,Chanel Shoes,YSL Shoes,Manolo Blahnik Shoes,Vivienne Westwood Shoes,Tory Burch Shoes,Louis Vuitton Shoes,Miu Miu Shoes,Salvatore Ferragamo Shoes,Marc Jacobs Shoes,Christian Dior Shoes,Herve Leger,Sergio Rossi Shoes,Lanvin Shoes,Coach Shoes,Prada Shoes,Gucci Shoes,Moncler Jackets,MBT Shoes