Hey, Shessi and so good to speak with you again.
Yes, the output is the gauge names straight out of the A6M2 standard gauge file (a binary which hunt). I plan to push the code to read all gauge names in one's gauges directory. Its not much of a utility but I've noticed some have requested it. I also wanted something for my first c++ project.
A bit of an explanation on this one. I've long been intrigued on just how CFS2 talks to all those dll's. I've learned a lot and while there's still hope that this effort will lead to something useful, the news is not good. While some CFS2 dll's export functions that look like c++ (you can see the function names and passed argument types), most do not. All the dll's (that I've noticed) export two names: “ImportTable” and “Linkage”. The bad news is that these are not function names. They are data structures that can (and do in the case of gauges) also contain pointers to functions.
After this project I have a number ideas for the next one but, XML to CFS2 gauge – yikes – how juicy. I had not thought of that. A few ideas for what's next.
-Gauge maker: To do right this would be a biggy (not hard just a lot of coding). And with such a tool it would be easy to add an XML import.
-Read a BGL or better yet a MDL file to develop an exporter. (yes, I'm aware of ModelConverterX).
-Continue working on the dll exports.
Ideas welcome but no promises – I'm easily distracted Ya' know.
AC