genebuckle Posted July 18, 2008 Report Posted July 18, 2008 Can someone point me to a place where I can find the FSUIPC.FSI database in text, csv format? tnx! g.
Pete Dowson Posted July 21, 2008 Report Posted July 21, 2008 Can someone point me to a place where I can find the FSUIPC.FSI database in text, csv format? You mean the data supplied with FSInterrogate, that you can add to yourself? Isn't there an export function? I seem to recall something about one -- check the documentation.I don't know of any other way of getting it. Pete
genebuckle Posted July 21, 2008 Author Report Posted July 21, 2008 Unfortunately there isn't a way to export data from FSI that I've found. I was able to work around it though - I converted the PDF documentation to HTML, clipped everything except the tables and then stuffed that result into Excel. It did the job nicely. Some hand editing was/is needed, but nothing terribly drastic. tnx. g.
Pete Dowson Posted July 21, 2008 Report Posted July 21, 2008 Unfortunately there isn't a way to export data from FSI that I've found. Well I was successful in getting data exported from FSI2 by selecting the lines in the normal "variables" view, right-clicking and selecting "Copy Variable-Info to Scatchpad", then going to "Tools-Scratchpad" and saving the results as a text file. This gave me entries in the form: 0000:0130, "Current flight plan [FSX]", "ASCIIZ", 256 bytes 0000:0230, "Absolute time (FSX)", "FLT64", 8 bytes 0000:0238, "Clock Hour", "U8", 1 byte 0000:0239, "Clock Min", "U8", 1 byte 0000:023A, "Clock Sec", "U8", 1 byte 0000:023B, "Zulu Hour", "U8", 1 byte 0000:023C, "Zulu Min", "U8", 1 byte 0000:023E, "Day of Year", "U16", 2 bytes 0000:0240, "Year", "U16", 2 bytes 0000:0242, "Zulu month of year", "U8", 1 byte which looks pretty much like csv format -- Offset, "name", "type", size. Right? Regards Pete
genebuckle Posted July 21, 2008 Author Report Posted July 21, 2008 Well I'll be... S'cuse me while I put my idiot hat back on. Do you know if you can tell it to put all the available data on a single line instead of breaking it up like it does now? Eg. From this: 0000:0EF2, "Surface wind direction", "U16", 2 bytes Category: "Weather", Expression: "#*360/65536" FS-Version: FS98, FS2000, FS2002, FS2004, FSX, CFS2 to this: 0000:0EF2, "Surface wind direction", "U16", 2 bytes,Category: "Weather", Expression: "#*360/65536",FS-Version: FS98, FS2000, FS2002, FS2004, FSX, CFS2 tnx. g.
Pete Dowson Posted July 21, 2008 Report Posted July 21, 2008 Do you know if you can tell it to put all the available data on a single line instead of breaking it up like it does now? No, sorry, not if you want all that data. I really don't know any more about FSI2 than what i've found out by playing with it. You are interested in bits I've never used before. If you don't select any options in the "copy to scratchpad" dialogue you only get the single lines I showed. If you are wanting this format for some display or access utility I would have thought that was sufficient? Categories, expressions, FS versions seem, er, rather unimportant by comparison? However, you could easily convert that 3-line format to a single line one using a decent Search and Replace facility, like the one in UltraEdit 32 (the editor I use). Just replace all occurrences of CR LF (\x0d\x0a) by , in one pass, then all occurrences of ,0000: by \x0d\x0a0000: in a second pass. You could get rid of unnecessary stuff like the strings for 0000:, Token-ID, Category:, and Expression: in the same way. Pete
genebuckle Posted July 21, 2008 Author Report Posted July 21, 2008 Thanks for the suggestions Pete. I'm sure I'll find something that meets my needs. I'm importing the data as an aid to help users pick the data they want to work with in a new product I'm working on called Cockpit Interface Master. It allows people to access FlightGear, MSFS, X-Plane, IL2 and Lock On: Modern Air Combat and interact with either DirectX input hardware or Beta Innovations input & output hardware. I figure it would be easier if the user just had to double-click on a line in a grid versus searching the offset PDF and then entering it in by hand. :D g.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now