Your WinWing throttle's detent, set automatically for whatever aircraft you just jumped into.
The notch marks the last power you can hold all day. Below it you can sit forever. Past it you are spending a budget. On a fast jet that line is the afterburner gate; on a warbird it is the gate before WEP or water injection. Same idea, same hardware feature, and on several of these aircraft it is a gate the real pilot could feel.
Enter an F/A-18 and the detent moves to your Hornet ratio. Switch to an F-14 and it follows. Jump in a P-51 and it sits just below WEP. Quit DCS and the throttle goes back to neutral so other sims are unaffected.
No more alt-tabbing to SimAppPro every time you change module.
- SimAppPro needed once, to calibrate the detent. Never again after that.
- Nothing to install but this, no Node, Python or .NET. Windows PowerShell only.
- Runs unelevated. No DCS, SimAppPro or WinWing file is modified.
Beta. Working well day to day, but the USB protocol was reverse-engineered, so treat it as community software rather than a vendor feature. Bug reports welcome, and questions are answered on the Discord.
Getting it running
- Setup, start here
- Updating and uninstalling
- Troubleshooting, something is not working
Background, none of this is needed to use the tool
- How it works
- Why this works without SimAppPro
- How it triggers
- Which device it touches
- Matching rules, how an aircraft name picks a ratio
- Restoring to neutral, what happens when you quit DCS
- Install internals
- Manual use, the command line options
- Wire protocol (reverse-engineered)
- Notes
Supporting it
- Support the Project, it is free, but coffee helps
- Close DCS
- Close WinWing Afterburner Ratios GUI (If updating)
- Calibrate the afterburner detent in SimAppPro
- Run
install.cmd - Update the F-14 Special settings in DCS
-
Afterburner Detent: 54.5 -
Afterburner Detent Deadzone: 1
-
- Test your modules
- Optional In config.json you can update
"restoreRatio": "clear"to a numeric value if you want your most common module to be your default ratio. This will save writes. Example:"restoreRatio": 100is what I use.
The steps below cover each of these in detail. Five steps, about ten minutes. Only step 1 needs SimAppPro, after that you can close it and leave it closed.
In SimAppPro, open your throttle and run the afterburner calibration.
When it asks you to set the detent, push the physical detent all the way to the end of its track. That is what the recommended ratios below assume, if your detent sits somewhere else, the numbers still work but will need more tweaking to feel right.
This is the only thing SimAppPro is needed for. Everything after this, the ratio table, applying ratios, tweaking them, happens in this tool. You can close SimAppPro and leave it closed.
The step is required: until the detent is calibrated there is no reference point to scale against, and this tool will refuse to touch the device (it uses that calibration to identify the right throttle in the first place).
Download the latest release, extract it, and double-click
install.cmd. That is the whole install.
It finds your DCS folder, or asks, if you have more than one, and copies itself in.
Why install.cmd and not the PowerShell script?
Windows will not run a .ps1 on double-click; the extension has no Open verb, so it
opens in an editor. That is a deliberate security control, and you should not
re-associate .ps1 to work around it, that makes every PowerShell script on the machine
runnable with one click.
There is a second obstacle: the default RemoteSigned execution policy refuses an
unsigned script carrying the Mark of the Web, which everything extracted from a
downloaded zip has.
install.cmd handles both. Explorer executes .cmd directly, and it launches PowerShell
with -ExecutionPolicy Bypass for that one process only, nothing machine-wide changes.
It ships set up for every official DCS module, plus the A-4, Growler and Super Hornet community mods, so you may not need to change anything. The ratio is where the notch sits as a percentage of throttle travel, and it always means the same thing: the last power you can hold indefinitely.
That coverage is 54 entries, not 54 aircraft. Entries are matched as name fragments and
carry no variant, so one F-14 row covers the F-14A, the F-14B and the F-14B (Upgrade)
without three rows to keep in step. Add a variant of your own only when you actually want it
flown differently.
Four ratios are calculated but untested, because they are the modules I cannot get in front of to fly: F-15E, AV8B, MiG-19 and M-2000. They follow the same method as the rest, so treat them as sound but unconfirmed, and tell me if yours wants a different number.
Afterburner gate, past the notch is burner.
| Aircraft | Ratio | Aircraft | Ratio | Aircraft | Ratio | ||
|---|---|---|---|---|---|---|---|
Mirage-F1 |
50 | J-11 |
75 | EA-18 |
82 | ||
F-14 |
54 | Su-27 |
75 | F-5 |
82 | ||
MiG-29 |
60 | Su-33 |
75 | FA-18 |
82 | ||
F-4 |
70 | Su-34 |
75 | M-2000 |
89 | ||
F-15E |
75 | F-15C |
79 | JF-17 |
91 | ||
F-16 |
75 | AJS37 |
81 | MiG-21 |
91 |
Emergency power gate, past the notch is on the clock: WEP, water injection, MW-50, boost cut-out, or a non-burner jet's short-time rating.
| Aircraft | Ratio | Aircraft | Ratio | Aircraft | Ratio | ||
|---|---|---|---|---|---|---|---|
Mosquito |
55 | C-101 |
85 | FW-190D |
92 | ||
L-39 |
70 | C-130 |
85 | MB-339 |
92 | ||
A-4 |
75 | La-7 |
90 | P-51 |
92 | ||
A-6 |
75 | P-47 |
90 | TF-51 |
92 | ||
F4U |
75 | AV8B |
91 | Spitfire |
95 | ||
MiG-15 |
75 | Bf-109 |
92 | F-86 |
97 | ||
I-16 |
80 | FW-190A |
92 |
No notch, nothing above max continuous worth gating, so the detent sits at the top of the track and stays out of the way. All at 100:
A-10 · AH-64 · CH-47 · Christen Eagle · F-100 · Hawk · Ka-50 · Mi-8 ·
Mi-24 · MiG-19 · OH58 · SA342 · Su-25 · UH-1 · UH-60 · Yak-52
Anything not listed falls to NONE, which ships at 75, a usable middle setting
rather than no gate at all.
These values assume no curve and full saturation on the throttle axis, that is, a DCS axis left linear end to end. Any curve, saturation or deadzone you set for an aircraft moves the relationship between lever position and engine output, which shifts where the notch should be. If you have been shaping the throttle axis per aircraft, flatten it back out before you trust these numbers: zero the curve, put saturation back to 100, and clear the deadzone. The point of the notch is to give you a real max continuous gate you can feel, without giving up a linear throttle to get it.
They also assume the physical detent is calibrated at the very end of its track. Treat every number as a starting point and expect to nudge a few percent to taste.
To change them, open WinWing Afterburner Ratios from the Start Menu, the installer
offers to add it, so you never need to go near the DCS folders. If you turned the shortcut
down, run launch-config-manager.cmd from the installed folder instead.
Add, edit and delete aircraft, and hit Activate to push a ratio straight to the throttle so you can feel it without launching DCS. Edits apply to a running DCS within a couple of seconds, so you can tune from the cockpit.
Move Up and Move Down reorder the selected row, and A-Z sorts the whole table
by name. Order is yours to arrange, the table is read top to bottom and saved in the
order you see. NONE is the exception: it is pinned to the top and cannot be moved,
deleted or renamed, because it is the fallback every unmatched aircraft lands on. Its
ratio is still yours to edit, that is the only part of it Edit will change.
The name is matched as a case-insensitive substring of the DCS aircraft name, so
FA-18 covers FA-18C_hornet, and F-14 covers F-14A-135-GR, F-14B and the B
(Upgrade) alike. That is why the table needs no variants: one entry per airframe is enough
until you want a variant flown differently. On several matches the longest name wins, so
adding F-14A later beats the F-14 row for the A only. NONE is the fallback for
anything unmatched, keep it in the list.
A row turns green when it is the one on the throttle right now: the row DCS matched
when it reported an aircraft, or the row you last hit Activate on, and in both cases
only while that row's ratio is still what the throttle reports. Restore Default leaves
nothing green, because no row from the table is applied any more. The line above the table
names the module DCS last reported, or says none when DCS is not running. The window
reads the throttle when it opens, after Activate, and when you hit Refresh, so if
you leave it open while switching aircraft, hit Refresh to catch up.
Edit ratios through this window rather than by hand.
config.jsonnow lives in thelibfolder with the code that owns it, and hand edits are an easy way to end up with a file the tool cannot read.A ratio that is not a whole number from 0 to 100, negative, over 100, fractional, missing or not a number at all, is ignored rather than guessed at, because the throttle will not accept it. The editor leaves that row out of the table and says which ones it dropped; the helper skips it and logs it, keeping the rest of your table. Saving from the editor removes the ignored rows from
config.json.
Most aircraft need nothing here. The F-14 is the exception, Heatblur implements its own detent handling, so DCS needs to agree with your throttle.
In DCS: Options → Controls → F-14B → Special tab:
| Setting | Value |
|---|---|
Afterburner Detent |
54.5 |
Afterburner Detent Deadzone |
1 |
Both may need minor tweaking for your throttle. If the burner lights just before or just
after the physical detent clicks, adjust Afterburner Detent by a few tenths.
Launch DCS, jump into an aircraft, and look at:
Saved Games\DCS\Logs\wctrl-auto-ab-detent-ratio.log
You should see something like:
[info] v1.0.0-beta.003 listening on 127.0.0.1:16537; restore target Inactivated
[info] aircraft 'FA-18C_hornet' -> 82% (matched 'FA-18')
[info] afterburner ratio Inactivated -> 82% for FA-18C_hornet
Changing aircraft mid-session works too, and so does editing a ratio in the editor while DCS is running, it is picked up within a couple of seconds and re-applied to the aircraft you are already sitting in.
Close DCS first. Installing, updating and uninstalling are all blocked while DCS is running, with no override. The installer needs the folder to itself: an update replaces files the running mission has open and removes the version it is still using. Waiting costs you nothing, since hooks are read once when DCS starts and nothing installed now takes effect before a restart. If you start the installer with DCS open it waits for you. Close DCS and press Enter.
Download the new release and double-click install.cmd again. Your ratios and settings
carry over, the old version is removed, and the Start Menu shortcut is repointed at the
new one.
install.cmd -Uninstall # remove it entirely, shortcut included install.cmd -WhatIf # show what would change, without doing it install.cmd -All # install to every DCS folder found install.cmd -NoShortcut # skip the Start Menu shortcut, leaving any existing one install.cmd -Shortcut # create the shortcut without asking
The installer asks before adding the Start Menu shortcut. Answering no removes the entry if you already have one, so earlier versions putting it there without asking can be undone by running the installer again and saying no.
Nothing in the log, or no log at all.
Check Saved Games\DCS\Logs\dcs.log for WINCTRL-AB lines. If they are missing, the hook
did not load, confirm Scripts\Hooks\ contains a wctrl-auto-ab-detent-ratio-hook-*.lua.
"no afterburner-capable throttle part found". The detent is not calibrated. Go back to step 1.
"no device matched ... match [...]". You are on different WinWing hardware. Run this to see what is attached, and which throttle entry is currently in force:
& "$env:USERPROFILE\Saved Games\DCS\Scripts\wctrl-auto-ab-detent-ratio-*\lib\helper.ps1" -Devices
Then put a distinctive part of your throttle's name into that entry's match list in
lib\config.json. Match the model, not the brand, the vendor has been WinWing, WinUSA
and WinCtrl in about 18 months, and the brand is baked into the product string.
An aircraft gets the wrong ratio. The longest matching entry wins, and a tie in length goes to whichever row sits higher. Add a more specific entry in the ratio editor, or move the entry you want above the one it ties with.
Reporting a bug. Include the version, it is in the folder name, the hook filename, and the first line of the log.
Still stuck? Ask in #help on the Discord.
Everything below is background. You do not need any of it to use the tool.
The afterburner ratio is not a SimAppPro setting. It lives in the throttle's own
flash memory. SimAppPro's SetAfterburnerRatio.vue does exactly one thing when you
click Activate:
Activate(t){ this.$set(this.strength_pct, 0, t.ratio); var e = cloneDeep(this.strength_pct); e[0] = 100 - e[0]; WWTHID_Sync("WriteFlash",{SerialNumber:this.SerialNumber, Offset:"0x11C", Data:e}) }
which reaches WWTHID_JSAPI.WriteFlash(serial, "0x11C", data) → WWTHID.dll → USB HID.
This helper performs the same write directly, so the setting persists on the hardware
and survives SimAppPro being closed or uninstalled.
SimAppPro itself exposes no API for this: its UDP :16536 listener only accepts
net / mission / mod / addOutput / addCommon / getOutput / original, and it
runs with no remote-debugging port. Driving its UI was never an option.
WinWing's own Scripts/wwt/wwtNetwork.lua already fans every export message out to
three ports:
w_net.addr = {{ ip="127.0.0.1", port=16535 }, -- SimAppPro2 { ip="127.0.0.1", port=16536 }, -- SimAppPro1 { ip="127.0.0.1", port=16537 }} -- debug
Only 16536 is bound (by SimAppPro). Binding 16537 yields
{"func":"mod","msg":"FA-18C_hornet"} on aircraft change, a heartbeat every 3 s, and
{"func":"mission","msg":"stop"} at mission end, with zero edits to any DCS or
WinWing file.
The DCS hook additionally sends the same mod message itself. That is deliberate:
wwtExport.lua emits mod only when the name changes, so if the helper were still
starting up that single datagram would be lost forever. The hook also covers the case
where the wwt export is disabled entirely.
Nothing is hardcoded. The ratio table lives inside a throttle entry in
config.json, and that entry also carries the device it belongs to:
"throttles": [ { "match": [ "Orion Throttle Base" ], "label": "WinWing Orion Throttle Base", "throttlePid": 0, "ratios": [ { "name": "NONE", "ratio": 75 } ] } ]
The file ships with exactly one, and almost everyone will only ever have one. The nesting exists so that a second throttle can carry its own ratios rather than sharing a single table with the first.
At startup the helper enumerates every WinWing HID device (VID 0x4098), then narrows by
two independent gates from the entry in force:
match, case-insensitive substrings; a device qualifies if its product name contains any of them. Default[ "Orion Throttle Base" ], with no numeral, so it covers both the Base I and the Base II.throttlePidrestricts the search to one USB product id, or0for any.- Programmed afterburner calibration at
0x114/0x118, which picks the base out of the base + handles assembly.
With more than one entry, the helper uses the first one whose device is actually plugged in, and logs which it picked and why. With nothing connected it falls back to the first entry, so the ratio editor still opens and still shows a table. Only one throttle is driven at a time; several at once is a separate piece of work.
The part id (0xBE60 here) is discovered by broadcast, never assumed, so swapping
handles or throttles re-discovers correctly.
Match the model, not the brand. The vendor rebranded twice, WinWing → WinUSA →
WinCtrl, in roughly 18 months, so the same model reports as WINWING ...,
WINUSA ... or WINCTRL ... depending on how old its firmware is. No brand word
belongs in the filter.
Device selection keys on the USB vendor id 0x4098, which is assigned to the
company rather than the brand and survived all three names, SimAppPro's own
supportDevice.json lists "vid": 16536 for both its WINWING and WINCTRL entries
of the same hardware.
Substrings are prefix-friendly, and the shipped filter uses that on purpose:
"Orion Throttle Base"matches the Base I and the Base II alike. They are the same throttle here, identical firmware and identical detent, so one table serves both and there is no second entry to order correctly.If you ever do want to split them, note that a filter of
"Orion Throttle Base I"also matches a Base II, since one name contains the other. Filtering for the Base II is safe (a Base I lacks theII); filtering for a Base I needs a longer, distinguishing string, and the Base II entry must come first. Use[]to accept any WinWing device.
Run lib\helper.ps1 -Devices to see what is attached and what the filter allows:
* WinWing Orion Throttle Base: match = [Orion Throttle Base], throttlePid = 0, 55 ratios
MATCH 0xBD64 WINCTRL Orion Throttle Base II + F15EX HANDLE L + F15EX HANDLE R
- 0xBF05 WINCTRL CarrierAce PTO 2
- 0xBB36 WINCTRL 32 MCDU CAPTAIN
- 0xBEF0 WINCTRL Orion Combat Rudder Pedals Metal
- 0xBEDE WINCTRL CarrierAce UFC + CarrierAce HUD
The starred line is the throttle entry in force. If its filter matches nothing, the helper logs what it did find and touches no device.
- The aircraft name must contain the table entry's name, case-insensitively
(
FA-18C_hornetcontainsFA-18). Both sides go throughToUpperInvariant(), so entry names you typed in SimAppPro match regardless of case,f-4ematchesF-4E-45MCexactly asF-4Edoes. - On multiple matches the longest entry name wins, so
F-4Ebeats a hypotheticalF-4. On a tie in length, the row nearer the top of the table wins, so if you keep bothFA-18Candhornet, whichever you put higher is the one that decides anFA-18C_hornet. Use Move Up in the ratio editor to settle it. Bear in mind that A-Z re-sorts the table and can therefore flip a tie you had arranged by hand. NONEnever matches by name, it is the fallback when nothing else hits. It ships at75, a usable middle setting, rather than at 100 where there would be no gate at all.- If there is no
NONEentry, fall back tonoMatchRatio(75), deliberately the same number, so both answers to "I do not know what this aircraft is" agree.
Verified against real DCS module names:
| Aircraft | Result |
|---|---|
FA-18C_hornet |
82 % (matched FA-18) |
F-16C_50 |
75 % (matched F-16) |
F-14B |
54 % (matched F-14) |
AJS37 |
81 % (matched AJS37) |
AH-64D_BLK_II |
100 % (matched AH-64) |
Su-57 |
75 % (no match → NONE) |
f-4e-45mc vs entry f-4e |
70 % (case-insensitive both ways) |
F-4E-45MC with entries f-4 and F-4E |
70 % (longest match wins) |
The ratio table lives in this tool's own config.json and is the single source of truth.
SimAppPro is never read at runtime, it is an Electron app that rewrites its whole config
from memory, so treating it as a live source made this tool hostage to another program's
lifecycle. Edits are made with launch-config-manager.cmd, and a running helper picks them up
within two seconds by watching the file's timestamp.
The helper only ever reads config.json; launch-config-manager.cmd is the only
thing that writes it. Saving rewrites just one throttle's ratios array by locating
its span and splicing, so the _comment_ keys documenting every setting, the key order,
any other throttle, and your other settings survive byte-for-byte. The file is written
BOM-free through a temp file and an atomic move, and is parsed back before being
committed, a save that would produce unreadable JSON is refused rather than written.
Only one editor runs at a time. Launching it again while a window is already open
raises that window instead of starting a second one, so two copies can never
overwrite each other's edits.
A running helper notices the change within two seconds by watching the file's timestamp, reloads, and re-applies to the aircraft already in use, so a ratio can be tuned from the cockpit.
restoreRatio (default "clear") is applied on mission stop, on DCS exit, and if
traffic stops for heartbeatTimeoutMs (a DCS crash), so other sims are unaffected.
"clear" writes FF FF FF FF to 0x11C, the device's "Inactivated" state, meaning
no afterburner mapping at all. That is the throttle as it ships, which is what you want
outside DCS. It is what SimAppPro's Clear configuration button does.
Clearing does not touch the afterburner calibration. Verified on hardware:
before: 0x114=3f 2c 00 00 0x118=bf 2d 00 00 0x11C=19 ff ff ff (75%)
after clear: 0x114=3f 2c 00 00 0x118=bf 2d 00 00 0x11C=ff ff ff ff (Inactivated)
restored 75: 0x114=3f 2c 00 00 0x118=bf 2d 00 00 0x11C=19 ff ff ff (75%)
Calibration lives at 0x114/0x118 and is untouched, so nothing needs recalibrating.
Set restoreRatio to a number 0–100 instead if you would rather leave a specific ratio
applied outside DCS. An unparseable value logs a warning and falls back to "clear".
These are deliberately separate:
| Setting | When | Default |
|---|---|---|
restoreRatio |
leaving DCS, mission stop, DCS exit, watchdog | "clear" (Inactivated) |
noMatchRatio |
inside DCS, aircraft matched nothing and the table has no NONE entry |
75 |
The first neutralises the throttle for other games; the second keeps it usable in an unrecognised aircraft. Conflating them would either neutralise the throttle mid-flight or leave a DCS ratio applied in other sims.
- One DCS folder, used automatically.
- Several (multiple variants, or several users on the PC), it lists them and asks
which, or
Afor all. - None, it asks for the path and validates it before copying anything.
- Non-interactive (piped, CI), it will not hang on a prompt; pass
-SavedGames.
The location comes from the Windows known folder API rather than assuming
%USERPROFILE%\Saved Games, so a Saved Games folder relocated to another drive still
resolves. Other user profiles are scanned too; anything unreadable is skipped.
Folder names are not hardcoded, DCS's dcs_variant.txt can rename the folder (that is
where DCS.openbeta came from). A candidate has to contain one of Config, Logs,
Mods or Scripts, because modules store their own data in similarly named folders:
one real machine had DCS, DCS_F14, DCS_F4E, DCS_AJS37, DCS_OH58D and
DCS.C130J side by side, where only the first was a DCS root.
The deployed folder and hook carry the version from the repo's VERSION file:
Scripts\wctrl-auto-ab-detent-ratio-0.1-alpha
Scripts\Hooks\wctrl-auto-ab-detent-ratio-hook-0.1-alpha.lua
The version is the suffix in both, so they sort together and read consistently.
So a bug report identifies its build at a glance, and helper.ps1 -Status reports it too.
The repo keeps the plain unversioned names; the suffix is applied on the way out.
Each version installs into its own folder, and installing removes every other version and its hook, two hooks loaded at once would fire every event twice. Only one thing is carried across an upgrade:
carried your config.json forward from wctrl-auto-ab-detent-ratio-0.1-alpha
- added 1 new aircraft: Su-27
removed previous wctrl-auto-ab-detent-ratio-0.1-alpha
removed previous hook wctrl-auto-ab-detent-ratio-0.1-alpha-hook.lua
The config format changed in v2, and the installer migrates it for you. Before, one
global ratios table sat beside deviceNameIncludes and throttlePid at the top level;
now all three live inside a throttles entry, so each throttle carries its own table. The
installer detects the old shape, folds it into a single entry with your matcher, your
product id and your rows in your order, drops the three retired keys and stamps
configVersion: 2. The result behaves identically, nobody has to do anything, and the
pre-migration file is kept as config.json.bak-<timestamp>.
Every setting migrates, and an upgrade only ever adds. The new version's shipped
config.json is used as the skeleton, it brings the current comments, the current default
ratio table, and any setting introduced since your version, and then every value you
already had is written back over it. So:
- a ratio you tuned keeps your number;
- an aircraft you added yourself is kept, in the position you put it;
- a default aircraft this release adds that you have never had is appended to the end of your table;
NONEis moved to the top of the table if it is not already there, so every installed config has it in the same known place;- a setting this release adds arrives at its default, since you have no opinion on it yet;
- a throttle this release adds that you do not have is appended, and a throttle you added yourself that this release does not ship is kept;
- a setting the new version no longer ships is dropped, because the code that read it is gone.
If the release changes nothing about the config, your file is carried across byte-for-byte. Reinstalling the same version merges too, and writes nothing at all when there is nothing new to add.
One consequence worth knowing: the installer cannot tell an aircraft you deleted from one you have simply never been offered, so a default entry you remove comes 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.
The log file stays unversioned (Logs\wctrl-auto-ab-detent-ratio.log) so it is always in
the same place; each run records its version in the first line.
Each DCS launch starts the log fresh. The previous session's log is kept beside it as
wctrl-auto-ab-detent-ratio.log.bak - the same .bak convention the installer uses for
config.json, without the timestamp, since only one old log is kept. The one before that is
discarded, so exactly two sessions are ever on disk. Running helper.ps1 by hand
(-Status, -Apply, -Restore, -Devices) appends to the current log rather than rolling
it over.
Installing is a complete replace of the program files, not a merge:
- every shipped file is overwritten;
- any file left over from an older version that this package no longer ships is removed, so an update cannot leave a stale module behind;
- an install under an older project name is removed too, since two hooks loading at once would double every event;
- installing into a DCS folder with no
Scriptsdirectory works, it is created.
The single exception is config.json, which is yours and is merged rather than
replaced. It holds your settings and your mirrored ratio table, and anyone who has since
uninstalled SimAppPro has no other copy of it. Use -ForceConfig to discard it and start
from this version's defaults; the previous file is backed up to
config.json.bak-<timestamp> first.
Scripts/ mirrors DCS Saved Games\Scripts
Hooks/wctrl-auto-ab-detent-ratio-hook.lua auto-loaded by DCS; starts the helper
wctrl-auto-ab-detent-ratio/
launch-config-manager.cmd the only file a user runs
lib/ everything else, kept out of the way
helper.ps1 UDP listener, aircraft->ratio matching, flash writes, watchdog
WinctrlHid.ps1 Win32 HID layer + the reverse-engineered wire protocol
config-manager-gui.ps1 the ratio editor window
config.json settings + a ratio table per throttle (source of truth)
state.json what DCS last reported and which ratio row is on the throttle
run-hidden.vbs starts a script with no console window
install.cmd the installer - double-click this
VERSION single source of truth for the version
tools/
deploy.ps1 does the work; install.cmd wraps it
Test-Syntax.ps1 syntax gate (dev)
release.cmd tag and push a release (dev)
docs/
index.html the project page (dev)
ratio-baseline.md where each shipped ratio came from (dev)
.\helper.ps1 -Devices # every WinWing device, and which the filter allows .\helper.ps1 -Status # device, part, current ratio, active table .\helper.ps1 -Apply 82 # set a ratio once .\helper.ps1 -Restore # back to restoreRatio
Log: Saved Games\DCS\Logs\wctrl-auto-ab-detent-ratio.log
Previous session: Saved Games\DCS\Logs\wctrl-auto-ab-detent-ratio.log.bak
Captured by setting "HIDLog": true in %APPDATA%\SimAppPro\config.json (read only at
startup), clicking Activate twice, and reading %APPDATA%\WWTHID\SimAppPro\WWTHID.log;
then confirmed by live probing.
Output report is 14 bytes (OutputReportByteLength):
byte 0 0x02 report id (SimAppPro logs this as "channel:2")
bytes 1-4 id target part id, little-endian uint32
0x00000001 = broadcast to every part
byte 5 len significant byte count of data
bytes 6-13 data[8] command payload
Input reports use the same layout; report id 0x01 is ordinary joystick state.
Replies carry the responding part's id with 0x1000 added (0xBE60 → 0xCE60);
WWTHID masks this off before logging.
| Command | data |
len |
|---|---|---|
REQUEST_DEVICE_HW |
01 |
1 |
REQUEST_DEVICE_FW |
02 |
1 |
REQUEST_DEVICE_SN |
03 |
1 |
READ_CFG_DATA |
05 oo oo oo |
4 |
WRITE_CFG_DATA |
06 oo oo oo dd dd dd dd |
8 |
REQUEST_DEVICE_MODE |
18 |
1 |
ONLINE_HEARTBEAT |
00 |
1 |
oo oo oo is a 24-bit little-endian config offset.
| Offset | Meaning |
|---|---|
0x09C, 0x0A0, 0x0A4 |
12-byte device serial, three 4-byte chunks |
0x114, 0x118 |
afterburner calibration points; all-FF = not calibrated |
0x11C |
afterburner ratio, byte 0 = 100 - percent, bytes 1–3 preserved, 0xFF = Inactivated |
Send any command with id = 01 00 00 00 and every sub-part answers with its own id.
On an Orion Throttle Base II + F15EX handles that is 0xBF01, 0xBF02 (handles) and
0xBE60 (base). The base is identified as the afterburner-capable part because its
0x114/0x118 calibration words are programmed, so no part id is hardcoded.
The serial reported in the HID descriptor is the nibble-swapped form of the raw flash bytes SimAppPro displays:
| Source | Value |
|---|---|
Flash 0x09C–0x0A7 / SimAppPro |
1A2B3C4D5E6F70819293A4B5 |
| HID descriptor string | A1B2C3D4E5F6071829394A5B |
(illustrative values, check your own with helper.ps1 -Status)
Every byte has its nibbles swapped (2E→E2, 06→60, 4D→D4, …).
send 02 | 60 be 00 00 | 04 | 05 1c 01 00 00 00 00 00 read 0x11C
recv 02 | 60 ce 00 00 | 08 | 05 1c 01 00 19 ff ff ff 0x19 = 25 -> 75%
send 02 | 60 be 00 00 | 08 | 06 1c 01 00 2e ff ff ff write 0x2E = 46 -> 54%
recv 02 | 60 ce 00 00 | 04 | 06 1c 01 00 00 00 00 00 ack
- HID access to these devices does not require administrator rights.
SimAppPro.exerequests elevation (highestAvailablemanifest) for driver/registry work, not for device I/O,WCtrlDcsBiosBridge.exedrives the same hardware asasInvoker. - SimAppPro's
WWTHID_JSAPI.nodewas rejected as an alternative: it is 32-bit x86, built against the raw V8 API of Electron 8.3.0 / Node 12.13.0, so hosting it would need a matching legacy 32-bit runtime or a UAC prompt on every mission start. - The helper only ever writes offset
0x11C. Calibration and serial regions are read-only to it.
If you are searching for answers to the following WinWing Orion 2 problems, this utility provides a fully automated, native software-driven fix:
- How do I automate afterburner detents in DCS World? (Solved: This tool changes your physical hardware ratio automatically mid-session upon switching aircraft slots).
- WinWing SimAppPro profiles not shifting or switching automatically. (Solved: This tool completely replaces SimAppPro background tasks using a lightweight PowerShell hook).
- How to fix individual aircraft afterburner curves for Orion Throttle Base II. (Solved: Eliminates the need to configure manual axis curves, deadzones, or sliders inside the DCS Options menu).
This utility is free and open source, with no ads and no trackers. If it saved you from the SimAppPro alt-tab shuffle and got you back to flying, you can put something in the tip jar. Entirely optional, every part of this stays free either way.