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
- F1 in either section of the app.
- The FULL HELP button on the cheat-sheet pane (Ctrl+/ or the ? on the strip at the top).
- The Help link on the phone page at
http://127.0.0.1:8733/. - Double-click
web\help.htmlin the app's folder. Nothing on this page needs the app to be running.
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.
- It reads. It cannot flash an ECU and has no command that writes to the ECU's memory. The one thing it can change on the car is clearing trouble codes (CODES), when you ask and confirm.
- It was written for one car and has been proven on that car only. Your car is not this car says what any other car gets.
- It is not tuning advice. The danger thresholds are starting values, and everything the TUNE section proposes is an untested starting point to take to a tuner.
- It has no installer and no updater. Its terms are in
LICENSE.txt(licence, disclosure and credits);NOTICE.txtlists the material in the package that belongs to others.
What you need
| Thing | What |
|---|---|
| A PC | Windows 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 adapter | A 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 car | A CAN-bus car, key on. See your car is not this car. |
| Optional: a wideband | On 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 gauge | The 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 meter | A Dragy DRG70 over Bluetooth LE ON THE CAR, for GPS speed and timed runs. It is the only GPS source. |
| Optional: internet | For 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
- The ten-second title screen runs. x or Esc on it cancels the launch; it can be switched off afterwards.
- With no
settings.txtyet, 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. - 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.
- Press RECORD PULL (or F5) to start a log and again to stop. LOGS lists what you recorded.
- 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
| Car | What works |
|---|---|
A 2016 WRX STI whose ECU id is A62A904097 | Everything 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/s | OBD-II mode: the standard live data the car supports. Bench-tested only. |
| A car on CAN with 29-bit ids, or at 250 kbit/s | Not 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:
- those channels are not asked for, their tiles are greyed, and a pull has no columns for them;
- the standard Feedback Knock and Fuel Pressure parameters, which this car's ECU lacks and the COBB ones stand in for, go back into the request and get tiles and columns where the ECU supports them;
- the log and the status line say so once, the strip at the top of the window carries an amber notice until it is tapped, and the pull's note records extended channels: NOT read.
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.
- What it is. At CONNECT the app asks the car which mode 01 PIDs it supports, tries each PID in
defs\obd-pids.txtonce on its own, and from then on polls the ones that answered, up to six PIDs a request. Everything after that is the same code as on the Subaru: tiles, pages, danger rules, the recorder, the pull's note, replay, the phone page. It sends only mode 01 requests and, once at connect, mode 09 PID 02 (the VIN). - The channels. 45 in the shipped table. Fifteen are the same quantity in the same units as an SSM2 channel and carry that channel's key and heading (rpm, vehicle speed, MAP, MAF, throttle plate, accelerator pedal, ignition timing, AF correction and learning, the front AF sensor, coolant, intake temperature, barometric pressure, fuel pressure, and ethanol from PID 52), so the tachometer, the rules and the log columns are the ones the Subaru path uses. The rest are OBD-II's own: engine load, commanded lambda, fuel rail pressure, the O2 sensors, second-bank trims, torque, fuel rate, oil and catalyst temperature, module voltage, fuel level and others. Boost (MAP - baro), calculated load, trims total and the calculated gear are still worked out.
- What is missing compared with SSM2, on any car: DAM, feedback knock and fine knock learn, COBB boost, wastegate duty, injector pulse width and duty, AVCS, TGV, MAF voltage, COBB fuel pressure, SI-DRIVE, the ECU's own gear, requested torque, and ethanol unless the car answers PID 52. It is also slower: six PIDs a request where SSM2 carries 64 addresses.
defs\obd-pids.txtis the channel table, one row per channel:pid | key | name | units | bytes | formula | tier | lo | hi. pid is in hex; key is the channel's key for tiles, rules andlogcolumns.txt; name and units make the tile's caption and the column heading; bytes is how many data bytes the car sends for the PID (4 ABmeans four are sent and the channel is the first two); formula is written inx, the bytes as one unsigned number, and converts J1979's kPa, C and km/h into the app's psi, F and mph; tier isslowfor the slow tier; lo and hi are the span of a bar or dial. Two rows with the same key are alternatives, and the first one the car supports is read. A row that reuses a key under another name or unit is left out andapp.logsays so. A PID whose bytes are a signed number cannot be written yet.- To try it on the STI: close the app; add the line
ecu_protocol=obd2tosettings.txt(or choose it in SETUP, then restart); unplug the Accessport; key on; CONNECT.logs\app.loglists the PIDs the car says it supports and the channels being read. Remove the line, or setecu_protocol=ssm2, to go back. - Limits. CAN with 11-bit ids at 500 kbit/s only.
gears.txtanddanger.txthold the STI's numbers until you change them. No copy for the tuner is made from an OBD-II pull, since the copy is the Accessport's layout: LOGS > FOR TUNER is off for such a pull and reads OBD-II: NO TUNER COPY. DIAG's FIND SI-DRIVE, VERIFY VS OBD2 and HUNT A VALUE are disabled, with a line saying they need Subaru's SSM2 protocol, and the console tools that read SSM2 addresses (--verify,--peek,--hunt,--hunt-sidrive, the scans) stop with a message and exit code 2. - How a session shows it. The status line begins OBD-II mode 01 - where a Subaru session begins SSM2 -; the strip at the top carries an amber generic OBD-II: N channels; a reply passed over because it was not the answer to the request in hand counts in the status line's not ours figure; and the pull's note says protocol: generic OBD-II and lists each channel as OBD-II channel ... mode 01 PID xx. CODES and the ENGINE lamp use standard OBD-II requests, so they are the same in either mode.
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
| What | Whose it is | Where to change it |
|---|---|---|
| Danger thresholds | Starting 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 tyre | The 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 names | 196 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 mapping | The 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 point | 10 psi; 6,500 rpm. | oil_light_psi in settings.txt; SETUP > CAR > Shift point, or the footer. |
| The name on the masthead | WRX STI. | SETUP > CAR > Car name (car_name). |
| Units on the tiles | psi, F, mph, ft. | SETUP > CAR > Display units (units=metric). The logs and the rules stay in the logged units. |
| The slow tier | Which channels are asked for only every fourth cycle. | defs\poll-tiers.txt. |
| The copy for the tuner; the TUNE section's definitions and guide | The 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. |
| Weather | The 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
- 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.
- 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.
- GPS. With a meter already remembered (
dragy_macinsettings.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. - 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. - 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.
- 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
| Where | What it is |
|---|---|
| The menu bar at the very top | File, 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 it | LOG | 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. |
| Header | The 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. |
| Board | MAIN: 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. |
| Footer | RECORD PULL / F5 (or CONNECT), CODES, LOGS, DIAG, GPS, the shift light - SHIFT n +, and the two-line record information. |
| Help pane | Docks 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
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.
The menu bar
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.
| Menu | What is in it |
|---|---|
| File | Logs... (F8), Open Data Folder, Open Studio Folder, Setup..., Exit (Alt+F4). |
| Edit | The ROM editor's: Undo, Redo, Copy Selection, Paste Values, Select All (Ctrl+Z, Ctrl+Y, Ctrl+C, Ctrl+V, Ctrl+A; TUNE only). |
| View | Full Screen (F11), Cheat Sheet (Ctrl+/), Page (MAIN, PERF and your pages, 1 to 9), Table + Graph (Ctrl+G), Pop Out Graph / Dock Graph. |
| Logger | Record 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. |
| Section | Log, 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). |
| Tune | Import 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. |
| Cells | Increase / 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. |
| Window | Minimize, Full Screen, and every other window of the app that is open (a table's own window, the floating graph, LOGS) to bring forward. |
| Help | RPM 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 folder | What it holds |
|---|---|
settings.txt | Ports, the wideband kind, the remembered adapter driver, the shift rpm, the section and page, the brain's caps. Every key. |
logcolumns.txt | Which channels a recording holds (ticks from LOGS > LOG COLUMNS). |
layout.txt, pages.txt | The MAIN tile order; your gauge pages. Hand-editable. |
perf.txt | The 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
| Area | What it shows |
|---|---|
| Section strip | LOG and TUNE tabs, the alarm strip, a note, and the ? help button. Always visible, in both sections. |
| Masthead | The 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 bar | Right 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. |
| Tachometer | A 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 line | Under 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. |
| Board | MAIN: 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. |
| Footer | RECORD 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 information | Two 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 pane | 380 px on the right after Ctrl+/ or ?. Closes with its x. Hidden when you enter TUNE, which has its own. |
| Replay bar | Above the footer while a recorded pull plays. See replay. |
| Flash overlay | A 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.
| Section | Row | Buttons | Key, and when a change takes effect |
|---|---|---|---|
| CAR | ECU protocol | SUBARU SSM2, OBD-II | ecu_protocol. Next start. See OBD-II mode. |
| Car name | CHANGE | car_name, up to 24 characters, the name on the masthead. At once. | |
| Display units | IMPERIAL, METRIC | units. At once. See below. | |
| Shift point | -, + | shift_rpm, 100 rpm a step, 1,000 to 9,000. At once. | |
| SENSORS | Wideband | KIND, PORT | wideband, 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 gauge | PORT | aux_port. It may be the wideband's own port: one cable serves both. Next start. | |
| GPS meter | FORGET | dragy_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. | |
| Weather | ON, OFF | weather. The row says what is sent and to whom. Next start. | |
| APP | Alarm sound | ON, OFF | alarm_sound. At once. |
| Title screen | ON, OFF | intro. Next start. | |
| Phone page | CHANGE | http, 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. | |
| FILES | Danger rules | OPEN | Opens 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 ratios | OPEN | Opens defs\gears.txt. The row gives the gears, final drive and tyre it read. Read when the app starts. | |
| settings.txt | OPEN | The 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 folder | OPEN | Opens the folder in Explorer. | |
| Data folder | OPEN | The 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:
- It saves a choice when it is made, and only when it differs from what is in force: opening it and closing it writes nothing, and on a first start no
settings.txtis made until something is changed. - It never connects to the car, opens a serial port or scans for Bluetooth.
- It does not offer
auto_record,auto_connectordragy_min_rssi. The first two stay 0 because the owner records and connects by hand; the third protects the meter. - Everything else in settings.txt is still edited by hand, with the app closed.
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.
| Channels | Logged in | Metric shows |
|---|---|---|
| boost (all three), MAP (both) | psi | bar, two decimals |
| fuel pressure (all), oil pressure | psi | bar, one decimal |
| barometric pressure | psi | kPa |
| coolant, intake temperature, oil temperature | F | deg C |
| vehicle speed, GPS speed and its accuracy | mph | km/h |
| GPS elevation, density altitude | ft | m |
any other channel from aux-gauge.txt, custom_params or obd-pids.txt | its own unit | psi 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
- Open the adapter. The registered J2534 drivers come from the registry. If
j2534_dllis remembered insettings.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 thej2534_dllline fromsettings.txt(app closed) searches every installed driver once. - Attach the ECU. An ISO 15765 channel on CAN ids
7E0(to the ECU) and7E8(from it) at 500 kbit/s. The protocol is named outright; the app never asks the adapter to search for one. - Init. The SSM2 init (
0xAA). The reply carries the ECU id (A62A904097on this car) and the capability bitmap that says which standard parameters this ECU supports. Unsupported ones are listed at connect and grey out asn/a. The COBB channels, SI-DRIVE andcustom_paramshave no capability bit: they are read only when the ECU id isA62A904097or one listed inextended_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. - 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.
- Start the web server, unless
http=0or--no-http(in the normal window path it does not exist until this first successful connect). - 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.
- Never while a recording runs. The button is off; stop the recording first. The same while a LISTEN recording is using the logger's adapter, while a CAN capture in TUNE is running on it, and while the trouble codes are being read. During a replay it is not offered: leave the replay first.
- LISTEN, if it is listening through the logger's adapter, is stopped first and says so: press LISTEN again and it opens the adapter by itself. The LISTEN screen has its own DISCONNECT LOGGER button for as long as the logger is connected.
- The wideband, the oil gauge, the GPS and the phone page are not the Openport's and stay as they are.
- Nothing presses it but you. With
auto_connect=1the retry stays off after a DISCONNECT by hand until CONNECT is pressed. - The simulator's window and a window opened only for a replay have no adapter to let go of, and no button.
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 file.
logs\pull-YYYYMMDD-HHMMSS.csvbeside the exe (sim-...under--sim, so a bench run can never be mistaken for a drive),-2,-3appended if the name exists. UTF-8 without a byte-order mark, because tuner tools choke on one. The file is made when its first row is written, so RECORD then stop with no sample in between leaves no file at all. Every row is handed to Windows as it is written and the file is forced to disk every 2 seconds and at stop, so a killed app or a dead battery loses at most the last moments. BENCH - The note.
pull-YYYYMMDD-HHMMSS.note.txtbeside the pull says what the CSV cannot say about itself, in plainkey: valuelines: the build, the start and the end, the rows, the protocol (protocol:), the ECU id, whether the COBB channels were read and, on the Subaru, whether they agreed with their standard twins (cobb twin check:), the addresses per cycle and the slow tier, every custom channel with its address and formula, the wideband, oil gauge and GPS that were attached, the weather station behind the density altitude, and, marked as not read from the car, the map named by the newest Accessport datalog. It is written with the first row and again at stop, when a short summary of the pull is added. LOGS > NOTE shows it. It is never part of the copy for the tuner. - The header.
Time (sec), then every column ticked in LOG COLUMNS in alphabetical order by heading, the way the Accessport lays out its own datalog: capitals before small letters, so AVCS Exhaust Left comes before Accel Pedal. A channel is headed Label (units). Two flags keep their places:AFR validright afterWideband AFR (AFR), andSSM2 reply OKlast.Wideband Lambda (lambda)is an ordinary column and follows them. The ticked GPS columns are there only when the GPS was switched on when the recording started (a meter that had not linked yet leaves its cells empty); with the GPS off they are left out. The column set is fixed for the life of the file: a channel ticked mid-pull is in the next log. Pulls recorded before 2026-11-11 are in the older grouped order; everything reads a pull by heading, so both open the same. - A row is one poll: the time in seconds since the poll clock started, every value decoded with its RomRaider expression, the derived channels, and whatever the sensors carried on that cycle. A cell is blank when the value is not a number (a slow-tier channel before its first refresh, the oil gauge's bottom stop, GPS without a fix). Every column.
- Stops. F5, the phone page, R in the console, the adapter dropping, Ctrl+C in a console mode, a write failure (the footer says NOT RECORDING with the reason, in red, and
app.loghas the same line), closing the app (it asks first: Close RPM Tuner Log and end the recording here?, default No), or a fatal fault (the recording is closed on a whole row first, before anything else). A replay does not stop a recording: it is refused while one is running. - The copy for the tuner. When a real recording stops, the same pull is written again in the Accessport's own datalog layout as
logs\for-tuner\<name>-accessport.csv, the file to send (LOGS > FOR TUNER has the details). Not after a simulator run, not after an OBD-II session, not after a fatal fault (the button makes it afterwards), and not withexport_accessport=0. - Replay never records, and never interrupts a recording. A recording cannot start while a recorded pull is playing, and a replay cannot start while a recording is running (decided 2026-11-12: to get into a replay you stop recording first).
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.
| Look | Meaning |
|---|---|
| Pink accent | An 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 accent | Everything else, trims and injectors included on purpose. |
| Red fill | Alert, 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/max | Peak hold: a rule fired since the last reset. Cleared by F6 or a new recording. |
Dim with n/a | The 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 greys | No 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, m | units=metric (display units): the tile shows the logged value converted. Nothing else changes. |
<120 | The 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
| Channel | Low | High | Channel | Low | High |
|---|---|---|---|---|---|
| rpm | 0 | 8,000 | boost, boost (COBB), boost (MAP - baro) | -15 | 30 psi |
| wideband and ECU AFR | 8 | 22 | DAM | 0 | 1 |
| coolant | 100 | 250 F | intake temperature | 32 | 212 F |
| throttle plate, pedal, injector duty, wastegate duty | 0 | 100 % | MAF | 0 | 300 g/s |
| MAP, MAP (COBB) | 0 | 45 psi | vehicle and GPS speed | 0 | 160 mph |
| calculated load (both) | 0 | 3 g/rev | ignition timing | -5 | 40 deg |
| fuel pressure (both) | 0 | 80 psi | barometric pressure | 10 | 16 psi |
| density altitude | -3,000 | 8,000 ft | MAF voltage, TGV left/right | 0 | 5 V |
| requested torque | 0 | 400 | TGV map ratio | 0 | 1 |
| idle airflow target | 0 | 20 g/s | AVCS intake/exhaust | 0 | 50 deg |
| AF correction, learning, trims total | -25 | 25 % | injector pulse width | 0 | 20 ms |
| gear (both) | 0 | 6 | SI-DRIVE | 0 | 3 |
| GPS accuracy / satellites / elevation / heading | 0 | 5 mph / 20 / 3,000 ft / 360 deg | feedback knock, fine knock, oil channels | no 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:
- On every page, MAIN and PERF included, under window: Full screen (F11), Reset min / max and held dangers (F6), Reset MAIN's tile order... (F7) (on MAIN only) and Setup. Each does exactly what its key does, so a tablet with no keyboard can go full screen.
- Add gauge to > a group: a picker of every channel, with a filter box; double-click or ADD.
- Add group, and under Group each group's Rename, Move up, Move down, Remove (asks when the group has gauges).
- Rename page, Move page left / right, Delete page (asks).
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.
| Tool | What it does | Result and USE RESULT |
|---|---|---|
| FIND SI-DRIVE | Key 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 OBD2 | Reads 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 VALUE | For 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 SCAN | Listens 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 SCAN | Listens 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= | Meters | Baud | Notes |
|---|---|---|---|
innovate | LM-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-1 | 19200 | The 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?). |
aem | X-Series 30-0300 / 30-0310 / 30-0334, 30-4100 / 30-4110; 30-2310 at 19200; Ballenger AFR500v3CAN serial; AutoMeter Pro Plus | 9600 | Text lines; the first line after a silence is discarded because a torn 11.7 would read as lambda 1.7. BENCH |
plx | SM-AFR, DM-6 / DM-100 (iMFD) | 19200 | No status in the protocol; free air shows as a status, not a number. BENCH |
zeitronix | Zt-2, Zt-3, Zt-4 serial | 9600 | No maker document; RomRaider's decoder and one owner's description: the least sure one. BENCH |
techedge | WBo2 2Y, 2J, 3A, 3B, 3E (frame 2.0) | 19200 | Checksummed frames with sensor and heater state. BENCH |
ecotrons | ALM-Board, ALM-LED, ALM-II, ALM-LD (RS-232) | 115200 | Polled: the app sends "Start Measuring". Never found by the scan. BENCH |
14point7 | SLC Pure Plus 2 / 2.1, SLC DIY2 (USB) | 115200 | Polled ten times a second; lambda from pump current by the maker's polynomials. BENCH |
apsx | D1, D2 | 9600 | One byte per reading, no status; picked by name, never scanned for; free air logs as 19.0. BENCH |
can | The CAN meters through a USB-CAN adapter, below | adapter's | BENCH |
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:
- A meter heard weaker than
dragy_min_rssi(-85 dBm unless set) is never connected to; the app only keeps listening. Listening does not wake the meter, connecting does. - A link the app ends itself (GPS off, quitting, a crash) is held until the meter has answered its handshake or 4 seconds have passed since the link came up, timed on a stopwatch so that a change of the PC's clock cannot cut it short. Closing the app waits for that.
- After three links in a row that the meter never answered, the app leaves the meter alone and says so on the status line, until GPS is pressed off and on. A link that takes the handshake and then sends no data counts as unanswered too.
- DIAG > BLUETOOTH SCAN and
--scan-blenever connect to a Dragy meter. They list it from its advertisement, which is all USE AS GPS needs. - Only four things are ever written to the meter: the handshake reply, the 10 Hz and 25 Hz rate commands, and the hot start. The cold start is never sent.
- SETUP does not offer
dragy_min_rssi, and its FORGET only removes the remembered address.
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 choice | Keys | Switches | What it allows |
|---|---|---|---|
| Off | http=0 | --no-http | No page at all. |
| This PC only (the default) | http=1, http_lan=0 | (none) | A browser on this PC. |
| Other devices may watch | http_lan=1 | --lan | A 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 recording | http_lan=1, http_lan_control=1 | --lan --lan-control | A 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.
- VIEW charts the pull against time, with feedback knock marked in red, over a grid of every column and every row with the MAX and MIN rows frozen on top. TRACES picks which columns are drawn, up to six at a time; with nothing chosen it draws rpm, boost, the ECU's AFR and the wideband's. Each trace has a scale of its own, fitted to the pull's data, and a value that leaves its scale is marked at the edge it left by, never drawn as though it were on it. The choice is kept in
settings.txtasviewer_traces(the headings, with|between them), so the next pull opens on the same traces. Until 2026-11-12 the scales were fixed (0 to 8,000 rpm, -15 to 25 psi, AFR 8 to 20), the traces could not be chosen, and the grid stopped at 20,000 rows. - NOTE shows the pull's note,
<pull>.note.txt(Recording, The note). It is lit for pulls recorded since 2026-11-12; older ones have none. - REPLAY closes the list and plays the file through the dashboard. While anything is being recorded it is off and reads STOP REC TO REPLAY: stop the recording first. It is also off for an EMPTY recording, which has nothing to play. A row whose time is not a number of seconds (
NaN,Infinity) is left out of a replay, andlogs\app.logsays how many there were. A log whose time goes backwards from one row to the next (a clock that began again part way down, two recordings in one file, a row out of place) is not replayed at all: a replay goes by the log's clock, such a log has no single order, and the rows after the step would never be reached. The box names the first step (first from 10 s to 2 s). The file is not touched, and every row of it is still read where rows are read by number (VIEW, the copy for the tuner,--rules). Two rows of the same time are not a step back. - FOR TUNER writes a copy of the selected pull in the Accessport's own datalog layout, so the tuner can load it in Accesstuner like a log from the Accessport:
for-tuner\<name>-accessport.csvbeside the log, then Explorer opens with the copy selected. The pull itself is never changed. The copy has Time (sec) first, counted from 0.000, then the monitors on the Accessport's own list, under its names, units and decimals and in its order, then the wideband, then its AP Info column; Windows text, plain line ends, no byte-order mark. The list is the heading row of the newest Accessport datalog inlogs\orlogs\accessport\, so a monitor that is not ticked on the Accessport is not in the copy either; with no Accessport datalog there, the copy has every monitor the pull has. The wideband is the one column that is not the Accessport's: Wideband AFR (AFR), with an empty cell on a row where the meter had no valid reading, and no column at all when it never read. A monitor the pull never read is left out rather than written empty, and a channel's last reading is carried forward, so a cell is empty only before its first value. The AP Info text comes from the newest Accessport datalog inlogs\orlogs\accessport\, so keep a current one there; with none, the column is left out. The same copy is made by itself when a real recording stops (pull-, neversim-), on its own thread once the file is closed, andapp.logsays for the tuner -> path.export_accessport=0turns that off and leaves the button;--export-accessportdoes it from a console. The lambda column is never in the copy. The button is greyed for the pull that is still being recorded, for an EMPTY recording, for a file that cannot be read, and for a pull from an OBD-II session, where it reads OBD-II: NO TUNER COPY. When the copy has been written a box, andapp.log, name the Accessport datalog the column list and the AP Info came from, its date and the map it names, any column filled from a second-choice channel (Boost from the one-byte channel that stops at 18.43 psi, when the pull has no COBB boost), and how many rows were left out: a row flagged 0 under SSM2 reply OK in an older pull, and a row cut off at the end, are not copied. TUNE and the brain list only the top oflogs\, so neitherfor-tuner\noraccessport\is learned or counted as a second drive; keep the Accessport's datalogs inlogs\accessport\for that reason. The layout is the one of the copies sent to the tuner on 2026-11-11 and stays as it is until he has answered. On the bench the Accessport's own datalogs go through it and come back byte for byte. Not yet confirmed in Accesstuner. - DELETE asks first, with the default on No, and refuses the file being recorded. Where there is a Recycle Bin the question reads Delete name? ... It goes to the Recycle Bin, and the pull's note goes there with it. Where there is none (a USB stick, a network share, the Bin switched off, a file larger than the Bin) it reads Delete name for good? ... THIS CANNOT BE UNDONE and says why, because Windows then deletes at once. This is the only code path in the app that removes a log, and it is yours to press. Nothing deletes a log by itself.
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:
| Kind | Colour | Rules on |
|---|---|---|
| KNOCK | red | feedback knock, fine knock learn, the DAM |
| FUEL | orange | the wideband and its lambda, the ECU's AFR, AF correction and learning, fuel pressure, injector duty, ethanol |
| AIR TEMP | green | intake air temperature |
| BOOST | violet | boost, manifold pressure, wastegate duty |
| COOLANT | blue | coolant temperature |
| OIL PSI | yellow | oil pressure |
| OIL TEMP | tan | oil temperature |
| REVS | white | engine speed |
| OTHER | grey | any 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.
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.
- A run arms after half a second under 1 mph (a steady standstill, not one sample of it) and launches on the first crossing of 1 mph; nothing has to be pressed. A run that falls back under 1 mph before it has reached 5 mph was a wobble or a creep at the line: it is forgotten and the meter is armed again at once. A run ends when the quarter is done and the speed has fallen 5 mph below the run's peak, when the car has been under 2 mph for a second, or 90 seconds after launch.
- Gaps. The launch and every mark (a speed or a distance) is placed between the two samples either side of it. If those are more than 0.25 s apart the speed feed dropped out across it, and where in the gap it fell would be a guess: the launch is not taken, or the mark is left empty and the rest of the run stands. A GPS fix older than 0.35 s is never fed and the same fix is never fed twice, so a Bluetooth stall can no longer make a run read quick. A rewind, a gap over a second, or a change of speed source inside a run (GPS to ECU or back) ends every attempt in flight, and the page says so. A short GPS dropout does not: only after a second without a fix is the timer handed the ECU's speed.
- The launch gate. The throttle plate must reach
perf_min_throttle(default 75 %; 0 turns the gate off) within 1.5 seconds of moving, or the run is measured, shown as Ignored with not counted - launched at NN% throttle (needs 75%), and kept out of the bests andperf.csv. Why: every traffic-light pull-away used to count, andperf.txtfilled with 30-second 0-60s (the old file isperf.txt.crawls-20260922.bak). - Rolling runs start when the lower speed is crossed, are abandoned if the speed drops 2 mph below it, and are gated on the throttle in their first 1.5 seconds: cruising up to 130 is not a 60-130 run.
- Rollout. None by default, the way a GPS meter reports;
perf_rollout_ft = 1subtracts the time to roll one foot from every standing-start time, magazine style. - Which speed. The Dragy's Doppler speed is about half a mile an hour accurate, which is what makes the numbers worth quoting; speed from position (all this Surface receives) is a good readout but unproven for timing; the ECU's whole-km/h speed is indicative at best. Each run records its source.
- Files.
perf.txtholds the bests askey = valuelines (delete a line to forget it);logs\perf.csvgets one row per counted run with when, source, every mark, the peak, DA and its station. The simulator writesperf-sim.*, a replayperf-replay.*, so a made-up or re-watched 0-60 never sits among the car's. When the header changed (the DA columns, 2026-10-03) new runs went toperf-2.csvrather than rewriting the old file.
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:
- DANGER and the rule or rules firing now, in the rule file's own words, on a block that flashes with the tiles.
- EARLIER and the rules that fired since the last reset and are held (the peak hold), dimmer and still. F6, the ... menu's reset or the start of a recording clears them.
- Notices in amber that are not dangers: problems found in the rule file, the COBB channels not being read on this ECU or disagreeing with their standard twins,
custom_paramsentries that were left out, agears.txtorpages.txtthat could not be used. Tap the strip to read each in full. All of it is inapp.logas well.
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
| Rule | In words |
|---|---|
fbk < -0.5 | Feedback 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.5 | Fine knock learn (COBB) beyond half a degree. |
dam_ext < 0.95 | DAM 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 > 6 | The 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 > 6 | The ECU's own front sensor, same gate. |
fuel_psi < 45 if boost > 8 | Rail 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 > 22 | Over 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 > 150 | Over 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 > 90 | Injector duty over 90 %: fuelling headroom. |
af_corr1 > 7 if boost > 3, af_corr1 < -7 if boost > 3 | Short-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 > 20 | Adding 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 < -7 | Long-term learning outside 7 %. |
rpm > 7200 | Over-rev. The shift light is separate and set from the screen. |
oil_psi < 12 if rpm > 1500 and run_s > 8 | Oil 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 > 260 | Oil 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 screen | What it is |
|---|---|
| The three figures | ENGINE 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 SPEED | Bytes 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 LAMBDA | The 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 LISTENING | Pressed 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 / F5 | Saves 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 / F8 | The 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 line | What 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 is in it. The LISTEN screen, from the first frame to the last. While it records, the LISTEN screen cannot be left: the LOG and TUNE tabs are grey, Ctrl+1 and Ctrl+2 do nothing, and the strip reads RECORDING / STOP THE RECORDING TO GO TO LOG OR TUNE. Stop the recording, then switch (the request: "only the listen gets a video record ... if we are recording in listen you cant switch windows unless you stop recording"). It is the app's own window that is read, as it is drawn. Not the rest of the desktop, not another program, and not a box that opens in front (a message box, the logs list, the shift light's flash are windows of their own). It is the same picture when another window covers the app.
- The file. H.264 in an MP4, made by the encoder that comes with Windows; nothing is installed. Half size when the window is wider than 1920 pixels (1440 x 960 on the Surface), 15 frames a second. About 14 MB a minute with everything on the screen moving, far less when little changes. It is written in fragments, so a recording that is cut off (the app killed, the battery flat) still plays up to its last second or so.
- What it costs. About 15 % of one processor core on the Surface, on a thread of its own.
- It never costs the log. The log is written and closed first, and only then is the video closed, with the recording let go of, so a video that is slow to close keeps nothing else waiting. If the video cannot start (a Windows edition without Media Foundation, a minimised window, under 300 MB free on the drive) the log is recorded all the same and the line beside RECORD says why there is no video. A video that is running is ended when the drive falls under 100 MB free. With no engine speed heard there is no log, and the video of those seconds is kept.
- Finding it. LOGS on the LISTEN screen lists every recording made there with its video, and VIDEO plays it. The line beside RECORD names it when the recording stops, and the recording's note has a
video:line. Only a recording's own video is ever played or deleted with it: an.mp4beside the log, with the log's name (or that name with-2and up, the name a video took, in recordings made before 2026-11-14, when the first was taken). A note that names a file anywhere else is not believed, and a note that names a video which is not the recording's own names none: the clip of the recording's own name is not shown in its place, as that may be an older one. - One name for all three. The log, its note and its video take one name between them: where any of the three is already there under the name the second would give, all three take the next (
-2,-3). Where two logs could each call one video theirs (an olderlisten-X.csvwhose note nameslisten-X-2.mp4, beside alisten-X-2.csv), the notes decide: the log whose note names the video has it, and where both name it, the log of the video's own name. A video that no log has is listed by itself. If another program takes the log's name between RECORD and the first row, the log takes the next name and the video is given that name when the recording stops; a recording cut off before then keeps its video by thevideo:line of its note. - Lining it up with the log. The note's
video starts at:line is the value of the log's time column at the video's first frame, to the millisecond; the video's own clock is 0 there. Add it to a time in the video to get the row. The note'sslowest row write:line is the longest any one row took to write and flush, measured on the thread the frames arrive on, so a slow disk shows up in the recording's own note. - Switching it off.
listen_video=0insettings.txt(with the app closed): RECORD then makes the log only.
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).
| Folder | Holds |
|---|---|
definitions\<calid>.json | The editor's own definition, one per calibration ID. |
library\<calid>\<yyyyMMdd-HHmmss>-<label>.bin + .json | One 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.json | The 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
- ROM: every version in the library, newest first, as Label · date. Picking one opens it. With nothing open it reads None or Pick a ROM to open.... With unsaved edits, picking another ROM (or LOAD DEMO ROM, or IMPORT ROM) asks Save your pending ROM edits before opening another ROM?: Yes saves a new version first, No discards them, Cancel keeps editing; cancelling the save dialog also cancels the switch.
- Definition line: calid · description of the definition matched by calibration ID and the ID bytes in the image, or No definition for calid. The status bar then says N tables, plus how many have conversions the editor cannot evaluate.
- COMPARE WITH: Version as opened, or any other version of the same calibration as the reference for amber marks, REVERT and the inspector's In <version> line. A version of another calibration is refused, and a reference that cannot be read falls back to the version as opened rather than leaving stale bytes behind.
- Filter box: narrows the table list by name (and, in BRAIN, the verdict list).
- TABLES: grouped under their categories in definition order; each row shows its kind (1D, 2D, 3D, Switch), its name, and an amber dot when it differs from the reference.
- IMPORT ROM... (
.bin,.hex,.rom; filed under the calid of the definition whose ID bytes match, else unknown), IMPORT DEFINITION... (RomRaider or EcuFlash XML, several files at once, or the editor's JSON; importing a definition redraws the open ROM's tables and checksums without reloading its bytes, so unsaved edits and the undo history survive), LOAD DEMO ROM (a synthetic 64 KiB image, calid DEMO000001, six made-up tables, so the editor can be tried before a real image exists), STUDIO FOLDER.
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
- Click a cell; drag or Shift+click for a range; click a column or row header for the whole line; the corner for everything; Ctrl+A for the whole table.
- The edit bar: a value box and SET (Enter in the box does the same); -coarse, -fine, +fine, +coarse captioned with the table's own steps (for example -0.35); a percent box with +% and -%; INTERPOLATE, a menu: Horizontally or Vertically (each off when the selection has nothing to interpolate that way); Ctrl+I picks across when the selection is three or more columns wide, else down. One rule everywhere since 2026-11-15, the Mac's: in each selected row (or column) with three or more selected cells, the selected cells between the first and the last are put on the straight line between those two, by the axis's real spacing (cell spacing when there is no axis); the two end cells and every cell not selected keep their values exactly. An axis that is not rising or falling throughout, or an end that is not a number, interpolates nothing; REVERT (the reference values back).
- Every edit is converted to what the ROM can actually hold (the raw step, rounded and clamped, never wrapped). A value that has no stored form at all (0 typed into a table whose scaling divides by the value) is refused, where it used to be written as one end of the range, and only the cells that changed are written back. The edit goes into a cloned image, re-verifies the checksums and rebuilds the co-pilot's proposals. Ctrl+Up / Ctrl+Down step the selection by the fine step, with Shift the coarse one.
- Undo and redo (Ctrl+Z / Ctrl+Y) cover cell edits, interpolation, revert, switch flips, checksum fixes and accepted proposals, up to 200 steps, kept as byte patches. Opening a version clears the history.
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.
| Proposal | Tables | Rule |
|---|---|---|
| MAF scaling from fuel trims | 2D 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 lean | 3D 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 knocked | 3D 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.
| Check | PASS / WARN / FAIL |
|---|---|
| Original ROM | FAIL 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, Origin | FAIL 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 file | FAIL 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 ID | FAIL if the ID is not where the definition says; WARN if the definition does not say where it lives. |
| Definition size, Scaling, Definition | FAIL 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. |
| Changes | WARN 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 changed | WARN naming tables whose axis bytes differ (this editor never writes axes, so the image came in that way). |
| Checksums | FAIL when wrong or when the scheme is not recognised (Do not flash). |
| Switch state, Bad values, Switches changed | FAIL for bytes matching no state or a NaN cell; WARN listing every switch flipped from the parent. |
| Rule | Always 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
- Type a label, RECORD; STOP ends it. The file is
can\<stamp>-<label>.canlog: header comments, then one frame per line as microsecond timestamp, id (three hex digits, or eight plusxfor a 29-bit id), length and bytes. Append-only, flushed every second, the Mac's format file for file. A.jsonsidecar records the label, adapter, frame count, duration, resyncs, the adapter's overflows and the signal table used. A capture that cannot be written to disk ends with a message; it does not take the logger down. - The counts: frames, frames per second, ids, messages, resyncs, and overflows: the times the adapter said its buffer overflowed. Above 0 (in red) frames were lost and the capture has gaps; - means nothing was counted. The id table: one row per id with its count, rate, last eight bytes (amber changed on the latest frame, white has changed at some point, dim never) and the decoded signals in green. The filter matches an id or a signal name.
- Decoded VA signals come from
can\signals-va.json, community notes for the 2015 to 2021 WRX/STI (accelerator pedal, vehicle speed, brake pressure, four wheel speeds, parking brake, lights, indicators, wipers), unverified on the STI. Edit it, add ids as you identify them; it is reloaded at every capture. - Diagnostic traffic on
7E0to7EFis reassembled from ISO-TP segments and named: SSM2 init, read and write, their replies, negative responses with the code, and the UDS services a flash uses (session control, security access seed/key, request download, transfer data...). Requests draw cyan, replies pink; click a row for the bytes. To overhear the Accessport, both tools must share the OBD port through a Y-splitter. - EXPORT CSV writes the id table; FOLDER opens the capture folder; the sidebar lists saved captures newest first, and clicking one opens it whole.
- From a console:
--tune can devices | record | decode | diff; diff says which ids and bytes appear in one capture that never did in another.
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
- Open a ROM in ROM mode. The brain works per calibration.
- 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
onCarandonCarSince), 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. - LEARN folds in every pull (
pull-*.csv) in the top oflogs\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'ssim-*.csvrecordings 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 editingbrain_*keys orengine_miles. - 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.
- 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.
- maf: closed-loop trim (AF Correction #1 + AF Learning #1) by MAF voltage, on the MAF Sensor Scaling axis; rows at 80 %+ pedal and rows with a correction of exactly 0 are not trims, and only rows on a warm engine (coolant 160 F or more) that has held its MAF voltage and pedal steady for a second are counted.
- fuel: the wideband at 80 %+ pedal with AFR valid = 1, from one second after tip-in or a gap, between 9.0 and 16.0 AFR, and never at or just after a fuel cut (the rows refused are counted and said), on the open-loop fuel map's axes. The 2015+ STI has no single open-loop map: the KCA Additive B Low / High, Alternate and Failsafe maps share axes, and each is judged against its own cell in the version marked ON THE CAR, which is a number in a file and not what the ECU commanded on the day. Not gathered at all before break-in: while
engine_milesis under the gate, wide-open rows are skipped, and they are not learned retroactively when the mileage later rises; the drives after the gate supply that evidence. - knock: each knock event, on the Base Timing Primary Non-Cruise axes. An event is an onset: the row feedback knock first reaches -0.35 or worse, or steps further negative, at 30 %+ pedal; the rows while the correction decays are the same event. (Counted by row, the owner's 36 pulls held 564 "events"; counted by onset they hold 19.) Each is kept with its time, pedal, intake and coolant temperature, DAM, fine knock learn, gear and cell. DAM is recorded, never acted on: 1.00 staying put is the good result.
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
| Kind | Tag | Meaning |
|---|---|---|
| PROPOSAL | PROP | Numbers per cell, with the evidence they rest on: rows, drives by name, intake bands, and drives agree NN%. |
| SYMPTOM | SYMP | The 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. |
| AUDIT | OK / AUDIT | A check of a table the logs cannot teach; passed or failed. Phase 1 only ever produces passed ones. |
| BLIND | BLIND | The 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)
- MAF: a cell is ready at 20 rows from 2 drives; skipped under 0.5 % mean trim; 75 % of the drives must agree on the sign; a cell whose pooled trim adds fuel is scaled up by it, capped at 5 % a pass. A negative trim is a symptom (Trims are taking fuel out) and is never scaled down in SAFE. Thin evidence is Needs more drives, not a number.
- Fuel: ready at 20 rows from 2 drives; a cell reading leaner than its cell in the version marked ON THE CAR by 1 % or more, with 75 % of the drives leaner too, is richened by the error, capped at 5 %. A rich reading is a symptom (Richer than this table's cell): SAFE never leans. Before break-in every open-loop fuel map reads BLIND Waiting for break-in, whatever evidence exists; after it, blind until wide-open pulls exist.
- Timing: a cell with 2 or more knock events from at least 2 drives loses 1 degree, its four neighbours half, at most 3 degrees in a pass. One occurrence is a symptom (Knock seen, not a pattern) and moves nothing: if it does not come back, that is the good result. Nothing the brain says ever asks for knock to be found again.
- Edited since the last drive: a cell whose working value differs from the ROM marked ON THE CAR was edited since the drives (by APPLY or by hand) and is never proposed again until flashed, driven and learned, so APPLY cannot offer the same pull twice.
- Reference ROM unavailable: that comparison needs the ROM the drives were made on, which is the version the epoch was started on, read from the library and checked against the hash in its record. When its file is missing, will not read, or is not the file its record describes, the brain proposes nothing: each verdict that would have been a proposal is this symptom, with its evidence, and the status line says NO CHANGES ARE PROPOSED and why. Without that ROM it cannot tell which cells were already changed, and the same pull would be offered again.
- A proposal is for the ROM it was worked out on: it remembers the table's layout, every axis breakpoint included, as well as the cells' values. Open another version from the ROM list and the brain judges that one before anything is shown; and APPLY judges once more first and changes something only if the answer is the proposal on the screen, cell for cell. Otherwise it says APPLY: nothing was changed and shows what this ROM gets.
- LEARN only on a ROM that is the file its record describes: the marked version and each earlier epoch's are checked against the hash in their records before a pull is counted. One that changed on disk stops the learning (Nothing was learned: ... sha256 differs) or, for an earlier epoch, leaves that epoch's pulls out by name (1 NOT LEARNED: ...), with the model as it was. Put the right file back and LEARN again.
- APPLY while LEARN runs: off. LEARN reads the pulls on its own thread and judges a copy of the working ROM taken when it was pressed; when it is done the verdicts are worked out again against the ROM as it then stands.
- Never proposed: the rev limit, speed limiters, sensor scalings, trouble-code switches, raising any limit. Blind now, audits in phase 2.
- The standing line on the BRAIN panel, on every proposal and in what APPLY says: Untested starting point to take to a tuner, not a tune: nothing here is proven on the car.
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.
- 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.
- 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).
- 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).
- 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
LISTEN
LOG, live
LOG, during a replay
LOGS window
DIAG and the dialogs
TUNE, ROM mode
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.
| Flag | What it does |
|---|---|
| Desktop launch | |
--sim | A 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-intro | Skip 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-aux | The MTX-D's port (remembered); no oil gauge this session. |
--dragy [MAC], --no-dragy | Connect the Dragy at start, naming one if given (remembered); no GPS this session. |
--weather | With --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). |
--all | Log every parameter, ignoring the ECU's capability bitmap. |
--port <n>, --no-http, --lan, --lan-control | The 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 | |
--console | Connect and poll in the terminal: R starts or stops a recording, Q quits. |
--verify | Seven 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-dtc | Read 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. |
--probe | Raw 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-capture | Sweep 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 | |
--list | Every 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-tune | The 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-import | The 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 | diff | Open 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 | verdicts | Fold 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.
| Key | Default | Meaning |
|---|---|---|
| Connecting and polling | ||
auto_connect | 0 | Stays 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_record | 0 | Stays 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_protocol | ssm2 | ssm2 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_hz | 25 | Ceiling on polls per second, 1 to 100. |
poll_slow_every | 4 | Ask the slow tier (defs\poll-tiers.txt) once every N cycles, 1 to 50. |
| The window | ||
section | log | Written: the section open at the last close, log, tune or listen. Opening on LISTEN shows the screen and starts nothing. |
listen_video | 1 | RECORD 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. |
page | 0 | Written: the page open at the last close. |
shift_rpm | 6500 | Written: the shift light, 1,000 to 9,000. |
oil_light_psi | 10 | The OIL lamp's threshold (accepted between 0 and 100). The oil danger rule is separate (12 psi in the shipped file). |
units | imperial | metric 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_name | WRX STI | The car's name on the masthead. Set from SETUP. |
alarm_sound | 0 | 1 = 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. |
intro | 1 | 0 = 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_accessport | 1 | When 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 | ||
http | 1 | 0 = no phone page at all, the same as --no-http. |
http_lan | 0 | 1 = 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_control | 0 | 1, 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 | ||
wideband | innovate | Written 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_baud | 0 | Written 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_id | 0, 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_search | 1 | The 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_raw | 0 | Log 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_source | dragy | dragy 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_baud | 0 | The 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_hz | 10 | The rate written to the receiver on every connect: 10 or 25. |
dragy_min_rssi | -85 | The 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. |
weather | 1 | 0 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_throttle | 75 | Plate percent the launch must reach within 1.5 s for a run to count; 0 turns the gate off. |
perf_rollout_ft | 0 | Rollout 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_sharp | 0, 1, 2 | The 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_miles | 0 | The engine's miles, kept current by hand; shown against the break-in gate. |
brain_break_in_miles | 3000 | The 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_drives | 20, 2 | Rows and drives a cell needs before it is judged. |
brain_agreement | 0.75 | The share of drives that must agree on the sign of a change. |
brain_fuel_pct | 5 | SAFE: the most a fuel or MAF cell moves in one pass, percent. |
brain_timing_pull, brain_timing_pull_cap | 1, 3 | SAFE: 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, 2 | Feedback 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_pedal | 80 | Pedal percent from which a row counts as wide open. |
brain_fill_step | 5 | A 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_step | 2, 0.5, 2, 4, 0.5, 2, 2 | The bold direction's caps (CRAZY mode, phase 4): read, not yet used. |
Files and folders
| Path | What, format, who writes it |
|---|---|
| Beside the exe (the program folder) | |
RPMTunerLog.exe | The app. 32-bit, because the Openport's driver is. |
NOTICE.txt, README-FIRST.txt | The 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.txt | The 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.cmd | In 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.txt | Above. Written by the app and by hand. |
logcolumns.txt | key = on|off with notes. Written by LOG COLUMNS. |
layout.txt | One channel key per line, the MAIN order. Written after a drag or F7; F7 keeps layout.before-reset-<stamp>.txt. |
pages.txt | Your gauge pages. Written after every page edit. |
perf.txt, perf-sim.txt, perf-replay.txt | The bests, key = value. Written on every new best. |
spec-<machine>.json | The behaviour contract from --spec. |
logs\ (in the data folder) | |
pull-YYYYMMDD-HHMMSS.csv, sim-...csv | The recordings. Made at their first row. Never deleted by the app. |
listen-YYYYMMDD-HHMMSS.csv, listen-...note.txt, listen-sim-...csv | Recordings 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.mp4 | The 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.txt | The 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.log | The 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-*.txt | The 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.xml | The 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.txt | One channel key per line: the slow tier, with the reasons. |
danger.txt, danger-simtest.txt, danger.txt.before-plate | The danger rules; bench rules for the simulator; a kept copy from before the throttle-plate gate. |
gears.txt | final, 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.txt | The MTX-D mapping and directives. |
obd-pids.txt | The channel table of OBD-II mode. Opened only with ecu_protocol=obd2. |
dtc-sti-2015.tsv | 196 trouble-code names from the 2015 STI factory manual. |
cobb-monitors.tsv, cobb-custom-monitors.tsv | COBB'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.txt | Peek 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.json | The 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.html | The 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.
| Key | Heading | Source | Note |
|---|---|---|---|
rpm | RPM (rpm) | standard | |
speed | Vehicle Speed (mph) | standard | Whole km/h from the ECU. |
tps | Throttle Plate (%) | standard | How far the ECU opened the throttle. 98 % by 30 to 40 % pedal. |
accel_pos | Accel Pedal (%) | standard | How far the driver pushed: what was asked. |
boost | Manifold Rel Pressure (psi) | standard | Tops out at 18.43 psi. |
map, baro | Manifold Absolute Pressure (psi), Barometric Pressure (psi) | standard | Barometric is slow-tier. |
coolant, intake_temp | Coolant Temp (F), Intake Temp (F) | standard | Slow-tier. |
maf, maf_v | Mass Airflow (g/s), Mass Airflow Voltage (V) | standard | |
ign_timing | Ignition Timing Total (degrees) | standard | |
af_ratio1 | AF Sensor #1 Ratio (AFR) | standard | The ECU's front sensor. |
af_corr1, af_learn1 | AF Correction #1 (%), AF Learning #1 (%) | standard | Short- and long-term fuel trims; learning is slow-tier. |
fine_knock | Fine Knock Learn (degrees) | standard | The learned correction in quarter-degree steps. |
inj_pw, wgdc | Injector Pulse Width (ms), Wastegate Duty Cycle (%) | standard | Wastegate 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_r | AVCS Intake / Exhaust Left / Right (degrees) | standard | Variable cam timing. |
tgv_l, tgv_r | TGV Position Left / Right (V) | standard | Slow-tier. |
boost_ext, map_ext, load_ext | Boost (COBB mmHg) (psi), MAP (COBB mmHg) (psi), Calculated Load (COBB) (g/rev) | extended | |
dam_ext | DAM (COBB) (mult) | extended | The dynamic advance multiplier; 1.00 is the good result. The standard byte was retired 2026-09-27. |
fbk | Feedback Knock (deg) | extended | Replaces the standard channel this ECU lacks. A real -2.80 degree event was seen 2026-09-22. |
fkl_ext | Fine Knock Learn (COBB) (deg) | extended | |
fb_knock, fuel_press | Feedback Knock (degrees), Fuel Pressure (psi) | standard | Not 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_air | Requested Torque (), TGV Map Ratio (ratio), Idle Airflow Target (g/s) | extended | |
gear_ecu | Gear (ECU) () | extended | 0 stopped, 1 to 6 moving. |
fuel_psi, fuel_psi_f | Fuel Pressure (psi), Fuel Pressure (filtered) (psi) | extended | COBB's add-on sensor, 150 psi full scale; replaces the standard channel this ECU lacks. |
sidrive | SI-DRIVE () | from settings | Exists once DIAG has found it; slow-tier. |
af_trims_total | AF 1 Trims Total (%) | computed | Correction plus learning. |
calc_load | Calculated Load (g/rev) | computed | MAF x 60 / rpm; empty with the engine off. |
inj_duty | Injector Duty Cycle (%) | computed | rpm x pulse width / 1200. |
boost_corr | Boost (MAP - Baro) (psi) | computed | |
gear | Gear (calculated) () | computed | rpm over speed against gears.txt; GPS speed when there is a 3D fix. |
afr | Wideband AFR (AFR), then AFR valid | wideband | Lambda x 14.7. Empty unless valid. |
lambda | Wideband Lambda (lambda) | wideband | The 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_temp | Oil pressure (psi), Oil temp (F) | MTX-D | Temperature empty at the bottom stop (120 F or colder). |
da | Density Altitude (ft) | weather station | Empty without a report under two hours old. |
gps_speed, gps_acc, gps_sats, gps_fix, gps_lat, gps_lon, gps_alt, gps_head, gps_itow | GPS 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) | Dragy | Off 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 OK | flag | 1 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. |
ethanol | Ethanol Concentration (%) | COBB custom monitor, from custom_params | The 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.
| Path | Method | What |
|---|---|---|
/, /help.html | GET | The phone page; this help. |
/stream | GET | Server-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/meta | GET | The 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/state | GET | rec, 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|0 | POST | Start or stop a recording; refused when not connected. |
/api/reset | POST | Reset 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
| Code | Meaning |
|---|---|
| 0 | Fine. |
| 1 | FAILED: ... 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. |
| 2 | A 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. |
| 6 | Another RPM Tuner Log is already running. |
| 70 | A 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. |
| 130 | A 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
build.ps1regenerates the parameters from RomRaider's definition when Python is on the path, then compiles tobuild-new\RPMTunerLog.exe, which takes the old exe's place only when it is whole: a source that does not compile leaves the old exe alone, closes nothing, and shows the compiler's errors. It never ends a process. A copy of the app running from this folder is only asked to close, and only when it is idle. The build stops, with the new exe left waiting asbuild-new\RPMTunerLog.exe, if that copy is recording, has no window, was started with--no-http(so it cannot be asked whether it is recording), has a box open, or is still there after 20 seconds.-Forceis accepted and does nothing. So: close the app before a build.tools\build-dev.ps1builds out of tree into%TEMP%\rpmtunerlog-dev\and touches nothing, for compile checks and self-tests while the app is open. Thisbuild.ps1dates from 2026-11-12 and its closing logic has been exercised against stand-in exes only.tests\run.ps1runs the four self-tests, 33 harnesses, the Help check and two crash tests in sandboxes undertests\_work\, each with its own copy of the exe,defs\,web\and fixture settings, in about six minutes on the Surface. It needs no car and refuses to test the project's own exe while the app is open (the crash tests start the simulator, and a second copy refuses to start).-Exeand-Worktest another build in another scratch folder, such as one made bytools\build-dev.ps1, with the app left open. Never point a test at the livesettings.txt,layout.txtorlogcolumns.txt: the app rewrites those.- Groups: the self-tests (aux, dragy, wideband, tune), Board, Intro, Wideband, Tune, TunePanel, TuneRegression (the eight findings of the 2026-10-17 tuning review: checksum coverage after save and reopen, cross-calibration compare refused, advisor routing by family and units, exports kept out of the library, edits preserved across a definition import and guarded on a ROM change, the original as the preflight baseline, per-epoch ROMs, the break-in gate), TuneMap (the 3D map view), Review, Review2 and Review3 (the findings of the three reviews of 2026-11-14, each reproduction turned into a check), Footer, Hunt, Connect, Unplug, Record, RecordFail, Settings, Paths (the data folder), Core (the polling path: only the logger's own reply decoded, the ECU-id rule, the file made at the first row, no replay while recording), Obd (the OBD-II source against a scripted car), Server, Program (start-up, the crash order, the command line,
app.log, exit codes), Log, PullNote (the lambda column, the note beside a pull, the low-disk warning), AdapterSearch, LayoutReset, Weather, Gps (a fix's age, the timer on the GPS clock, the PERF rules), ReplayZoom, Lamps, ColourRule, Danger, Reorder, Dash (the alarm strip, tiles that blank, keys that act once, the...menu), Setup (SETUP and the display units), Accessport (the Accessport's datalog read like a pull, its own log out again byte for byte, its rounding, a pull written its way, the copy made after a recording and never after a simulator run,--export-accessport), and two crash tests that prove a fault is logged and a recording closed on a whole row. A Help group checks that every settings key and command-line flag in the source appears on this page, that every link inside it lands on an id, and that no id repeats. What each group proves, with its count of checks, is intests\README.md. - Not reached by any test: anything on the car; a real OBD-II car; the Dragy's reconnect backoff and a switched-off radio; another device watching over the network; an install under Program Files (a test variable stands in for the folder that cannot be written);
build.ps1and the car scripts run for real.
The tools
| Script | For |
|---|---|
tools\gen-params.py | Generate src\Params.g.cs and defs\params.json from defs\logger.xml. |
tools\decode-sniff.py, fuel-from-sniff.py, find-sidrive.py | Pull 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.py | Name 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.py | Compare 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.py | Grade two builds' specs; check a replay's min/max against the CSV; convert the Mac's guide. |
tools\build-dev.ps1, tools\make-release.ps1 | Build 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 STI | When |
|---|---|
| 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-11 | 2026-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 button | 2026-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-11 | 2026-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 rows | 2026-09-27, 28 |
| The adapter let-go on a dropped cable | 2026-10-01 |
| Density altitude from KORL and KISM over the hotspot | 2026-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 sent | 2026-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 it | How |
|---|---|
| GPS speed against the cluster; PERF on a real launch | A 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 path | A real meter on a real port. |
| Plugging the Openport back in and reconnecting after a drop | The 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's | TUNE > CAN > RECORD with the logger connected, engine off. |
| The screen video of a LISTEN recording | RECORD 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 idle | Accessport 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 Accessport | The 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 Accesstuner | Copies 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 tier | Any connected session: the ethanol tile still reads and the Hz in the status line does not fall. |
| Everything the brain says | A 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 launch | Just 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 + 2 | A 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 silent | Key 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 column | Any 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 packet | A 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 data | A drive with the meter under open sky: the GPS tiles light and stay lit. |
BLUETOOTH SCAN and --scan-ble leaving a Dragy alone | A 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 rules | One clean launch with the Dragy connected. |
The alarm strip, alarm_sound, the check of the rule file, boost_ext > 22 | A 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 stops | At the car. |
| The live battery voltage, read every 5 s | Any 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 twins | A 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 status | A 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 recording | On 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 rule | On 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 written | Install 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 3 | Seen in the tests only. |
build.ps1's closing rules, the three car scripts, a release package on another PC | Run 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 overflows | Synthetic 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=1adds 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
<120and 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_milesagainstbrain_break_in_miles, and a gate of0says 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 optionalif ... 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\andweb\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 (
A62A904097on this car). The COBB channels, SI-DRIVE andcustom_paramsare read only on that id or one listed inextended_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
cbyte 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
0xAArequest 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+.jsonpairs; 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.txtmaps the counts. - 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.txtbeside 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 indefs\obd-pids.txtin 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.txtasked once everypoll_slow_everycycles 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
.binafter 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; writessim-*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=0or--no-introskips 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
--verifyor 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