Re: [Flightgear-devel] new multiplayer patch
Hi Erik, Erik Hofman wrote: Secondly I've updated the code to use the ulEndianSwap() function instead of defining our own (my system doesn't even define byteswap.h). There's something really odd with byteswapping. Using your modified version does not work. Using my own byteswap functions does not work. Using byteswap.h (ie. remove both bswap-functions and #include byteswap.h instead) does work. So far I did not find out what it is. I guess it is some compiler side (implicit) type conversion or something. Or I do something really stupid. regards, Oliver ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] new multiplayer patch
Oliver Schroeder wrote: There's something really odd with byteswapping. Using your modified version does not work. Using my own byteswap functions does not work. Using byteswap.h (ie. remove both bswap-functions and #include byteswap.h instead) does work. So far I did not find out what it is. I guess it is some compiler side (implicit) type conversion or something. Or I do something really stupid. I've added a byte swap test utility in the MultiPlayer directory so you can easily test if it really makes a difference. On my machine all (should) work(s) fine. Erik ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] Re: Diamond Katana model
Is there anything relating to usage ? The DA42 is definitely the plane I would like to see in FG, as it is definitely the plane I would like to fly one day. Mat Martin Spott wrote: Torsten Dreyer wrote: There was a project from diamond aircraft and microsoft about building a model for the Twin Star. [...] http://www.microsoft.com/austria/education/projekte.mspx I had a closer look at the websites and at the files and I dind't find a single notice that prohibits use in conjunction with other flight simulation. In my interpretation this allows everyone to get these aircraft models and convert them for reuse in FlightGear. Cheers, Martin. ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] Re: Diamond Katana model
mat churchill wrote: The DA42 is definitely the plane I would like to see in FG, as it is definitely the plane I would like to fly one day. Oh yes. Since I recieved my license paper last month I've flown more than 5 hours single-handed on a C172 with Thielert engine (I already did som hours during PPL training). I really call this a convenient handling ! Cheers, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] configure error
I just checked our the latest flightgear source and after running autogen.sh tried to run configure but got the following error:configure: error: cannot run /bin/sh ./config.sub Not being very familiar with the autoconf system I decided to write about the problem here instead of trying to fix it.-- Arthur/- http://sourceforge.net/users/artooro/- http://artooro.blogspot.com ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] new multiplayer patch
On Tuesday 20 September 2005 10:36, Erik Hofman wrote: I've added a byte swap test utility in the MultiPlayer directory so you can easily test if it really makes a difference. On my machine all (should) work(s) fine. Are you sure? It doesn't here since yesterday (Linux x86. ) FG runs OK, and connects to the server, but the position values are all messed up. The byte swap test utility you added today gives this; UI32: (normal) ffaaccee UI32: (swapped) eeccaaff UI64: (normal) bbaaddffaaccee UI64: (swapped) eeccaaffddaabb00 Cheers, AJ ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] configure error
Arthur Wiebe wrote: I just checked our the latest flightgear source and after running autogen.sh tried to run configure but got the following error: configure: error: cannot run /bin/sh ./config.sub Is this file present? If not you need to run autogen.sh If so, you should make sure it's marked executable: chmod +x config.sub Erik ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] new multiplayer patch
AJ MacLeod wrote: The byte swap test utility you added today gives this; UI32: (normal) ffaaccee UI32: (swapped) eeccaaff UI64: (normal) bbaaddffaaccee UI64: (swapped) eeccaaffddaabb00 Hmm, that should be correct. What does the utility output if you include byteswap.h instead off our own functions? Erik ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] configure error
The file is not present and like I said before I did run autogen.sh.Using autoconf 2.59.I'll try a fresh copy of the source and see what happens.On 9/20/05, Erik Hofman [EMAIL PROTECTED] wrote: Arthur Wiebe wrote: I just checked our the latest flightgear source and after running autogen.sh tried to run configure but got the following error: configure: error: cannot run /bin/sh ./config.sub Is this file present?If not you need to run autogen.shIf so, you should make sure it's marked executable:chmod +x config.subErik___ Flightgear-devel mailing listFlightgear-devel@flightgear.orghttp://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d-- Arthur/- http://sourceforge.net/users/artooro/- http://artooro.blogspot.com ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] new multiplayer patch
On Tuesday 20 September 2005 14:57, Erik Hofman wrote: Hmm, that should be correct. What does the utility output if you include byteswap.h instead off our own functions? Swapping #include byteswap.h instead of tiny_xdr.hpp I get exactly the same result here.. AJ ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] configure error
With fresh copy is still is a nogo.In case it helps here's the output of autogen.sh:Host info: Darwin Power Macintoshautomake: 1.6.3 (16)Running aclocalRunning autoheaderRunning automake --add-missing configure.ac: installing `./install-sh'configure.ac: installing `./mkinstalldirs'configure.ac: installing `./missing' Makefile.am: installing `./INSTALL'Makefile.am: installing `./COPYING'src/AIModel/Makefile.am: installing `./depcomp'Running autoconf Does not look like anything is wrong. I can't figure it out because I've never had problems like this before.On 9/20/05, Arthur Wiebe [EMAIL PROTECTED] wrote:The file is not present and like I said before I did run autogen.sh.Using autoconf 2.59.I'll try a fresh copy of the source and see what happens.On 9/20/05, Erik Hofman [EMAIL PROTECTED] wrote: Arthur Wiebe wrote: I just checked our the latest flightgear source and after running autogen.sh tried to run configure but got the following error: configure: error: cannot run /bin/sh ./config.sub Is this file present?If not you need to run autogen.shIf so, you should make sure it's marked executable:chmod +x config.subErik___ Flightgear-devel mailing listFlightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d-- Arthur/- http://sourceforge.net/users/artooro/- http://artooro.blogspot.com -- Arthur/- http://sourceforge.net/users/artooro/- http://artooro.blogspot.com ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] FlightGear icon
I am working on a new mac flightgear binary because of all the problems people have with the current release and want to use a better icon this time.Is there any official logo or something I should base it off? -- Arthur/- http://sourceforge.net/users/artooro/- http://artooro.blogspot.com ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] configure error
This is a known problem with building FlightGear on a Mac. For some reason autogen for FG does not copy them, while it works fine for SimGear. I have not been able to figure out why it happens, or what is different about FG and SG, but I wrote some Mac build instructions that have a work around. Here is the relevant part: * Build FlightGear cd $BUILDDIR/src/source ./autogen.sh Automake should do the next two steps, but for some reason does not for FlightGear (but it does for SimGear, which is odd) ln -s /usr/share/automake-1.6/config.guess config.guess ln -s /usr/share/automake-1.6/config.sub config.sub ./configure --prefix=$BUILDDIR --without-x make Does anyone know if my Mac build instructions were ever included in any documentation anywhere? Best I can tell, the only Mac build instructions are very old, out of date, and don't work at all. Instead they just lead newbies off in a completely wrong direction. --Adam On Sep 20, 2005, at 8:14 AM, Arthur Wiebe wrote: With fresh copy is still is a nogo. In case it helps here's the output of autogen.sh: Host info: Darwin Power Macintosh automake: 1.6.3 (16) Running aclocal Running autoheader Running automake --add-missing configure.ac http://configure.ac : installing `./install-sh' configure.ac http://configure.ac : installing `./mkinstalldirs' configure.ac http://configure.ac : installing `./missing' Makefile.am http://Makefile.am : installing `./INSTALL' Makefile.am http://Makefile.am : installing `./COPYING' src/AIModel/Makefile.am: installing `./depcomp' Running autoconf Does not look like anything is wrong. I can't figure it out because I've never had problems like this before. On 9/20/05, Arthur Wiebe mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The file is not present and like I said before I did run autogen.sh. Using autoconf 2.59. I'll try a fresh copy of the source and see what happens. On 9/20/05, Erik Hofman [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Arthur Wiebe wrote: I just checked our the latest flightgear source and after running autogen.sh tried to run configure but got the following error: configure: error: cannot run /bin/sh ./config.sub Is this file present? If not you need to run autogen.sh If so, you should make sure it's marked executable: chmod +x config.sub Erik ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org mailto:Flightgear- [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d -- Arthur/ - http://sourceforge.net/users/artooro/ http://sourceforge.net/users/artooro/ - http://artooro.blogspot.com http://artooro.blogspot.com -- Arthur/ - http://sourceforge.net/users/artooro/ http://sourceforge.net/users/artooro/ - http://artooro.blogspot.com http://artooro.blogspot.com ATT25937233.txt ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] FlightGear icon
Arthur Wiebe a écrit : I am working on a new mac flightgear binary because of all the problems people have with the current release and want to use a better icon this time. Is there any official logo or something I should base it off? There is no official logo that fit in the 32x32 area imposed by Windows, but I like the one provided by Josh and grabbed it for the Win32 build http://jrbabcock.home.comcast.net/flightgear/scripts/flightgear.gif It is a 16x16 so I resize it ( Josh, if you have a better 32x32 version, I would be glad to use it instead ). There is a nice 48x48 here : ftp://ftp.ihg.uni-duisburg.de/FlightGear/Devel/fgfs-jims-icon.bmp, but unusable after downsizing. -Fred ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] FlightGear icon
Frederic Bouvier wrote: Arthur Wiebe a écrit : I am working on a new mac flightgear binary because of all the problems people have with the current release and want to use a better icon this time. Is there any official logo or something I should base it off? There is no official logo that fit in the 32x32 area imposed by Windows, but I like the one provided by Josh and grabbed it for the Win32 build http://jrbabcock.home.comcast.net/flightgear/scripts/flightgear.gif It is a 16x16 so I resize it ( Josh, if you have a better 32x32 version, I would be glad to use it instead ). There is a nice 48x48 here : ftp://ftp.ihg.uni-duisburg.de/FlightGear/Devel/fgfs-jims-icon.bmp, but unusable after downsizing. -Fred ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d As soon as I have a free moment, I will re-make this at 32x32. It was a simple process, and I still remember it. What sizes do various Linux desktop systems use? I think they tend to be bigger icons. I don't know, I use X, but only as a place to open my aterm window :) While I'm at it I could make some of them as well, and we could throw them all in the base package. Josh ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] Nasal on Mac/Sparc/Irix fixed. Maybe.
Erik pinged me on the Nasal endianness bug, which I *think* has been fixed. It no longer occurs with the Mac test code I have, but I didn't find a smoking gun and can't run FlightGear on that mac (shell access only). Anyway, please update both (!) SimGear and FlightGear CVS sources and let me know if I broke anything. Ampere: there is one incompatible change here. The strc() function has been removed in favor of the array syntax for addressing bytes out of a string. The A380 scripts are the only code that uses it, so I didn't bother including a compatibility version. Basically, where you used to write strc(s, 10), you can just do s[10] now. If you need something to limp along until you can update the code, we can use something like this in globals.nas: strc = func(s, n) { s[n] } Andy ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] configure error
Hi Adam.I knew of that method of fixing this problem but just didn't think of it for some odd reason. Things are sure odd these days. :)Thanks for the tip.The strage thing though is that it always worked before for me even with fgfs source. By the way there are some build instructions which are located at:http://sourceforge.net/docman/display_doc.php?docid=26350group_id=126825 It's part of the documentation linked to from http://macflightgear.sourceforge.netIt probably needs to be updated or improved in some areas. If you are so inclined you could join the macflightgear project and help out. Contact me about that. Thanks.On 9/20/05, Adam Dershowitz [EMAIL PROTECTED] wrote: This is a known problem with building FlightGear on a Mac.For somereason autogen for FG does not copy them, while it works fine forSimGear.I have not been able to figure out why it happens, or whatis different about FG and SG, but I wrote some Mac build instructions that have a work around.Here is the relevant part:* Build FlightGear cd $BUILDDIR/src/source ./autogen.shAutomake should do the next two steps, but for some reason does notfor FlightGear (but it does for SimGear, which is odd) ln -s /usr/share/automake-1.6/config.guess config.guess ln -s /usr/share/automake-1.6/config.sub config.sub ./configure --prefix=$BUILDDIR --without-x makeDoes anyone know if my Mac build instructions were ever included inany documentation anywhere?Best I can tell, the only Mac buildinstructions are very old, out of date, and don't work at all. Instead they just lead newbies off in a completely wrong direction.--AdamOn Sep 20, 2005, at 8:14 AM, Arthur Wiebe wrote: With fresh copy is still is a nogo. In case it helps here's the output of autogen.sh: Host info: Darwin Power Macintoshautomake: 1.6.3 (16) Running aclocal Running autoheader Running automake --add-missing configure.ac http://configure.ac : installing `./install-sh' configure.ac http://configure.ac : installing `./mkinstalldirs' configure.ac http://configure.ac : installing `./missing' Makefile.am http://Makefile.am : installing `./INSTALL' Makefile.am http://Makefile.am : installing `./COPYING' src/AIModel/Makefile.am: installing `./depcomp' Running autoconf Does not look like anything is wrong. I can't figure it out because I've never had problems like this before. On 9/20/05, Arthur Wiebe mailto: [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The file is not present and like I said before I did run autogen.sh. Using autoconf 2.59. I'll try a fresh copy of the source and see what happens. On 9/20/05, Erik Hofman [EMAIL PROTECTED] mailto: [EMAIL PROTECTED] wrote: Arthur Wiebe wrote: I just checked our the latest flightgear source and after running autogen.sh tried to run configure but got the following error: configure: error: cannot run /bin/sh ./config.sub Is this file present? If not you need to run autogen.sh If so, you should make sure it's marked executable: chmod +x config.sub Erik ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org mailto:Flightgear- [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d -- Arthur/ -http://sourceforge.net/users/artooro/ http://sourceforge.net/users/artooro/ -http://artooro.blogspot.com http://artooro.blogspot.com -- Arthur/ - http://sourceforge.net/users/artooro/ http://sourceforge.net/users/artooro/ - http://artooro.blogspot.com http://artooro.blogspot.com ATT25937233.txt ___Flightgear-devel mailing listFlightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel2f585eeea02e2c79d7b1d8c4963bae2d-- Arthur/- http://sourceforge.net/users/artooro/- http://artooro.blogspot.com ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] FlightGear icon
Sounds alright.I need a 128x128 for MacOSX and so will probably create one based off of your images.On 9/20/05, Josh Babcock [EMAIL PROTECTED] wrote:Frederic Bouvier wrote: Arthur Wiebe a écrit : I am working on a new mac flightgear binary because of all the problems people have with the current release and want to use a better icon this time. Is there any official logo or something I should base it off? There is no official logo that fit in the 32x32 area imposed by Windows, but I like the one provided by Josh and grabbed it for the Win32 build http://jrbabcock.home.comcast.net/flightgear/scripts/flightgear.gif It is a 16x16 so I resize it ( Josh, if you have a better 32x32 version, I would be glad to use it instead ). There is a nice 48x48 here : ftp://ftp.ihg.uni-duisburg.de/FlightGear/Devel/fgfs-jims-icon.bmp, but unusable after downsizing. -Fred ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2dAs soon as I have a free moment, I will re-make this at 32x32. It was a simple process, and I still remember it. What sizes do various Linuxdesktop systems use? I think they tend to be bigger icons. I don't know,I use X, but only as a place to open my aterm window :) While I'm at it I could make some of them as well, and we could throw them all in thebase package.Josh___Flightgear-devel mailing list Flightgear-devel@flightgear.orghttp://mail.flightgear.org/mailman/listinfo/flightgear-devel2f585eeea02e2c79d7b1d8c4963bae2d -- Arthur/- http://sourceforge.net/users/artooro/- http://artooro.blogspot.com ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] FlightGear icon
Arthur Wiebe wrote: Sounds alright. I need a 128x128 for MacOSX and so will probably create one based off of your images. Frederic Bouvier wrote: Arthur Wiebe a écrit : There is a nice 48x48 here : ftp://ftp.ihg.uni-duisburg.de/FlightGear/Devel/fgfs-jims-icon.bmp, but unusable after downsizing. -Fred I will go ahead and do a 32, 48, 64 and 128 px version of mine, though I have to say that the 48 px one looks great. Maybe it would be a better choice for the larger ones. Of course, there's nothing stopping us from including multiple options for icons. Josh ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] FlightGear icon
Josh Babcock wrote: I will go ahead and do a 32, 48, 64 and 128 px version of mine, though I have to say that the 48 px one looks great. Maybe it would be a better choice for the larger ones. Of course, there's nothing stopping us from including multiple options for icons. Josh ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d Ta-Da! http://jrbabcock.home.comcast.net/flightgear/icons/index.html Josh ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
[Flightgear-devel] Rita
I'll likely be relatively sparse on the Internet for the next week or so - perhaps much, much longer depending on how things go in League City, due to Rita. I'm about 14 feet above sea level, about a mile inland from Galveston Bay. Anyone else look like they're going to be affected by this? Jon ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
Re: [Flightgear-devel] Nasal on Mac/Sparc/Irix fixed. Maybe.
On September 20, 2005 05:15 pm, Andy Ross wrote: Ampere: there is one incompatible change here. The strc() function has been removed in favor of the array syntax for addressing bytes out of a string. The A380 scripts are the only code that uses it, so I didn't bother including a compatibility version. Basically, where you used to write strc(s, 10), you can just do s[10] now. If you need something to limp along until you can update the code, we can use something like this in globals.nas: strc = func(s, n) { s[n] } Andy I am not too excited about going through 3000 lines of code to replace the strc() function at the moment, although I will look into it. Thanks for the head's up. Ampere ___ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d