Skip to content

v0.5.6.0 UI Redesign & General Fixes

Latest

Choose a tag to compare

@ResetXPDR ResetXPDR released this 21 Nov 23:04
· 2 commits to main since this release
91e056f

MSFS Compatibility: 1.39.12.0, 1.9.24.0.
MSFS Widget Version: 1.7.0

Release notes for 0.5.6.0

This update redesigns the main window and the in-game widget, adds minus and plus steppers for the Tuning settings, advises Manual Target FPS users when their target is far from what the app can work with, fixes a cause of MSFS crashes when AutoFPS restarted RTSS with frame generation active, and fixes several TLOD control issues. Key highlights include a single page main window with a new Tuning box, a rebuilt in-game widget with its own Tuning tab, Target FPS and Tuning steppers, Target FPS advice with a Warnings option, 2D / VR profile pairs that now switch during a flight, and OLOD Top and TLOD Top altitudes that can now be set as low as 100 ft.

Please note some layout changes: the Updates box now only shows briefly outside flights (restart the app to see it again), the Hide OLOD Settings checkbox is gone (OLOD values are always shown), the in-game widget no longer has a native title bar (drag it from any empty area) and the web page at localhost:54321 is now a small diagnostic page.

Please review the readme here, which provides a detailed description of the app, installation, features and settings, before asking any questions or raising any issues about the app.

Executive Summary:

Main Window Redesign

  • The main window is now a single page: Connection Status, Live Values, Flight, Tuning and Updates. The status line moves into Live Values, the Expert Options tabs become a Tuning box with TLOD, OLOD, Reduce and VRAM+ sub-tabs, the Flight box can be collapsed, double-clicking gives a compact view, and the Updates box only shows briefly outside flights. Also stops the window flashing when a setting is changed.

Tuning Steppers, Limits & Altitude Ramps

  • Adds minus and plus buttons for Target FPS and a shared stepper for the Tuning number boxes, which stop on a whole step before each setting's limit in the main window and the widget. OLOD Top and TLOD Top altitudes can now go as low as 100 ft (helicopter ramps), and a Top altitude that is not above its Base in a config file is corrected at load.

Target FPS Advice & Warnings

  • A Manual Target FPS that is far too low or too high now gets orange advice with a suggested value, the fixed FPS cap warning also shows on the status line, and a new Warnings checkbox (Expert) turns both off.

Graphics Mode & Profile Pair Switching

  • 2D / VR profile pairs now switch on the next tick like Day / Night pairs, the detected graphics mode is outlined in the Target list, and the widget Manual / Auto / Fixed box follows the Target box.

TLOD Control Fixes

  • Fixes TLOD stuck at its maximum plus Mountains+ in Free TLOD, spike protection TLOD reduction never recovering at low level, and a freeze then crash (including at every start) in Free TLOD when TLOD Top Max is not an exact multiple of TLOD Base Min.

RTSS & Frame Generation Stability

  • AutoFPS no longer restarts RTSS while frame generation is active (a cause of MSFS crashes when running as Admin), frozen RTSS data now clears itself, the samples behind a frozen detection are always logged, and a config file setting can turn the detection off.

In-Game Widget (v1.7.0) & Web Interface

  • Rebuilt around Overview, Flight and Tuning tabs with the Tuning controls taken from the main window, its own top row in place of the native title bar, advisories shown in the widget, a Warnings checkbox, and the AutoFPS version in its title. The web page is cut down to a diagnostic page.

Code Housekeeping

  • Clears all compiler warnings, derives the assembly and file versions from one constant, and defines every Tuning box limit in one place. No functional changes.

Detailed Changes:

