These are simple mass spectrometry utility programs that I have written and used. As I am not a professional programmer, or even a talented amateur, then I am sure that there are many areas where they can be improved. The only saving grace is that they run and do the job, albeit with minimal error checking and the potential to crash ungracefully.
xms2mzxml.exe is a utility program written in C to convert native Varian mass spectrometry data files (in either .xms or .sms format) to .mzXML format. This is useful for processing using the xcms package within the R mathematical and statistical environment.
hp2vms.exe is a utility program written in C to convert native Hewlett Packard data.ms data files to Varian .ms data files. These can then be converted to Varian .sms format using the Varian ms to sms converter. The program is rather old as I wrote it a long time ago so that I could process data files from a 5970B MSD using a more modern Varian data system with a more recent mass spectral library. I include it here mainly because the source has header files that document what I know about the format of these files. Hewlett Packard always cite an unobtainable PAWS manual for the format of their file. I was given a couple of photocopied pages showing the PAWS structure and used it as a guide. The Varian structure was determined by reverse engineering and from information in the Procedure Language Manual. To anybody querying the ethics of the reverse engineering I only say it is my data in a proprietary container. I reserve the right to package my data in any container I choose. And it was fun:-)