PDA

View Full Version : FS-Duenna V2



epwatson
January 19th, 2015, 06:39
Okay all, I need a couple volunteers to text 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.


http://dl.eamonnwatson.com/2015/01/19/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

PRB
January 19th, 2015, 13:19
Did a test with P3D. It works, except for the real weather bit. Not sure how you've handled that yet, or if you've gotten that far yet. I used FSRealWXLite. That program complained that it could not find its server upon launch, but it did appear to download weather when I hit the start button after it loaded. It was massively foggy though, which usually indicates some FS default. On the other hand, I was flying in the San Joaquin Valley, and it's winter, and it's often foggy just like that there in winter, lol. Anyhow, here's the files. Install went fine.

srgalahad
January 19th, 2015, 13:52
Paul, I just ran a flight into KFAT while testing something else in FSX and Fresno was under a blanket so was probably legit. (900/3sm)

epwatson
January 19th, 2015, 15:49
Did a test with P3D. It works, except for the real weather bit. Not sure how you've handled that yet, or if you've gotten that far yet. I used FSRealWXLite. That program complained that it could not find its server upon launch, but it did appear to download weather when I hit the start button after it loaded. It was massively foggy though, which usually indicates some FS default. On the other hand, I was flying in the San Joaquin Valley, and it's winter, and it's often foggy just like that there in winter, lol. Anyhow, here's the files. Install went fine.

There really isn't much of a way to handle it. In FSX it checks to make sure you are using the 15 minute updates, for P3D I just had it skip that step but it does check the other 2 weather settings (which do exist in P3D).

If he executive committe make a decision on what to do about weather we can go from there but there is just no easy way to police weather being used, I am open to ideas.

epwatson
January 19th, 2015, 17:19
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

epwatson
January 27th, 2015, 08:07
Okay everyone, I have made the most recent build publicly available. You can find it here:


http://www.fsrtwrace.com/files/FS-Duenna.zip (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

Willy
January 27th, 2015, 13:43
I'll give it a whirl with FS9 and XP 64 (some programs don't really like XP in the 64 bit flavor)

epwatson
February 8th, 2015, 07:49
For those of you testing the new duenna. There is an updated version

V2.0.38 R140

Please update your version if you haven't already.

Thanks

Milton Shupe
February 8th, 2015, 16:34
Using old W/XP SP3 and FS9 here:

Just completed a flight using the new version. All went well during the flight. I joined MP in flight, joined Teamspeak in flight, browsed the forums, used Teamspeak, posted several messages, had severe wx shifts, and had no issues at all.