Main Window Redesign

  • Single Page Layout:
    • Order from the top: Connection Status, Live Values, Flight, Tuning, Updates. The old tabs are gone.
    • Double-clicking the title bar toggles between the full window and a compact view (Connection Status and Live Values only). The window keeps the same width in both. Double-clicks on buttons and scroll bars are ignored.
    • The Sim Values box is now Live Values and holds the status line, always centred. Out of a flight it shows "Waiting for flight session to start" in green.
  • Flight Box:
    • The General box is now Flight. Row 1 is the Target FPS option, graphics mode and FPS, row 2 is Expert, Reset and Flight Type, and row 3 is On top, Dark and Log+.
    • The Flight header is a button that collapses row 3. It is expanded by default and the choice is remembered (FlightCollapsed in the common config).
    • Monitor only now just hides Target FPS, Expert and (with a sim running) Reset, and locks Log+ on. On top and Dark no longer move.
    • The "Settings" word that replaced Log+ when Expert was off is removed.
  • Tuning Box (Expert):
    • Replaces Expert Options, with four sub-tabs: TLOD (Auto Method, spike protection, TLOD Base, TLOD Top Max, Mtns, Night, Mtns Amt), OLOD, Reduce (MSFS 2020 cloud options or MSFS 2024 Auto Reduce Settings) and VRAM+.
    • The Reduce sub-tab is hidden when there is nothing to show, and VRAM+ is hidden unless GPU-Z is running. The window height follows the selected sub-tab, with no sideways jump.
    • The Tuning header collapses the box to just the sub-tab buttons. The selected sub-tab and collapsed state are remembered (TuningTab 0 to 3 and TuningCollapsed in the common config).
    • The Hide OLOD Settings checkbox is removed and the OLOD values are always visible, so anyone who had it ticked no longer has them hidden.
    • The VRAM+ settings reduction control (MSFS 2024) now only shows when GPU-Z is running, Expert is on and the Auto Reduce Settings panel is visible.
  • Updates Box:
    • Moved to the bottom and never shown during a flight. Out of a flight it shows for 30 seconds after the app starts and after a flight ends, then is removed and the window gets shorter. Restart the app to see it again.
    • It stays while a new version is waiting for you to install it, while an update is deferred until MSFS exits, and while one of its dropdowns is open (the 30 seconds restart when it closes). Mandatory and silent updates are unaffected.
    • All update messages now show in the box instead of the status line, with new "App is up to date" and "App auto-updated to " messages. Preview version messages now use a blue that is readable in dark mode.
  • Display Fixes:
    • Fixed the window flashing whenever a setting was changed (long standing, most visible with the title bar hidden). The window frame and theme are no longer rebuilt on every settings load, and the window is only re-measured when its content size changes.
    • Orange warning controls (Target FPS option, Target and FPS) now use black text in both themes, as they had near-white text in dark mode.
    • Selected items in dropdown lists now show the same colour whatever your Windows accent colour is, so the orange selected Target line is reliably orange.
    • In FPS Sensitivity the Sens label now starts in line with the TLOD Base dropdown and the Mtns checkbox below it.

