Free VE Table Corrections — Drop Your MSQ and a Datalog, I'll Do the Rest

X-cam34

Active Member
Jun 22, 2025
78
27
28
ten
VE Table Tuning — I Need 2 Things From You.

I've built a tool that analyzes your MegaSquirt datalog and tells you exactly what your VE table should be — cell by cell, with confidence ratings and full diagnostics.




Step 1: Extract your tune info (30 seconds)

Go here: MSQ VE Extractor

Drop your .msq file on the page. That's it. It pulls everything I need automatically:

  • VE table (flipped and formatted, ready to analyze)
  • RPM and MAP breakpoints
  • Injector dead time and battery voltage correction
  • EGO authority and closed-loop settings
  • DFCO settings
  • Accel enrichment configuration
  • Warmup enrichment curve
  • Rev limiter settings

Click Download Summary and upload that .txt file to your post.

Your tune never leaves your computer. The tool runs 100% in your browser — nothing gets uploaded to any server. Open the page, drop the file, done.

Step 2: Upload a datalog

Record a datalog in TunerStudio while driving. Export it as .csv from MegaLogViewer (File → Export → CSV). Upload the .csv to your post.

What to log:
  • Idle for 30-60 seconds (warmed up, 160°F+ coolant)
  • Normal city driving with moderate acceleration
  • Highway cruise at a few different speeds
  • A few WOT pulls if you're comfortable (2nd or 3rd gear, safe location)
  • Some deceleration / coast down

Requirements:
  • Engine fully warmed up before logging (CLT 160°F+)
  • Wideband O2 required — narrowband will not work
  • 10-15 minutes of driving is plenty, longer is better
  • More driving conditions = better cell coverage = better results




That's it. Two files:

  1. The .txt summary from the MSQ Extractor
  2. Your datalog exported as .csv

No screenshots. No copy-paste from TunerStudio tables. No guessing what your breakpoints are.




What you get back:

A corrected VE table you can paste directly into TunerStudio, plus a full diagnostic report showing:

  • Every cell that was corrected and by how much
  • Whether the correction was EGO-driven (primary) or AFR-based (fallback)
  • Confidence level per cell based on sample count and data quality
  • Cells that need more driving data for better coverage
  • EGO clamp report — cells where your EGO authority ceiling is limiting corrections

The tool filters out fuel cut frames, accel enrichment, post-fuel-cut wideband lag, transient data, warmup enrichment, and sensor glitches before calculating anything. What's left is clean steady-state data that actually represents your engine's fueling needs.

Results are real. On a 306ci SBF (X303 cam, MegaSquirt PNP2) I tuned with this tool, three log-and-correct passes reduced the average wideband offset from +0.23 AFR to +0.06 AFR — a 74% reduction in fueling error across the entire table. GOOD cells nearly doubled each pass. The tune converges.




Scope — read this:

I am correcting your VE table only. I'm not adjusting AFR targets, timing, idle, boost, injector sizing, or anything else. If your AFR targets are wrong, that's on you. This tool makes your engine hit whatever targets you already have set. That's it.

Questions about the process — ask away.
Questions about spark tables or why your car won't start — not here.
 
  • Like
Reactions: nickyb
This is sweeeet,thank you. Even though I haven't installed my mspnp2 and wideband yet ,this will help I'm sure.
Again thank you for this.
 
  • Like
Reactions: X-cam34
Hello,
I was hoping you could help me with my '90 5.0. Attached are the files you ask for. I just installed E303, GT40 3bar Heads, shorty headers, wideband, edelbrock intake, 1.72 Roller rockers, BBK Power Plus fuel, 24lb inj, 160 stat, 75mm throttle body. Never tuned a car before and I'm using a MSQ2PNP. Struggled to get the idle but have it as good as I could get for now. I haven't driven it yet, this log is really only idling so far. Wasn't comfortable taking it out. If that is what you need I can reload a new log later. My AFR has been all over the place. Any help would be appreciated.
 

Attachments

You have a .msq loaded for a boosted car. Grab the base table from here and re-log.



https://www.megasquirtpnp.com/downloads/basemaps/fw_pro_152/dlmap.php?dlfn=Foxbody 5.0 1.5.2.msq

Go to tools====> Calibrate AFR enter your wide band :
Fuel settings injector dead time 0.85 -----> Batt voltage correction 0.140
Basic Load settings: Engine Sequential: ---> Engine Size: Engine Size: 4949 cc ---> Injector Size Each: 252 cc ---> Staging: Alternating
Click required fuel after this:



Fuel---> Ego control like this:

1778986586550.webp



Save tune flash to car, then turn car off wait 15 seconds turn back on idle then log send me new data
 
