Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello!

I have maybe a sensitive question for you: I am getting started with Flight Gear and am building a simulator built on that. However, I'm noticing that although the visual part of Flight Gear is well developed, and only getting better, it doesn't seem to be in the same level as MSFS.

So what I was thinking of doing is using Flight Gear as my sim engine and using MSFS as the scenery engine. Have you heard of anyone who has done this before? Is this a bad idea? Am I allowed to do this under the GPL? Can WideFS handle this or would I have to hack the Flight Gear code to get it to output data in the correct format?

Thanks in advance for any help you can give me!

/Pat

Posted

So what I was thinking of doing is using Flight Gear as my sim engine and using MSFS as the scenery engine. Have you heard of anyone who has done this before?

It's been done for quite a while for the Aerowinx 747 Precision Simulator (PS1). Look at the links on the right-hand side of the http://www.schiratti.com/dowson page -- those marked "(PS13)" should be relevant.

Am I allowed to do this under the GPL?

What's "the GPL"?

Can WideFS handle this or would I have to hack the Flight Gear code to get it to output data in the correct format?

WideFS and FSUIPC relate to Microsoft Flight simulator. I have absolutely no idea what "Flight Gear" is, but I am assuming it is nother flight simulator judging by your text. Nothing of mine is designed for anything but FS, you'd need to do your own programming for another sim.

Regards

Pete

Posted
GPL means General Public License the most famous is the GNU GPL.

Ah! So presumably this "Flight Gear" program is published under one of these, and the inquirer was wondering if linking it to FSUIPC would be against its license. Right?

Looking at the link you quoted, I guess the question arises because of the business of "linking with non-free modules". That's an interesting one. Really, for freeware use in accessing FS internals, FSUIPC is a free module. There's a fee for commercial use only, but otherwise the interfacing aspects of FSUIPC are free.

The user facilities should, in such cases, be regarded separately (indeed, I suppose they could, with some risk of inefficiency, be separated into a separate module, albeit with very close links to the other, and vice versa).

Anyway, I hope the references to another successful implementation, that of PS1, was helpful to Pat. He's not been back yet to say.

Regards,

Pete

Posted

GPL means General Public License the most famous is the GNU GPL.

I have never heard of any other GPL, although there are several other *PL licences. It would be confusing to refer to any other licence as GPL, although if one wishes to be precise, 'GNU GPL' removes the ambiguity.

So what I was thinking of doing is using Flight Gear as my sim engine and using MSFS as the scenery engine. Have you heard of anyone who has done this before?

I guess they probably have, although I haven't heard of it.

Is this a bad idea?

No, probably quite a good idea actually.

Am I allowed to do this under the GPL?

Yes, but see below.

Can WideFS handle this or would I have to hack the Flight Gear code to get it to output data in the correct format?

Yes and possibly yes.

Really, for freeware use in accessing FS internals, FSUIPC is a free module.

When the word 'free' is used in the GPL, it is a reference to freedom, not price. In this context FSUIPC itself is certainly non-free.

Technical Issues

You could do this using WideFS. Think of it something like this:

Flightgear <-FlightGear IPC-> your program <-FSUIPC user library-> (<-WideFS optionally here->) MSFS

I don't know what inter-process communication facilities are available in FlightGear. If there aren't any, you could either add some yourself. Alternatively you could integrate the program into FlightGear itself, subject to certain conditions.

Legal Issues

1. If you modify parts of FlightGear, then you must either distribute those modifications under the GPL, else not at all.

2. If you wish to link your program directly into FlightGear then your program must also be licensed under the GPL.

One of the most controversial parts of the GPL is what constitutes a 'derivative work'. The FSF's stance seems to be that static or dynamic linking counts as a derivative work, but other IPC mechanisms (such as sockets and, in my opinion only, the interface between FSUIPC user library and FSUIPC.dll) can be considered as independent. In any case, if you only want to distribute code that is yours, you can add a 'special exception' to the license text to explictly allow linking to FSUIPC-related stuff. Have a look on the FSF site for for 'special exception' and you should find what you're looking for.

I hope that makes sense. I think I've gone on too long. Just one final important question for Pete:

Is the FSUIPC_User.lib code public domain? I was under the impression that it is, but I can't find any notice in the code. (Public domain is taken to mean that all copyright holders have explictly disclaimed their copyright.) I guess it must be pretty close, as there are plenty of proprietary programs linking against it.

Posted

When the word 'free' is used in the GPL, it is a reference to freedom, not price. In this context FSUIPC itself is certainly non-free.

Sorry, I don't understand this part. "Freedom" in the sense that it isn't imprisoned? Or freedom for people to use it and interface to it? Can you be a little more explicit, please?

Is the FSUIPC_User.lib code public domain? I was under the impression that it is, but I can't find any notice in the code.

Well, it's merely one way of writing code to interface to FSUIPC. It's almost exactly the same as the way things were interfaced to FS5IPC and FS6IPC beforehand -- that was the whole point, compatibility -- so if Adam's publication of how to do it was "public domain" then I guess this is. It is an illustration, an example, as well as being a short cut for those who aren't interested in fiddling about with the interface workings.

The other language variants were all derived from this, independently, by other people, not me. I provided them all as a service, with their permission. I've no idea whether they would regard their work as public domain or not.

Sorry, I guess I'm not cut out to be a solicitor (lawyer).

Regards,

Pete

Posted

GPL means General Public License the most famous is the GNU GPL.

I have never heard of any other GPL, although there are several other *PL licences. It would be confusing to refer to any other licence as GPL, although if one wishes to be precise, 'GNU GPL' removes the ambiguity.

GPL as in Glider Pilots License, anyone? 8)

As for the licensing issues, I bet the flightgear authors are more familiar wiht the stuff and might be able to answer you better.

//Tuomas

Posted

Surely you must be familiar with at least one of the following words: GNU, BSD, Apache, Debian, Linux, Mozilla, KDE, GNOME. No?

Actually, I have heard of "No", but I don't seem to be all that good at using it I'm afraid! :)

Regards,

Pete

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.