Log playback using --generic=file,in,20,flight.out,playback --fdm=external seems to run at half speed. I am running 0.9.10 on Windows and traced the executing in the MSVC debugger. The problem is that when SGFile::readline() is called by FGGeneric::process(), it returns a line with nothing but a newline every other call. This causes the logfile to be read at half speed. The logfile I am using was created using --generic=file,out,20,flight.out,playback. I opened it in emacs and MSVC and it does not have duplicate newlines at the end of the lines. It does have DOS/Windows style crlf line endings. I think there may be a problem with the lseek call in SGFile::readline(). Open defaults to using text mode and as a result combines the cr and lf into one '\n'. However, lseek uses byte positioning and as a result is 1 byte off.
Any fixes for this? Thanks, Phil ____________________________________________________________________________________ Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Flightgear-users mailing list Flightgear-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-users