Hello X-cam34. I have been looking at this site for years but never actually joined until today. I saw this thread and I have been tuning my megasquirt myself with overall good results so far but I still run into some issues. I am doing the VE table and have it generally laid out but seem to keep going back and forth in some areas so I thought I would give this a try. I have a boosdted 306, you can see all the specs in my "welcome" post. Please let me know what you can make of this. Thanks !
 

Attachments

Here you go, thank you ! If you need any other imfo just let me know.

 
Every car is different, corrections are small that is intended I need to see where they land on the first pass. Need about 4 passes to get it right. Smaller steps are better. :nice:


Code:
Changes:
5200 x 90: 98 → 100 LEAN (CRITICAL) (0%) [Very Low (3 hits)]
4800 x 90: 104 → 105 LEAN (CRITICAL) (0%) [Very Low (12 hits)]
4400 x 50: 113 → 112 RICH (0%) [Very Low (9 hits)]
4400 x 70: 119 → 121 LEAN (0%) [Very Low (16 hits)]
4400 x 90: 129 → 130 LEAN (0%) [Very Low (24 hits)]
4400 x 124: 128 → 129 LEAN (0%) [Very Low (8 hits)]
4000 x 124: 124 → 125 LEAN (0%) [Very Low (17 hits)]
4000 x 100: 141 → 140 RICH (23.078644727876263%) [Low (46 hits)]
4000 x 90: 125 → 126 LEAN (0%) [Low (44 hits)]
4000 x 80: 117 → 119 LEAN (CRITICAL) (0%) [Very Low (53 hits)]
4000 x 50: 98 → 101 LEAN (CRITICAL) (0%) [Low (80 hits)]
4000 x 40: 73 → 78 LEAN (CRITICAL) (0%) [Low (83 hits)]
4000 x 30: 61 → 66 LEAN (CRITICAL) (0%) [Very Low (56 hits)]
3600 x 124: 117 → 118 LEAN (0%) [Very Low (14 hits)]
3600 x 100: 130 → 128 RICH (0%) [Low (83 hits)]
3600 x 90: 118 → 117 RICH (0%) [Low (54 hits)]
3600 x 80: 116 → 114 RICH (0%) [Low (90 hits)]
3600 x 70: 121 → 120 RICH (18.14130385294763%) [Low (149 hits)]
3600 x 60: 116 → 117 LEAN (0%) [Low (139 hits)]
3600 x 50: 104 → 107 LEAN (CRITICAL) (34.20835697276474%) [Low (120 hits)]
3600 x 40: 76 → 81 LEAN (CRITICAL) (51.95267482078104%) [Low (131 hits)]
3600 x 30: 52 → 56 LEAN (CRITICAL) (0%) [Very Low (117 hits)]
3200 x 112: 143 → 139 RICH (55.00000000000001%) [Low (119 hits)]
3200 x 100: 137 → 133 RICH (CRITICAL) (65%) [Medium (165 hits)]
3200 x 90: 121 → 118 RICH (36.70625723839799%) [Low (154 hits)]
3200 x 80: 110 → 107 RICH (34.3691558432078%) [Medium (269 hits)]
3200 x 70: 108 → 106 RICH (37.143098146541284%) [Medium (420 hits)]
3200 x 60: 106 → 105 RICH (20.608404847525403%) [Medium (496 hits)]
3200 x 30: 56 → 58 LEAN (33.21560974266326%) [Low (320 hits)]
3200 x 20: 53 → 56 LEAN (CRITICAL) (0%) [Very Low (202 hits)]
2800 x 112: 128 → 126 RICH (45.00000000000001%) [Medium (111 hits)]
2800 x 100: 113 → 110 RICH (CRITICAL) (55.00000000000001%) [Low (219 hits)]
2800 x 90: 109 → 106 RICH (49.37291691529702%) [Medium (372 hits)]
2800 x 80: 105 → 102 RICH (36.304929494720014%) [Medium (705 hits)]
2800 x 70: 102 → 101 RICH (19.778474208752737%) [High (1188 hits)]
2400 x 112: 114 → 112 RICH (45.00000000000001%) [Low (76 hits)]
2400 x 100: 108 → 105 RICH (CRITICAL) (55.00000000000001%) [Medium (269 hits)]
2400 x 90: 104 → 101 RICH (49.42951271644277%) [Medium (517 hits)]
2400 x 80: 105 → 103 RICH (43.92878150810233%) [High (987 hits)]
2400 x 70: 99 → 98 RICH (19.389913786785744%) [High (1853 hits)]
2000 x 100: 101 → 99 RICH (40.37588095419212%) [Medium (204 hits)]
2000 x 90: 99 → 97 RICH (38.202917666425726%) [Medium (446 hits)]
2000 x 80: 100 → 97 RICH (34.683215522365444%) [High (946 hits)]
2000 x 50: 80 → 81 LEAN (20.810484729854522%) [High (3597 hits)]
2000 x 40: 64 → 65 LEAN (21.243077307289685%) [High (3838 hits)]
2000 x 30: 62 → 63 LEAN (21.490578692979522%) [Medium (2491 hits)]
1600 x 100: 107 → 103 RICH (CRITICAL) (42.210935135824364%) [Low (75 hits)]
1600 x 90: 105 → 102 RICH (41.03138399968105%) [Medium (238 hits)]
1600 x 80: 101 → 98 RICH (38.26191323603428%) [Medium (532 hits)]
1600 x 70: 96 → 95 RICH (16.905181900945536%) [High (1187 hits)]
1600 x 30: 60 → 56 RICH (0%) [Very Low (1754 hits)]
1200 x 100: 116 → 113 RICH (0%) [Very Low (32 hits)]
1200 x 60: 73 → 74 LEAN (19.643955103865824%) [High (3016 hits)]
1200 x 50: 59 → 62 LEAN (45.71211873828517%) [High (3434 hits)]
1200 x 40: 63 → 65 LEAN (33.66203556500702%) [Low (1396 hits)]
1000 x 40: 63 → 62 RICH (0%) [Very Low (265 hits)]
800 x 90: 76 → 77 LEAN (CRITICAL) (0%) [Very Low (32 hits)]
800 x 80: 79 → 80 LEAN (0%) [Low (136 hits)]
800 x 70: 71 → 72 LEAN (18.13484538440578%) [Medium (703 hits)]
500 x 90: 59 → 60 LEAN (CRITICAL) (0%) [Very Low (40 hits)]

