RPM Tuner Log — the help file

A datalogger and ROM editor for Windows, written for one car, a 2016 WRX STI: Subaru SSM2 over CAN through the Tactrix Openport, a wideband, the MTX-D oil gauge, the Dragy GPS, and the TUNE section with its ROM editor, CAN capture and the brain. It reads the car. The one thing it can change on the car is clearing trouble codes, and only when you ask. This page is the whole manual: installing and the first start, other cars, the quick start, every screen, every key, every setting and file, the command line, troubleshooting, a glossary and an index. It lives at web\help.html beside the exe.

Ways to open this page

Use the search box on the left, your browser's find (Ctrl+F), the glossary or the index.

Clear codes is a write, and the only one

Everything the app sends to the car is a read, with one exception: the OBD-II clear-codes command (mode 04) behind CODES and --clear-dtc. It erases the stored trouble codes and their freeze-frame data and resets every readiness monitor, and it may reset what the ECU has learned. It is sent only on an explicit action behind a confirmation that defaults to No, and it is not offered while a recording is running. It stays in the app: the owner uses it. CODES has the details.

The rest is read-only by construction. Two SSM2 commands exist in the program: ECU init (0xAA) and read-addresses (0xA8). The SSM2 write command (0xB8) is never sent: the byte appears in the source only as the name the CAN capture gives to traffic it overhears, and in a comment. The OBD-II source (ecu_protocol=obd2) sends mode 01 requests and, once at connect, mode 09 PID 02 for the VIN. The TUNE section adds no path to the ECU at all: its only output is a .bin file on disk after the pre-flash checklist, and its CAN capture reads through a channel object that has no write method (checked by reflection in --test-tune). Nothing is written to the car's ECU before a proven bench recovery; break-in, the 3,000-mile half of that rule, ended on 2026-11-11.

What leaves the PC

While weather is on, the car's position, rounded to 0.01 degree, goes to the US National Weather Service to find the nearest weather station. Nothing else is sent anywhere. What it sends out has the details and how to switch it off.

What the badges mean

ON THE CAR has been seen working on the STI. BENCH is built and proven against tests, documents or the simulator, never yet against the real thing. NOT BUILT is designed but not written. Where this page says a number was measured on a date, that date is from the project's own notes. Everything changed on 2026-11-12 and 2026-11-13 has been tested on the bench only, whichever section describes it; the list is under proven on the car, and not yet. Nothing here is tuning advice.

1Installing and first start

What it is, and what it is not

RPM Tuner Log shows what the engine computer is reading, live, on one screen built for the car, beside a wideband air/fuel meter, an oil-pressure gauge and a GPS meter, and records all of it to one CSV file per pull. It also holds a ROM editor that works on files (the TUNE section).

The Logger Edition

The public release of 2026-11-16 is the Logger Edition: LOG (the datalogger) and LISTEN. TUNE is locked in it: the tab reads TUNE (LOCKED) and shows a locked screen, the Edit, Tune and Cells menus are off, --tune and --test-tune are refused, and no ROM, definition or TUNE data file is in its folder. The title bar and Help > about say Logger Edition. The edition is chosen when the program is built; no file or setting changes it, and the Logger Edition's exe holds none of TUNE's code. Chapter 5 below describes TUNE as the full build has it.

Licence, disclosure and credits

Three files beside the program, each opened from the Help menu: LICENSE.txt (free to use, all rights reserved, no warranty), DISCLOSURE.txt (what the program sends to the car, the risks, and what leaves your computer: read it before you connect it to a vehicle) and CREDITS.txt (the projects and makers whose published work it draws on; the file-by-file record is NOTICE.txt). The program is not made, endorsed or supported by Subaru, COBB Tuning, Tactrix, Innovate Motorsports, Dragy or any other maker it names.

What you need

