Sign in to follow this  

Recommended Posts

Okay all, I need a couple volunteers to test the updated Duenna.  2 or 3, just let me know and I'll PM you a link to the updated duenna.  You do NOT have to uninstall the previous version in fact you can run them side by side.  IF one of the volunteers has Prepar3d than even better. :)  I will need you guys to try to break it, do unusual things with it and let me know what happens.

 

Mr John Mueller was kind enough to send me the source code, however the original was written in Visual Basic V6 which was released in 1998.  Since I personally do not have VB6 and John sent me a partially updated package to Visual Studio 2005, I have updated it using Visual Studio 2013 which I have installed.  Doing this however required a rewrite of some of the fundamentals of the application, Specifically the FSUIPC interface as well as the generating of the JPG file.  This has necessitated a requirement of the .NET Framework version 4.0 FULL (Not Client) on your system.  If you are on Windows 7 or higher than chances are you already have this. If however you are on XP or Vista you may not and can get it here: http://www.microsoft.com/en-ca/download/details.aspx?id=17851.  The installer will check to be sure you have it before installing the duenna though.

 

Now I have listed the major changes below but this application is largely the same as it was. I haven't added any features to it whatsoever as of yet, those can be done in future.  This is still largely John Mueller's work and he deserves full credit. The biggest thing I did change however is where the files that are outputted are saved.  For those of you that use the Duenna you know that if you install it in Program Files that the output (unless you ran as admin) was in a rather odd place on your system, this is caused by the permissions windows places on the program files folder on Vista and up.  I have modified where the files are saved and you will find them in your Documents/My Documents folder under FS-Duenna from now on and the program will have no problem writing here.

 

I have included a screenshot below of a side by side comparison of the two.  Mine is on the left, the original is on the right.  You will notice some variations.  First of all the look and feel is different because its updated to use more modern UI elements.  Also you will notice that "Reduce window size when not focused" has been disabled, I am not sure if anyone used this feature but it would require me to re-code how John did this and I didn't think it was high on the priority list.  Also the "Test a validation" button is disabled, this also needed quite a bit of work to get implemented properly as the algorithm john used for validation is a little complex and I'm not sure it is working correctly in my version yet.

 

Please note, if you do run them side by side you will notice that the timings will not be exactly equal for baton time.  This actually worked out to be a rather complex reason for this.  When the baton is picked up, the duenna runs several checks before it starts its timer, the original version is quicker at doing this than my version.  The reason behind this is the extra overhead the updated Duenna has due to the .NET framework it is accessing.  I ran process explorer to have a look at the memory usage of both applications, and the updated Duenna uses about twice as much memory as the original and this is because of the .NET framework modules it loads which granted its memory footprint is still quite small but the extra processing it does accounts for the time discrepancy between the two.  It has only worked out to a couple seconds in some of my tests though, and since the race is based on forum time it should not be a factor.

 

Another thing that was changed was the airport database, John's duenna includes an airport database that I just could not get to work properly so I have to create a new one.  The data is courtesy of ourairports.com and may or may not 100% match FS9/FSX/P3D databases, so hopefully when you land somewhere it doesn't screw up the reporting too bad on exactly where you landed (The long/Lat will be correct though).

 

If anyone has any questions, please do let me know.

 

1eac7a15be054028b99bbcc8b8fd4187.png

 

 

 

 

 

---------------------------------------------------------------------------------------------------
V2.0.18
 
- Recompiled in VS2013
- Updated to .NET 4.0
- Updated FSUIPC Interface to use (FDUIPC Client DLL for .NET courtesy of Paul Henty)
- Removed all windows API calls
- Updated Airport database courtesy of ourairports.com.  The original provided by John Mueller I 
   was unable to get working.
- Added support for Prepar3D v2 from Lockheed Martin, V2 was tested, not V1.  FSUIPC no longer 
   defaults to FS2002 when P3D is run.
- Changed default location for saving duenna files, because Vista/7/8/8.1 all have file restrictions
   in the Program Files directory, if Duenna is installed there it caused un-expected results.  Files
   will now be saved in the users Documents directory under FS-Duenna
- Disabled the Test Validation button under settings
- Disabled Disable Autopilot? function

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

