Releases: cbass2404/wctrl-auto-ab-detent-ratio
Release list
v1.0.0-beta.002
Reorderable ratio table, and upgrades that keep your settings
Two things in this release: you can now arrange the ratio table the way you
want to read it, and upgrading no longer throws away what you have tuned.
Arrange your table (#3)
The ratio editor used to append every aircraft you added to the bottom of the
list, so over time the table ended up in the order things happened to be added
rather than an order that was useful to read. Now:
- Move Up and Move Down shift the selected row. The selection follows
the row, so you can keep clicking without reselecting. - A-Z sorts the whole table by name.
- Buttons that need a selected row now grey out when there is not one, instead
of looking available and doing nothing. - Unset is now called Restore Default — it does the same thing, it just
says so.
Ordering is purely presentational: it does not change which aircraft gets which
ratio, with one exception worth knowing. When two entries match the same
aircraft and their names are the same length, the one nearer the top wins. If
you keep both FA-18C and hornet, whichever you put higher decides an
FA-18C_hornet — and A-Z can re-sort a tie you had arranged by hand.
NONE is now fixed in place
NONE is the fallback every unmatched aircraft falls back to, so it is now
pinned to the top of the table and cannot be moved, deleted or renamed. Its
ratio is still yours to change. If your config has it somewhere else, upgrading
moves it to the top.
Upgrading keeps your config (#2)
Installing over an existing version used to carry across only your ratio
numbers. Everything else — noMatchRatio, restoreRatio, checkForUpdates,
deviceNameIncludes and any overrides — silently reverted to shipped
defaults, and newly shipped default aircraft never reached you at all.
The installer now merges instead of replacing:
- ratios you tuned keep your numbers, in the order you put them;
- aircraft you added yourself are kept;
- default aircraft new in this release are appended to your table;
- every other setting keeps your value;
- your old
config.jsonis backed up before anything is written.
Known limitation: the installer cannot tell an aircraft you deliberately
deleted from one you have simply never been offered, so a default entry you
removed will come back on the next upgrade that ships it. Set it to a ratio you
like rather than deleting it and it will be left alone.
Fixed: one bad ratio could reset your whole table
Not reported as an issue, but worth calling out because it was silent.
If config.json was hand-edited and any single ratio was not a whole number
from 0 to 100, the helper logged config.json unreadable and fell back to the
shipped defaults — discarding every ratio you had tuned, with no indication
beyond that one log line. Out-of-range numbers had a second failure mode, where
the throttle refused the write and it surfaced as a misleading "throttle
unusable" message.
Ratios are now checked one row at a time. A row that is not a whole 0–100 —
negative, over 100, fractional, missing, or not a number — is skipped and named
in the log, and the rest of your table is untouched. The editor leaves those
rows out of the list and tells you which ones it dropped; saving from the editor
removes them from config.json for good.
Values are never clamped or guessed at. The throttle will not accept them, so
inventing a number you did not choose is not something this tool will do.
Also in this release
The ratio table now has a proper header separator and row separators that line
up with the header, and the columns fill the window instead of leaving an empty
strip on the right.
Upgrading: run install.cmd. Your config.json is merged and backed up.
Full Changelog: v1.0.0-beta.001...v1.0.0-beta.002