ThingWhat
A PCWindows 10 or 11 with .NET Framework 4.5 or later, which is part of Windows. A tablet with no keyboard works: every action has a button.
An adapterA J2534 pass-through adapter with its 32-bit driver installed (the app is 32-bit because the Openport's driver is). The Tactrix Openport 2.0 is the one it has been used with ON THE CAR. Other J2534 adapters are untried; the Autel MaxiFlash drivers are known to leak memory every time they are opened. No driver is in the package.
A carA CAN-bus car, key on. See your car is not this car.
Optional: a widebandOn a serial (COM) port. The Innovate LM-1 is the one proven ON THE CAR; the others are written from their makers' documents and have met no meter.
Optional: an oil gaugeThe Innovate MTX-D on a serial cable. It streams ON THE CAR; its mapping has not yet been checked against the gauge's face.
Optional: a GPS meterA Dragy DRG70 over Bluetooth LE ON THE CAR, for GPS speed and timed runs. It is the only GPS source.
Optional: internetFor density altitude from the US weather service; a phone hotspot is enough. United States only.

Getting it running

From a release package (RPMTunerLog-<version>.zip, made by tools\make-release.ps1): unzip the whole folder somewhere you can write to, such as Documents or the desktop, and double-click RPMTunerLog.exe. The package holds the exe, defs\, web\, NOTICE.txt and README-FIRST.txt, and none of the owner's settings, pages or logs. It leaves out the two stock Subaru ECU images, so TUNE starts with LOAD DEMO ROM or an image you import yourself.

From source: .\build.ps1 in the project folder compiles RPMTunerLog.exe with the C# compiler that is part of .NET Framework (building and testing).

With no car: RPMTunerLog.exe --sim runs against a simulated car, and RPMTunerLog.exe --replay <log> plays a recorded pull. Neither needs an adapter.

The first start

  1. The ten-second title screen runs. x or Esc on it cancels the launch; it can be switched off afterwards.
  2. With no settings.txt yet, SETUP opens by itself, headed SETUP / FIRST START. Choose, under CAR, the ECU protocol (SUBARU SSM2, or OBD-II for another make) and the display units, and under SENSORS the wideband and its port if the car has one. Everything else can wait. Nothing is saved until you change something, and SETUP is always under the ... button by the page tabs. A change of protocol or wideband takes effect at the next start: close the app and open it again.
  3. Plug the adapter into the car's OBD port and the PC, key on, and press CONNECT. The status line under the tachometer shows the link, the ECU id and the rows per second, or says in red why it could not connect.
  4. Press RECORD PULL (or F5) to start a log and again to stop. LOGS lists what you recorded.
  5. On a Subaru, before trusting a first log, run DIAG > VERIFY VS OBD2 once: it reads seven quantities two independent ways and says whether they agree.

The quick start is the same routine for every drive after that.

Where its files go

The app reads defs\ and web\ from the folder the exe is in (the program folder). Everything it writes goes to its data folder: settings.txt, layout.txt, pages.txt, logcolumns.txt, the perf files, logs\ (the pulls, their notes, app.log, the copies for the tuner) and what the console tools write. The data folder is the program folder whenever that folder can be written, or already holds a settings.txt or a logs\ folder: a zip unpacked in your own space, and the owner's setup, where everything is beside the exe as it always was. Only when the program folder cannot be written (an install under Program Files) is the data folder %LOCALAPPDATA%\RPM Tuner Log, made the first time it is needed. app.log names the data folder, and why it is that one, at every start on a line beginning Data, and so does SETUP > FILES > Data folder.

When the data folder is not the program folder, a file under defs\ that you edit (danger.txt, gears.txt, aux-gauge.txt, obd-pids.txt, poll-tiers.txt) can be copied to defs\ inside the data folder, and your copy is then the one read. That holds for those five files only. The app never makes the copy itself, and SETUP's OPEN buttons open whichever file is in force. The TUNE section keeps its library in Documents\RPM Tuner Studio either way. Where this page says beside the exe of a file the app writes, read in the data folder. Added 2026-11-13: nobody has yet installed the app under Program Files. BENCH

What it sends out

One thing. While weather is on (the default), the app asks the US National Weather Service (api.weather.gov) for the weather station nearest the car, for density altitude, and for that it sends the car's position rounded to 0.01 degree, about a kilometre. No name, account or contact details are sent (the request is labelled RPMTunerLog/1.0 (personal datalogger)), and nothing else about the car or the drive. As with any web request, the service sees the internet address the PC is using. weather=0 in settings.txt, or Weather OFF in SETUP, turns it off, and density altitude with it. The service covers the United States only. The phone page answers this PC only unless you let other devices on your network reach it. Nothing else leaves the PC.

2Your car is not this car

Every number on this page was measured on one car: a 2016 WRX STI (USDM, 2.5 L, ECU id A62A904097) through a Tactrix Openport 2.0. This chapter says what any other car gets, and which of this car's numbers you have to replace with your own.

What each kind of car gets

CarWhat works
A 2016 WRX STI whose ECU id is A62A904097Everything on this page.
Another CAN-bus Subaru that speaks SSM2 (CAN ids 7E0 / 7E8, 500 kbit/s)The standard channels its ECU says it supports, up to 26 of them (the list), the computed ones, the wideband, the oil gauge, GPS, weather, recording and replay. Not the COBB channels (below). Untried: no other Subaru has been connected. The 64-address limit of a request and the layout of the ECU's capability reply were measured on this ECU only, so run DIAG > VERIFY VS OBD2 before trusting a log. Whether newer Subaru ECUs speak this dialect needs a car to try.
Any other car on CAN with 11-bit ids at 500 kbit/sOBD-II mode: the standard live data the car supports. Bench-tested only.
A car on CAN with 29-bit ids, or at 250 kbit/sNot reached.
A K-line or J1850 car (most cars before about 2008, older Subarus included)Not reached at all: the adapter layer opens CAN only.

The COBB channels and the ECU-id rule

Twelve channels (COBB's DAM, feedback knock, fine knock learn, boost, MAP, load, fuel pressure and its filtered copy, requested torque, TGV map ratio, idle airflow target and the ECU's own gear), SI-DRIVE, and anything in custom_params (ethanol) are not standard parameters. They are addresses in the memory of one ROM, found by overhearing the Accessport on this car. On another ECU the same addresses hold something else, and whatever is there would be shown, logged and alarmed on under those names.

So since 2026-11-12 they are read only when the ECU's id is A62A904097, or an id you have listed in extended_ecu_id in settings.txt (comma-separated) because you know that ECU runs the same ROM layout. On any other ECU:

A reflash can move these addresses even on this car: after one, check DAM and fine knock learn against the Accessport's own log (tools\compare-ap.py) before trusting them again. The rule has not met a second ECU. BENCH

A second check, on this car too (2026-11-13). A new map can move these addresses and leave the ECU id as it was, and a moved address does not fail: it returns whatever now lives there. Four of the COBB channels have a standard twin read in the same request: boost (within 0.5 psi), MAP (within 2.0 psi), calculated load (within 0.5 g/rev) and fine knock learn (within 0.5 degrees). After each connect, and again after 3 seconds or more of ECU silence, the app takes the median difference of each pair over the first 100 samples above 500 rpm (rows at 17 psi of boost or 36 psi of manifold pressure and above are left out, because the one-byte standard channels stop just past there). If a pair is further apart than its tolerance it says so, and goes on saying so: one COBB twins DISAGREE line in app.log, an amber notice on the strip until the app is closed (the box a tap opens reads the COBB channels disagree with their standard twins: a new map may have moved them - do not trust DAM, knock or fuel pressure until they are checked against the Accessport), and a cobb twin check: line in the note beside every pull. A later connect that agrees does not withdraw the warning. Polling and recording carry on untouched. Agreement proves less than it seems to: DAM, feedback knock and fuel pressure have no twin, so after a new map the check against the Accessport's own log still stands. It does not run in a replay, in the simulator, in OBD-II mode, or on an ECU where the COBB channels are not read. Run over the owner's 28 pulls (593,425 rows) it never fired: the largest median differences were boost 0.07 psi, manifold pressure 0.50 psi, load 0.17 g/rev and fine knock 0.10 degrees. No moved address has been seen. BENCH

OBD-II mode

ecu_protocol=obd2 in settings.txt (or SETUP > CAR > ECU protocol > OBD-II) reads a car through generic OBD-II live data (SAE J1979 mode 01) in place of Subaru SSM2. It takes effect at the next start. With the line absent, or ecu_protocol=ssm2, none of it runs.

No real car has met this code: every line of it was proven against a scripted one (tests\ObdTest.cs). BENCH

This car's numbers, and where to change them

WhatWhose it isWhere to change it
Danger thresholdsStarting values for this STI (45 psi of fuel under boost, 220 F coolant, 7,200 rpm, 12 psi of oil...). A rule on a COBB channel (fbk, fkl_ext, dam_ext, fuel_psi, boost_ext) holds back on a car that does not log that channel.defs\danger.txt (danger rules); SETUP > FILES > Danger rules > OPEN. Read when the app starts.
Gear ratios and tyreThe STI's TY856 six-speed, 3.900 final drive, 1.964 m effective rolling circumference. On another car the calculated gear is wrong until these are that car's.defs\gears.txt; SETUP > FILES > Gear ratios > OPEN. Read when the app starts.
Trouble-code names196 codes from the 2015 WRX STI factory manual, with that manual's page numbers. A code that is not in the list is shown by number and never given a guessed name.defs\dtc-sti-2015.tsv. There is no setting that names another list.
Oil gauge mappingThe Innovate MTX-D's published 0 to 150 psi and 120 to 280 F, pressure first.defs\aux-gauge.txt (the oil gauge).
Oil lamp threshold, shift point10 psi; 6,500 rpm.oil_light_psi in settings.txt; SETUP > CAR > Shift point, or the footer.
The name on the mastheadWRX STI.SETUP > CAR > Car name (car_name).
Units on the tilespsi, F, mph, ft.SETUP > CAR > Display units (units=metric). The logs and the rules stay in the logged units.
The slow tierWhich channels are asked for only every fourth cycle.defs\poll-tiers.txt.
The copy for the tuner; the TUNE section's definitions and guideThe Accessport's datalog layout as this car's Accessport writes it; the 2016 USDM STI's ROMs.Of no use on another make. export_accessport=0 turns the automatic copy off.
WeatherThe US National Weather Service.Outside the United States there is no density altitude and the status line says so; weather=0 stops the lookup.

3Quick start

At the car, in six steps

  1. Plug the Openport into the OBD port and the Surface. Key on; the engine running is fine. Why key on is enough, and what the Accessport changes.
  2. Press CONNECT in the footer. The status line under the tach shows the link, the ECU id, the rows per second and the battery voltage. Connecting is always by hand: the app never searches for the adapter on a timer.
  3. GPS. With a meter already remembered (dragy_mac in settings.txt) the app starts looking for it when it launches, so there is nothing to press: pressing GPS then switches the GPS off. With no meter remembered, switch the Dragy on and press GPS once. The button is solid cyan while fixes are arriving; until then the status line says what the GPS is doing. It is independent of the ECU.
  4. Press RECORD PULL or F5 to start a log, and again to stop. The file appears in logs\ with its first row and the footer shows its name. Recording is by hand too.
  5. Drive. A tile flashes red while a value is inside a danger rule and keeps a red PEAK tag afterwards; the strip at the very top names the rule on every page, under DANGER while it fires and EARLIER afterwards. F6 clears the holds and the min/max figures.
  6. Esc quits (in LOG), and asks first while a recording is running. A cable that drops ends the session on its own: plug it back in and press CONNECT.

The screen at a glance

WhereWhat it is
The menu bar at the very topFile, Edit, View, Logger, Section, Tune, Cells, Window, Help, as on the Mac. Every command in it is a button or a key as well; see the menu bar. Hidden in full screen.
The strip under itLOG | TUNE | LISTEN, the three sections (Ctrl+1 / Ctrl+2 / Ctrl+3; LISTEN shows engine speed and the wideband without connecting to the ECU), the alarm (DANGER and EARLIER with the rule's own text, whatever page is showing), a note, and ? for the cheat sheet. In TUNE the note reads ROM EDITOR / FILES ONLY - NOTHING HERE CAN REACH THE CAR and adds LOG CONNECTED or a red LOG IS RECORDING.
HeaderThe masthead, the page tabs (MAIN, PERF, your pages, + PAGE, and ..., the menu with Full screen, Reset min / max and Setup), the arc tachometer with GEAR and SI-DRIVE beside it and the ENGINE and OIL lamps, and the status line.
BoardMAIN: the eight big tiles (two labelled bands) and the grid of smaller ones, in the order you dragged them. PERF: the timing cards. Your pages: groups of gauges.
FooterRECORD PULL / F5 (or CONNECT), CODES, LOGS, DIAG, GPS, the shift light - SHIFT n +, and the two-line record information.
Help paneDocks on the right after Ctrl+/ or ?: the cheat sheet in LOG; in TUNE the guide for the selected table with the cheat sheet as a second tab. FULL HELP opens this page.

The keys you use most

F5Record / stop recording
F6Reset min/max and the held danger flags
F8LOGS window
F9DIAG window
1 ... 9Pages: 1 MAIN, 2 PERF, 3 your first page ...
F11Full screen, both sections
Ctrl+1 Ctrl+2 Ctrl+3LOG / TUNE / LISTEN
Ctrl+/Cheat sheet or guide pane
Ctrl+KCONNECT, or DISCONNECT when connected (Logger menu)
F1This help file
EscLeave full screen, else quit (LOG only)

None of these needs a keyboard: record, logs and diagnostics have buttons in the footer, and full screen, the min/max reset and the layout reset are in the ... menu by the page tabs. F5 to F9, F11, Esc and Space act once per press; holding one down does not repeat it. The full list, by context, is in the keyboard reference.

Asked for on 2026-11-15, looking at the Mac build: "why does the app have no top bar with File, Edit, View, logger, section, tune, cells, window, help like the mac has at top". On the Mac that bar is macOS's own, so File, Edit, View, Window and Help come with every app, and the Mac version adds Logger, Section, Tune and Cells. Windows gives an app no bar unless it draws one; this one now does, with the same nine menus in the Mac's order. Each item does exactly what its button or key does, is off where that button is off, and shows its key on the right. The keys themselves are unchanged and still act once per press; Alt (or Alt and the underlined letter) opens the menus from the keyboard. The bar is hidden in full screen, as the Mac hides its own.

MenuWhat is in it
FileLogs... (F8), Open Data Folder, Open Studio Folder, Setup..., Exit (Alt+F4).
EditThe ROM editor's: Undo, Redo, Copy Selection, Paste Values, Select All (Ctrl+Z, Ctrl+Y, Ctrl+C, Ctrl+V, Ctrl+A; TUNE only).
ViewFull Screen (F11), Cheat Sheet (Ctrl+/), Page (MAIN, PERF and your pages, 1 to 9), Table + Graph (Ctrl+G), Pop Out Graph / Dock Graph.
LoggerRecord Pull / Stop Recording (F5), Connect / Disconnect (Ctrl+K), Reset Min/Max (F6), Restore Default Layout (F7), Logs (F8), Diagnostics (F9), Trouble Codes, Full Screen, Copy Phone Page Link (with the pairing key when other devices may record; the phone page), Open Data Folder. The Mac's Simulator and Phone Dashboard switches are not here: on this PC the simulator is --sim and the page's reach is SETUP's phone row.
SectionLog, Tune, Listen (Ctrl+1, Ctrl+2, Ctrl+3; Log and Tune are off while LISTEN records), Show / Hide Cheat Sheet, Title Screen at Launch (intro), Replay Title Screen (not while anything records).
TuneImport ROM... (Ctrl+O), Import Definition... (Ctrl+Shift+D), Load Demo ROM, Fix Checksums, Export ROM File... (Ctrl+Shift+E: the pre-flash checklist, as always), Save as New Version... (Ctrl+S), Mark as On the Car (not while LEARN runs), ROM, CAN, BRAIN, MAF Scaling, Open Studio Folder. TUNE only.
CellsIncrease / Decrease, fine and coarse (Ctrl+Up / Down, with Shift coarse), Interpolate (Ctrl+I), Interpolate Horizontally, Interpolate Vertically, Revert Selection (Ctrl+R), Table + Graph (Ctrl+G), Select All. A table open in ROM mode only.
WindowMinimize, Full Screen, and every other window of the app that is open (a table's own window, the floating graph, LOGS) to bring forward.
HelpRPM Tuner Suite Cheat Sheet, Full Help (manual) (F1), and the build: version, commit count and revision, and when it was built.

The files and folders

What the app writes is in its data folder, which is the exe's own folder unless that cannot be written (where its files go). defs\ and web\ are always beside the exe.

File or folderWhat it holds
settings.txtPorts, the wideband kind, the remembered adapter driver, the shift rpm, the section and page, the brain's caps. Every key.
logcolumns.txtWhich channels a recording holds (ticks from LOGS > LOG COLUMNS).
layout.txt, pages.txtThe MAIN tile order; your gauge pages. Hand-editable.
perf.txtThe best performance numbers.
logs\Recorded pulls pull-YYYYMMDD-HHMMSS.csv, each with its note pull-...note.txt; the simulator's sim-*.csv; app.log; perf.csv; for-tuner\ with the copies in the Accessport's layout.
defs\Parameter definitions, the danger rules, the gear ratios, the oil-gauge mapping, the trouble-code names, the poll tiers, the OBD-II channel table, the tune guide, and defs\tune\ with the definitions (and, in the owner's copy, the stock ROM images).
web\The phone page and this help.
Documents\RPM Tuner Studio\The TUNE section's data: the ROM library, definitions, CAN captures, the brain's model. Shared with the Mac build.

The full map is under files and folders.

4The LOG section: the datalogger

LOG is one dark, maximised window built for the car at arm's length: big numbers, touch targets of at least 56 px, and a 15-frames-a-second repaint that only touches tiles whose digits changed. It reads the ECU through the Openport, folds in the wideband, the oil gauge, the GPS and the weather station, shows everything live and records pulls to CSV. Switching to TUNE hides the logger's header, board and footer, but the logger keeps polling and recording underneath; the strip says so.

The window, area by area

AreaWhat it shows
Section stripLOG and TUNE tabs, the alarm strip, a note, and the ? help button. Always visible, in both sections.
MastheadThe logo, RPM TUNER / LOG, and the tagline: the car's name and PERFORMANCE LOGGER (WRX STI / PERFORMANCE LOGGER unless car_name says otherwise), or SIMULATOR / NO VEHICLE in pink under --sim. The version and build date are in small print under the tagline, and in the window's title.
Page barRight of the masthead: MAIN, PERF, each of your pages, + PAGE, and ..., which is there on every page. The active tab is cyan. Right-click a page tab for its menu.
TachometerA 64-segment arc lit cyan to pink, 125 rpm a segment, scale 0 to 8,000 (a display range, not a redline), with the digital rpm beneath the apex, GEAR and SI-DRIVE cards either side, the amber ENGINE lamp left of GEAR and the red OIL lamp right of SI-DRIVE. The oil lamp is drawn only when an oil gauge exists.
Status lineUnder the tach. Disconnected: NOT CONNECTED in red with the reason, or CONNECTING.... Live: the link (it begins SSM2 -, or OBD-II mode 01 - in OBD-II mode), the ECU id, the rows per second, the battery volts (pin 16, read again about every 5 seconds; pin16 - once the adapter has refused it for 20 seconds), then the wideband's words, the oil gauge's, the GPS's and the weather station's. For ten seconds after a reply that was not the logger's own has been thrown away it adds n replies not ours discarded, and after a fault in the window window faults: n. Turns red with NO DATA FOR N s - these readings are frozen after two seconds of silence. During a replay: REPLAY | file | position | speed | row N of M in cyan.
BoardMAIN: the band 01 / BOARD (cyan) with four big tiles, 02 / BOARD (pink) with four, then 03 / CHANNELS with the grid of smaller tiles. If nothing is ticked in LOG COLUMNS it says so. PERF replaces the board with the timing view. Your pages show groups of gauges under alternating cyan and pink headers.
FooterRECORD PULL / F5 (red STOP RECORDING / F5 while recording), or CONNECT in its place until connected; CODES, LOGS, DIAG, GPS; - SHIFT n +; then the record information. Narrower than about 1300 px the footer goes to two rows.
Record informationTwo lines. Idle: the key hints (F5 rec F6 min/max F7 layout F8 logs / F9 diag F11 full 1-9 pages Esc quit). Disconnected: what to plug in and press. Recording, in red: recording mm:ss N rows and the file path, with NO DATA FROM THE ECU appended while the ECU is silent. After a stop: saved path (N rows). A failed recording: NOT RECORDING in red with the reason. Under 50 MB free on the logs drive it says so when RECORD is pressed, and records all the same.
Help pane380 px on the right after Ctrl+/ or ?. Closes with its x. Hidden when you enter TUNE, which has its own.
Replay barAbove the footer while a recorded pull plays. See replay.
Flash overlayA separate click-through red sheet over the whole window, the shift light. It can never steal a touch.

SETUP: the settings screen

The ... button by the page tabs, then Setup, on any page. On a first start, with no settings.txt yet, it opens once by itself, headed SETUP / FIRST START. It is the screen for what used to need a keyboard and settings.txt. Four sections along the top: CAR, SENSORS, APP and FILES. Each row shows what is in force, a sentence on what it does and whether a change takes effect at once or at the next start, and its buttons. CLOSE or Esc closes it.

SectionRowButtonsKey, and when a change takes effect
CARECU protocolSUBARU SSM2, OBD-IIecu_protocol. Next start. See OBD-II mode.
Car nameCHANGEcar_name, up to 24 characters, the name on the masthead. At once.
Display unitsIMPERIAL, METRICunits. At once. See below.
Shift point-, +shift_rpm, 100 rpm a step, 1,000 to 9,000. At once.
SENSORSWidebandKIND, PORTwideband, wideband_port. KIND lists every kind, None and CAN meter; PORT lists the COM ports Windows names now, and opens none of them. Next start.
Oil gaugePORTaux_port. It may be the wideband's own port: one cable serves both. Next start.
GPS meterFORGETdragy_mac. FORGET asks (default No) and removes the remembered Dragy, so the app stops looking for it when it starts; a meter linked now stays linked. A meter is chosen with DIAG > BLUETOOTH SCAN > USE AS GPS or the GPS button, not here.
WeatherON, OFFweather. The row says what is sent and to whom. Next start.
APPAlarm soundON, OFFalarm_sound. At once.
Title screenON, OFFintro. Next start.
Phone pageCHANGEhttp, http_lan, http_lan_control: Off, This PC only, Other devices may watch, Other devices may also start and stop recording. Next start. See the phone page.
FILESDanger rulesOPENOpens defs\danger.txt in Notepad. The row gives the number of rules and of problems found when the file was read. Read when the app starts.
Gear ratiosOPENOpens defs\gears.txt. The row gives the gears, final drive and tyre it read. Read when the app starts.
settings.txtOPENThe file's full path. The app keeps it in memory and writes it back, so edit it by hand only with the app closed.
Logs folderOPENOpens the folder in Explorer.
Data folderOPENThe folder everything the app writes goes to, and why it is that one (where its files go).

The version and build date are at the foot. What SETUP does and does not do:

SETUP has been seen in the test harness only, not yet used by touch on the Surface. BENCH

Display units

units=metric (SETUP > CAR > Display units > METRIC) changes what the dashboard's tiles and gauges show, and nothing else: a tile's number, its min and max, its unit caption and the figures at the two ends of a dial.

ChannelsLogged inMetric shows
boost (all three), MAP (both)psibar, two decimals
fuel pressure (all), oil pressurepsibar, one decimal
barometric pressurepsikPa
coolant, intake temperature, oil temperatureFdeg C
vehicle speed, GPS speed and its accuracymphkm/h
GPS elevation, density altitudeftm
any other channel from aux-gauge.txt, custom_params or obd-pids.txtits own unitpsi to bar, F to deg C, mph to km/h, ft to m, lb-ft to Nm, gal/h to L/h

What stays in the logged units (psi, F, mph, ft) whatever the display units: the pull's CSV and its note, the copy for the tuner, the danger rules (written in the logged units and judged on the logged values; the alarm strip quotes them as written), the phone page, PERF's marks (0-60 mph and the rest), and the log viewer. A tile's bar and dial are worked out from the logged value against the logged range, so the needle sits in the same place either way. rpm, AFR, lambda, degrees, percent, g/s and volts are the same in both. Converting any of the logged things would make two logs of one drive disagree, or move an alarm threshold without a word. BENCH

Connecting

The window opens without the Openport and waits. CONNECT runs one pass, on a background thread, and either connects or tells you why not in red at the top. There is no retry on a timer: auto_connect is 0 and stays 0, because the owner connects by hand. When it was on, a timed search loaded every J2534 driver on this PC every five seconds, and the Autel ones leak about 2 MB a time (the app ran out of memory in 90 minutes on 2026-10-01).

What one press does, in order

  1. Open the adapter. The registered J2534 drivers come from the registry. If j2534_dll is remembered in settings.txt, that driver is the only one tried; otherwise Tactrix, Openport and OPTA-looking entries go first, the rest after, and the first that opens is remembered. The console prints Adapter, Firmware / DLL / API and Pin 16 N V. Under about 6 V on pin 16 the adapter is on USB power only: Plug into the OBD port, start the engine, then Connect. No adapter at all: Openport not found. Plug it into the Surface's USB - and if it is plugged in, unplug it and plug it back in ('Tactrix not found' and 'rejected identify' both clear that way). With a driver remembered the message names it, Openport not found by <driver>, the only driver tried, and adds that removing the j2534_dll line from settings.txt (app closed) searches every installed driver once.
  2. Attach the ECU. An ISO 15765 channel on CAN ids 7E0 (to the ECU) and 7E8 (from it) at 500 kbit/s. The protocol is named outright; the app never asks the adapter to search for one.
  3. Init. The SSM2 init (0xAA). The reply carries the ECU id (A62A904097 on this car) and the capability bitmap that says which standard parameters this ECU supports. Unsupported ones are listed at connect and grey out as n/a. The COBB channels, SI-DRIVE and custom_params have no capability bit: they are read only when the ECU id is A62A904097 or one listed in extended_ecu_id (the ECU-id rule). If the ECU does not answer: key on is normally enough; an Accessport plugged in holds the ECU's one diagnostic session, so unplug it; otherwise try with the engine running.
  4. Attach the wideband and the oil gauge on their remembered ports, then start the 10-second port watch that picks up a cable plugged in later.
  5. Start the web server, unless http=0 or --no-http (in the normal window path it does not exist until this first successful connect).
  6. Start polling.

Polling

Each cycle is one read request: A8 00 then three address bytes per channel, answered by E8 and one byte per address, at most 64 addresses a request (the ECU refuses 128 with 7F A8 13). A longer list is split between parameters, never inside one, and the replies joined: this car's full cycle of 65 addresses goes as 63 and 2. poll_hz (default 25, 1 to 100) is a ceiling, not a promise: raise it until the Hz in the status line stops following, which is the real limit of adapter, bus and ECU. --hz <n> sets the ceiling for one run and leaves poll_hz alone. On this car the ordinary cycle is 56 addresses and every fourth is the full 65, at 23 to 25 rows a second. The channels in defs\poll-tiers.txt (coolant, intake temperature, barometric pressure, AF learning, the two TGV positions, SI-DRIVE, and ethanol final and raw, which change only at the pump) ride a slow tier asked once every poll_slow_every cycles (default 4) and are carried forward between refreshes, because physics says they cannot move quickly and the request's length is what costs time. Windows' 15.6 ms timer tick is raised to 1 ms for the life of the process so a 40 ms cycle does not become 47.

Only the logger's own reply is decoded. After a request the link keeps reading, inside the one timeout, until a reply arrives with the expected opcode and exactly the expected length. Anything else on the ECU's id (an Accessport's reply on the same bus, another tool's OBD-II answer, the logger's own reply arriving one request late) is discarded and counted, never decoded, and costs no row. The status line shows the count for ten seconds after it last grew (n replies not ours discarded), and app.log describes the first one in full. So SSM2 reply OK, the log's last column, is 1 on every row recorded since 2026-11-12; a 0 in an older pull marks a row whose reply was the wrong shape and was kept. A late reply of the same length as the one asked for cannot be told apart; it clears at the next change of tier. The poll loop and any diagnostic request share one bus lock, so DIAG and CODES wait for each other. BENCH

When the ECU goes quiet ON THE CAR

A read with no reply in 500 ms, or a J2534 timeout, is logged once: ECU: no reply (key off, or the session is gone) - the init will be sent again every 10 s until it answers. The status line shows no reply from ECU, the tiles grey out after two seconds and light again on the first sample after the silence (until 2026-11-12 they stayed grey until the app was restarted; the fix is bench-tested), and a recording started meanwhile says NO DATA FROM THE ECU and makes no file until a row arrives. The init is re-sent every 10 seconds, and both edges are logged with the duration. Why: on 2026-10-12 two recordings after a key-off captured 0 rows, because the key coming back does not revive the session by itself.

When the cable drops ON THE CAR

Three "device not connected" errors in a row, 250 ms apart, and the adapter is closed and let go: the log says adapter lost: ... - closed it. Plug it back in and press CONNECT., a recording in progress is flushed and closed with the reason in the footer, the status line says Openport disconnected at HH:mm:ss, and CONNECT comes back. The let-go is proven on the car (2026-10-01 07:50); plugging back in and pressing CONNECT is bench-tested only. Before 2026-09-28 the app retried 596 times over six hours and never offered to reconnect.

DISCONNECT: letting go of the Openport BENCH

Asked for on 2026-11-14: "we need a disconnect for the openport". While the logger is connected to a car, DISCONNECT sits after GPS in the footer (and Disconnect the Openport is in the ... menu). It stops the poll, waits for a request that is out to be answered, closes the adapter and lets go of it, so that the LISTEN screen or another program can have it without the app being closed. CONNECT comes back in RECORD's place and connects again, the way it does after a dropped cable. The status line reads Disconnected at HH:mm:ss. Press CONNECT to connect again.

Two copies

The ECU serves one diagnostic session. A second RPM Tuner Log refuses to start (Another RPM Tuner Log is already running and holding the ECU session. Close it first (Esc in its window), exit code 6) rather than kill the first: a kill mid-transfer latched the ECU once and needed a key cycle. When the other copy has no window, the message says so and gives its process id: it is a console run in a terminal (press Q there), or a copy left behind when its window closed, and only then is Task Manager the way to end it, followed by unplugging the Openport and plugging it back in. Otherwise close the app with Esc, never from Task Manager. The modes that need no car (--list, the self-tests, --tune, --rules, --scan-wideband, --scan-ble, --export-accessport) run beside an open copy. The same session is why the Accessport cannot connect while the app is open.

Recording

F5 or RECORD PULL starts a log; the same again stops it. Recording is by hand (auto_record=0, decided 2026-09-28). The phone page's Record button and R in --console do the same. Starting a recording resets min/max.

The board and the tiles

MAIN shows what is being logged: everything ticked in LOGS > LOG COLUMNS that this session can record, in layout.txt order. The first eight make the big 4 x 2 board, the rest the grid. During a replay it shows the file's channels. GPS tiles light only with a meter attached; the oil tiles exist greyed until the gauge answers. Drag a tile onto another to move it: the move is a bump, not a swap (the dragged tile takes the slot and everything between shifts by one). F7 restores the default order, asks first, and keeps the old order as layout.before-reset-<date>.txt; it works on MAIN only.

One tile

The caption top-left with an accent bar above it, the value in large digits with its units beside it, an optional 24-cell bar on the big slots, min and max since the last reset along the bottom, and a PEAK tag top-right while a danger flag is held. Values show 0, 1 or 2 decimals for magnitudes of 100 or more, 10 or more, and under 10; gears read N below 0.5; GPS fix reads none / DR / 2D / 3D / 3D+DR / time.

LookMeaning
Pink accentAn air/fuel or knock quantity: wideband and ECU AFR, DAM, feedback knock, fine knock learn, fuel pressure. Colour belongs to the quantity, not the address, so both fine-knock channels are pink.
Cyan accentEverything else, trims and injectors included on purpose.
Red fillAlert, hard-coded: feedback knock or fine knock learn below -0.5 degrees, DAM below 0.95.
Flashing solid red (about 4 Hz)Danger: the value is inside a rule in defs\danger.txt right now. See danger rules.
PEAK tag, red min/maxPeak hold: a rule fired since the last reset. Cleared by F6 or a new recording.
Dim with n/aThe ECU cannot supply this channel: its capability bit is clear, or it is a COBB channel on an ECU it was not measured on.
Dim with -Not carried right now: the sample no longer has the channel, GPS without a fresh fix, an oil tile with no gauge attached, a replay file without the column, or cleared on entering a replay or when the adapter is lost. A tile never keeps its last number once its channel has stopped arriving.
Whole board greysNo sample for two seconds; the status line says the readings are frozen. It lights again on the first new sample.
bar, kPa, deg C, km/h, munits=metric (display units): the tile shows the logged value converted. Nothing else changes.
<120The oil gauge's bottom stop: a count of 0 on a channel whose range does not start at zero.

Bar ranges on the big tiles

ChannelLowHighChannelLowHigh
rpm08,000boost, boost (COBB), boost (MAP - baro)-1530 psi
wideband and ECU AFR822DAM01
coolant100250 Fintake temperature32212 F
throttle plate, pedal, injector duty, wastegate duty0100 %MAF0300 g/s
MAP, MAP (COBB)045 psivehicle and GPS speed0160 mph
calculated load (both)03 g/revignition timing-540 deg
fuel pressure (both)080 psibarometric pressure1016 psi
density altitude-3,0008,000 ftMAF voltage, TGV left/right05 V
requested torque0400TGV map ratio01
idle airflow target020 g/sAVCS intake/exhaust050 deg
AF correction, learning, trims total-2525 %injector pulse width020 ms
gear (both)06SI-DRIVE03
GPS accuracy / satellites / elevation / heading05 mph / 20 / 3,000 ft / 360 degfeedback knock, fine knock, oil channelsno bar

Pages, groups and gauge styles

MAIN and PERF are built in. + PAGE adds a page of your own (it asks for a name and starts it with Group 1). Keys 1 to 9 switch pages (1 MAIN, 2 PERF, 3 your first page), and the page you leave open comes back next launch (page= in settings). A page is a stack of named groups; each group holds gauges. The ... button is there on every page; on a page of your own it, or a right-click on the page's tab, opens the page menu:

Tap a gauge (or right-click it) for its own menu: STYLE Number / Bar / Round (a 240-degree dial), SIZE Small / Big, COLOUR Auto / Cyan / Pink / White / Green / Amber / Red, Move to group, Remove gauge. Auto colour follows the pink/cyan rule with white digits; an explicit colour also colours the digits. Drag a gauge onto another to move it, within or across groups. A gauge for a channel this session cannot supply reads n/a; pages are not filtered by LOG COLUMNS.

pages.txt

# RPM Tuner Log - extra dashboard pages. MAIN is built in and is not here.
# page <name> / group <name> / gauge <key> [number|bar|round] [small|big] [auto|cyan|pink|white|green|amber|red]

page Track
  group Boost and fuel
    gauge boost round big cyan
    gauge fuel_psi bar small pink
  group Knock
    gauge fbk number big red

Blank and # lines are skipped; the verbs are case-insensitive; a missing style, size or colour defaults to number small auto; a gauge before any group gets Group 1. Written after every edit from the screen and read once at start. layout.txt is simpler: one channel key per line, the MAIN order; unknown keys are dropped and new channels appended in default order.

The tachometer, gear, SI-DRIVE and the lamps

GEAR shows the ECU's own gear byte (Gear (ECU), confirmed on the road 2026-09-22, 0 stopped, 1 to 6 moving) and falls back to the calculated gear from rpm over speed against defs\gears.txt; N means no ratio matched within 12 %, or the runner-up was too close (4th and 5th are only 17 % apart). SI-DRIVE shows I, S or S# from the byte DIAG's hunt found at FF5E60 (3, 1, 2 on this car), the raw number if it matches none of sidrive_i, sidrive_s, sidrive_sharp, and - until the hunt has run.

ENGINE (amber) mirrors the dash's check-engine light: OBD-II mode 01 PID 01 is asked at connect and every 30 seconds, never while the throttle plate is past 50 % (it would hold the bus mid-pull), with a half-second timeout. One unanswered question leaves the lamp as it was; two in a row show ? ("not known"), never a dark lamp as a false all-clear. The stored-code count sits in the corner. Pending and permanent codes do not light it. Tap the lamp to read codes (refused above 50 % plate). Always ? in the simulator and in a replay.

OIL (red) lights when oil pressure is under oil_light_psi (default 10) once the engine has run eight seconds; a one-row dip is held half a second so you see it. ? when the gauge exists but has gone stale; not drawn at all without a gauge. At the default threshold there is about 1 psi of margin at hot idle, so oil_light_psi is there to lower it.

Shift light. At or above the set rpm the whole window flashes red at about 4 Hz through the click-through overlay; the phone page flashes too. Set it with - / + in the footer (100 rpm a step), by tapping SHIFT n and typing (1,000 to 9,000), or with PageUp / PageDown while nothing is replaying. Kept as shift_rpm (default 6,500). Hidden whenever disconnected.

Title screen. Ten seconds of RHD Designs artwork at every desktop launch, top-most, with a countdown and a progress strip. The dashboard is built and shown underneath and the intro fades out over it, so no second window appears. x, Esc or Alt+F4 cancel the launch. --no-intro skips it, as does --shot; intro=0 in settings.txt (SETUP > APP > Title screen > OFF) switches it off for good.

CODES: trouble codes

CODES (enabled only when connected to a real car and not replaying; also a tap on the ENGINE lamp) reads the status (mode 01 PID 01: lamp on or off, stored-code count, readiness monitors), then stored codes (mode 03, what turns the lamp on), pending (07, seen once, not yet confirmed) and permanent (0A, set by the ECU and clearable by no tool). Names come from defs\dtc-sti-2015.tsv, Subaru's own list from the 2015 WRX STI factory manual (196 codes), shown as P0301 (stored) Cylinder 1 Misfire Detected (manual EN(STI)(diag)-182). A code not in that list says look it up; a name is never guessed. If any list went unanswered the text starts THE ECU DID NOT GIVE EVERY LIST - what follows is incomplete, with a line for each list saying what happened to it: no answer is not the same as no codes, and a refusal from the ECU is reported as a refusal, in words. A list that came short is incomplete too: a reply says how many codes it holds, and one that holds fewer (the ECU said 2 and sent 1 - the reply was cut short) shows the codes that did come under the same heading, never as the whole list. Bytes past the count are not shown as codes, and are named. The ECU is asked on a thread of its own, so the window keeps repainting (shift light included) while it waits; the button reads READING or CLEARING meanwhile. With an ECU that was not answering, CODES used to freeze the window for up to about ten seconds.

Clearing codes is the one write

If any clearable code is present and no recording is running, a Yes/No box, defaulting to No, warns that clearing erases the stored codes and their freeze-frame data, resets every readiness monitor (the car fails an emissions test until a full drive cycle), may also reset what the ECU has learned (the fuel trims, the knock learning with DAM, the idle: not confirmed either way for this ECU, so assume it does and tell the tuner), cannot be undone, and takes the evidence a mechanic or tuner would want. While a recording is running the clear is not offered, because it would change what the ECU holds in the middle of the pull and leave a gap in the log; reading the codes still works. Stop the recording, then press CODES again. Yes sends OBD-II mode 04, reads everything back, nudges the lamp and shows Cleared or Clear may have failed. The clear is logged, including whether a recording was running. From a console, --clear-dtc prints the same warning and demands the exact text clear codes. Permanent codes stay listed after a clear; the ECU erases them itself after a clean drive cycle. This command stays in the app: it is in use on the car.

DIAG: the diagnostics window

DIAG or F9 opens a modal window with five tools down the left, a big status, a progress line and a scrolling log; START, STOP, USE RESULT (appears when there is one) and CLOSE along the bottom. Esc stops a running procedure, or closes the window when idle. FIND SI-DRIVE and VERIFY VS OBD2 hold the ECU session for the whole procedure (the board's tiles keep their last reading); they need CONNECT first and no recording running. HUNT A VALUE reads the ECU's memory a few requests at a time between the logger's polls, so the tiles keep going. BLUETOOTH SCAN and WIDEBAND SCAN touch neither the ECU nor the Openport. None of the five writes anything to the ECU. In an OBD-II session FIND SI-DRIVE, VERIFY VS OBD2 and HUNT A VALUE are disabled: they read addresses in a Subaru ECU's memory. F9 does nothing while the DIAG button is off, as it is during a replay.

ToolWhat it doesResult and USE RESULT
FIND SI-DRIVEKey on, engine can stay off, SI-DRIVE in I, Accessport unplugged. Reads a block of memory over and over while two beeps cue you to change the mode (I, S, S#, I, S, S#, I in 8-second windows), then keeps only bytes that held still inside every window, differed between modes, and came back to the same value in I. The quick pass sweeps the 512-byte standard block (about a minute); if nothing is found, START RAM PASS sweeps every implemented address (41,884 on this ECU, about five and a half minutes, the list narrowed as it goes).FOUND addr with the three readings. N BYTES MATCH means coincidences: run it again, the real one matches every time. FLAGS ONLY, NOT IN THE STANDARD BLOCK, NOTHING FOLLOWED THE BUTTON say what to try next. USE RESULT writes sidrive_address, sidrive_i, sidrive_s, sidrive_sharp; restart the app, since the parameter is built at startup. Files in hunt\. Solved on this car 2026-09-22: FF5E60, 3 / 1 / 2.
VERIFY VS OBD2Reads seven quantities both ways, legislated OBD-II mode 01 and SSM2, side by side: rpm, coolant, intake temperature, voltage, barometric pressure, MAP, throttle. Catches a reply decoded one byte off. Needs the real adapter; refuses the simulator.AGREES WITH OBD2 or MISMATCH with the rows that disagreed. COULD NOT RUN when the comparison could not be made at all (a silent ECU): that says nothing about the decoding. Same as --verify (exit 0 confirmed, 4 mismatch, 2 could not run). Run once before trusting a first log.
HUNT A VALUEFor a number the Accessport shows and the logger has no address for, such as a COBB custom monitor. (It is how ethanol was first looked for. The Accessport's own ethanol address, FF1EE4, was then overheard on 2026-11-11 and is already in settings.txt: there is no need to hunt for ethanol again.) Parked, key on, Accessport unplugged, connected and LIVE. Type the VALUE the AP showed, how close a reading must be (+/-, 0.15), the range (FROM / TO, the whole 48 KB of RAM by default) and what to call the find (NAME, UNITS). START reads the range twice, 64 addresses a read, a few reads at a time between the logger's polls so the tiles keep going (about a minute), then lists every address whose bytes stayed put and read the value under a scaling COBB uses, likeliest first: a float reading it outright, a word in hundredths or tenths, a byte in /2.55 or /10 or /16, each with the nearest known monitor (Fuel Pressure (filtered) +0x16). Two addresses close together reading it are FINAL and RAW. The Mac's method (RamHunt), the same on both machines.N CANDIDATES with the list in the log, or NOTHING READS value. USE AS name keeps #1 (or the USE # you type) in settings.txt as a custom_params entry; restart the app and it is a tile and a log column. If an entry of the same key already reads a different address, USE AS asks first (default No) and logs the line it replaced: the default name saves under the key ethanol, which is where the Accessport's own address is kept. Nothing found in the simulator is ever written to settings.txt. A find is proven only when it moves with the Accessport's own reading. Console twin: --hunt <value>. On the simulator it finds the 10.7 planted at FF1F10, which is the simulator's address, not the car's. BENCH
BLUETOOTH SCANListens eight seconds for advertisements, lists address, name, signal and what each looks like (Dragy GPS meter, Dragy OBD2 dongle, OBD2 adapter), then connects to anything recognised except a Dragy meter and reads its structure (services and characteristics, never a value). A Dragy is never connected to by a scan: a link dropped in the meter's first seconds wedges it until its battery is flat, and its advertisement already says what it is. With Bluetooth switched off the scan says so.DRAGY FOUND with USE AS GPS, which writes dragy_mac and connects at once; N DEVICE(S) WORTH A LOOK; NOTHING RECOGNISED. Console twin: --scan-ble.
WIDEBAND SCANListens 1.5 seconds on every COM port the app does not already hold, at 19200 then 9600, sending nothing (an Innovate chain takes a stray c as a free-air calibration command). Names Innovate, AEM, PLX, Zeitronix and Tech Edge by their packet shapes.KIND ON COMx with USE AS WIDEBAND, which remembers the kind, the port and the speed the meter was heard at (wideband_baud) and reads it from now on; SOMETHING, NOT SURE WHAT (a shape but no reading: a sensor warming, or the oil gauge alone); NO WIDEBAND HEARD. Ecotrons and 14Point7 stay silent until asked and a CAN adapter is never scanned for: name those once with --wideband. BENCH

The sensors that are not the ECU

Wideband AFR

One wideband meter at a time, on a COM port, chosen by the wideband setting (default innovate) and wideband_port. Every meter is decoded to lambda and logged twice: as gasoline-scale AFR (lambda x 14.7) in Wideband AFR (AFR), and as lambda itself, to three decimals, in Wideband Lambda (lambda) (LOG COLUMNS key lambda, on by default, with a tile of its own; on a flex-fuel car an AFR on the gasoline scale is the wrong unit to tune by). That holds for Innovate meters too: a meter set to another fuel's multiplier still logs lambda x 14.7, and the status names the meter's setting. A reading is taken only while the meter's own status says it is good. For every kind but Innovate, lambda must also be plausible (0.5 to 2.0: outside that a sensor is in free air or missing, whatever the meter says). An Innovate meter is believed for as long as it reports lambda valid, so on overrun, with the injectors off, the log holds the very lean number the meter sent (up to about AFR 127); until 2026-11-12 anything leaner than 20.33 was written as exactly 20.33. AFR valid, the column right after the AFR, is 1 when the reading is believable and under half a second old, else 0 and the AFR and lambda cells are empty. A serial port that drops (a USB hiccup) is closed and tried again every 2 seconds, and app.log notes the loss and the recovery once each. No meter plugged in means an empty column, never a made-up number; the simulated meter exists only under --sim.

wideband=MetersBaudNotes
innovateLM-1 and every MTS box: LC-1, LC-2, LC-3, LM-2 serial, MTX-L, MTX-L PLUS, DLG-1, SCG-1, PL-1, PSB-1, PSN-119200The car's LM-1 ON THE CAR. The wideband's words are found by signature in a chain, never assumed first. A chain with no wideband reports MTS packets on this cable - no wideband in them (the MTX-D?).
aemX-Series 30-0300 / 30-0310 / 30-0334, 30-4100 / 30-4110; 30-2310 at 19200; Ballenger AFR500v3CAN serial; AutoMeter Pro Plus9600Text lines; the first line after a silence is discarded because a torn 11.7 would read as lambda 1.7. BENCH
plxSM-AFR, DM-6 / DM-100 (iMFD)19200No status in the protocol; free air shows as a status, not a number. BENCH
zeitronixZt-2, Zt-3, Zt-4 serial9600No maker document; RomRaider's decoder and one owner's description: the least sure one. BENCH
techedgeWBo2 2Y, 2J, 3A, 3B, 3E (frame 2.0)19200Checksummed frames with sensor and heater state. BENCH
ecotronsALM-Board, ALM-LED, ALM-II, ALM-LD (RS-232)115200Polled: the app sends "Start Measuring". Never found by the scan. BENCH
14point7SLC Pure Plus 2 / 2.1, SLC DIY2 (USB)115200Polled ten times a second; lambda from pump current by the maker's polynomials. BENCH
apsxD1, D29600One byte per reading, no status; picked by name, never scanned for; free air logs as 19.0. BENCH
canThe CAN meters through a USB-CAN adapter, belowadapter'sBENCH

Pick a meter with --wideband <kind> COMx once (both are remembered), with DIAG > WIDEBAND SCAN > USE AS WIDEBAND, or by editing settings.txt. --lm1 COMx is the old spelling of --wideband innovate COMx, and an old lm1_port= is still read. --no-wideband skips the meter for a session. The tile reads Wideband / LM-1 (or the meter's name) and the status line carries the meter's own words (warming up, free-air calibration needed, heater fault...). Every decoder is proven against packets built from the makers' documents by --test-wideband (156 checks); only the LM-1 and the MTX-D have ever been on a real cable here. The changes of 2026-11-12 (no ceiling, the half-second rule, the reopened port, a stricter check of each Innovate packet) have not met the car: if the stricter check is wrong for this LM-1, the AFR tile shows no reading and the status says a packet was dropped. Not built, on purpose: meters with proprietary or unpublished protocols (Dynojet WB2, Daytona WEGO, LM-2 USB, Racepak, MSD, Edelbrock, FuelTech, MaxxECU, Emtron, AiM CAN, AMP EFI, LC-3 CAN, Ignitech), Bluetooth-only meters, and analog-only gauges.

Oil pressure and temperature: the Innovate MTX-D

The MTX-D is an Innovate sensor box on a serial cable. It streams MTS packets unprompted at 19200 8N1, about twelve a second, with its two aux inputs as 10-bit counts (0 = 0 V, 1023 = 5 V). Nothing is ever written to it. --aux COMx remembers its port as aux_port; --no-aux skips it for a session. The channels are Oil pressure (psi) and Oil temp (F), on tiles labelled / MTX-D, in the log by default, and in the danger rules.

One cable, two gauges. On the car, the LM-1 and MTX-D share one FTDI serial cable (COM8). When wideband_port (or lm1_port) and aux_port name the same port it is opened once and both decoders listen, each believing only its own packet shape. Only an Innovate wideband may share that cable; any other kind named on the oil gauge's port is refused and the oil gauge keeps the port. Before this (2026-09-28 05:51) the wideband decoder read the oil words as a plausible 14.7 AFR.

defs\aux-gauge.txt maps the counts to units, one line per channel: key | word | lo | hi | label | units, where word is the aux input's position in the packet and count 0 reads lo, 1023 reads hi. Directives: word_offset (where this box's words start among the aux words of a chain it shares with another aux box; a wideband's two words in the chain are recognised and stepped over and do not count, so it stays 0 with a wideband ahead of the gauge or behind it), device (the name on the tile), packet = mts | lm1 (which shape to believe: an LM-1's own aux inputs can be mapped instead), lag_s (how late the gauge reports: the MTX-D measured 0.12 to 0.28 s behind the ECU, so a danger rule on an oil channel only fires if its conditions held over that window; the shipped file has no lag_s line and 0.3 s is the built-in value, which a line such as lag_s = 0.4 changes, 0 to 2). A reading stands for half a second after its packet. The first packet after a silence that long is noted in app.log as NOT USED and left out, and so is a packet with a count above 1023, which no aux input can send. The shipped mapping, 0 to 150 psi and 120 to 280 F with pressure first, is the published one; the first real packets (2026-09-27, 15.4 psi at 750 rpm, 61.7 psi at 2,770 rpm, 199 to 208 F beside 192 F coolant) fit it, but the face-to-log check is still to do. BENCH for the mapping. Which word is which is settled from the logs: in the drive of 2026-11-14 the pressure word follows engine speed and changes with every packet, and the temperature word does neither. Whether each count spans its published range is still to check, and the pressure cannot be read off at one moment, because each packet differs from the last by a few psi (a steady idle read 24.6 to 30.4, a steady 2,800 rpm 77 to 89). So compare the swing, not a number: warm and idling, press F6, watch the gauge for ten seconds for its lowest and highest, then read min and max on the oil pressure tile; do it again holding about 2,800 rpm. If the two swings match at both, lo and hi are right. The temperature holds still and is read straight off. aux_raw=20 still logs the first twenty packets as aux: lines in app.log, for working out a true lo/hi if they differ.

<120. The MTX-D sends a count of 0 for any oil temperature at or below 120 F. A 0 on a channel whose range does not start at zero is the gauge's bottom stop, not a reading: the tile says <120, the log cell is empty and no rule judges it. Oil pressure's range starts at 0, so its 0 is real.

GPS: the Dragy DRG70

A Bluetooth LE GPS performance meter with a u-blox receiver inside. The GPS button in the footer switches the GPS on and off. The first time, press it (it looks for a meter by name) or pick the meter with DIAG > BLUETOOTH SCAN > USE AS GPS. A meter found by the button is remembered as dragy_mac once it has answered its handshake and sent its first data, not merely when it is heard. From then on the app starts listening for that meter every time it launches, without GPS being pressed; pressing GPS then switches it off, and SETUP > SENSORS > GPS meter > FORGET removes the remembered meter. With no meter remembered, nothing scans the air until you ask. --dragy connects at startup, --dragy AA:BB:CC:DD:EE:FF names a meter and remembers it, and --no-dragy skips the GPS for a session (a replay implies that). The meter's own phone app holds the stream when it is connected, so close that first.

Why speed comes from position on this PC. The meter sends each 100-byte NAV-PVT frame as eight 14-byte notifications and keeps about four queued; Windows takes one or two per 15 ms link event where an iPhone takes six to nine, so only the first four chunks of every frame arrive (1 whole frame in 16,092 notifications at home on 2026-09-26, none in 18,912 on the 2026-09-28 drive). The app therefore decodes the 54-byte frame head (time, fix, satellites, position, altitude, accuracy) and works out speed and heading from the change in position over 0.3 seconds on the receiver's own clock. If whole frames ever get through, on another radio or PC, the receiver's own Doppler speed is used instead and GPS speed accuracy fills in.

The open-sky gate. A derived speed is trusted only from a fix the receiver itself calls good, with horizontal accuracy within 5 m (16 ft) and at least 10 satellites; otherwise the status says GPS: weak fix - N sats, +/-X ft - no speed until open sky and the speed tiles stay dark while the satellite count shows. Under 0.2 m/s reads 0. Why: a parked meter indoors read 9.9 mph from reflections. A fix has an age. It is live for three and a half fix periods, 0.35 s at 10 Hz. Older than that, the speed, position, elevation, heading and the GPS-based gear go dark and their log cells are empty, instead of the last fix being written as live (48 rows in a row at 70.64 mph on 2026-09-28); the satellite count, fix type and iTOW stay for as long as the meter has been heard within 2 seconds. Status when good: GPS: 10 Hz, 14 sats, speed from position.

Rate. 10 Hz is written to the receiver on every connect (dragy_hz, 10 or 25; at 25 even the heads are overrun on this PC). The rate persists in the meter, so whoever wrote last wins. The vendor's "start" command is a cold start that wipes the almanac and is never sent; a hot start goes once if the stream is silent.

Letting go. The DRG70 has no power button: it wakes when something connects and sleeps about 30 s after the link is really gone. A link dropped in its first seconds, before it has answered its challenge, wedges it: blue light on, no advertising, nothing reaches it until the battery is flat (seen 2026-10-04 and again 2026-11-08, when the app left running indoors kept connecting to the car in the drive at -97 dBm and losing the link at once). So the Dragy has rules of its own, and they are only ever made stricter:

Press GPS off before walking away from the car with the app open. The rules added on 2026-11-12 (the handshake-then-silence count, the stopwatch, the scan that leaves a Dragy alone, the stricter checks of each frame) have not met the meter: if the GPS tiles stay dark with the meter on and under open sky, the frame checks are where to look. BENCH

What it adds. Five live values with tiles, min/max and rules: GPS speed, GPS speed accuracy, GPS satellites, GPS elevation, GPS heading. The calculated gear uses GPS speed when a 3D fix exists, since the ECU's speed is whole km/h. Nine log columns, all off by default in LOG COLUMNS and omitted from a file started with the GPS switched off: speed, speed accuracy (blank when the speed came from position), satellites, fix type (0 none, 1 dead reckoning, 2 2D, 3 3D, 4 3D+DR, 5 time only), latitude, longitude, elevation, heading, and GPS iTOW (ms), the receiver's own clock, so both clocks are in the file. Against the ECU's road speed on 2026-09-28 it read 0.74 mph high at the median above 20 mph, 90 % of rows within 1.13 mph ON THE CAR; against the cluster and on a real launch it is unchecked.

A CAN wideband through a USB-CAN adapter

wideband=can with wideband_port naming an slcan adapter (CANable, on its stock firmware too, USBtin, Lawicel CANUSB and clones, a virtual COM port, about $30), wired to the meter's CAN pair as the only other node. The car's own CAN belongs to the Openport and is never touched by this path. With no rate given the app listens read-only at 500, 1000 and 250 kbit/s for 1.2 s each until a known meter's frames arrive, then opens normally, because a listen-only adapter never acknowledges and the meter would go bus-off. wideband_can_kbps pins the rate, wideband_can_format the decoder (aem, haltech, ecumaster, spartan, link, motec, ecotrons, zeitronix, bosch, rusefi; auto picks by frame id), wideband_can_id a reconfigured meter's id, which needs the format named in wideband_can_format as well (an id with no named format says so and reads nothing). Frames heard from no known meter are listed in app.log. Every format is proven against built frames only; no CAN adapter and no CAN meter has been near this code. BENCH

Density altitude

The height in the standard atmosphere whose air is as thin as the air here, now; it folds pressure, temperature and humidity into one number, and higher means less power. Since 2026-10-03 it comes from the nearest National Weather Service station's latest observation (temperature, dew point, barometric pressure, elevation) through api.weather.gov, free and US only, looked up by the Dragy's position rounded to two decimals before it leaves the PC. It needs internet on the Surface; a phone hotspot is fine. DA comes from the weather station only. From 2026-10-03 to 2026-10-10 the car's own barometer and intake temperature stood in and read 1,200 to 1,500 ft high driving and 2,000 to 3,000 ft high at a launch (intake air runs about 17 F above outside air; the barometer reads 0 to 10 hPa low), so it was removed; there is no car fallback and none is to be added.

The formula is the NWS's: vapour pressure from the dew point, virtual temperature, then DA = 145366 x (1 - (17.326 P / Tv)^0.235) ft with P the station pressure (the API's figure is the altimeter setting and is converted with the station's elevation). Within 20 ft of an independent calculation in the tests. A report with no dew point reads about 400 ft low, so the next-nearest station with one is preferred. The six nearest stations are kept and all six are asked, nearest first; one more than 60 miles away is not asked at all. The list is made again after 10 miles of movement; the observation refreshes every 10 minutes; a report over two hours old is not used; the station is remembered as weather_station, with its position as weather_station_at, so DA is there at the next start before the GPS has a fix, and a remembered station more than 60 miles from the car is dropped once there is one. The figure is the air's at the station's elevation, which the status gives; nothing flags a car that is far above or below it. Outside the United States the status says weather: no station for this position - the weather service (api.weather.gov) covers the United States only; no density altitude. Off with weather=0; never in a replay, a console mode or --sim unless --weather. It shows on the Density altitude / KORL tile, in the status line (weather: KORL 3 mi, station at 113 ft, 79/77 F, 30.09 inHg, 12 min old), on the PERF page as the air now and at the last run's launch, in the log column Density Altitude (ft), and in perf.csv. Ran in the car on 2026-10-11 and 2026-10-12 (KORL and KISM over the hotspot) ON THE CAR; if the Dragy app reads about 200 ft lower, that is the humidity term.

The phone page

The app serves a page at http://127.0.0.1:8733/ (--port changes it, --no-http turns it off): the same values as the board (a hero row of wideband AFR, rpm, boost and ECU AFR; a knock row; a grid of everything else; min and max on each tile; danger flashing and PEAK tags; the whole page flashing on the shift light), with Reset min/max and Record / Stop, and a Help link to this page. It shows the recording's file, its rows and any fault, and says when the numbers are a replay's and not the car's. Unsupported channels are dimmed. If nothing arrives for two seconds the page fades. It is in the logged units whatever the display units are. In the normal window path the server starts at the first successful CONNECT; in a replay or under --sim it starts at once.

By default it answers this PC only. Who else may reach it is three keys in settings.txt, set from SETUP > APP > Phone page, or three switches for one run; a switch that is given wins.

SETUP's choiceKeysSwitchesWhat it allows
Offhttp=0--no-httpNo page at all.
This PC only (the default)http=1, http_lan=0(none)A browser on this PC.
Other devices may watchhttp_lan=1--lanA phone on the same network (the hotspot) can watch. Windows needs a one-time URL reservation for that, made as administrator: netsh http add urlacl url=http://+:8733/ user=%USERNAME%. The app writes that line to app.log only when the page could not start.
Other devices may also start and stop recordinghttp_lan=1, http_lan_control=1--lan --lan-controlA paired device on the same network can also start and stop a recording and reset min/max. Pairing: Logger > Copy Phone Page Link in the menu bar copies the link with the pairing key (?token=); open it once on the phone and the page keeps the key as a cookie for a year. A device that has not opened the link can still watch. The key is web_token in settings.txt, 32 hex digits made the first time; delete the line and restart to make a new one, which unpairs every device (2026-11-15).

Starting and stopping a recording is the owner's call, made by hand, so the route to it is kept narrow. Record and reset are POST-only. A browser is listened to only when the page asking is this dashboard's own (the Origin rule), so a bare link, a prefetch or another site's page cannot stop a recording. The request must also have been sent to this PC by one of its own names or by an address (the Host rule), so a page on another site whose name has been pointed at this PC is refused too. At most eight dashboards are open at a time; the ninth is told so (503). Each browser gets its own thread and a bounded queue, so a phone that drives out of Wi-Fi range can never stall the poll loop. Trouble codes cannot be read or cleared over the page. The endpoints are in the HTTP reference.

LOGS: the recorded pulls

LOGS or F8 opens the list of recorded pulls, newest first, with when it was recorded, its length, rows, max rpm, max boost, lowest AFR, worst feedback knock and the file name. The knock column is in red when there was any; it reads none when the column was there and never went below zero, not logged when the pull has no feedback-knock column, and empty for a file with no rows. The file being written now says RECORDING in cyan; a recording that holds a heading row and no rows is marked EMPTY, and one of one or two rows SHORT. A row cut off at the end of a file (a last line with no line end, or one with fewer cells than the header) is left out by the list, the viewer, the replay and the tuner's copy, and counted beside the name. The list is read on a background thread and each file's summary is kept until the file changes. An Accessport datalog in logs\ or logs\accessport\ is listed with the pulls, and its row names the Accessport and the map it was logged on. No adapter is needed. The buttons: VIEW (also Enter or a double-click), NOTE, REPLAY, OPEN WITH... (whatever Windows uses for .csv), FOLDER (Explorer with the file selected), FOR TUNER (a copy in the Accessport's own layout), DELETE (also the Delete key), LOG COLUMNS top right and CLOSE. Esc or F8 closes; F5 here reloads the list (it records only on the dashboard). Files open shared, so a pull can be looked at while still recording or while Excel has it; a program holding it exclusively still wins and the list says so.

Replay: watching a pull afterwards

From LOGS > REPLAY, or --replay <file> (a full path, a name inside logs\, with or without .csv; --replay-speed and --replay-zoom set the start). The gauges, tiles and PERF play the file through the same code path as a live poll. A replay cannot start while a recording is running (stop the recording first), nor while CONNECT is still at work. Starting one stops the live poll; the link to the car is left open but unread until EXIT REPLAY, which restarts the poll if a car is attached and puts CONNECT back if none is. A replay never records a CSV (its timing goes to perf-replay.txt and logs\perf-replay.csv, never the car's bests). Every tile is cleared to - on entry and exit so a file's last numbers never look live; the tiles rebuild for the columns the file holds; RECORD, CODES, DIAG and GPS are disabled; the ENGINE lamp reads ?; the OIL lamp follows the file's rows. The status line reads REPLAY | name | position of length | speed | row i of n.

The bar above the footer: the file name, rows and length (with GPS when it has it, and N column(s) this build does not recognise, shown empty with the headings on hover), then |< (restart), PAUSE / PLAY / REPLAY AGAIN, the speed (0.25x to 16x, tap to cycle), < / > to the previous or next warning flag, the scrub track, - / + zoom, EXIT REPLAY. The track is a coarse rpm trace of the whole file scaled to its peak, the past cyan and the future dim, a pink playhead, and flags wherever a danger rule fired (found once over the whole file when the replay starts), each in the colour of what its rule is about; hovering names every flag under the pointer with its kind, its rule and how many rows fired. A flag is a group of nearby hits, not an unbroken run: a hit within 1.5 s of the rule's last one joins its flag whether or not the rows between fired, so a correction that flickers on and off is one mark and not a dozen in one pixel. The flag runs from its first hit to its last, and 3 rows fired counts the rows that tripped the rule, not every row under the mark. Click or drag the track with the left button to move the playhead. With the track zoomed in, drag with the right button to slide the track itself, the way a map is dragged: the playhead stays where it is, and the track stays where you put it, even with the playhead off it (a pink arrow at the edge then points to the side the playhead is on, and a pink tick on the strip along the bottom marks it in the whole drive). The track goes back to following the playhead once the playhead is on it again, or when you move the playhead by hand: a left click, an arrow key, a flag jump, |<, PLAY, or - / +. At 1x the whole drive is on the track and there is nothing to slide. Zoom shows a 1/2 to 1/64 slice around the playhead (never under two seconds), with a strip along the bottom showing where the slice sits; the mouse wheel zooms about the pointer, one step per notch and at most one per 150 ms, because a touchpad flick once slammed the Mac's zoom from 1x to 64x. A new file always opens at 1x. Rows the playhead crosses are all folded into min/max, the PEAK tags and the perf meter, so a two-row knock spike at 16x is never skipped; F6 resets that too.

The flags' colours and their key. A flag is coloured by the channel its rule watches, and each kind has a line of its own along the top of the track, knock uppermost, so knock and a lean reading in the same seconds are both seen:

KindColourRules on
KNOCKredfeedback knock, fine knock learn, the DAM
FUELorangethe wideband and its lambda, the ECU's AFR, AF correction and learning, fuel pressure, injector duty, ethanol
AIR TEMPgreenintake air temperature
BOOSTvioletboost, manifold pressure, wastegate duty
COOLANTbluecoolant temperature
OIL PSIyellowoil pressure
OIL TEMPtanoil temperature
REVSwhiteengine speed
OTHERgreyany other channel a rule of your own names

The kind comes from the channel's key, so a rule added to danger.txt is placed without anything else being set. The key has a line of its own under the bar's top line. It lists every kind that has a rule, whether or not anything fired: a box in the kind's colour, its name, and how the kind stands in this log. A number is how many flags it has, and 0 means it was looked for on this drive and nothing fired. no data means its column is in the log with nothing in it, and no column means the log does not carry it, so nothing could be judged; those two have an empty box struck through. So a box that shows 0 is the answer, not a gap. At a narrow window the key wraps onto a second or third line and the bar grows with it, so every box can always be reached. Each entry is a tick box. Click one to untick it and that kind's flags go off the track, off the hover and off < / >; click again and they are back. The others stay on the lines they had. What is unticked is kept from one log to the next and forgotten when the app closes, so nothing stays hidden by a choice made on another day. The count of warnings on the top line is always of all of them.

SpacePlay / pause (at the end, play restarts)
Left RightStep 5 s at 1x, a tenth of the window when zoomed
Up +Zoom the track in about the playhead
Down -Zoom out
PageUp PageDownPrevious / next warning flag of the kinds ticked in the key, landing 2 s before it
left dragOn the track: move the playhead
right dragOn the track, zoomed in: slide the track; the playhead stays
wheelOn the track: zoom about the pointer

Older logs: a column is recognised by its exact heading, and a heading this build does not know is shown empty and counted, never matched by guessing at it. Headings renamed since are mapped only when the number did not change (Throttle Position % to Throttle Plate, Accel Position % to Accel Pedal, the two Feedback Knock? (FFxxxx) headings to their names); Fuel Pressure raw (counts) is deliberately not mapped to psi; the flag columns (AFR valid, SSM2 reply OK, the historical DA from weather) are honoured and never shown as channels.

An Accessport datalog replays like a pull. Its monitors are mapped to the app's channels by name, and only where the units are the app's (Coolant Temp (F), Boost (psi), Vehicle Speed (mph)): a known monitor logged in other units is left empty and counted among the columns the bar says this build does not recognise, never shown as a wrong number. What the app computes is filled from what the datalog holds (corrected boost from manifold and barometric pressure, airflow from load and rpm, injector pulse width from duty and rpm). The bar names the Accessport and its map after the file name, and VIEW leaves the AP Info column out of the grid.

LOG COLUMNS: what goes in the log

From LOGS. Every channel the logger can write, as finger-sized toggles in four sections (ENGINE / FROM THE ECU, COMPUTED, WIDEBAND, GPS / OFF BY DEFAULT), with ALL, NONE, DEFAULTS and CLOSE; the title counts n OF m CHANNELS. Each click saves at once. Ticked channels go into every pull you record from now on; a change applies to the next recording, not one already running. The ticks also decide what MAIN shows. The default is everything on except the nine GPS columns (the meter is there to be watched and to sharpen the calculated gear; the tuner did not ask for nine columns of it); the oil channels and density altitude are on by default. GPS is offered whether or not a meter is connected, but a file started with the GPS switched off omits the GPS columns rather than writing empty ones. The WIDEBAND section holds the AFR (its AFR valid flag rides with it) and Wideband Lambda (key lambda). The sections say where a channel comes from; the file itself has the ticked channels in alphabetical order (Recording, The header).

logcolumns.txt: one key = on|off per line, with # notes kept, a note after a value included (afr = on # the LM-1 is on; until 2026-11-12 such a note switched the column off). A file that could not be read when the app started is never written over. a key the file does not mention takes its default, so a parameter added later starts logging on its own. The save rewrites only the switch lines and keeps every note (one tick on 2026-10-02 used to wipe them; the originals are in tests\fixtures\logcolumns.txt). Why both fine-knock channels: the COBB float (FF85B0) and the standard byte (0.25-degree steps) are the same learned correction; both are on so a reflash can be checked.

PERF: 0-60 and the rest

The PERF tab (2) times standing starts (0-60, 0-100, 60 ft, 1/8 mile and 1/4 mile with their trap speeds) and rolling runs (60-130, 40-100), everything derived from one channel, road speed, and a clock: the GPS receiver's own (iTOW), once per fix, while the Dragy supplies the speed, and the poll's clock when the ECU's speed is used. The live strip shows the road speed, its SOURCE (GPS receiver speed, N Hz, GPS from position, N Hz, or ECU road speed, whole km/h) and the STATE; the cards show the last run with the best ever beneath it and light cyan when the last equalled or beat the best; the air now and at the last run's launch show as density altitude. DISCARD RUN throws away the run in flight; RESET BESTS asks first.

Every run timed so far was a pull-away made while the STI was in break-in, which ended on 2026-11-11; PERF has not yet timed a real launch, and the timing rules of 2026-11-12 (the GPS clock, the steady standstill, the gaps) have not met a drive. BENCH for a real launch.

Danger rules and peak hold

defs\danger.txt (or --danger <file>) is read when the app starts. One rule per line:

key  >|<  threshold
key  >|<  threshold  if key2 >|< value
key  >|<  threshold  if key2 >|< value and key3 >|< value [and ...]

Only > and <, only if and and; # starts a comment. Keys are the tile keys (the list) plus afr (the wideband, only while valid) and run_s (seconds since the engine started, from rpm). Every condition must hold, because an air/fuel ratio is only lean for a given airflow. A line the parser cannot read makes the whole rule invalid and says so in app.log: afr > 12.5 unless boost > 3 must never quietly become unconditional and train the driver to ignore the alarm. A rule whose channel this session is not logging holds back rather than firing on the strength of its guard being absent. If the file is missing, or nothing in it parses, four built-in rules stand in (feedback knock, fine knock learn and the COBB fine knock under -0.5, DAM under 0.95). A rule on an oil-gauge channel fires only if its conditions held over the gauge's lag (0.3 s; a lag_s line in aux-gauge.txt changes it), because the MTX-D reports late: an 8.8 psi dip at idle once arrived at 1,700 rpm pulling away. The same judge runs live, in replay flags and in --rules, so the three can never disagree.

In a zone the tile inverts to solid red at about 4 Hz, visible from the corner of an eye; the phone page does the same. Afterwards the tile keeps a red PEAK tag and red min/max until F6 or the next recording. The knock and DAM tiles also carry a built-in red tint below -0.5 degrees and 0.95, independent of the file.

The alarm strip

A rule that fires flashes its own tile, but that tile may be below the fold, on another page, or behind TUNE. So since 2026-11-12 the strip at the very top of the window, beside LOG | TUNE, says it on every page and in TUNE. It has three parts, each there only when it has something to say:

Nothing else in the window moves when it appears. alarm_sound=1 (SETUP > APP > Alarm sound) adds one short beep when a danger begins: not again for the same channel within 10 seconds, never during a replay, and off unless you switch it on. The strip names the rule whatever that setting is. BENCH

The rule file is checked

When the rules are loaded, every rule and every condition it is gated on is checked against the channels. The channel has to be one the app has; and where it is a parameter read from the ECU as whole bytes, the threshold has to lie inside what those bytes and its formula can give. A rule that fails is still loaded as written, but it is no alarm, and that is said: once in app.log (danger.txt line 2: "boost > 22" can never fire - boost stops at 18.43 (one byte, (x-128)*37/255), so it is never above 22), in the amber notice on the strip until it is tapped, and as a count in SETUP > FILES. A float, a computed channel, the wideband, the oil gauge and the GPS have no fixed span and are not range-checked. A threshold has to be a number a reading can be compared with: a line whose threshold is NaN or Infinity, in the rule or in one of its conditions, is not loaded and is named with its line number, where it used to load as a rule that could never fire. --rules prints the same problems. BENCH

The shipped rules

RuleIn words
fbk < -0.5Feedback knock pulling more than half a degree: any retard at all is worth seeing. No rule on the standard fine-knock byte: it is the COBB float rounded to quarter degrees.
fkl_ext < -0.5Fine knock learn (COBB) beyond half a degree.
dam_ext < 0.95DAM below 0.95. A DAM that stays at 1.00 is the good result; it has never moved in any log.
afr > 12.5 if tps > 95 and boost > 6The wideband leaner than 12.5 with the throttle plate past 95 % and boost over 6 psi. The gate is the plate, not the pedal: drive-by-wire puts the plate at 98 % by 30 to 40 % pedal. The old if boost > 3 fired at every junction, since this engine makes 3 psi at a quarter pedal.
af_ratio1 > 12.5 if tps > 95 and boost > 6The ECU's own front sensor, same gate.
fuel_psi < 45 if boost > 8Rail pressure under 45 psi on boost (healthy is about 46 psi plus boost): the pump or regulator giving up, and a lean engine a moment later.
boost_ext > 22Over 22 psi on COBB's boost channel, the boost the Accessport logs. Until 2026-11-12 the rule read boost > 22 and could never fire: the standard boost byte stops at 18.43 psi.
coolant > 220, intake_temp > 150Over 220 F; over 150 F. Intake looks like the busiest rule in the logs only because one stationary key-on capture sat at 151 F.
inj_duty > 90Injector duty over 90 %: fuelling headroom.
af_corr1 > 7 if boost > 3, af_corr1 < -7 if boost > 3Short-term fuel correction outside 7 % on boost (ungated it fired 171 times off boost in a day; on boost it lives inside -3.1 to +5.5 %).
af_corr1 > 20Adding 20 % fuel anywhere. No negative twin: on a closed throttle the correction runs to its -25 % clamp as a matter of course.
af_learn1 > 7, af_learn1 < -7Long-term learning outside 7 %.
rpm > 7200Over-rev. The shift light is separate and set from the screen.
oil_psi < 12 if rpm > 1500 and run_s > 8Oil pressure under 12 psi above 1,500 rpm, more than 8 s after the engine caught. On 2026-09-28 the gauge read 0 psi until 2.8 s after the start, and without the 8 s the rule fired at every start; that 0 has since been put down to the gauge's last reading from before cranking being held while it was silent, not to the pump, so the 8 s is a guess, not a measurement. The oil lamp is a separate threshold, oil_light_psi, 10 psi by default.
oil_temp > 260Oil over 260 F.

These are starting values, not tuning advice: set them with your tuner. Measure a rule before trusting it with --rules --console, which prints for every rule how many rows and how many logs it fired in, the first firing, and NOT CHECKED - no <key> column when the channel was not logged (a zero on an unjudgeable rule says nothing about the car). defs\danger-simtest.txt holds rules that fire on the simulator's synthetic pull (--sim --danger defs\danger-simtest.txt) so the flash can be seen on the bench.

LISTEN: engine speed and the wideband without connecting

The third tab on the strip (Ctrl+3), added 2026-11-13 for one job: seeing engine speed and the wideband while the Accessport stays plugged in and does the talking. The request: "would we be able to see just the RPM with the open source adapter while the cobb is connected ... build the listen only mode as a seperate screen in the app and include the wideband in that screen". BENCH

Nothing is asked of the ECU

The car says its engine speed on the bus by itself, many times a second, in the frame with CAN id 140. LISTEN opens the Openport on a raw CAN channel that only receives, picks that frame out of what goes by, and reads the wideband on its own serial port as always. No diagnostic channel is made, no SSM2 or OBD request is sent, no init, no trouble-code question. The channel object it reads from has no write method (the same one the CAN capture uses), and the test suite reads the LISTEN code itself to check it calls nothing that could send.

On the screenWhat it is
The three figuresENGINE SPEED, WIDEBAND and WIDEBAND LAMBDA in three equal columns with one size of number (2026-11-15, as asked for on the Mac: "lets make the columns equal no reason the rpm one to be that big"); the rpm is still big on the tachometer across the top.
The tachometer and ENGINE SPEEDBytes 2-3 of id 140, the low 14 bits, one rpm a step. It reads - until the first frame arrives, and again when none has arrived for a second, so a number that has stopped moving is never shown as live.
WIDEBAND and WIDEBAND LAMBDAThe meter's AFR (lambda x 14.7, as everywhere in the app) and the same reading as lambda. They read whenever a meter is attached and has a reading, with LISTEN on or off. The line under the caption names the meter, or says why there is no figure (warming up, no meter attached).
LISTEN / STOP LISTENINGPressed by hand, every time. Nothing starts it at launch and no setting does, even when the app opens on this screen. It attaches the gauges first (the same attach CONNECT runs, port search included), then opens the adapter the way CONNECT finds it (j2534_dll), and says so if it is not plugged in or reads USB power only. It cannot be stopped while a recording is running: stop the recording first.
RECORD / F5Saves logs\listen-YYYYMMDD-HHMMSS.csv: Time (sec), RPM (rpm), Wideband AFR (AFR), AFR valid and Wideband Lambda (lambda), the pull's own headings, one row for each engine speed heard (about 30 a second). The file is made at the first row, every row is flushed, and a note beside it (listen-...note.txt) says where the figures came from. LOGS lists it with the pulls, and VIEW and REPLAY open it. The brain never takes it for a drive, and no copy for the tuner is made by itself. It also records the app's window as a video, listen-YYYYMMDD-HHMMSS.mp4 beside the log: see the screen video, below.
LOGS / F8The recordings made on this screen, without leaving it (asked for on 2026-11-14: "listen logs should be available on the listen page"). The list is the LOGS window showing the LISTEN recordings only, newest first: when, length, rows, highest rpm, the wideband's richest reading, whether there is a video and how big, and the file. VIEW charts the log, NOTE shows its note, VIDEO plays its screen video in whatever plays .mp4 files on this PC, OPEN WITH... and FOLDER are as in LOGS, and DELETE asks first, naming the log, its note and its video, which go to the Recycle Bin together. A video that has no log (RECORD with no engine speed heard) is listed as VIDEO ONLY and plays on a double tap. REPLAY, FOR TUNER and LOG COLUMNS belong to a pull and are not there. The button is off while a recording is running and reads STOP REC FOR LOGS: the screen is held until the recording is stopped. The pulls' own list in LOG still shows the LISTEN recordings among everything else. BENCH
The status lineWhat it is listening through, how many engine-speed frames arrive a second, how often the adapter said it lost frames, and what is wrong when something is: the bus is silent. Is the ignition on?, none with engine speed (CAN id 140), No engine speed for 3 s.

The screen video. Asked for on 2026-11-13: "when we hit record it records the screen to a video file". From RECORD to stop the app's main window is recorded to an MP4 with the same name as the log, in logs\. BENCH

What it will not do beside the logger. While LISTEN is on, CONNECT is refused and the LOG status line says LISTEN is on. Stop it on the LISTEN tab first, then Connect: connecting would ask the ECU after all, with the Accessport on the cable. A CAN capture in TUNE is refused too, and LISTEN does not start while one is running, because the adapter has one receive channel. LISTEN goes on listening while LOG or TUNE is showing, and the strip says LISTENING. A recording is different: while LISTEN records, its screen cannot be left (the tabs are grey until the recording is stopped). Closing the app with a LISTEN recording running asks first, and Esc on this screen never closes the app.

With the logger already connected LISTEN asks for a second, receive-only channel on the logger's adapter, as the CAN capture does, and the screen says in red that the logger is connected and is asking the ECU itself. On the drive of 2026-11-13 that second channel opened and ran for 68 seconds, and then the Openport dropped with an I/O error and took both down; once, so it is suspect and not proven. For listen only, press DISCONNECT LOGGER on this screen first (or DISCONNECT in LOG), or open the app and press LISTEN without pressing CONNECT: that is the way this screen is meant to be used.

What is proven. The decode was checked against the owner's Y-cable captures of 2026-09-21 and 2026-11-11 with the Accessport logging: 1,159 moments where the Accessport's own RPM and the broadcast were heard within a tenth of a second of each other, half of them within 4 rpm and 95 in 100 within 15, an engine stop seen by both as 0, and not one of 4,798 frames garbled. All of it was at idle (828 to 1,111 rpm). The scale above idle has not been checked on this car; it is the layout other Subarus of these years use. The screen itself, the adapter's part in it and the recording have been run on scripted frames and in the simulator only. The first time at the car: engine idling, compare the figure with the Accessport's, then rev it and compare again.

Other cars. Id 140 and its layout are this Subaru's. On another car the status line will say that frames are arriving but none with engine speed.

5The TUNE section: ROM editor, CAN capture, the brain

Locked in the Logger Edition (what that is): this chapter is the full build's.

TUNE is the Mac's RPM Tuner Studio ported into this app (2026-10-15 to 17). Ctrl+2 or the strip's TUNE tab shows it; the section you leave open comes back next launch (section= in settings). The sidebar's top row switches between its three modes: ROM (the editor), CAN (bus capture) and BRAIN (adaptive tuning). The strip above reads ROM EDITOR / FILES ONLY - NOTHING HERE CAN REACH THE CAR.

What TUNE can never do

A ROM is bytes in memory. The only output of the whole section is a .bin file on disk, written by EXPORT ROM FILE... inside the pre-flash checklist, which refuses while any item is red. The library never overwrites or deletes a version (the brain's ON THE CAR marker is the one record ever rewritten in place, and only its marker keys). Axes are never written back. The logger's logs\ folder is read, never written. The CAN capture's channel object has no write method. Flashing is your own tool's job, and the rule is: nothing is written to the car's ECU before a proven bench recovery. (The other half of that rule, 3,000 engine miles, was met when break-in ended on 2026-11-11.)

The studio folder

Everything lives in Documents\RPM Tuner Studio (on this Surface that resolves to the OneDrive-redirected Documents), the same layout as the Mac's, so the two machines share files byte for byte. STUDIO FOLDER opens it; --studio <folder> points the app elsewhere (the tests do).

FolderHolds
definitions\<calid>.jsonThe editor's own definition, one per calibration ID.
library\<calid>\<yyyyMMdd-HHmmss>-<label>.bin + .jsonOne version per pair: the image and its record (file, calid, label, note, created UTC, sha256, parent, importedFrom, and the brain's onCar / onCarSince). The stamp is local time.
can\signals-va.json and the .canlog captures with their .json sidecars.
brain\<calid>\model.jsonThe brain's car model.

An empty folder is seeded from defs\tune\ beside the exe: the two stock 2016 USDM STI images and definitions (AE5T110V, AE5T200V, 1,048,576 bytes each, from the RomRaider repository) and the signal table. A release package made by tools\make-release.ps1 leaves the two images out, because they are Subaru's firmware and not this project's to hand on; there the library starts with the definitions and the signal table, and LOAD DEMO ROM or IMPORT ROM... supplies an image. A file already there is never touched. Importing an image whose hash the library already holds returns the existing version instead of a duplicate; files are created new, never overwritten; a name clash appends -2, -3.

ROM mode: the sidebar

The table view

The header: the table's name, its units in cyan, and kind · storage · address · columns x rows on the right with the definition's description beneath. The grid paints every cell on a heat map from blue (the table's lowest value) to red (its highest), axis breakpoints in cyan, a cell that differs from the reference in bold with an amber outline, and the selection with a cyan tint.

TABLE / TABLE + GRAPH, and the graph in its own window

Above the grid, a two-axis table (fuel, timing, boost) offers TABLE or TABLE + GRAPH (Ctrl+G; as on the Mac since 2026-11-15, where it replaced the 3D MAP that took the grid's place). The graph sits beside the grid; drag the divider between them to share the room (each keeps at least a fifth). It is a surface of the same scaled values on the same breakpoints, unequal spacing included, coloured by value, with the axes numbered and named with their units and the value scale numbered beside its colour bar. VALUES in its corner (on at first) prints the value at every point that has room: a number that would overlap one already printed, or sits behind the surface, is left out. Point at a point and a box at the top right gives its exact value and where it is on both axes. Drag to rotate, the wheel to zoom, click a point to select its cell (the grid, the edit bar, Undo and the inspector follow), Ctrl+click to add or remove a point, a double-click or RESET VIEW to restore the camera. An amber wireframe shows the reference where values differ and the axes match.

POP OUT GRAPH floats the graph in a window of its own over the dashboard, live with the table and its selection; DOCK GRAPH, or closing that window, puts it back beside the table. The graph never writes a byte itself. A one-axis table such as MAF scaling keeps its table and 2D curve; a switch table keeps its state buttons. The view you choose stays while you browse tables in this session. First added 2026-10-17.

Selecting and editing

The right-click menu

Right-click the grid (2026-11-15, the Mac's menu). On a cell outside the selection, that cell is selected first, so the menu is for what was pointed at (the Mac cannot do this; the PC can); on the selection, it stays. The menu: Interpolate Horizontally, Interpolate Vertically; Set Value..., Add / Subtract..., Scale by %... (a box asks for the number); Copy Selection (Ctrl+C: a rectangle of cells as tab-separated rows, full precision); Paste Values (Ctrl+V: a rectangle of numbers, comma- or tab-separated, onto a selection of the same size, or one number into every selected cell; no axis headers); Revert Selection to Reference; Select All, Select Entire Rows, Select Entire Columns, Clear Selection; Undo Last ROM Edit, Redo Last ROM Edit. Every one is an ordinary edit in the same history.

A table in its own window

Right-click a table in the sidebar's list: Open in New Window (or Show in Main Window). The window has the table's own grid, its own selection, a small edit bar (value and SET, - and + by the fine step, a percent with APPLY %), the graph beside it for a 3D table (the Graph tick box), the right-click menu, UNDO, REDO and SAVE VERSION.... It shows the working ROM as the main window has it: an edit there is one undoable edit in the same history, and every window shows it at once. Several tables can be open side by side; opening one that is open brings it forward. Another ROM opened in the main window empties the selection; a table the new ROM does not have says so.

Switch tables

A switch (trouble-code enables, mode flags, patches) shows its states instead of a grid: one button per state with the current one lit, the bytes beneath, an amber was: state with a REVERT when it differs from the reference, and a red warning when the bytes match none of the definition's states (wrong definition, or a patch this definition does not know: leave it). Under it, every switch in the same category with an ON/OFF toggle or a drop-down, so a category of 183 trouble codes can be worked through in one place. Flipping is an ordinary undoable edit.

The inspector and the chart

Bottom left. One cell: the value, the raw byte(s) it becomes, the axis breakpoints, what it was in the reference, and with an overlay the log's samples, mean, min and max in that cell. Several cells: count, min/max, mean. A 2D table also gets a chart on the right, the table in cyan and the reference in amber, when the window is wide enough.

Log overlay and the co-pilot

Tick Log overlay, pick a pull (newest first from logs\, parsed on a background thread; a cut-off last row and a row shorter than the header are left out, as in LOGS), and every sample lands in the cell whose breakpoints are nearest on each axis (RomRaider's convention; beyond an axis end it lands in the edge cell and is counted). Show picks the channel painted onto the table: most useful first (feedback knock, fine knock learn, wideband AFR, ECU AFR, AF correction, trims total, timing, boost, wastegate duty, injector duty, intake temperature, DAM), then every other column. A knock channel colours each cell by its worst value, red deepening with the knock; anything else by the mean. pedal >= drops light-throttle samples. The axis <- log column rows show which log columns drive the axes, guessed from the axis name and units (a voltage axis always goes to the MAF voltage column); change them if the guess is wrong.

The co-pilot cards on the right list proposals computed from the table and the pull, each with its evidence: the cell count, the rationale, the largest change, PREVIEW (selects the cells) and APPLY (an ordinary undoable edit). A proposal worked out before your last edit is refused and recomputed. Each one only moves a cell the log actually drove through, and only when the stored value would change. Which tables each proposal applies to is decided by the table's family and its units, not by a word in its name, so a timing activation percentage, a cranking fuel compensation or an idle timing table can never receive degrees or AFR it was not built for. The brain's advisors use the same three tests.

ProposalTablesRule
MAF scaling from fuel trims2D MAF Sensor Scaling in g/s (not a limit or compensation)Trim = AF Correction #1 + AF Learning #1 (or the trims total), on rows where the engine is warm (coolant 160 F or more) and the MAF axis value and the pedal have held steady for a second. Rows at 80 %+ pedal are dropped (trims freeze at wide open), as are those with a correction of exactly 0 (open loop). A cell with 20+ such rows whose mean trim is +0.5 % or more is scaled up by that mean, capped at 5 %. A negative trim is reported and changes nothing: scaling the airflow down is less fuel, and less load, so more timing. Re-log after flashing; converge over passes.
Richen where the wideband read lean3D Open Loop Fueling maps in AFR (not a compensation, switch, enrichment or additive)Wideband AFR (or the ECU's front sensor when the pull has no wideband), masked by AFR valid, at 80 %+ pedal, from one second after tip-in or a gap, and between 9.0 and 16.0 AFR; rows at or just after a fuel cut, or outside that range, are refused and counted in the text. A cell with 20+ such rows that reads leaner than the table's own cell by 1 % or more is richened by the error, capped at 5 %. A rich reading is reported (Reads rich by up to x % in n cell(s); not changed) and changes nothing. What the wideband is compared with is the open table's cell: a number in a file, on the gasoline scale, not what the ECU commanded on the day (it picks between its open-loop maps, and a flex map changes the target).
Pull timing where it knocked3D Base Timing maps in degrees (not idle or reference)A knock event is an onset: the row feedback knock first reaches -0.35 degrees or worse, or steps further negative, at 30 %+ pedal (the EJ257 reports mechanical noise as knock at idle and on decel). The rows after it, while the ECU lets the correction decay, are the same event and are not counted again. A cell with 2+ events loses 1 degree, its four neighbours half that, at most 3 degrees in all. Knock can also mean fuel, boost or heat: check the AFR and boost overlays on the same cells first.

Fuel only ever goes up and timing only ever comes out. A cell already changed since the ROM was opened is not proposed again, so APPLY cannot stack a second step from the same pull. With no pedal column in the pull, a proposal that is gated on the pedal is not made at all. Every proposal card, the BRAIN panel and what APPLY says carry one standing line: Untested starting point to take to a tuner, not a tune: nothing here is proven on the car.

Checksums and the pre-flash checklist

The Subaru/Denso 32-bit scheme: a table of 12-byte entries (start, end, check) where each check word equals 0x5AA5A55A minus the sum of the 32-bit words in its range. The table is found, never assumed: the definition's Checksum Fix address is tried first, else a scan for the longest plausible run anchored by at least two verifying entries, so an entry whose check word is wrong (because you edited its range) cannot split the run and silently drop the very range that needs fixing. The address says where to look, not where the table begins: one that points part way into the table still gives the whole table, the entries before it included, so no range is left out of the check or the fix by a definition whose address is off. The table is located in the original imported image, not the edited one, and verification also rejects an entry whose start or end address has moved. Verified on both stock images (12 ranges each). The status bar shows checksums OK in green, N checksum(s) wrong in red with a FIX button that rewrites the check words as an undoable edit, or unknown scheme in dim when nothing verifies, in which case the report is not trusted and the checklist fails.

PREFLIGHT... opens the checklist: each item green PASS, amber WARN or red FAIL, a summary (Ready to export as a file. There is still no path from this app to the car. or Not ready. Fix every red item first.), FIX CHECKSUMS when that is the problem, and EXPORT ROM FILE..., enabled only on a pass. Export writes the working image, unsaved edits included, does not save a version, and refuses any destination inside the ROM library, however the path is spelt, so a saved version can never be overwritten by its own export. In the window the parent is the original: the imported ancestor found by following each version's parent chain back to the import, so the Size, Changes and Switches checks still compare against stock after any number of saves or a restart. A missing parent, a loop in the chain, or an original whose bytes no longer match its recorded hash is a red Original ROM item, never a quietly clean baseline; keep the ancestor files with their descendants. From the console (--tune preflight) you name the parent.

CheckPASS / WARN / FAIL
Original ROMFAIL when the imported ancestor cannot be established: a missing parent version, a cycle in the ancestry, or an original whose hash differs from its record.
Size, OriginFAIL if the image is not the original's size: never flash a resized image. With no parent on record the item is Origin, a WARN: it cannot be proved that the image came from a stock read.
Version fileFAIL when the opened version's file no longer matches the hash in its record, that is, it was changed on disk after it was saved. Open a version that still matches its record, or import the image again.
Calibration IDFAIL if the ID is not where the definition says; WARN if the definition does not say where it lives.
Definition size, Scaling, DefinitionFAIL if the definition's file size disagrees, if any conversion cannot be evaluated (those cells read NaN), or if there is no definition at all.
ChangesWARN when identical to the parent; PASS listing the bytes and tables changed; FAIL Changes outside tables for any changed byte that lies outside every table. The test is byte by byte: a byte just past a table's end, changed together with the table's last cell, fails. The only bytes excused are the four-byte check words that FIX rewrites.
Axis changedWARN naming tables whose axis bytes differ (this editor never writes axes, so the image came in that way).
ChecksumsFAIL when wrong or when the scheme is not recognised (Do not flash).
Switch state, Bad values, Switches changedFAIL for bytes matching no state or a NaN cell; WARN listing every switch flipped from the parent.
RuleAlways WARN: Nothing is written to the car's ECU before 3,000 engine miles and a proven bench recovery. This export is a file. The checklist is never all green. (The wording is the app's. The mileage half was met on 2026-11-11; the bench recovery is still to be proven.)

Versions, compare, save

Edits change the working copy only; the amber Unsaved edits means it differs from the version you opened. SAVE AS NEW VERSION... (Ctrl+S) asks for a label and a note, lists the tables that changed, and writes a new .bin and .json with the opened version as its parent; the new version is then opened and the history cleared. The version you opened stays exactly as it was. Nothing is ever auto-saved, and nothing throws edits away without asking: opening another ROM with unsaved edits offers Save, Discard or Cancel, and so does closing the app (Save your pending ROM edits before closing? Yes saves a new version, No discards the edits, Cancel keeps the app open). Until 2026-11-12 closing the window threw them away.

Definitions

A definition is everything known about where tables live in one calibration: its identity (calibration ID and where it sits, description, file size, the checksum-table address) and its tables, each with a name, category, kind, address, storage type (uint8 to int32 or float, big-endian on Denso ECUs), scaling (the RomRaider conversion kept as text: units, toReal, an optional inverse, decimals, fine and coarse steps), axes (in the ROM or fixed values) and, for switches, the named byte patterns. The grammar is + - * /, parentheses, x and decimals; anything beyond that makes a scaling invalid, its cells read NaN and the checklist fails on it rather than guessing.

IMPORT DEFINITION... reads RomRaider and EcuFlash XML, including inheritance from a base (32BITBASE): give it the base file(s) and the ROM's own file together, since a base alone carries no addresses and yields no tables, and a calibration alone carries no shapes or scalings. A calibration whose base is not among the files is not imported, and the definition in use stays: Definition import failed: AE5T110V builds on 32BITBASE, and none of the files given defines 32BITBASE. So are bases that go round in a circle. A table that asks for a scaling by a name no file defines, or one its base does not have (so nothing says what shape it is), is left out and named in the definition's notes; such a table used to come in as raw counts, or as a single cell. Static axes, switch states, the Checksum Fix table and both storage-type spellings are understood; a switch with mixed-length states, or a table without a name or address, is dropped. A 3D table whose axes are fixed values (Static X Axis, Static Y Axis) imports whole or not at all, never as a single column. A file that defines several calibrations is matched to the ROM by the ROM's own ID bytes, and the definition an import replaces is kept beside it as .bak. The calibration ID names the file the definition is kept in, so an ID that is not a plain name (letters, digits, -, _ and a dot inside, up to 60 characters, not a Windows device name) is refused and nothing is written: Definition not imported: its calibration ID ... The result is saved as the editor's own JSON (sorted keys, two-space indent, Swift's exact layout, so the Mac writes the same bytes). The two shipped definitions hold 386 tables each: AE5T110V in 27 categories, 183 of the tables trouble-code switches; AE5T200V in 29 categories, 126 of them trouble-code switches. From a console, --tune import.

The guide pane

Ctrl+/ or ? in ROM mode opens the pane with two tabs. GUIDE shows, for the selected table, what it is, how the ECU uses it, how to tune it (numbered), what to watch in your logs (chips that turn green when the loaded pull has that column), limits and warnings in red, and up to twelve related tables as links. The text comes from the Mac's TableGuide.swift, converted into defs\tune-guide.json by tools\tune-guide-from-swift.py: 68 entries, 57 matched by name and 11 category fallbacks, so every stock table has something. Edit the Swift and rerun the tool, not the JSON. CHEAT SHEET is the short sheet for the mode. The footer repeats the rule: starting points to take to your tuner, not a tune.

CAN mode: bus capture

Records every frame on the car's 500 kbit/s CAN bus through the Openport and decodes what is known. The capture never sends a frame: the channel object it reads from has no write method. With the logger connected, RECORD opens a second raw channel on the same Openport beside the logger's (the Mac does the same) and the note reads sharing the logger's adapter: the logger keeps polling. The logger's own requests go on over the same cable, so the adapter is not listen-only then, though the capture still transmits nothing. With the logger not connected it opens the adapter itself the way CONNECT does, and the note reads listen-only. In the simulator there is no bus and RECORD is disabled. Whether the Tactrix driver allows the second channel beside the logger's has never been tried: it is the first thing to find out at the car, engine off. BENCH

BRAIN mode: the brain

The brain is a car model learned from every pull LOG records, plus advisors that turn the model into exactly one verdict per table of the open definition. Not a neural network, not trained, not online: statistics per table cell, pooled over drives, on the axes of the ROM that was in the car. The brain is the tuner; nothing it does can reach the ECU, and its only output is APPLY, an undoable edit of the working ROM. Phase 1 (2026-10-17) is built; it is bench-proven only. BENCH

Using it

  1. Open a ROM in ROM mode. The brain works per calibration.
  2. Pick the version you actually flashed in the ON THE CAR box and press MARK ON THE CAR. The marker is written into that version's record (the keys onCar and onCarSince), from now; moving it to another version starts a new epoch and keeps the old one. The epoch is begun and saved at the moment of marking, not at the next LEARN, so marking B, driving, and marking A again before LEARN still leaves B's drive in B's epoch, learned on B's axes. Each mark also carries a number in the record (onCarSeq): should two records ever say ON THE CAR at once, the higher number is the one that is read, whatever their times. A marker that cannot be moved stays where it was: the new version's record is written first, and if that fails (the file open in another program, a disk that will not write) the line above the list says MARK ON THE CAR: ON THE CAR was not moved and nothing has changed. If the old marker cannot then be taken off, the version marked last is the one that counts, the line says so, and marking again clears it. The brain learns nothing until it knows which ROM the car was running, and pulls dated before the first marker are listed as unassigned, never learned. Mark before driving.
  3. LEARN folds in every pull (pull-*.csv) in the top of logs\ recorded since the marker, once each by its hash, on its own thread (33 pulls of 94 MB take about three seconds cold, under half a second warm). Each pull is learned on the ROM of its own epoch: a drive that arrives late is read against the version that was in the car when it was recorded, not today's marker, and a missing historical version refuses that drive. The simulator's sim-*.csv recordings are never learned, and only a pull that fed a grid counts as a drive: perf.csv, an empty recording and the copies for the tuner do not (two pulls minutes apart still count as two). Opening BRAIN does the same. The caps are read when the session is made: restart the app after editing brain_* keys or engine_miles.
  4. Pick a verdict from the list (proposals first; the filter box narrows by table name). The panel shows its kind, category, rationale, evidence and, for a proposal, the cells with from and to values. APPLY makes it an ordinary undoable edit; SHOW IN ROM selects its cells in ROM mode.
  5. Save as a new version, run PREFLIGHT, export, flash with your own tool, mark the new version ON THE CAR, drive, LEARN.

What it learns

Three families in phase 1, each a grid on the axes of a table in the definition, binned with the overlay's nearest-breakpoint rule, holding per cell the rows, the sum, min and max, the rows and sum per drive (so it can ask whether drives agree), and the rows per intake-temperature band (under 60, 60 to 80, 80 to 100, 100 to 120, 120+ F). A drive whose ROM has different axes from the epoch's grids is refused whole, before any statistic changes, and the evidence already gathered is kept; the status counts it as unreadable.

It also notes fills: a step of 5 % or more in AF Learning inside a drive (the ECU's learning zones toggle by up to 3.1 % hundreds of times a drive, so the bar sits above that). Everything is saved as brain\<calid>\model.json after every LEARN, through a temporary file that is swapped in, with the one before kept as .bak; a file that will not parse is never saved over. A model saved before 2026-11-12 keeps its epochs and markers; its old counts are set aside under before and never shown, and its pulls are read again at the next LEARN under the rules above (the file's rules number says which rules made it).

The verdicts

KindTagMeaning
PROPOSALPROPNumbers per cell, with the evidence they rest on: rows, drives by name, intake bands, and drives agree NN%.
SYMPTOMSYMPThe logs point at this table but the evidence is thin, the axes changed, the table was edited since the drives, or SAFE mode leaves it alone. No number.
AUDITOK / AUDITA check of a table the logs cannot teach; passed or failed. Phase 1 only ever produces passed ones.
BLINDBLINDThe logs cannot see this table; the text says what would, by category, and which later phase adds it.

The advisors and their caps (SAFE direction only)

The caps are brain_* keys in settings.txt (reference) and are shown on the panel's CAPS AND BARS line. engine_miles against 3,000 (brain_break_in_miles) is the break-in gate: full-throttle fuel evidence is neither gathered nor proposed before it; part-throttle MAF trims and knock are. Keep engine_miles current by hand, or, once break-in is over, set brain_break_in_miles=0: the gate is then off and the panel reads Break-in is over. A pull learned while the gate was shut is not learned again for fuel. The ROM-mode co-pilot answers from one pull with its own defaults; BRAIN answers from every pull of the epoch.

Not built yet

Phase 2: the remaining safe advisors and the audits (boost, closed-loop and warm-up trims, tip-in, injectors, timing compensations by heat and gear, knock-control and limit audits, idle and fan symptoms, every trouble-code switch audited against stock). Phase 3: the virtual dyno (torque and power curves from speed, gear and mass per epoch) and the experiment loop (keep or revert each applied proposal). Phase 4: CRAZY mode and the bold advisors (lean toward target, add timing after knock-free drives with DAM 1.00, raise boost under the fuel cut, AVCS targets by experiment); the switch is off at every launch and asks before it does anything, and the break-in gate holds in that mode too. Marking a fill by hand and condition bands beyond intake temperature are phase 2 and 5. --spec carries the caps, the bars and the never-touched list as its brain block (spec version 2), so tools\compare-spec.py holds this brain against the Mac's. From a console: --tune brain learn | verdicts; --test-tune section S proves the arithmetic on synthetic drives.

Bench-proven only

Nothing the brain says is proven on the car until a pull it learned is compared with the Accessport's reading of the same drive, and no proposal has ever been flashed. Run once on the car's 26 real pulls against the stock image it produced proposals against stock values, which shows the mechanics, not advice: the map the car actually runs (FLEX_Base) is not in the library, so on this PC the wideband would be judged against stock tables. The rules of 2026-11-12 (richen only, knock by onset, two drives, the evidence filters) are proven on synthetic drives and on the owner's old pulls read again, nothing more.

MAF mode: MAF scaling

The fourth mode in TUNE's sidebar (ROM | CAN | BRAIN | MAF; Tune > MAF Scaling), ported from the Mac on 2026-11-15. It works offline, with a voltage-to-airflow curve and a log, and builds a correction from recorded fueling error. Its one write is APPLY TO ROM: one undoable edit to the table, saved as a new version in ROM mode by hand. Nothing reaches the car.

  1. Current curve. In ROM mode select the MAF sensor scaling table, then here USE SELECTED ROM TABLE (a 2D table with a volt axis and g/s cells: the stock 2016 STI definition's volts and Mass Airflow (g/s), and the demo's). Or IMPORT CSV..., or paste: two columns, voltage and airflow, comma or tab, an optional heading row.
  2. Log and channels. IMPORT LOG...: one of this logger's pulls, an Accessport datalog (its headings are read as ours), or any CSV. Closed-loop trims (Subaru's additive AF Correction + AF Learning) or Open-loop wideband ((measured / target - 1) x 100, against the open-loop fuel table you choose; the primary open-loop map is chosen first).
  3. Sample selection. Steady-state rules, the brain's own (the first choice for our pulls and Accessport datalogs): for trims, closed loop (AF Correction not 0, which is open loop on this ECU), coolant 160 °F or more, under 80 % pedal, MAF voltage and pedal steady for a second; for the wideband, 80 % pedal or more held a second with fuel flowing, the meter valid, 9-16 AFR, the target the fuel table's value at that row's load and rpm, read the way the ECU reads a table. That target is a number in this ROM file, not what the ECU commanded on the day (it switches maps on knock, and a flex map moves it); without a wideband column the ECU's own A/F sensor is used, and said. A fueling-state column: map the voltage, the two fueling channels, the state column and the value to include (8 and 10 are examples, not universal codes). Already filtered: every row is used as it is, only for a log already cut to warm, steady rows of the chosen mode. Then Min samples (20), Max change % (10), Apply % (100) and Reject error > ±% (30).
  4. Review. ANALYZE; the current and proposed curves on a chart, and per bin the samples, mean error, standard deviation, the correction applied, the proposed airflow and its status: Ready, Capped, Insufficient data or Reads rich - not leaned.

Richer only. A bin whose error says the MAF reads high (rich) is reported and left as it is: scaling airflow down leans the whole map, wide open included. The same rule as every proposal in the app.

Each sample goes to the nearest voltage breakpoint (an exact midpoint to the higher one); a sample beyond the curve is rejected, never clamped into an end; no smoothing, no extrapolation, no wideband delay correction. A curve that would decrease blocks copy, export and apply. COPY CURVE puts voltage and proposed airflow on the clipboard, a tab between, no heading; EXPORT REVIEW CSV... writes every bin at full precision. APPLY TO ROM is on only when the curve came from the table selected in ROM mode and that table still holds what was analyzed, and refuses (and says why at the foot) once it has changed, once the fuel table a wideband result used has changed (an edit, or another ROM), or when the proposal cannot be stored at the table's precision. Changing any input clears the result until ANALYZE again. The basis: COBB's Subaru Accesstuner tuning guide for the additive closed-loop correction and the measured / target open-loop approach. BENCH

6Reference

Keyboard reference

Both sections

Ctrl+1LOG (also Ctrl+NumPad 1)
Ctrl+2TUNE (also Ctrl+NumPad 2)
Ctrl+3LISTEN (also Ctrl+NumPad 3)
Ctrl+/Show or hide the help pane (also Ctrl+NumPad /)
F1This help file in the browser
F11Full screen on or off (in LOG also in the ... menu; hides the menu bar)
Ctrl+KCONNECT, or DISCONNECT when connected (Logger > Connect)
AltThe menu bar from the keyboard (Alt and the underlined letter opens a menu)
EscLeave full screen; in LOG, else quit. In TUNE it never quits. Quitting asks first while a recording is running, and offers Save / Discard / Cancel when the ROM has unsaved edits.

LISTEN

F5Record / stop the LISTEN recording (nothing happens when it is not listening)
F8LOGS: the LISTEN recordings and their videos (not while one is being recorded)
F11Full screen on or off
EscLeave full screen. It never quits from this screen

LOG, live

F5Record / stop (nothing happens when not connected)
F6Reset min/max and the held danger flags (also in the ... menu)
F7Restore the default MAIN layout: MAIN only, asks first, keeps a dated copy (also in the ... menu)
F8LOGS
F9DIAG (nothing while the DIAG button is off)
1 ... 9Pages (also the numeric keypad)
PageUp PageDownShift light up or down 100 rpm
Space EnterPress the focused button

LOG, during a replay

SpacePlay / pause
Left RightStep (5 s at 1x, a tenth of the window zoomed)
Up +Zoom in
Down -Zoom out
PageUp PageDownPrevious / next warning flag (so they do not move the shift light during a replay)
F5 ... F11 1-9Still act, except F5 and F9: RECORD and DIAG are off during a replay

LOGS window

EnterVIEW the selected pull (also double-click)
DeleteDELETE (asks; the Recycle Bin where there is one)
F5Reload the list
Esc F8Close

DIAG and the dialogs

EscDIAG: stop a running procedure, else close. Dialogs: cancel.
EnterDialogs: OK / SET / SAVE (not while the cursor is in a note box)
Alt+F4Title screen: cancel the launch (also Esc or x)

TUNE, ROM mode

Ctrl+Z Ctrl+YUndo / redo
Ctrl+Up Ctrl+DownFine step up / down on the selection
Ctrl+Shift+Up Ctrl+Shift+DownCoarse step
Ctrl+IINTERPOLATE
Ctrl+RREVERT the selection
Ctrl+ASelect the whole table
Ctrl+SSAVE AS NEW VERSION... (when there are unsaved edits)
EnterIn the value box: SET
Shift+click / dragExtend the selection from the anchor
drag wheel3D MAP: rotate the surface; zoom
click Ctrl+click3D MAP: select a cell; add or remove a cell
double-click3D MAP: reset the camera (also RESET VIEW)

A text box that has the focus keeps its own keys, except Ctrl+Z, Y, S, I and R. LOG's bare keys only act while LOG is showing; TUNE's Ctrl shortcuts only in TUNE. F5 to F9, F11, Esc and Space act once per press: a key held down does not repeat (held F5 used to start and stop recordings thirty times a second, and held Esc to leave full screen and then close the app). The arrows, + and -, PageUp and PageDown still repeat. A key does nothing while its button is off.

Command line

Run RPMTunerLog.exe with any of these. Console modes attach to the terminal you ran them from and print there (> file.txt works); there is no --help, and an unknown flag is ignored. A flag that takes a value reads the next word. A number that does not read (--hz fast, --from 0xFF13OO) is said, nothing is started, and the exit code is 2. Ctrl+C in a console mode ends the run the way Q does, with the recording closed and the adapter let go.

FlagWhat it does
Desktop launch
--simA simulated ECU, wideband, oil gauge and GPS: a scripted third-gear pull on a 16-second loop. Logs go to sim-*.csv, bests to perf-sim.*. No bus, so no CAN capture; no codes; the ENGINE lamp reads ?.
--replay <log>Open playing a recorded pull, no car. --replay-speed <x>, --replay-zoom <n> set the start. Implies --no-dragy.
--section tune, --section listen, --studio <folder>Open in TUNE, or on the LISTEN screen (which is still not listening until LISTEN is pressed); use another studio folder.
--no-introSkip the title screen for this run (also implied by --shot). intro=0 in settings.txt skips it every time.
--wideband <kind> [COMx], --lm1 COMx, --no-wideband (--no-lm1)Pick the wideband kind and port (remembered); the old spelling for an Innovate; none this session.
--aux COMx, --no-auxThe MTX-D's port (remembered); no oil gauge this session.
--dragy [MAC], --no-dragyConnect the Dragy at start, naming one if given (remembered); no GPS this session.
--weatherWith --sim, still look up density altitude from the simulator's position.
--danger <file>Another rule file instead of defs\danger.txt.
--dll <text>Narrow the adapter search to drivers whose name or path contains the text (not remembered).
--allLog every parameter, ignoring the ECU's capability bitmap.
--port <n>, --no-http, --lan, --lan-controlThe web page's port (8733); no web page; serve the local network (needs the URL reservation); with --lan, let other devices record and reset. The last three have keys in settings.txt (the phone page); a switch that is given wins.
--hz <n>The poll ceiling for this run, 1 to 100 polls a second, in place of poll_hz, which is not changed. Until 2026-11-12 the switch was read and then overwritten by poll_hz, so it did nothing.
--shot <file.png>, --shot-delay <ms>, --shot-open <what>Screenshot plumbing for the docs and tests: grab the window after the delay and quit; open a named state first (logs, view, loghelp, pagemenu, pageN, logcolumns, diag, diagdone, diagscan, diaghunt, tune, tunedemo, tuneoverlay, tuneswitch, tunecan, tunebrain, tunehelp, full, replayexit, listen, listenrec: LISTEN with RECORD pressed, so the delay is a recording with its video).
--crash ui|thread, --crash-after <ms>, --diag-hold <s>Test only: throw on purpose after a delay so the tests prove a fault is logged and a recording closed on a whole row; shorter SI-DRIVE hunt windows for the tests.
Console modes with the car
--consoleConnect and poll in the terminal: R starts or stops a recording, Q quits.
--verifySeven quantities read by OBD-II and SSM2 side by side; exit 0 confirmed, 4 mismatch, 2 could not run (a silent ECU says nothing about the decoding). Run once before trusting a first log.
--dtc, --clear-dtcRead the trouble codes; clear them after the warning and the typed phrase clear codes (exit 5 if the ECU did not acknowledge). Both work even when the SSM2 init fails.
--probeRaw OBD-II and SSM2 probes to localise a silent bus: if OBD-II answers and SSM2 does not, a key cycle clears the latched session. A console mode by itself (until 2026-11-12 it opened the dashboard unless --console was given too, and so did --peek).
--sniff [--seconds N] [--out dir] [--ids all|7e0,7e8] [--sidrive]Listen-only raw CAN at 500k; how the Accessport's request was overheard. --ids is experimental (exact-match filters return nothing on this adapter). Then tools\decode-sniff.py.
--peek <targets.txt> [--seconds N] [--out dir]Read named addresses beside trusted parameters to identify them by behaviour (defs\ap-request.txt, fuel-peek.txt, ethanol-peek.txt). Then tools\analyze-peek.py.
--hunt-sidrive [--phase quick|ram] [--hold s] [--out dir]The SI-DRIVE hunt from a console; exit 0 found, 1 looked and did not find it, 2 could not run (the ECU stopped answering). sidrive.cmd wraps it.
--hunt <value> [--tolerance 0.15] [--range FF0000-FFBFFF]DIAG > HUNT A VALUE from a console: two read-only passes over the ECU's RAM, then the addresses that stayed put and read the value, likeliest first, and the custom_params line to paste for #1. Exit 0 found, 4 nothing, 2 bad arguments, 3 stopped before both passes were read. Works with --sim, which plants 10.7 at FF1F10 (the simulator's address, not the car's).
--scan-map, --scan-live, --scan-captureSweep an address range for implemented bytes, watch which vary, capture candidates beside references (--from --to --stride --batch --samples --interval --max-capture --seconds --out). A sweep that does not reach the end keeps the map.csv that was there, writes map-incomplete.csv and exits 3.
Console modes without the car
--listEvery registered J2534 driver and whether it opens.
--scan-wideband [--seconds N], --scan-ble [--seconds N] [--no-probe]The COM-port scan: it only listens, and nothing is written to any port. The Bluetooth scan: it listens for advertisements, then connects to each recognised device other than a Dragy meter to read its structure (--no-probe lists only). A Dragy is never connected to by a scan.
--rules [log.csv ...]How often each danger rule fires over the logs (all of them when none named), and what the check of the rule file found.
--spec [--spec-out path]Write spec-<machine>.json, the behaviour contract compared with the Mac by tools\compare-spec.py: the parameters, the log header, gears, danger rules, polling and its slow tier, and since version 2 the brain's caps.
--export-accessport <log.csv> [out.csv]LOGS > FOR TUNER from a console: the pull written in the Accessport's datalog layout, to for-tuner\<name>-accessport.csv beside it or to the path given. The log is a full path or a name inside logs\, with or without .csv. Needs no car and runs while the app is open. It prints which Accessport datalog gave the column list and the AP Info, the map it names, any column filled from a second-choice channel and the rows left out. Exit 0 written, 1 could not export, 2 usage or no such log.
--test-dragy, --test-aux, --test-wideband, --test-tuneThe self-tests: the Dragy framer, the MTS framing and oil mapping, every wideband decoder and CAN format (156 checks), the ROM editor against the Mac's vectors plus the brain (193 checks). Counts as of 2026-11-13.
--tune demo | info | dump | diff | import | overlay | checksum | propose | preflight | library-importThe ROM editor's engine from a console: write the demo ROM; describe an image; print a table; diff two images of one calibration; import XML; overlay a pull; locate, verify or fix checksums (--def, --parent, --fix); the co-pilot's proposals; the checklist (exit 0 ready, 2 not); copy a ROM into the library. overlay takes a table, a pull and a channel with --pedal N; library-import takes --calid, --label, --root.
--tune can devices | record | decode | diffOpen the Openport and say what it is; a capture that transmits nothing (--seconds, --label, --root); the id table and messages of a capture (--signals); the ids and bytes in one capture never seen in another.
--tune brain learn | verdictsFold every new pull into the model of the version marked ON THE CAR (--root, --logs, --calid); one line per table with the brain's verdict for a ROM and definition.

settings.txt

key=value, one per line; # and ; lines are comments and survive; the app rewrites only the line it changes and appends new keys at the end; the file is replaced whole through a temporary file, so a crash can never leave it empty. Keys the app writes itself are marked. Edit the file by hand only with the app closed: the running app holds it in memory and writes it back at any change of page, section or shift point, and a line added meanwhile is lost. SETUP changes the common ones from the screen. The file is in the data folder.

KeyDefaultMeaning
Connecting and polling
auto_connect0Stays 0: the owner connects by hand, with CONNECT. (1 would try at launch and again every 5 s while no adapter is on USB, loading the remembered driver each time, or every installed driver when none is remembered. Not offered in SETUP.)
auto_record0Stays 0: the owner records by hand, with RECORD or F5. (1 would start a recording the moment the car connects. Not offered in SETUP.)
ecu_protocolssm2ssm2 is Subaru's own protocol, the one every channel in this help was measured with. obd2 reads the standard OBD-II live data (mode 01) any CAN car answers: fewer channels, slower, no COBB channels, and bench-tested only. Takes effect at the next start. Set from SETUP.
j2534_dll(none)Written by the app: the driver that opened the adapter, the only one tried from then on. Remove the line to search every installed driver.
extended_ecu_id(none)ECU ids, comma-separated, on which the COBB RAM channels, SI-DRIVE and custom_params may also be read. Without it they are read only on the ECU they were measured on (A62A904097). On any other ECU the standard channels are polled, feedback knock and fuel pressure among them, and the log says so once.
poll_hz25Ceiling on polls per second, 1 to 100.
poll_slow_every4Ask the slow tier (defs\poll-tiers.txt) once every N cycles, 1 to 50.
The window
sectionlogWritten: the section open at the last close, log, tune or listen. Opening on LISTEN shows the screen and starts nothing.
listen_video1RECORD on the LISTEN screen also records that screen as a video beside the log (the screen video). 0 = the log only. Read when the LISTEN tab is first opened. Bench-tested only.
page0Written: the page open at the last close.
shift_rpm6500Written: the shift light, 1,000 to 9,000.
oil_light_psi10The OIL lamp's threshold (accepted between 0 and 100). The oil danger rule is separate (12 psi in the shipped file).
unitsimperialmetric shows bar, kPa, deg C, km/h and metres on the dashboard's tiles and gauges. Nothing else changes: the pull, its note, the copy for the tuner, the danger rules, the phone page, PERF and the log viewer stay in psi, F, mph and ft. Set from SETUP.
car_nameWRX STIThe car's name on the masthead. Set from SETUP.
alarm_sound01 = one short beep when a danger rule begins to fire (not again for that channel for 10 s, and never during a replay). The strip beside LOG | TUNE names the rule on every page whatever this is set to.
intro10 = no title screen at start, the same as --no-intro.
viewer_traces(none)Written by the app: the columns ticked in the log viewer's trace list, so VIEW opens on the same traces next time.
Recording
export_accessport1When a real recording stops, write the copy for the tuner in the Accessport's layout to logs\for-tuner\ (LOGS > FOR TUNER). 0 turns the automatic copy off; the button and --export-accessport still work. Never written by the app.
The phone page
http10 = no phone page at all, the same as --no-http.
http_lan01 = other devices on the network may watch the phone page, the same as --lan. Needs the one-time Windows URL reservation (the phone page), which the app writes to app.log when the page could not start.
http_lan_control01, together with http_lan=1 = other devices may also start and stop a recording, the same as --lan --lan-control, once paired with the link from Logger > Copy Phone Page Link.
web_token(made once)The phone page's pairing key: 32 hex digits, made and written the first time the page starts with LAN control. A device records or resets only when it carries it (the link's ?token=, or the rpm_dash cookie the page is given when opened with it). Delete the line and restart to make a new key and unpair every device.
Sensors
widebandinnovateWritten by --wideband and USE AS WIDEBAND: innovate, aem, plx, zeitronix, techedge, ecotrons, 14point7, apsx, can.
wideband_port(none)Written: the wideband's COM port (or the slcan adapter's).
lm1_port(none)The old name for wideband_port, still read when that is absent.
wideband_baud0Written by DIAG > USE AS WIDEBAND: the speed the scan heard the meter at. Or set it by hand to override the kind's baud (0 = the kind's own). Naming a meter of another kind with --wideband sets it back to 0.
wideband_can_kbps, wideband_can_format, wideband_can_id0, auto, (none)A CAN meter: pin the bit rate (125/250/500/1000), the decoder, a reconfigured frame id. The id is used only with the format named as well.
aux_port(none)The MTX-D's port; may equal the wideband's (one cable). Written by --aux, by SETUP, and by the port search when it hears the gauge on another port.
sensor_search1The port search. A wideband or oil gauge that is not heard on its set port within about 3 s is looked for by listening on the other USB serial adapters, one at a time; the port where it is heard is used and saved (wideband_port, wideband_baud, aux_port), so the gauges may be on two dongles in any USB sockets. It only listens: nothing is written to any port, and a port that is neither gauge is closed at once. It never opens Bluetooth ports, ports that are not USB adapters, the NMEA gps_port, a CAN adapter's port or the Openport, and the OBD adapter is never searched for. Meters that speak only when asked (Ecotrons, 14Point7, APSX) and CAN meters are not searched for: pick their port in SETUP. While a gauge is missing it looks again when a serial port appears. 0 = the ports exactly as set and nothing else opened. Read at start; SETUP > SENSORS > Port search. Bench-tested on scripted ports only.
aux_raw0Log this many raw MTX-D packets as aux: lines in app.log, for checking the mapping against the gauge's face.
dragy_mac(none)Written once a meter found by the GPS button has answered its handshake and sent data (or by USE AS GPS, or --dragy MAC): its Bluetooth address. With it set, the app listens for that meter from every launch, without GPS being pressed. SETUP > SENSORS > GPS meter > FORGET removes it.
gps_sourcedragydragy is the Dragy DRG70 over Bluetooth, the only GPS proven on the car. nmea is any receiver that sends plain NMEA 0183 sentences on a serial (COM) port: a USB puck, or a Bluetooth receiver or phone that Windows shows as a port. With nmea no Dragy code starts at all. The receiver is only listened to; set its rate and sentences with its maker's tool (RMC is needed; GGA or GNS at the same rate adds satellites and altitude). Under 5 fixes a second the GPS columns are still logged, but timed runs and the calculated gear stay on the ECU's speed. GPS Speed Accuracy is always empty with this source. Bench-tested only: no receiver has been connected. Read at start; set from SETUP > SENSORS > GPS meter > SOURCE.
gps_port(none)The NMEA receiver's COM port, for gps_source=nmea. A port that drops is tried again every 2 s. Set from SETUP > SENSORS > GPS meter > PORT.
gps_baud0The NMEA receiver's speed. 0 listens at 4800, 9600, 38400 and 115200 in turn until sentences with good checksums arrive, then keeps that speed for the session. Set from SETUP > SENSORS > GPS meter > SPEED.
dragy_hz10The rate written to the receiver on every connect: 10 or 25.
dragy_min_rssi-85The weakest signal worth a link, in dBm (-100 to -40). A meter heard weaker than this is never connected to: it is across the drive, not in the car, a link that weak drops at once, and a drop in the meter's first seconds wedges it (blue light on until the battery is flat). About -50 is next to the laptop, -70 across the cabin, -95 the car outside the house.
weather10 switches the weather-station lookup and density altitude off. While it is 1 the car's position, rounded to 0.01 degree, is sent to the US National Weather Service (what it sends out).
weather_station(none)Written: the station used last (KORL, KISM...), so DA is there before the GPS has a fix.
weather_station_at(none)Written: that station with its position, as KMCO,28.4183,-81.3241, so a remembered station more than 60 miles from the car is not used once the GPS has a fix.
Performance
perf_min_throttle75Plate percent the launch must reach within 1.5 s for a run to count; 0 turns the gate off.
perf_rollout_ft0Rollout subtracted from standing-start times; 1 for magazine style.
SI-DRIVE (written by DIAG > USE RESULT)
sidrive_address(none)The mode byte's address, six hex digits (FF5E60 on this car). The parameter is built at startup: restart after changing it.
sidrive_i, sidrive_s, sidrive_sharp0, 1, 2The raw byte in each mode (3, 1, 2 on this car).
custom_params(none)Parameters at addresses found on this car, overheard from the Accessport or found by DIAG > HUNT A VALUE, one entry per ;: key|name|units|hexaddr|len|float32-or-unsigned|expr|format|min|max. This car's ethanol line is ethanol|Ethanol Concentration|%|FF1EE4|2|unsigned|x*100/65536|0.0|0|100. Each becomes a tile and a log column at startup (restart after changing it), and each is read only on an accepted ECU id (the ECU-id rule). The Mac reads the same line, so a find copies between the machines. A bad address, a length outside 1-4, or a key that is already a built-in parameter is skipped. So is an expression the evaluator cannot read (it takes numbers, a lower-case x, + - * / and brackets): the entry is left out and said once at connect, where it used to stop every poll.
The brain (read only; never written by the app)
engine_miles0The engine's miles, kept current by hand; shown against the break-in gate.
brain_break_in_miles3000The break-in gate. 0 turns it off: break-in is over (the STI's ended on 2026-11-11, and this PC's file has 0).
brain_min_rows, brain_min_drives20, 2Rows and drives a cell needs before it is judged.
brain_agreement0.75The share of drives that must agree on the sign of a change.
brain_fuel_pct5SAFE: the most a fuel or MAF cell moves in one pass, percent.
brain_timing_pull, brain_timing_pull_cap1, 3SAFE: degrees pulled where it knocked per pass; the most pulled from a cell in one pass.
brain_knock_threshold, brain_knock_min_pedal, brain_knock_events-0.35, 30, 2Feedback knock reaching this or worse starts an event (an onset, not every row while it decays); under this pedal it is noise; events a cell needs, from brain_min_drives drives, before timing is pulled.
brain_wot_pedal80Pedal percent from which a row counts as wide open.
brain_fill_step5A step in AF Learning this big inside a drive is a fill or a reset.
brain_lean_pct, brain_timing_add, brain_timing_add_epoch, brain_knock_free_drives, brain_boost_step, brain_boost_margin, brain_avcs_step2, 0.5, 2, 4, 0.5, 2, 2The bold direction's caps (CRAZY mode, phase 4): read, not yet used.

Files and folders

PathWhat, format, who writes it
Beside the exe (the program folder)
RPMTunerLog.exeThe app. 32-bit, because the Openport's driver is.
NOTICE.txt, README-FIRST.txtThe third-party material the program ships or was written from, file by file; the first page of a release package.
LICENSE.txt, DISCLOSURE.txt, CREDITS.txtThe terms (free to use, all rights reserved, no warranty); what the program sends to the car, the risks and what leaves the computer; whose work it draws on. In every package, and on the Help menu (more).
sidrive.cmd, fuel.cmd, drive.cmdIn the owner's project folder only, not in a release package. sidrive is the SI-DRIVE hunt with its last-resort bus listen; fuel listens (a sniff, not a peek) while the Accessport shows its fuel pressure, to score the scale; drive is the in-car sequence that found the extended addresses (--verify, then the scans). Each starts the exe, waits for it, reads its real exit code, and passes --no-dragy --no-lm1 --no-aux --no-http so a console run never touches the Dragy, the gauges or the phone page. Their result files are named after their capture and do not overwrite earlier ones. Rewritten 2026-11-12, not yet run at the car.
The data folder (the program folder, unless that cannot be written: where its files go)
settings.txtAbove. Written by the app and by hand.
logcolumns.txtkey = on|off with notes. Written by LOG COLUMNS.
layout.txtOne channel key per line, the MAIN order. Written after a drag or F7; F7 keeps layout.before-reset-<stamp>.txt.
pages.txtYour gauge pages. Written after every page edit.
perf.txt, perf-sim.txt, perf-replay.txtThe bests, key = value. Written on every new best.
spec-<machine>.jsonThe behaviour contract from --spec.
logs\ (in the data folder)
pull-YYYYMMDD-HHMMSS.csv, sim-...csvThe recordings. Made at their first row. Never deleted by the app.
listen-YYYYMMDD-HHMMSS.csv, listen-...note.txt, listen-sim-...csvRecordings made on the LISTEN screen: time, engine speed and the wideband, with a note beside each. Listed in LOGS with the pulls; never a drive to the brain. The simulator's are named listen-sim-.
listen-YYYYMMDD-HHMMSS.mp4The screen video of a LISTEN recording: the LISTEN screen, H.264, beside the log of the same name. Never deleted by the app, except one that was begun and never got a frame.
pull-YYYYMMDD-HHMMSS.note.txtThe note beside each pull: plain key: value lines saying which build, ECU, addresses, custom channels, gauges, weather station and (not read from the car) map stood behind it, and at stop a summary. Written with the first row and again at stop. DELETE takes it with the pull.
app.logThe app's own diary: faults (FATAL:), connects, recordings, the ECU going quiet, dragy: and aux: lines, rule loads, code reads and clears. Repeated lines are counted once, and the count is written when the line has stopped coming for 5 seconds. Past 8 MB it is set aside as app-YYYYMMDD-HHMMSS.log, at a start or while running, never deleted. The app holds the file open while it runs; other programs can read it (Get-Content), none can write to it or move it. Each run begins with the version and the data folder. The first thing to read after a drive that went wrong.
perf.csv (perf-2.csv, perf-sim.csv, perf-replay.csv)One row per counted run.
accessport\, compare-*.txtThe Accessport's own datalogs (listed in LOGS, and where the tuner's copy takes its AP Info from) and the comparison reports from tools\compare-ap.py.
for-tuner\The copies for the tuner, <name>-accessport.csv: one per real recording, and from LOGS > FOR TUNER. Made from the pulls, so one can always be made again; the app never reads them back.
defs\
params.json, logger.xmlThe standard parameters as generated by tools\gen-params.py from RomRaider's logger definition (the generator also writes src\Params.g.cs; build.ps1 runs it).
poll-tiers.txtOne channel key per line: the slow tier, with the reasons.
danger.txt, danger-simtest.txt, danger.txt.before-plateThe danger rules; bench rules for the simulator; a kept copy from before the throttle-plate gate.
gears.txtfinal, gear1..6, circumference_m: the TY856 ratios and the effective rolling circumference (1.964 m, centred on the measured clusters), for the calculated gear.
aux-gauge.txtThe MTX-D mapping and directives.
obd-pids.txtThe channel table of OBD-II mode. Opened only with ecu_protocol=obd2.
dtc-sti-2015.tsv196 trouble-code names from the 2015 STI factory manual.
cobb-monitors.tsv, cobb-custom-monitors.tsvCOBB's 295 Subaru monitors and the custom-feature ones, for the naming tools.
ap-request.txt, sidrive-peek.txt, fuel-peek.txt, ethanol-peek.txt, ethanol-peek-wide.txtPeek target lists, ADDRESS:WIDTH per line: the Accessport's request as overheard, and the hunts for the switch bytes, the fuel pressure and the ethanol address.
tune-guide.jsonThe per-table guide, converted from the Mac's TableGuide.swift.
tune\definitions\, tune\library\, tune\can\The seed for an empty studio folder: the two stock definitions and images, the signal table. A release package has the definitions and the signal table and no images.
Elsewhere
web\index.html, web\help.htmlThe phone page; this help. Served at http://127.0.0.1:8733/.
hunt\, scan\, sniff\, peek\Capture output of the console tools: relative to where you ran them, or under the data folder when that is not the program folder. --out names another place.
release\What tools\make-release.ps1 makes: the package folder, its zip and the zip's SHA256. Not in git.
Documents\RPM Tuner Studio\definitions\, library\<calid>\, can\, brain\<calid>\model.json. See the studio folder.

Every channel

The key is what layout.txt, pages.txt, logcolumns.txt and the danger rules use; the heading is what the CSV carries. Standard parameters come from RomRaider's definition with their published conversions and are supported only if the ECU's capability bitmap says so; extended ones are COBB's RAM pointers found by overhearing the Accessport, with no bitmap; they are read only on the ECU id they were measured on (the ECU-id rule), and a reflash can move them. In OBD-II mode the channels are the rows of defs\obd-pids.txt instead.

KeyHeadingSourceNote
rpmRPM (rpm)standard
speedVehicle Speed (mph)standardWhole km/h from the ECU.
tpsThrottle Plate (%)standardHow far the ECU opened the throttle. 98 % by 30 to 40 % pedal.
accel_posAccel Pedal (%)standardHow far the driver pushed: what was asked.
boostManifold Rel Pressure (psi)standardTops out at 18.43 psi.
map, baroManifold Absolute Pressure (psi), Barometric Pressure (psi)standardBarometric is slow-tier.
coolant, intake_tempCoolant Temp (F), Intake Temp (F)standardSlow-tier.
maf, maf_vMass Airflow (g/s), Mass Airflow Voltage (V)standard
ign_timingIgnition Timing Total (degrees)standard
af_ratio1AF Sensor #1 Ratio (AFR)standardThe ECU's front sensor.
af_corr1, af_learn1AF Correction #1 (%), AF Learning #1 (%)standardShort- and long-term fuel trims; learning is slow-tier.
fine_knockFine Knock Learn (degrees)standardThe learned correction in quarter-degree steps.
inj_pw, wgdcInjector Pulse Width (ms), Wastegate Duty Cycle (%)standardWastegate duty reads 0 on every row on this car, on the break-in map and on the FLEX_Base map after it; the Accessport's own log read 0.00 for it too.
avcs_in_l, avcs_in_r, avcs_ex_l, avcs_ex_rAVCS Intake / Exhaust Left / Right (degrees)standardVariable cam timing.
tgv_l, tgv_rTGV Position Left / Right (V)standardSlow-tier.
boost_ext, map_ext, load_extBoost (COBB mmHg) (psi), MAP (COBB mmHg) (psi), Calculated Load (COBB) (g/rev)extended
dam_extDAM (COBB) (mult)extendedThe dynamic advance multiplier; 1.00 is the good result. The standard byte was retired 2026-09-27.
fbkFeedback Knock (deg)extendedReplaces the standard channel this ECU lacks. A real -2.80 degree event was seen 2026-09-22.
fkl_extFine Knock Learn (COBB) (deg)extended
fb_knock, fuel_pressFeedback Knock (degrees), Fuel Pressure (psi)standardNot on this car: its ECU supports neither, and the COBB channels stand in for them. On an ECU where the COBB channels are not read these two are asked for, with tiles and columns, where the ECU supports them.
req_torque, tgv_ratio, idle_airRequested Torque (), TGV Map Ratio (ratio), Idle Airflow Target (g/s)extended
gear_ecuGear (ECU) ()extended0 stopped, 1 to 6 moving.
fuel_psi, fuel_psi_fFuel Pressure (psi), Fuel Pressure (filtered) (psi)extendedCOBB's add-on sensor, 150 psi full scale; replaces the standard channel this ECU lacks.
sidriveSI-DRIVE ()from settingsExists once DIAG has found it; slow-tier.
af_trims_totalAF 1 Trims Total (%)computedCorrection plus learning.
calc_loadCalculated Load (g/rev)computedMAF x 60 / rpm; empty with the engine off.
inj_dutyInjector Duty Cycle (%)computedrpm x pulse width / 1200.
boost_corrBoost (MAP - Baro) (psi)computed
gearGear (calculated) ()computedrpm over speed against gears.txt; GPS speed when there is a 3D fix.
afrWideband AFR (AFR), then AFR validwidebandLambda x 14.7. Empty unless valid.
lambdaWideband Lambda (lambda)widebandThe same reading as lambda, three decimals, on exactly the rows where AFR valid is 1. On by default, with a tile. Never in the copy for the tuner.
oil_psi, oil_tempOil pressure (psi), Oil temp (F)MTX-DTemperature empty at the bottom stop (120 F or colder).
daDensity Altitude (ft)weather stationEmpty without a report under two hours old.
gps_speed, gps_acc, gps_sats, gps_fix, gps_lat, gps_lon, gps_alt, gps_head, gps_itowGPS Speed (mph), GPS Speed Accuracy (mph), GPS Satellites, GPS Fix, GPS Latitude (deg), GPS Longitude (deg), GPS Elevation (ft), GPS Heading (deg), GPS iTOW (ms)DragyOff by default; omitted from a file started with the GPS switched off. Accuracy is blank when the speed came from position. Speed, position, elevation and heading are empty on a row whose fix is more than 0.35 s old.
(last column)SSM2 reply OKflag1 on every row recorded since 2026-11-12, when a reply that is not the logger's own began to be discarded instead of logged. In an older pull, 0 marks a row whose reply was not the shape requested (an Accessport sharing the bus); such a row is left out of the copy for the tuner.
ethanolEthanol Concentration (%)COBB custom monitor, from custom_paramsThe Accessport's Ethanol Conc FINAL: RAM FF1EE4, an unsigned 16-bit word, percent = x * 100 / 65536. The address was overheard from the Accessport's own request on 2026-11-11 and is kept in settings.txt as the custom_params entry ethanol; there is nothing left to hunt for. On the slow tier. Its proof is still the tile following the Accessport when the blend changes. The address of Ethanol Conc RAW is not known. Without the entry the tile is dark and the column empty. (A float found at FF1344 on 2026-11-05 read 10.6 against the Accessport's 10.7; it was not the Accessport's value.)

The web server

Port 8733 on 127.0.0.1 unless --lan or http_lan=1. Files are served only from web\. At most eight dashboards (/stream) are open at a time; the next is answered 503.

PathMethodWhat
/, /help.htmlGETThe phone page; this help.
/streamGETServer-sent events, one JSON sample each: time, Hz, poll ms, recording, AFR and its status, GPS status, every value, min, max, the keys in danger now and held, the shift state, and replay: the file's name when the numbers are a replay's, else null. Built only while a browser is connected.
/api/metaGETThe link, replay, version, built, sig (one string of everything here that can change while the app runs), afr_name, the ECU id, init bytes, battery, addresses, wideband, GPS, oil gauge, shift rpm, the danger rules, every parameter with its support and every derived channel.
/api/stateGETrec, replaying, rows, connected, file (the recording's file name, or null), fault (why a recording failed or stopped), replay, link, ecu, status, version, and meta, which the page compares with the sig its tiles were built from and asks /api/meta again when they differ. The page reads it every second. build.ps1 asks it too, so a rebuild can never close a logger that is recording.
/api/record?on=1|0POSTStart or stop a recording; refused when not connected.
/api/resetPOSTReset min/max.

The two POSTs must come from the page itself (a GET gets 405; a foreign Origin or a cross-site fetch gets 403), must have been sent to this PC by one of its own names or by an address (any other Host gets 403, with the advice to open the page by the PC's IP address), and, from another device, are accepted only with --lan-control or http_lan_control=1 and only from a paired device: the request carries web_token as ?token= or as the rpm_dash cookie (set on the page opened with the link; Path=/, SameSite=Strict, HttpOnly, a year). Unpaired: 403 with {"error": ...}. Every other address takes GET or HEAD only (405 otherwise).

Exit codes

CodeMeaning
0Fine.
1FAILED: ... from the main catch; a spec or a tuner's copy that could not be written; the SI-DRIVE hunt found nothing; the Bluetooth scan found nothing; a --tune error.
2A number on the command line that does not read (it is said, and nothing is started); --verify or --hunt-sidrive could not run (COULD NOT RUN: the ECU did not answer, which says nothing about the decoding); bad --hunt arguments; an SSM2 tool asked of an OBD-II session; no such log; no logs to check; a mode that needs the real adapter run under --sim; Bluetooth unavailable; --tune or --export-accessport usage; a checklist that is not ready.
3--scan-map did not reach the end of its sweep (the old map.csv is kept and map-incomplete.csv written); --hunt was stopped before both passes were read.
4--verify mismatch: do not trust the log. --hunt found nothing.
5--clear-dtc not acknowledged by the ECU.
6Another RPM Tuner Log is already running.
70A fatal unhandled fault. The recording was closed on a whole row first, then the reason written to app.log (FATAL: and the stack), then the adapter released.
130A console tool was still running 8 seconds after Ctrl+C and was ended; the recording had already been closed.

Building and testing

The source is C# 5 for csc.exe alone (no string interpolation, no ?., no packages), WinForms and GDI+ only, built 32-bit because the Openport's J2534 DLL is.

.\build.ps1
powershell -NoProfile -ExecutionPolicy Bypass -File tests\run.ps1
powershell -NoProfile -ExecutionPolicy Bypass -File tests\run.ps1 Board,Server

The tools

ScriptFor
tools\gen-params.pyGenerate src\Params.g.cs and defs\params.json from defs\logger.xml.
tools\decode-sniff.py, fuel-from-sniff.py, find-sidrive.pyPull the Accessport's address list out of a sniff; score fuel-pressure scales from one; a second opinion on a SI-DRIVE hunt.
tools\analyze-peek.py, analyze-scan.py, find-value.py, plan-monitors.py, decode-monitors.pyName extended addresses by behaviour; find an address holding a known value (the ethanol hunt); plan and decode Accessport monitor groups.
tools\compare-ap.py, check-drive.py, verify-channels.pyCompare an Accessport datalog with pulls by operating point; sanity-check one pull after a drive; per-channel evidence verdicts over the logs.
tools\compare-spec.py, check-replay.py, tune-guide-from-swift.pyGrade two builds' specs; check a replay's min/max against the CSV; convert the Mac's guide.
tools\build-dev.ps1, tools\make-release.ps1Build out of tree without touching the project's exe; assemble a release package (below).

Making a release package

tools\make-release.ps1 puts together what a stranger needs: a clean folder release\RPMTunerLog-<version>\, a zip of it and the zip's SHA256. It builds nothing and closes nothing: it takes an exe that already exists (-Exe, else the project's). What goes in is a list: the exe, defs\ without backup files and without the two stock ECU images (-WithStockRoms adds them; they are Subaru's firmware and not this project's to hand on), web\, NOTICE.txt and a README-FIRST.txt that it writes. None of the owner's settings, layout, pages, columns, bests, spec, logs or captures goes in, and every shipped file is searched for the Dragy's Bluetooth address from settings.txt (and any text given with -Private); the package is refused if it is found. -WithSource adds src\, -Force replaces a package of the same version, -Out names another folder.

The version is the constant Number in src\Version.cs (1.0.0 today). The app shows it with the build date on the masthead, in the window's title, at the foot of SETUP, at the top of app.log, in every pull's note and on the phone page's data. NOTICE.txt lists the third-party material the program ships or was written from, each claim quoted from a file header or a source comment, and says that the licence of RPM Tuner Log itself has not been chosen. The script has been run for real once, against a scratch exe (24 files, 4.4 MB); no package has yet been handed to anyone.

7Troubleshooting

Symptom, cause, fix. The first place to look after any drive that went wrong is logs\app.log.

Connecting and the adapter

Red top line: Openport not found.

The adapter is not on USB, or the driver is in a "Tactrix not found" or "rejected identify" state.

Unplug the Openport's USB and plug it back in, then CONNECT.

Adapter found, pin 16 reads 2 V - USB power only.

The cable is on the Surface but not in the OBD port.

Plug into the OBD port, key on, CONNECT.

Adapter and car found, but the ECU did not answer.

Key off; or the Accessport is plugged in and holds the ECU's one session; or the SSM2 session is latched from an earlier kill.

Key on is normally enough. Unplug the Accessport. If OBD-II answers and SSM2 does not (--probe), a key cycle clears the session.

Another RPM Tuner Log is already running (exit 6).

A window is open and holds the session; a second copy would get garbled replies.

Close the first with Esc, never from Task Manager. If the message says the other copy has no window, it is a console run (press Q in its terminal) or a copy left behind when its window closed: only that one is ended from Task Manager, and the Openport unplugged and plugged back in afterwards.

A different adapter is never found.

Only the remembered j2534_dll is tried.

Remove that line from settings.txt, or run with --dll <text>.

Tiles greyed on old numbers; the status line says no reply from ECU; RECORD made no file.

Key off, or the session went away; the key coming back does not revive it.

Nothing to press: the init is re-sent every 10 s and the log records when it answered again. The tiles grey after two seconds so a frozen board never looks live, and light again on the first new sample. A recording started meanwhile says NO DATA FROM THE ECU and makes its file when the first row arrives.

The DAM, knock and fuel-pressure tiles read n/a, and the strip at the top says ECU ...: COBB channels not read.

The ECU's id is not A62A904097, the one those addresses were measured on. On another ECU they would read unrelated memory.

Expected on any other ECU: the standard channels are read instead (the ECU-id rule). Only if this ECU is known to run the same ROM, add extended_ecu_id=<its id> to settings.txt with the app closed.

The strip says COBB channels disagree with their standard twins.

Over the first 100 samples with the engine running, COBB's boost, MAP, load or fine knock learn sat further from its standard twin than its tolerance. A new map may have moved the addresses.

Do not trust DAM, knock or fuel pressure until they have been checked against the Accessport's own log (tools\compare-ap.py). The channels are still read and recorded, and the note beside each pull carries the same line.

In OBD-II mode the car does not answer at CONNECT.

Key off; or the car is not on CAN with 11-bit ids at 500 kbit/s (29-bit ids, 250 kbit/s, K-line and J1850 are not reached).

Key on. If the car is one of those, this app cannot read it. ecu_protocol=ssm2 goes back to the Subaru protocol.

Openport disconnected at HH:mm:ss; CONNECT is back.

Three device-gone errors in a row: the cable dropped.

Plug it back in and press CONNECT, then F5 to record again. The pull that was recording ended on a whole row.

The app vanished during a drive.

An uncaught fault on a background thread.

app.log has FATAL: with the stack; the recording was flushed and closed first (exit 70). A fault on the window thread is logged, named in the title bar, and the window carries on.

The app ran out of memory after being left open.

A timed adapter search loaded every J2534 driver every five seconds and the Autel ones leak (2026-10-01).

That search is gone: auto_connect=0, and only the remembered driver is loaded. Leave both auto keys at 0.

The status line says n replies not ours discarded; an older pull has rows marked 0 in SSM2 reply OK.

The Accessport, or another tool, on the Y-splitter answers on the same id with its own read.

Nothing to fix. Since 2026-11-12 such a reply is discarded and counted, never decoded, and costs no row. For a quiet bus let the Accessport log alone, or the logger alone. Rows marked 0 in an older pull were kept as they came and are left out of the copy for the tuner.

Recording and logs

Footer says NOT RECORDING in red.

The file could not be opened or written: full disk, a locked or read-only logs folder, or the adapter dropped.

Fix the disk or folder and press F5; the fault stays shown until the next recording starts.

A column I ticked is not in the file.

The column set is fixed when a recording starts.

It is in the next log.

No GPS columns in a log; the Dragy looked broken.

GPS columns are off by default, and left out of a file started with the GPS switched off.

Tick them in LOG COLUMNS and have the GPS on before F5 (the GPS button is solid cyan while fixes arrive).

A log carried a valid 14.70 AFR with no meter plugged in.

The simulated wideband used to stand in on the car (2026-09-22).

It exists only under --sim now; no meter means an empty column.

The newest log was deleted by something.

Bench and real logs once shared the pull- name (2026-09-22).

Simulator logs are sim-*.csv; nothing in the app deletes a log by itself, and LOGS > DELETE asks first and says when there is no Recycle Bin to delete into.

LOGS says a file is open in another program.

Excel holds it exclusively.

Close it there; the app itself opens logs shared.

RECORD, then stop, left no file.

No sample arrived between the two presses (the ECU was silent). The file is made by its first row.

Nothing: there was nothing to keep. Recordings from before 2026-11-12 that hold only a heading row are listed as EMPTY.

The footer says only N MB free on the logs drive.

Under 50 MB was free when RECORD was pressed.

It records all the same. Make room before the next drive.

LOGS > NOTE is greyed.

The pull was recorded before 2026-11-12 and has no note.

Nothing; newer pulls have one.

Notes vanished from logcolumns.txt.

A save before 2026-10-02 rewrote the file.

Saves keep every note now; the originals are in tests\fixtures\logcolumns.txt.

Replay

A replay will not start; REPLAY reads STOP REC TO REPLAY.

A recording is running, of this pull or any other. A replay never interrupts a recording.

Stop the recording (F5), then replay.

A box says CONNECT is still running.

A replay was asked for while the app was still connecting to the car.

Wait until it has connected or given up, then replay.

REPLAY is greyed on one log.

The file is EMPTY: a heading row and no rows.

Nothing to play.

N columns this build does not recognise, shown empty.

An older or hand-edited heading; only same-number renames are mapped, and Fuel Pressure raw (counts) is never mapped to psi.

Hover the label to see which.

Tiles show - after leaving a replay.

Cleared on purpose so a file's last values never look live.

They fill when the car answers.

The track zoomed to 64x on a touchpad flick.

Wheel momentum.

One step per notch, at most one per 150 ms, now.

Danger rules, lamps, PERF

Every alarm went silent after editing danger.txt.

Nothing in the file parsed; the four built-in rules stood in and app.log names the line.

Only >, <, if and and; one rule per line.

The strip at the top says rule file: n problems - tap.

A line could not be read, or a rule names a channel the app does not have, or a threshold its channel cannot reach (boost > 22 on a channel that stops at 18.43).

Tap to read them, correct defs\danger.txt and start the app again. A rule that can never fire is still loaded as written, but it is no alarm.

A rule with "unless" does nothing.

The whole rule is rejected rather than quietly made unconditional.

Write it with if.

--rules says 0 rows, 0 logs for a rule that should have fired.

Its channel was not in those logs.

It reads NOT CHECKED - no <key> column now; log the channel.

The lean rule fires pulling out of every junction.

This engine makes 3 psi at a quarter pedal.

Gate on the throttle plate as the shipped rule does: if tps > 95 and boost > 6.

The oil rule fires at every start, or pulling away from a stop.

At a start the revs pass 1,500 before the gauge shows pressure (its 0 psi for the first 2.8 s on 2026-09-28 has been put down to a held reading from before cranking); the gauge also reports 0.12 to 0.28 s late.

The shipped rule has and run_s > 8 and is judged over the gauge's 0.3 s lag.

The ENGINE lamp shows ?.

The ECU did not answer the lamp question twice running, or this is the simulator or a replay. It is never asked past 50 % plate, so it can lag a pull.

Nothing; a dark lamp is never used as a false all-clear.

A code is shown by number only.

Not in the 2015 STI manual's list.

Look it up; the app never guesses a name.

The car fails an emissions test after clearing codes.

Mode 04 resets every readiness monitor.

Expected until a full drive cycle; that is why the clear asks first.

CODES shows the codes and offers no clear.

A recording is running, or only permanent codes are present.

Stop the recording and press CODES again. Permanent codes are erased by the ECU itself after a clean drive cycle.

PERF says waiting for a steady standstill.

A run arms only after half a second under 1 mph.

Come to a full stop; it then reads ready - launch when you are.

A 30-second 0-60 in the bests.

A traffic-light pull-away is a standing start.

The launch gate (perf_min_throttle, 75 %) keeps those out now; delete the line in perf.txt to forget an old one.

PERF says GPS from position.

This Surface receives only the first part of each GPS frame.

Good for a readout, unproven for timing; the label is honest.

Wideband, oil gauge, GPS, weather

MTS packets on this cable - no wideband in them (the MTX-D?).

The Innovate decoder hears the oil gauge, and no LM-1 is on the cable.

Expected with the MTX-D alone; plug in the LM-1.

A wideband named on COM8 is refused: the oil gauge keeps the port.

Only an Innovate wideband may share the MTX-D's cable.

Give the other meter its own port.

DIAG's scan finds no Ecotrons, 14Point7 or CAN meter.

They stay silent until asked, and the scan never writes to an unknown port.

Name them once: --wideband ecotrons COM5, --wideband can COM9.

The gauge cable plugged in after CONNECT shows nothing.

Nothing used to look again (2026-10-12).

A remembered port that appears is picked up within ten seconds now.

AFR and oil went blank for a few seconds and came back; app.log says the port was lost and reopened.

The serial cable dropped: a USB hiccup.

Nothing: the same port is tried again every 2 seconds. Until 2026-11-12 it needed a restart.

The AFR column holds numbers far leaner than 20 on overrun.

Fuel cut: with the injectors off the meter reads air. Until 2026-11-12 anything leaner than 20.33 was written as exactly 20.33.

Expected; it is what the meter measured.

Oil temperature reads <120, the log cell is empty.

The MTX-D sends a count of 0 at or below 120 F: its bottom stop.

Nothing; it is not a reading, so nothing judges it.

The oil numbers might be wrong.

The mapping in aux-gauge.txt is the published one, not yet read against the gauge's face.

Compare the swing, not one number (the pressure never holds still): warm idle, F6, ten seconds of the gauge's lowest and highest against the tile's min and max, then again at about 2,800 rpm. Fix lo and hi in aux-gauge.txt if they differ. The two words are the right way round: that is settled from the logs.

GPS: weak fix - N sats - no speed until open sky.

The open-sky gate: fewer than 10 satellites or worse than 5 m accuracy; reflections move a parked position.

Drive into the open; the satellite tile shows meanwhile.

The Dragy is not advertising, or accepted the handshake but sent nothing.

It is off, out of range, or connected to the Dragy phone app, which holds the stream.

Close the phone app; bring the meter close (about -50 dBm is next to it, below -85 is marginal).

Another DRG70 nearby is ignored.

A saved dragy_mac is being waited for; the log names the other meter.

--dragy MAC, or DIAG > BLUETOOTH SCAN > USE AS GPS.

The Dragy keeps blinking blue for hours after the laptop let go, is not advertising, and runs its battery flat.

It is wedged: a link was dropped in its first seconds, before it answered its challenge. The usual way: the app left running with GPS on while the car sat outside, hearing the meter at -95 dBm, connecting and losing the link at once, over and over (the log shows link up then link down a second apart, every minute or two).

Nothing over Bluetooth reaches it: let the battery run flat, then charge it, and it advertises again. The app now refuses links weaker than dragy_min_rssi, holds a link it ends itself for the meter's first 4 s, stops after three dead links, and never connects to a Dragy from a Bluetooth scan. Press GPS off before walking away from the car with the app open.

GPS speed accuracy is blank.

The speed came from position, which has no receiver accuracy figure.

Expected on this Surface.

The DA tile reads -, the log cell is empty.

No internet, no station report under two hours old, no station within 60 miles, or a position outside the United States (the status line says which).

The hotspot. Nothing from the car stands in, by design.

GPS speed, position and heading blank out for a moment while the satellite count stays.

A fix more than 0.35 s old is a dropout, not a reading.

Expected across a Bluetooth stall: the cells are empty rather than holding the last fix. If the GPS tiles stay dark under open sky with the meter on, see the Dragy.

The Dragy app's DA reads about 200 ft lower.

The humidity term.

A dry-formula switch would be the answer, not a fix.

Old perf.csv has no DA columns and new runs are missing from it.

The header changed on 2026-10-03.

New runs are in perf-2.csv; the old file is never rewritten.

TUNE

No definition for <calid>; import a definition to see this ROM's tables.

No definitions\<calid>.json matches the image.

IMPORT DEFINITION with the base XML and the ROM's XML together.

An imported XML gave a definition with no tables.

A base template alone carries no addresses.

Pass the ROM's own XML with the base.

Cells show a dash; Preflight fails on Scaling.

A conversion uses syntax beyond + - * / and parentheses.

Fix the expression in the definition; those cells cannot be edited or exported.

Definition import failed: <calid> builds on <base>, and none of the files given defines <base>.

Only the calibration's own XML was selected. Its tables' shapes and scalings are in the base.

Select the base file together with it (RomRaider keeps both in one ecu_defs.xml; EcuFlash keeps each base in a file of its own). The definition in use was not changed.

Replay: Cannot replay <file>; its time goes backwards.

The time column steps back somewhere in the file: two recordings in one file, a clock that began again, or a row out of place.

Nothing to fix in the app. VIEW still shows every row; split the file at the step to replay each part.

BRAIN: MARK ON THE CAR: ON THE CAR was not moved.

The version's record (.json beside its .bin) could not be written; the line gives Windows' reason.

Close whatever has the file open and press MARK ON THE CAR again. The marker is where it was.

checksums: unknown scheme; Preflight says do not flash.

The checksum table could not be located in the opened image.

Open the stock parent first, or import a definition carrying a Checksum Fix address; --tune checksum --parent stock.bin from a console.

The bytes here match none of the definition's states.

Wrong definition, or a patch this definition does not know.

Leave it.

Preflight FAIL: Changes outside tables.

Bytes changed that no table in this definition covers, even one byte just past a table's end.

Compare with --tune diff, or revert.

Overlay on, but "Pick which log columns drive the axes".

No log column matched the axis name and units.

Choose in the axis combos.

REVERT put back values from another version.

COMPARE WITH is set; the reference is the compare version.

Set it back to Version as opened. A version of another calibration can no longer be chosen at all.

Unsaved edits: save or explicitly discard them before opening another ROM.

The ROM picker, LOAD DEMO ROM or IMPORT ROM was pressed, or the app was being closed, with edits pending.

Answer the Save / Discard / Cancel box; nothing is thrown away without it.

Export refused: choose a destination outside the saved ROM library.

The save dialog pointed into Documents\RPM Tuner Studio\library, where an export could overwrite a version's bytes under its old record.

Export anywhere else.

Preflight FAIL: Original ROM.

The imported ancestor cannot be established: a parent version is missing, the chain loops, or the original's bytes no longer match its record.

Restore the missing version from a trusted copy; do not clear the ancestry to get past the check.

BRAIN: a drive counts as unreadable; "Epoch ... has different axes; existing evidence was preserved".

That drive's ROM does not have the axes the epoch's grids were built on.

Nothing is lost. Mark the right version for those drives, or start a new epoch; rebuilding evidence is a deliberate act.

BRAIN: every open-loop fuel map reads "Waiting for break-in".

engine_miles is under brain_break_in_miles (3,000).

Expected during break-in. Keep engine_miles current and the gate lifts on its own; once break-in is over, brain_break_in_miles=0 turns it off. Edit settings.txt with the app closed.

That proposal was worked out before your last edit - recomputed.

A starting value changed since the proposal.

Wait for the rebuilt card, or pick it again.

CAN: RECORD is greyed; No adapter.

The simulator has no bus, or no Openport is plugged in.

Connect LOG, or plug the Openport in.

CAN: bus silent for 3 s.

Key off, or a bus not at 500 kbit/s.

Key on; the rate is fixed in this build.

A decoded CAN value looks wrong.

The signal table is community notes for the 2016 WRX, unverified on the STI.

Edit can\signals-va.json; it reloads at the next capture.

BRAIN: LEARN learns nothing; "No version is marked ON THE CAR".

No marker.

Pick the flashed version and MARK ON THE CAR. Pulls dated before the marker stay unassigned, so mark before driving.

BRAIN: everything is BLIND.

The epoch has no rows yet, or no closed-loop trims, wide-open wideband or knock events were in them.

Drive with the logger recording, LEARN.

BRAIN: Nothing was learned: <file> is not the file its record describes (sha256 differs); or "N NOT LEARNED".

A version's .bin in the library changed on disk after it was saved. Learning on it would build the model on axes the car never had.

Put the original .bin back in library\<calid>\ and LEARN again. Nothing was counted, so there is nothing to undo.

BRAIN: APPLY: nothing was changed.

The proposal on the screen was worked out for another ROM, or before a table, its axes or the evidence changed.

Nothing to fix: the panel now shows what this ROM gets. Apply that if it is a proposal.

Replay: a kind in the key says "no column" or "no data".

The log does not carry a channel that kind's rules need, or carries it empty (the oil gauge was not attached, the column was unticked in LOG COLUMNS).

Nothing is wrong with the replay. A kind that shows 0 was looked for and did not fire.

BRAIN: Reference ROM unavailable; NO CHANGES ARE PROPOSED.

The version the drives were made on is not in the library, will not read, or changed on disk after it was saved (its hash no longer matches its record). The status line names the file.

Put that .bin back in library\<calid>\, or mark the version that is in the car ON THE CAR and LEARN: a new epoch starts on it.

BRAIN: Needs more drives; Edited since the last drive; Richer than this table's cell; Trims are taking fuel out; Knock seen, not a pattern.

Thin evidence (20 rows from 2 drives per cell); a cell changed since the drives; SAFE never leans and never scales the MAF down; one knock occurrence is not two events from two drives.

More drives, then LEARN; save, flash, mark, drive, learn; the rich reading and the negative trim are a tuner's call. For the knock: nothing to do, and if it does not come back that is the good result.

Preflight FAIL: Version file.

The opened version's file no longer matches the hash in its record: it was changed on disk after it was saved.

Open a version that still matches its record, or import the image again.

CAN: overflows is above 0.

The adapter's buffer overflowed during the capture: frames were lost.

The capture has gaps. Record again; with the logger disconnected the capture has the adapter to itself.

BRAIN: hundreds of fills, or knock events at light pedal.

brain_fill_step under the ECU's 3.1 % zone toggles; brain_knock_min_pedal lowered.

Keep the defaults (5 and 30).

F1 says the help file is missing.

web\help.html is not beside the exe.

Rebuild from the project, or copy the web\ folder.

8Proven on the car, and not yet

Proven on the STIWhen
SSM2 over CAN: the init and the reads. 16.1 Hz with 26 addresses and 9.1 Hz with the 35-parameter set at first; 23 to 25 rows a second with 64 to 67 addresses on the full cycle in the pulls of 2026-09-24 to 2026-11-112026-09-21 on
Every standard channel against the Accessport's own log at matched operating points (timing within 1.5 degrees median, cams within 1.2, load within 0.02 g/rev, AFR within 0.3)2026-09-21
Feedback Knock at FF8514 (a real -1.4 then -2.80 degree event), fine knock learn (COBB) at FF85B0, DAM (COBB) at FF6BD1 (always 1.00)2026-09-21 to 24
Fuel pressure in psi (37.6 to 40.1 at idle against the Accessport's 38)2026-09-22
Gear (ECU) at FF6B5E: 96 % agreement with the calculated gear, ratios within 0.5 %2026-09-22
SI-DRIVE at FF5E60: I 3, S 1, S# 2, confirmed on the button2026-09-22
The LM-1 wideband end to end on COM8: 14.509 AFR against the meter's 14.5; 5,855 valid rows in one pull of 2026-11-112026-09-23, 2026-11-11
The MTX-D streaming (15 psi idle, 62 psi at 2,770 rpm, 199 to 208 F)2026-09-27
The Dragy link and head-only decoding; position speed within 1.13 mph of the ECU's on 90 % of rows2026-09-27, 28
The adapter let-go on a dropped cable2026-10-01
Density altitude from KORL and KISM over the hotspot2026-10-11, 12
The ECU-silence re-sync (the ECU went quiet twice in one drive)2026-10-12
A pull recorded with its columns in alphabetical order; the copy for the tuner made from it and sent2026-11-11

Everything in the table above was seen with the program as it stood on that date. Everything changed on 2026-11-12 and 2026-11-13 is in the table below until a drive has shown it.

Not yet, and what would prove itHow
GPS speed against the cluster; PERF on a real launchA drive under open sky; one clean standstill launch (break-in ended on 2026-11-11).
The MTX-D's spans against the gauge's face (which word is which is settled)Warm idle and about 2,800 rpm: F6, then the gauge's lowest and highest over ten seconds against the oil pressure tile's min and max. The temperature read straight off.
Every wideband but the LM-1; the DIAG wideband scan on a real port; the whole USB-CAN pathA real meter on a real port.
Plugging the Openport back in and reconnecting after a dropThe next drop.
The check-engine lamp question against the real ECU (its latency and log cost)Any connected session; app.log records each state change with the raw bytes.
Replay with the car connected (the session picked up cleanly on exit)EXIT REPLAY while connected.
The CAN capture's second raw channel beside the logger'sTUNE > CAN > RECORD with the logger connected, engine off.
The screen video of a LISTEN recordingRECORD on the LISTEN screen at the car, then play the .mp4 from logs\. Made and played on the bench: Windows' encoder on made-up frames, the real window's picture on a test window, and a recording cut off part way.
LISTEN: the screen at the car, and engine speed from id 140 above idleAccessport plugged in on the Y cable, engine idling: press LISTEN and compare the figure with the Accessport's. Then rev it and compare again. The decode itself is proven on the car's own captures at idle only.
Ethanol FINAL at FF1EE4 following the AccessportThe next fill at a different blend: the tile and the Accessport's own reading move together. The address is known and there is nothing to hunt for; the RAW channel's address is not known.
The copy for the tuner, loaded in AccesstunerCopies were sent on 2026-11-11 and the tuner's answer is awaited; the format stays as it is until then. Keep a current Accessport datalog in logs\accessport\, so a copy names today's map in its AP Info.
Ethanol riding the slow tierAny connected session: the ethanol tile still reads and the Hz in the status line does not fall.
Everything the brain saysA pull it learned, compared with the Accessport's reading of the same drive; and nothing may be flashed before a proven bench recovery.
The title screen's hand-over, watched at a real launchJust watch one.
Changed on 2026-11-12 and 2026-11-13: bench-tested only
Only the logger's own reply decoded: replies that are not ours discarded and counted, the 65-address cycle split 63 + 2A drive with the Accessport logging on the Y-splitter: the count shows on the status line and no row is lost.
The board lighting again after the ECU has been silentKey off and on with the app connected.
The pull's file made at its first row, every row flushed, forced to disk every 2 s; the note beside it; the lambda columnAny recorded drive: the note is there and the lambda column follows AFR valid.
The wideband and oil gauge: no AFR ceiling, the half-second rule, a dropped serial port reopened, the stricter check of each Innovate packetA drive with the LM-1. Overrun rows read leaner than 20.33 and the tile keeps reading; if it shows no reading and the status says a packet was dropped, the packet check is wrong for this unit.
GPS: a fix's age (0.35 s), the stricter frame checks, the handshake-then-silence count, the hold on a stopwatch, the address saved only after dataA drive with the meter under open sky: the GPS tiles light and stay lit.
BLUETOOTH SCAN and --scan-ble leaving a Dragy aloneA scan with the meter on: it is listed and not connected to, and USE AS GPS works.
PERF timed on the GPS clock, armed by a steady standstill, with the gap rulesOne clean launch with the Dragy connected.
The alarm strip, alarm_sound, the check of the rule file, boost_ext > 22A drive: a rule that fires is named on the strip whatever page is showing.
Keys acting once; closing asking while recording; CODES off the window's thread; the clear not offered mid-recording; tiles blanking when their channel stopsAt the car.
The live battery voltage, read every 5 sAny connected session: the figure on the status line follows the charging voltage.
The ECU-id rule and the check of the COBB channels against their standard twinsA second ECU, or the bench ECU with another ROM. On this car the COBB channels are still read and the twin check stays silent.
Weather: all six stations asked, weather_station_at, the station's elevation in the statusA drive with the hotspot.
LOGS: the chosen traces, NOTE, the EMPTY and SHORT marks, DELETE where there is no Recycle Bin, FOR TUNER's box; no replay while recordingOn the Surface, with real pulls.
SETUP by touch; display units; car_name; the phone page's three keys; the eight-dashboard limit and the Host ruleOn the Surface, and with a phone on the hotspot.
OBD-II mode (ecu_protocol=obd2)Any CAN car. On the STI: connect with it set and compare a few channels with the SSM2 figures.
The data folder when the program folder cannot be writtenInstall it under Program Files and start it.
The crash order (recording first), Ctrl+C in a console mode, app.log held open and set aside while running, the exit codes 2 and 3Seen in the tests only.
build.ps1's closing rules, the three car scripts, a release package on another PCRun them for real.
TUNE: proposals that only richen, knock counted by onset, the two-drive bar, the evidence filters, Save / Discard / Cancel at close, the stricter preflight, CAN overflowsSynthetic drives and the owner's old pulls only.

9Glossary

Accessport (AP)
COBB's handheld flash and logging device. It holds the ECU's one diagnostic session while connected, so it and the app take turns; its logging requests, overheard on the bus, are where the extended addresses came from. Both tools share the OBD port through a Y-splitter. Its datalogs are read by LOGS and replay, and LOGS > FOR TUNER writes a pull in their layout.
AFR
Air/fuel ratio by mass. 14.7 is stoichiometric for gasoline; lower is rich, higher is lean. The app logs every meter on the gasoline scale (lambda x 14.7).
AFR valid
The 1/0 column beside the wideband AFR: 1 when the meter said the reading was good and it was under half a second old. The lambda column has a value on exactly those rows.
Alarm strip, DANGER, EARLIER
The part of the strip at the very top of the window that names the danger rule firing now (DANGER, flashing) and the ones held since the last reset (EARLIER), on every page and in TUNE, with amber notices that open when tapped. alarm_sound=1 adds a beep.
AF correction, AF learning, trims total
The ECU's short-term closed-loop fuel trim from the front sensor, its long-term learned trim by airflow range, and their sum, all in percent of pulse width.
Alert
The built-in red tint on the knock and DAM tiles below -0.5 degrees and 0.95, independent of the danger rules.
Audit
A brain verdict that checks a table the logs cannot teach; passed or failed.
Autel leak
Eleven Autel MaxiFlash J2534 drivers are registered on this PC and each leaks about 2 MB per open; the reason the adapter search runs once per CONNECT and remembers its driver.
AVCS
Active Valve Control System, Subaru's variable cam timing: intake and exhaust, left and right, in degrees.
Axis, breakpoint
The values along a table's edge (rpm, load...), stored in the ROM or fixed by the definition; a sample lands in the cell of the nearest breakpoint. The editor never writes axes.
Bench
Built and proven against tests, documents or the simulator, never yet against the real thing. The badge on this page.
BLE, GATT
Bluetooth Low Energy and its attribute model: a service (the Dragy's FD00) holds characteristics (FD01 to FD04) that are read, written or subscribed to for notifications.
Blind
A brain verdict: the logs cannot see this table; the text says what would.
Board, slot, hero tiles
The scrolling area of MAIN: the 4 x 2 big board (the first eight slots; the hero tiles are rpm, boost and the AFRs) and the grid beneath.
Boost, MAP, baro
Manifold pressure relative to atmosphere; manifold absolute pressure; barometric pressure. Boost (MAP - baro) is computed; the COBB channels carry the same in mmHg.
Bottom stop
A count of 0 on a gauge channel whose range does not start at zero: the gauge saying "at or below", shown as <120 and never logged or judged.
Break-in
The engine's first miles, with no hard pulls. The rule was that nothing is written to the ECU before 3,000 engine miles and a proven bench recovery; the brain reads engine_miles against brain_break_in_miles, and a gate of 0 says break-in is over. The car's engine came off break-in on 2026-11-11. The bench recovery is still to be proven, so nothing is written to the ECU yet.
Bump
What a tile drag does: the dragged tile takes the slot and everything between shifts by one, instead of a swap that flings a tile across the board.
Bus, CAN, frame, id
The car's 500 kbit/s Controller Area Network; one message on it is a frame of up to 8 bytes with an 11-bit (three hex digits) or 29-bit id saying what it is. The app sends on 7E0 and listens on 7E8.
Bus-off
The state a CAN node falls into when its frames are never acknowledged; why the USB-CAN path opens normally once it has found the rate.
Calibration ID (calid)
The ASCII identifier at a known address in a ROM (AE5T110V, DEMO000001, A62A904097 for this car's ECU); definitions and library folders are keyed by it.
Capability bitmap
Bits in the SSM2 init reply saying which standard parameters this ECU implements; unsupported ones read n/a. Over CAN the reply carries one extra byte before the ECU id.
Channel, key, column
One logged quantity: its short key (rpm) in the files and rules, its heading (RPM (rpm)) in the CSV.
Cheat sheet
The short static help sheet per mode in the help pane; this page is the long one.
Checksum
The Subaru 32-bit check word per range of the ROM, in a table the editor finds and verifies; FIX rewrites them after an edit.
COBB
The tuning vendor: the Accessport, the monitor list, the custom features, and the RAM addresses (FFxxxx) the extended channels read.
Co-pilot
The ROM editor's proposal maker from one pull: MAF scaling from trims, richer open-loop fuel where the wideband read lean, timing pulls where it knocked. Fuel only ever goes up. The brain rebuilt the same three on every pull of an epoch.
CRAZY mode
The brain's bold direction (lean toward target, add timing, raise boost), designed for phase 4 and not built; SAFE is the only direction today.
DAM
The dynamic advance multiplier, the ECU's knock-learned timing multiplier from 0 to 1. A DAM that stays at 1.00 is the good result; it has never moved in any log. Read from COBB's address since 2026-09-27.
Density altitude (DA)
The height in the standard atmosphere whose air is as thin as the air here, now, folding pressure, temperature and humidity into one number; higher means less power. From the nearest NWS weather station only.
Danger rule, zone, condition
One line of defs\danger.txt: a key, > or <, a threshold, with optional if ... and ... conditions that must all hold. In a zone the tile flashes red and the alarm strip names the rule. The file is checked when it is loaded: a rule that can never fire is said.
Data folder, program folder
The program folder is the exe's own: defs\ and web\ are read from it. The data folder is where everything the app writes goes. They are the same folder unless the program folder cannot be written; then the data folder is %LOCALAPPDATA%\RPM Tuner Log.
Definition
Everything known about where tables live in one calibration and how their bytes convert to real units; the editor's own JSON, imported from RomRaider or EcuFlash XML.
Derived (computed) channel
A value worked out from others: trims total, calculated load, injector duty, boost (MAP - baro), calculated gear.
Dirty, unsaved edits
The working ROM differs from the version as opened. Opening another ROM or closing the app then asks Save / Discard / Cancel.
Display units
units=metric: the tiles and gauges show bar, kPa, deg C, km/h and metres. The logs, the rules, PERF and the phone page stay in psi, F, mph and ft.
Doppler speed, speed from position
The GPS receiver's own ground speed from a whole frame, versus speed worked out from the change in position over 0.3 s, which is what this Surface gets.
Dragy (DRG70)
A Bluetooth LE GPS performance meter with a u-blox receiver inside, read at 10 Hz. Its DRGOBD dongle is not a meter.
Drive-by-wire, throttle plate vs accel pedal
The ECU decides the plate angle from the pedal: the plate is at 98 % by 30 to 40 % pedal. The pedal says what was asked; gate rules on the plate.
DTC, P-code, MIL, CEL
A diagnostic trouble code (five characters: P powertrain, B body, C chassis, U network); stored codes light the malfunction indicator (the check-engine light), pending ones were seen once, permanent ones no tool can clear.
ECU id, the ECU-id rule
What the ECU calls itself in its init reply (A62A904097 on this car). The COBB channels, SI-DRIVE and custom_params are read only on that id or one listed in extended_ecu_id.
EcuFlash, RomRaider, logger.xml
The open-source Subaru tools whose definitions the parameters and the ROM editor's importer come from; the editor reads both XML dialects.
EMPTY, SHORT
Marks in the LOGS list: a recording with a heading row and no rows, and one of one or two rows. Recordings made since 2026-11-12 cannot be empty: the file is made by its first row.
Epoch
Everything the brain learned while one ROM version was marked ON THE CAR.
Evidence
The rows, drives by name and intake bands a brain verdict rests on.
Extended (E-code) parameter
A COBB RAM pointer unique to this ECU, in no public definition, with no capability bit, found by overhearing the Accessport and confirmed by behaviour. Read only on the ECU id it was measured on. A reflash can move it.
Feedback knock
The timing the ECU pulls in the moment on a knock event, in negative degrees, ramping back to zero. Read from FF8514.
Fill
In the brain, a step of 5 % or more in AF Learning inside a drive: a refuel or a learned-trim reset.
Fine knock learn
The per-cell learned timing correction; the standard byte in quarter-degree steps and COBB's float at FF85B0 are the same quantity.
Flash
Writing a ROM into the ECU, which this app cannot do. Also the 4 Hz red inversion of a tile in a danger zone.
Free air, free-air calibration
A sensor reading open air (an absurd lambda, reported as a status, never a number); the Innovate procedure that zeroes a sensor, which a stray c byte would trigger, so the scan never writes.
FTDI cable, COM port, 8N1
The USB-to-serial cable the LM-1 and MTX-D share, which Windows sees as one port (COM8); 8 data bits, no parity, one stop bit.
Gate (launch gate)
PERF's rule that the throttle plate must reach 75 % within 1.5 s of moving for a run to count.
Gear (calculated), Gear (ECU), N
rpm over speed matched to the TY856 ratios in gears.txt, versus the ECU's own byte at FF6B5E; N means no ratio matched.
Guide
The per-table text in the help pane: what it is, how the ECU uses it, how to tune it, what to watch, warnings, related tables. From the Mac's TableGuide.swift.
Hash (ingested)
The sha256 of a pull, so the brain learns each file once.
Hz, poll, row, sample, cycle
One read request to the ECU and the sample made from its reply is a poll; a row is that sample written as one CSV line; Hz is the rows per second actually achieved.
IAT band
The 20 F intake-temperature buckets the brain sorts evidence into.
Init
The SSM2 0xAA request whose reply carries the ECU id and the capability bitmap; re-sent every 10 s while the ECU is silent.
ISO 15765 (ISO-TP), flow control
The transport that splits a diagnostic message longer than one 8-byte frame into a first frame and consecutive frames with flow control. The logger's channel uses it; the sniffer and CAN capture avoid it so the adapter never answers for the car.
iTOW
GPS time of week in milliseconds, the receiver's own clock, logged in its own column.
J2534 (PassThru), Openport
The standard API a vendor's driver DLL exports so any program can drive any registered adapter; the Tactrix Openport 2.0 is the adapter between the Surface's USB and the car's OBD port. 32-bit.
Knock event (onset)
In the co-pilot and the brain: the row feedback knock first reaches -0.35 degrees or worse, or steps further negative, at 30 %+ pedal. The rows while the correction decays are the same event and are not counted again.
Lambda
AFR divided by the fuel's stoichiometric AFR, so 1.000 is stoichiometric for any fuel; the app's common currency, and since 2026-11-12 a column of its own, Wideband Lambda (lambda).
Lag (gauge lag)
The 0.3 s over which an oil-gauge rule's conditions must have held, because the MTX-D reports 0.12 to 0.28 s late.
Let-go (adapter lost)
Closing and releasing the adapter after three device-gone errors in a row so CONNECT can come back.
Library, version, parent
The per-calibration folder of saved .bin + .json pairs; every save is a new version with the one it was edited from as its parent.
Listen-only
A CAN channel with a pass-all filter and no transmit path; here guaranteed by the channel object having no write method. A capture that shares the logger's adapter transmits nothing either, but the logger's own polling goes on over the same cable. The LISTEN section is this and nothing else: engine speed from a frame the car sends by itself, with the ECU not asked for anything.
LM-1, MTS, Innovate chain
Innovate's original wideband and its 16-byte packet; the Modular Tuning System protocol every later Innovate box speaks, daisy-chained with one sub-packet per device.
LOG COLUMNS, tick
The window of toggles that decides which channels the next recording holds and what MAIN shows; logcolumns.txt.
MAF, MAF voltage, MAF scaling
Mass airflow in g/s; the sensor's raw volts; the ROM table that turns one into the other, which the co-pilot and the brain correct from closed-loop trims.
Marker, ON THE CAR
The flag on one library version saying which ROM the car is running, from when; the brain's epoch key.
Masthead, strip, header, footer
The brand row with the page tabs; the 32 px LOG | TUNE bar at the very top; the top block (masthead, tach, status line); the button row at the bottom.
Min/max
The extremes since the last reset, on every tile's bottom edge; reset by F6 and by the start of a recording.
Mode 04
The OBD-II clear-codes command: the one write this app sends, behind CODES and --clear-dtc, with a confirmation.
MTX-D, aux word
Innovate's digital oil pressure and temperature gauge, an MTS box whose two 10-bit aux inputs carry the readings; aux-gauge.txt maps the counts.
NAV-PVT, UBX, frame head
u-blox's position-velocity-time message in its binary protocol; the first 54 bytes (four notifications) that Windows reliably receives.
Note (the pull's note)
<pull>.note.txt beside each pull: what the CSV cannot say about itself. The build, the ECU id, the addresses and formulas behind custom channels, the gauges attached, the weather station, and the map as the newest Accessport datalog names it.
NWS, api.weather.gov, station pressure
The US National Weather Service and its free observation API; the pressure at the station's elevation, which DA needs, converted from the altimeter setting the API gives.
OBD-II mode 01, PID
Legislated live data; a PID is one standardised quantity with a fixed formula, used by --verify, the lamp question, and OBD-II mode.
OBD-II mode
ecu_protocol=obd2: the car is read through mode 01 PIDs listed in defs\obd-pids.txt in place of Subaru SSM2. For other CAN cars; bench-tested only.
Open-sky fix
The gate for trusting a derived GPS speed: the receiver calls the fix good, accuracy within 5 m, at least 10 satellites.
Overlay
A pull laid over a table in the ROM editor, each sample counted in the cell its axes point at.
Page, group, gauge, style
Your own dashboard pages (pages.txt): a stack of named groups of gauges, each a number, bar or round dial, small or big, in a colour.
Peak hold, PEAK
A tile stays marked (red tag, red min/max) after its value has been in a danger zone, until F6 or a new recording.
Peek, sniff, scan, hunt
The four console captures: read named addresses beside references; record every CAN frame without transmitting; sweep memory for implemented bytes; search for the SI-DRIVE byte with cued mode changes.
PERF, rollout, trap speed, rolling run
The timing page; the one-foot head start magazines subtract (off by default); the speed at the 1/8 or 1/4 mile; a 60-130 or 40-100 timed from the lower speed.
Pin 16
The OBD connector's battery pin; the adapter reads it as the cheapest proof a car is attached. Under about 6 V the cable is on USB power only.
Playhead, scrub track, flag, nudge
The replay's current position; the timeline you drag; a mark where a danger rule fired in the file, in the colour of what the rule is about (knock red, fuel orange, air temp green, and so on; the key on the replay bar names them and can hide each); an arrow-key step sized to the zoom.
Poll tier (slow tier), carry-forward
The channels in defs\poll-tiers.txt asked once every poll_slow_every cycles because physics says they cannot move quickly, their last reading carried forward between refreshes.
Preflight, export
The pre-flash checklist run on the working ROM; the export that writes it to a .bin after a pass, the only way a ROM leaves the app.
Proposal
A suggested set of cell changes with its evidence; nothing applied until APPLY, which makes an undoable edit.
Pull
One recorded log file, pull-...csv, with its note beside it: originally a full-throttle run, in practice any recording from F5 to F5.
Readiness monitors, freeze frame
The ECU's self-tests, reset by a clear so an emissions test fails until a full drive cycle; the snapshot the ECU stores with a code, erased by a clear.
Reference, compare
The table the editor compares against (amber marks, REVERT, the inspector's "was"): the version as opened, or the COMPARE WITH version of the same calibration.
Original (imported ancestor)
The version at the root of a ROM's parent chain, the one that was imported; the pre-flash checklist compares against it however many saves lie between, and the checksum table is located in it.
3D MAP
The surface view of a two-axis table beside TABLE: drag rotates, the wheel zooms, a click selects a cell for the same edit bar and Undo, an amber wireframe shows the reference.
Replay
Playing a recorded CSV through the dashboard's own gauges; stops the live poll; never records, and is refused while a recording is running.
SSM2 reply OK, a reply that is not ours
The CSV's last column. Since 2026-11-12 it is 1 on every row: a reply on the ECU's id that is not the answer to the logger's own request (an Accessport sharing the bus) is discarded and counted, never decoded. In an older pull a 0 marks a row whose odd reply was kept.
Re-sync
Re-sending the SSM2 init every 10 s while the ECU is silent.
ROM, stock image, demo ROM
The ECU's calibration image as bytes (1,048,576 for the 2016 STI); the factory calibrations shipped from the RomRaider repository; the synthetic 64 KiB image DEMO000001 for trying the editor.
run_s
Seconds since the engine started, from rpm, for rules that must not judge a start.
SAFE direction
The brain's only direction today: pull timing, richen, scale the MAF up where trims add fuel. It never leans, never scales the MAF down and never adds timing.
SafeFile
The write-to-a-temporary-then-swap that keeps every small config file from being left empty by a crash.
Scaling, storage type, fine and coarse step
The expression turning stored bytes into real units and back; how a cell is stored (uint8 to int32 or float, big-endian); the two increments a definition gives a table.
Section
LOG or TUNE, the two top-level modes on the strip. (MAIN's three labelled bands are also called sections.)
SETUP
The settings screen under the ... menu: CAR, SENSORS, APP, FILES. It opens by itself on a first start.
Seed
The definitions, stock images and signal table in defs\tune, copied into an empty studio folder once.
SerialTap
One COM port opened once and shared by the wideband and oil-gauge decoders when both are on the same cable.
SI-DRIVE
Subaru Intelligent Drive, the I / S / S# mode button; in no definition, found by DIAG's hunt at FF5E60 reading 3, 1, 2.
Signal table, VA chassis
The editable list of known CAN ids, bytes, scales and units the capture decodes with, for the 2015 to 2021 WRX/STI platform.
Simulator
--sim: a fake ECU running a scripted third-gear pull, with a fake wideband, oil gauge and GPS; writes sim-* files, never the car's.
slcan, USB-CAN adapter
The Lawicel ASCII-over-serial CAN protocol and the cheap adapters that speak it (CANable, USBtin), for a CAN wideband, never the car's bus.
Spec
The generated JSON behaviour contract (--spec) compared between the Windows and Mac builds. Version 2 (2026-11-11) added the brain's caps.
SSM2
Subaru Select Monitor 2, the ECU's own read-by-address protocol, carried over CAN here; the app implements init and read only.
Stale
No sample for two seconds: the tiles grey and the status line says the readings are frozen. A wideband or oil reading older than half a second, or a GPS fix older than 0.35 s, is stale too and is not logged as live.
Standard parameter
One in RomRaider's logger definition with a published conversion and a capability bit, common to Subaru ECUs.
Studio folder
Documents\RPM Tuner Studio, the TUNE section's data, shared with the Mac.
Switch table, switch state
A table that is one of several named byte patterns (trouble-code enables, mode flags, patches); which pattern is present, or "unknown".
Symptom
A brain verdict that points at a table without a number.
TGV, TGV map ratio
The tumble generator valves in the intake runners, read as sensor volts; the 0 to 1 blend between the closed and open tables.
Tile
One readout card: caption, value, units, bar, min/max, PEAK.
Title screen (intro)
The ten-second RHD Designs sequence at launch that hands over to the dashboard built underneath it. intro=0 or --no-intro skips it.
Twin check
The comparison, at the start of each connection, of COBB's boost, MAP, load and fine knock learn with their standard twins. A disagreement means a new map may have moved the COBB addresses.
TY856
The STI's six-speed gearbox; its 2008-on ratios are in gears.txt (the 2004 to 07 set put 4th and 5th on top of each other).
UDS, seed/key, tester, NRC
Unified Diagnostic Services, the service ids a flash uses; service 0x27's challenge-response that opens the ECU for writing; whatever talks to the ECU on 7E0; the code after 0x7F saying why a request was refused.
Verdict
The brain's one statement per table: proposal, symptom, audit or blind.
Verify
--verify or DIAG > VERIFY VS OBD2: seven quantities read by legislated OBD-II and by SSM2 side by side, proving the reply alignment.
Wideband
An oxygen sensor and controller that reads the actual air/fuel ratio across the whole range, unlike the ECU's switching narrowband; here any meter with a PC output.
Whole row
The guarantee that a crash still flushes and closes the recording on a complete line.
WOT
Wide-open throttle, which the brain takes as 80 % pedal or more.
Y-splitter
The OBD-II cable that lets the Accessport and the Openport share the port. Let the Accessport connect first.
Zoom (replay)
Showing a 1/2 to 1/64 slice of the log on the track, following the playhead.

10Index

Every heading, glossary term, settings key, command-line flag, channel, key and file on this page, alphabetically. Type in the search box on the left to narrow it.

Top