I can try to put it through it's paces as well. Don't have Prepar3d, but I do run it from another computer using WideFS.

Share this post


Link to post
Share on other sites

I have created a subforum within the official race forums on fsrtwrace.com.

 

There are 3 subforums there:

  • Releases - Information on each release of the Duenna
  • Feature Requests - Use this to ask for new features.
  • Bug Tracking - Report Bugs here and I will do what I can with them.
You can find these forums here: http://www.fsrtwrace.com/forum/viewforum.php?f=19

 

Please note, this will only be for Duenna V2 and higher, for John Mueller's original Duenna you can view his forum here: http://johannesmueller.com/fsforum/viewforum.php?f=10

Share this post


Link to post
Share on other sites

Okay everyone, I have made the most recent build publicly available. You can find it here:

 

http://www.fsrtwrace.com/files/FS-Duenna.zip

 

Some web browsers may warn you against downloading it however it is ONLY the duenna and nothing else but feel free to give it a scan if you are worried.

 

Do not uninstall your current Duenna this will install separate to that one.

 

So download it, install it, try to break it.  If you discover a bug or a problem, please report it to the fsrtwrace.com forum here : http://www.fsrtwrace.com/forum/index.php  in the bug tracking subforum.

 

 

Thanks

Share this post


Link to post
Share on other sites

Eamonn,

 

Installed (needed new version of FSUIPC) it.

 

Did my first flight, no problems.

I have not analyzed the output in detail, but looks ok.

 

I think it would ok to mention yourself at the of the output together with Johannes.

 

I will use it from now on to see if I can break it :-)

 

Will this version be valid/required for the race?

 

Nice job Eamon.
You must have spend many hours converting from VB6.

 

 

Jock

Share this post


Link to post
Share on other sites

I only mention myself in the settings page as I did the port over.

 

After the race I plan to rewrite the application as John's code is "interesting" although I will still give him credit for the application but at that point I will put my name on it more.  The program needs some improvement in efficiency. I didn't spend as long as you would think converting it, most of the code is just a direct copy, most of it works, just a few things that the newest version doesn't support any longer as well as changing some of his plugins to use the .NET alternatives to bring it more in line with what people are using these days.

 

The new version of FSUIPC was a necessity to find out what version of FSX you are using or what version of P3D.  Pete Dowson recently updated FSUIPC to give programmers the ability to see if a user was running FSX "vanilla" or FSX Steam Edition and that is needed so the Duenna knows where to pick up the needed files to read.

 

As for if this version will be required, I cannot answer that myself, the executive committee will make that choice.  I can tell you it will be needed for P3D or FSX:Steam Edition players only because the original does not handle those sims very well.  This is the big reason i wanted alot of people pounding on it trying to break it is that if the committee does want to make it mandatory, then i should know by then any major game breaking errors in it.  So far so good though, the only major game breaking mistake that was in it was the JPG generation which has been fixed.

 

Hope that answers your questions.

Share this post


Link to post
Share on other sites

I'm not sure if I've discovered a bug or not, but this happened this evening. I have no idea what the window underneath says. Neither of the windows responded until after much clicking they gave up! Restarting the Duenna went without a problem.

 

 

Share this post


Link to post
Share on other sites

No I didn't press details, sorry, didn't think. At the time I was either coughing my heart up or picking my nose, can't remember which. :unknw:

If it happens again I'll take more notice. In fact I'll run it again now to see if I can replicate it.

Share this post


Link to post
Share on other sites

No worries let me know.

 

It looks like FSX hadn't fully initialized when the error occurred, however yes if it happens again, click details and copy paste or screen shot the entire thing, it will contain at the very least the exact subroutine that the program was running when the overflow occurred.

 

Thanks

Share this post


Link to post
Share on other sites

Okay all, I have updated the Duenna to V2.0.38 R140.  

 

Please update your copy as I have noticed a few of you running different versions. 

 

Thanks

Share this post


Link to post
Share on other sites

I really tried to upset it! Starting it as FSX loaded the flight, clicked on settings etc. Nuffin! Good as gold.

Share this post


Link to post
Share on other sites

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
Sign in to follow this