Total changes: 60
Lean: 28, Rich: 32, Good: 0

Screenshot 2026-07-04 at 11-08-34 VE Tuning Customer Report.webp
 

Attachments

Last edited:
Apologies I ran that without the Wideband Lag adjustment checked.

Changes:
500 x 90: 59 → 60 LEAN (0%) [Very Low (40 hits)]
500 x 80: 72 → 73 LEAN (0%) [Low (114 hits)]
5200 x 90: 98 → 100 LEAN (28.050000000000004%) [Very Low (3 hits)]
4800 x 90: 104 → 106 LEAN (21.916358324373142%) [Very Low (12 hits)]
4800 x 100: 134 → 135 RICH (8.25%) [Very Low (11 hits)]
4400 x 124: 128 → 130 LEAN (0%) [Very Low (8 hits)]
4400 x 112: 142 → 143 GOOD (0%) [Low (23 hits)]
4400 x 100: 137 → 138 RICH (20.529203338307397%) [Very Low (29 hits)]
4400 x 90: 129 → 130 GOOD (0%) [Very Low (25 hits)]
4400 x 80: 118 → 116 RICH (13.99669453515115%) [Very Low (19 hits)]
4000 x 124: 124 → 125 LEAN (0%) [Very Low (17 hits)]
4000 x 100: 141 → 140 RICH (23.059146175514407%) [Low (47 hits)]
4000 x 90: 125 → 126 LEAN (16.336548911582728%) [Low (44 hits)]
4000 x 80: 117 → 118 LEAN (15.3874942652919%) [Low (54 hits)]
4000 x 70: 116 → 117 LEAN (39.822516074857596%) [Low (83 hits)]
4000 x 50: 98 → 99 LEAN (16.54575479791353%) [Low (80 hits)]
4000 x 40: 73 → 76 LEAN (CRITICAL) (40.55197755226414%) [Low (83 hits)]
4000 x 30: 61 → 65 LEAN (CRITICAL) (23.551395403539065%) [Very Low (56 hits)]
3600 x 124: 117 → 118 LEAN (0%) [Very Low (14 hits)]
3600 x 112: 138 → 139 RICH (25%) [Low (67 hits)]
3600 x 100: 130 → 129 RICH (23.483411862028742%) [Low (83 hits)]
3600 x 90: 118 → 119 RICH (25%) [Low (54 hits)]
3600 x 80: 116 → 118 RICH (13.91788882113348%) [Low (90 hits)]
3600 x 70: 121 → 122 RICH (17.64387170988904%) [Low (149 hits)]
3600 x 50: 104 → 105 LEAN (15.54377234418866%) [Low (123 hits)]
3600 x 40: 76 → 80 LEAN (CRITICAL) (41.431422607663954%) [Low (131 hits)]
3600 x 30: 52 → 56 LEAN (CRITICAL) (45.62995204074678%) [Very Low (117 hits)]
3200 x 112: 143 → 140 RICH (55.00000000000001%) [Low (119 hits)]
3200 x 100: 137 → 133 RICH (CRITICAL) (65%) [Medium (166 hits)]
3200 x 90: 121 → 119 RICH (36.598497812339126%) [Low (155 hits)]
3200 x 80: 110 → 108 RICH (33.63858043206849%) [Medium (269 hits)]
3200 x 70: 108 → 106 RICH (35.27391365066872%) [Medium (424 hits)]
3200 x 60: 106 → 105 RICH (19.953472690177694%) [Medium (496 hits)]
3200 x 50: 97 → 95 RICH (35.87565482123448%) [Medium (378 hits)]
3200 x 30: 56 → 57 LEAN (17.902340592915213%) [Low (321 hits)]
3200 x 20: 53 → 56 LEAN (CRITICAL) (18.810482847130892%) [Very Low (202 hits)]
2800 x 112: 128 → 126 RICH (44.99999999999999%) [Medium (111 hits)]
2800 x 100: 113 → 110 RICH (CRITICAL) (55.00000000000001%) [Medium (219 hits)]
2800 x 90: 109 → 106 RICH (49.00993613996642%) [Medium (375 hits)]
2800 x 80: 105 → 102 RICH (43.432718059446124%) [High (708 hits)]
2800 x 70: 102 → 101 RICH (19.503050321087866%) [High (1195 hits)]
2800 x 50: 89 → 87 RICH (21.127897956774245%) [High (1747 hits)]
2800 x 40: 70 → 69 RICH (20.30985714166349%) [High (1140 hits)]
2800 x 30: 63 → 62 RICH (20.200477054374808%) [Medium (1018 hits)]
2400 x 112: 114 → 112 RICH (45.00000000000001%) [Low (76 hits)]
2400 x 100: 108 → 105 RICH (CRITICAL) (51.86567292304915%) [Medium (269 hits)]
2400 x 90: 104 → 102 RICH (48.91902420278144%) [Medium (517 hits)]
2400 x 80: 105 → 102 RICH (35.01208444708187%) [High (989 hits)]
2400 x 70: 99 → 98 RICH (18.84980302579532%) [High (1859 hits)]
2000 x 112: 107 → 108 RICH (0%) [Very Low (56 hits)]
2000 x 80: 100 → 98 RICH (33.74014982556727%) [High (946 hits)]
1600 x 100: 107 → 104 RICH (CRITICAL) (41.780830094097354%) [Low (75 hits)]
1600 x 90: 105 → 103 RICH (31.218179664820216%) [Medium (240 hits)]
1600 x 80: 101 → 99 RICH (29.484473604380863%) [Medium (533 hits)]
1600 x 70: 96 → 95 RICH (16.50923114658154%) [High (1191 hits)]
1600 x 60: 86 → 85 RICH (17.694594556085274%) [High (1780 hits)]
1600 x 30: 60 → 57 RICH (CRITICAL) (32.455095067889104%) [Very Low (1756 hits)]
1000 x 80: 109 → 110 GOOD (10.382016370235569%) [Low (79 hits)]
1000 x 70: 80 → 81 GOOD (32.219997838243835%) [Medium (689 hits)]
1000 x 40: 63 → 62 RICH (0%) [Very Low (265 hits)]
800 x 90: 76 → 78 GOOD (15.743256432030073%) [Very Low (32 hits)]
800 x 80: 79 → 78 GOOD (12.457670513151713%) [Low (136 hits)]
800 x 70: 71 → 72 LEAN (18.004816900188224%) [Medium (709 hits)]

Total changes: 63
Lean: 19, Rich: 38
 

Attachments

I really appreciate your help. I have a 1991 Mustang 5.0 with a stroker kit (347), shorty heads, H-pipe, 75mm TB, 36 lb injectors, TrickFlow top-end kit. Let me know if you need anything else. As of right now I think I have the car dialed in pretty good for my TunerStudio experience and no dyno. Here are the requested files. Let me know if you need anything else. I will not MegaLogViewer won't allow me to export to a ASCII file and no choice for .CSV so I included the ASCII file.
 

Attachments

I really appreciate your help. I have a 1991 Mustang 5.0 with a stroker kit (347), shorty heads, H-pipe, 75mm TB, 36 lb injectors, TrickFlow top-end kit. Let me know if you need anything else. As of right now I think I have the car dialed in pretty good for my TunerStudio experience and no dyno. Here are the requested files. Let me know if you need anything else. I will not MegaLogViewer won't allow me to export to a ASCII file and no choice for .CSV so I included the ASCII file.
Is this thread still active?
 
Yes, I have just been putting in about 70 plus hours the past couple weeks. I have enough time to go to work, come back home shower sleep and do it all over again. Let me take a quick look....

Can you post your .msq please.
 
  • Like
Reactions: infamous