Tuning Steppers, Limits & Altitude Ramps

  • Target FPS Buttons:
    • Minus and plus buttons either side of the Target FPS box, range 10 to 500. Holding a button repeats after 400 ms every 125 ms, stepping 5 after 2 seconds and 10 after 4 seconds.
    • The box updates on each step and the setting is applied 450 ms after the last step. The buttons only show where the box can be edited (not Auto, not Monitor only).
  • Tuning Stepper:
    • A shared minus and plus bar at the bottom of the Tuning box shows while any of the 15 number boxes has the focus, with the box name and step size. Up and Down arrow keys also step the box.
    • The buttons do not take the focus, so you can type, step and type again. Step sizes match the widget: 5 for TLOD and OLOD values, 10 for Mtns Amt and Cloud Recovery TLOD, 50 for the TLOD and OLOD Base and Top altitudes, 100 for Mtns Alt, 0.1 for Spike Mult and 1 for the rest. Holding repeats and accelerates as for Target FPS.
    • Boxes that are disabled (such as the n/a altitudes in Free TLOD) do not show the stepper.
  • Steppers Stop at Limits:
    • Holding minus or plus no longer steps past a setting's limit (e.g. OLOD Base altitude down to 0), where the value was then rejected and went back to what it was before the steps. It now stops at the last whole step before the limit, in the main window and the widget, so a stepper only gives values divisible by its step size. For example, OLOD Top altitude with an OLOD Base of 100 ft stops at 150 ft rather than 101 ft.
    • A value that is not on a step (typed in the main window or set in a config file) goes to the next step in the direction pressed (e.g. 127 goes to 150 on plus and 100 on minus), in the main window and the widget. Typing a value outside the limits still keeps the old value.
  • Lower OLOD Top and TLOD Top Altitudes:
    • The OLOD Top altitude minimum is lowered from 2000 ft to 100 ft and the TLOD Top altitude minimum from 1000 ft to 100 ft, so short altitude ramps suit helicopter flying (raised in GitHub discussion #312). For example OLOD 200 @ 100 ft to 20 @ 1200 ft is now accepted.
    • The ramps divide by the Top minus Base altitude, which stays protected by Top having to be at least 1 ft above Base. In FPS Sensitivity a short Base to Top span lowers the recommended maximum average descent rate shown in the TLOD Top Max tooltip.
  • Config File Check:
    • A Top altitude that is not above its Base altitude (TLOD or OLOD, IFR or VFR) in a config file, e.g. from hand editing, is now corrected when the config is loaded: Top is set to Base + 1, written back to the config file and logged as a warning.

Target FPS Advice & Warnings

  • Manual Target FPS Advice (Expert and Non-Expert):
    • Too low: TLOD fully raised for the current altitude with no reduction active and FPS above target for 60 continuous seconds, with Target FPS below 80% of the target Auto would pick. Too high: TLOD at its minimum, cloud decrease and settings reduction (if enabled) used up and FPS under target for 120 continuous seconds, by at least 2 x FPS tolerance (median FPS).
    • The suggested Target FPS uses the Auto Target FPS formula. For 30 seconds the Target FPS option and box turn orange, their tooltips explain the issue, and the status line shows a summary such as "Target FPS 40 too low (FPS 75): try 66 or Auto".
    • It is not checked in Auto or Fixed, Monitor only, outside a flight session, while paused or settling, with sim rate other than 1, in Auto TLOD, during VRAM+ hold or reduce, spike protection reduction or dynamic settings, or after any change of flight type, graphics mode, Target FPS, option, Expert or VR. It clears as soon as the target is back in range or on any reset.
    • Only one Target FPS nudge is given per session (advice or the fixed FPS cap warning), re-armed on a full reset.
  • Cap Warning on the Status Line:
    • The fixed FPS cap warning now also shows on the status line in orange, as the tooltips were often missed, e.g. "Target FPS 80 above detected cap 60: set 60 or lower". It takes priority over the advice.
  • Warnings Checkbox (Expert):
    • New Warnings checkbox after Log+, also in the widget, turns both Target FPS nudges off or on (TargetFPSAdvice, default true, in the common config). Turning off takes two unticks (the first shows "Confirm?" for 5 seconds). While a nudge is on the status line the box is orange with a black tick, as a pointer to it.

Graphics Mode & Profile Pair Switching

  • 2D / VR Profile Pairs Switch During a Flight:
    • A pair named like "IFR" and "IFR VR" now switches on the next tick like Day / Night pairs, where before it only switched when the graphics mode changed. In VR (VR, OFXR or VXR) the VR profile is used, otherwise the 2D one. Choosing the wrong half, or starting on it, switches back on the next tick.
    • Expert only, connected to the sim and not in Monitor only. Settings are carried over under the same rule as the Night pair, otherwise a full reset is done.
  • Graphics Mode Display:
    • The detected graphics mode is outlined in green in the Target list so it can be found when another mode is selected, and the selected line is orange while a non-active mode is selected, in the main window and the widget.
    • The widget Manual / Auto / Fixed box now follows the Target box selected in the main window, where before it kept showing the active mode's option.

TLOD Control Fixes

  • TLOD Stuck at Maximum with Mountains+:
    • In Free TLOD with TLOD Base Extra at its cap and Mountains+ active, TLOD stayed at TLOD Max plus Mtns Amt and would not reduce when FPS was below target, as the Mountains+ amount raised the minimum to the maximum and TLOD Extra was never reduced. TLOD Extra now reduces first as intended. No change without Free TLOD or Mountains+.
  • Spike Protection Recovery:
    • Spike protection TLOD reduction now recovers after a long time without a new spike, whatever the flight profile. Seen in a log, it stayed reduced for 20 minutes of low level flying, as recovery needs distance, altitude and climb and stays at zero at low level or near the spike.
    • After 300 seconds without a new spike, recovery proceeds at 1 per tick (logged as "time fallback"). A new spike restarts the 300 seconds, and normal recovery is unchanged.
    • The limit symbol on the TLOD value now also shows while spike protection holds TLOD at its maximum, and only ever once.
  • Freeze and Crash in Free TLOD:
    • Fixed the app freezing then crashing (stack overflow), and then crashing at every start, in Free TLOD with a TLOD Top Max that is not an exact multiple of TLOD Base Min (e.g. 405 with Base Min 50). Float rounding put Min x the Extra multiplier a hair above Max, so the multiplier was reduced and the config reloaded endlessly. The check is now skipped in Free TLOD and has a small margin elsewhere. Long standing.

RTSS & Frame Generation Stability

  • No RTSS Restart with Frame Generation:
    • Reported in GitHub issue #310: running as Admin, AutoFPS restarted RTSS after MSFS regained focus with native frame generation active and MSFS crashed a few seconds later (ntdll.dll access violation). The restart to unfreeze data is now skipped in FG, Man FG and FSR FG modes, with a log line, and is unchanged otherwise.
  • Frozen RTSS Data:
    • Frozen RTSS data now clears itself when the frame time starts changing again, where before a false detection left the FPS source on MSFS for the rest of the flight, which can leave Fixed FPS reading too low and TLOD at its minimum. Truly frozen data never changes, so it stays flagged.
    • The 10 samples tested are now always logged when frozen data is flagged, not just with Log+ on.
    • New RTSSFrozenDetectionDisabled setting (default false) in MSFS2020_AutoFPS.config / MSFS2024_AutoFPS.config turns the detection off (restart the app). Nothing is then flagged, so a genuine latch (such as switching from 2D FG to VR) would go unnoticed.

In-Game Widget (v1.7.0) & Web Interface

  • Redesigned Widget:
    • Rebuilt around three tabs: Overview (Connection Status, Live Values and a single line status), Flight (Mode, Target, FPS stepper, Flight Type and Reset, plus Expert, Dark, Log+, Warnings and Auto-Hide) and Tuning.
    • Tuning has TLOD, OLOD, Reduce and VRAM+ sub-tabs built from the main window's own controls, so it always matches the app, with a shared minus and plus stepper bar (tap a box, then step, hold to accelerate, changes sent 450 ms after the last step). It is hidden when Expert is off and in Monitor only.
    • The panel is fixed at the height of the tallest tab in VR, where the sim moves the panel on every resize, and follows the shown tab in 2D. Dropdown lists open upward when they would run off the bottom.
    • Warnings caused by a widget change now show on the Tuning step bar for 5 seconds and on the Overview status line, instead of a message box on the desktop.
  • Title and Top Row:
    • The native title bar (and its double-click toggle) is removed. The widget's own top row, with the title, status and close button, is restyled to look like one, and the panel can be dragged from any empty area.
    • The title now shows the AutoFPS version as well as the widget version, e.g. "AutoFPS 0.5.6.0 / Widget 1.7.0", so screenshots show which version is running.
  • Display Fixes:
    • An orange FPS warning now shows as an orange background with black text, readable in both themes.
    • Fixed the panel background staying dark behind light theme controls after the app started with the widget already open, and the top row staying in the wrong theme's colour after AutoFPS closed.
    • The sim font has no multiplication or division sign, so "x" and "/" are shown instead (e.g. TLOD/2).
  • Web Interface:
    • The page at localhost:54321 is cut down to a small diagnostic page (MSFS, SimConnect, Session, FPS, TLOD, OLOD and Status). The /api/* endpoints the widget uses are unchanged, and the Warnings toggle is added.

Code Housekeeping

  • Compiler Warnings and Versioning:
    • Cleared all 13 compiler warnings (unused fields, unreachable code and unneeded nullable annotations). Assembly and file versions now come from the single AppVersion constant so they cannot drift apart.
  • Tuning Box Limits:
    • Each Tuning box limit (e.g. the OLOD Top altitude minimum) is now defined once in the code instead of being typed separately in the stepper and in the setting validation, so they can no longer disagree.
  • Experimental Builds:
    • Log+ is no longer forced on in experimental builds unless a constant in the code is set.