How do you edit an MSQ file? - Miata Turbo Forum - Boost cars, acquire cats.

Welcome to Miataturbo.net   Members
 


MEGAsquirt A place to collectively sort out this megasquirt gizmo

Reply
 
 
 
LinkBack Thread Tools
Old 03-12-2008, 11:15 AM   #1
Elite Member
Thread Starter
iTrader: (10)
 
IcantDo55's Avatar
 
Join Date: Apr 2007
Location: VA Beach
Posts: 1,762
Total Cats: 18
Default How do you edit an MSQ file?

How do you "edit" a MSQ file like it says in this procedure? As far as I can see it its not a TXT file.





AFR targets in "AFR" instead of "volts" for AEM_LINEAR

MSnS-E (as well as the MS2) give you the option to define AFR targets at certain kpa/rpm points. The problem with this is that if you use the AEM_LINEAR wideband, the configuration isn't set like it is with other linear widebands. Originally, if you choose the Innovate 0-5V wideband, the AFR targets table is set to accept AFR values. If you choose the AEM_LINEAR sensor, your target values can only be entered in volts like so:

Image

Unless you don't mind memorizing or looking up the voltage values for a specific AFR, this can be a pain in the ***. To change the configuration to accept AFR values, follow these steps:

1. Open msns-extra.ini in a text edit. Notepad is available on Windows systems so you might as well you that if you don't have an advanced text edit. For me, this file was located under: C:\Program Files\MegaSquirt\MegaTune225\MegaTune2.25\mtCfg\ms ns-extra.ini


2. Scroll down to #elif AEM_LINEAR. This can be found on line 808.


3. Change the code from:
Code:

#elif AEM_LINEAR

afrBins1 = array, U08, 0, [8x8], "Volts", 0.0196, 0, 0.0, 5.0, 2

to
Code:

#elif AEM_LINEAR

afrBins1 = array, U08, 0, [8x8], "AFR", 0.038666, 255.0, 10.0, 20.0, 1




4. Now you are going to need to edit your MSQ file. Otherwise, you will get an error saying that units do not match. Search for (line 586):
Code:

<constant cols="8" name="afrBins1" rows="8" units="Volts">

and replace it with
Code:

<constant cols="8" name="afrBins1" rows="8" units="AFR">




5. If you originally had AFR target defined in voltages, they will not appear correctly in MegaTune once you re-open your MSQ for editing. You will need to re-enter in the AFR target, but this time in AFR format instead of volts.



Here is the new AFR targets table with AFR values:

Image

_________________
PlastikRacing Owner
IcantDo55 is offline   Reply With Quote
Old 03-12-2008, 11:17 AM   #2
Boost Czar
iTrader: (61)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 72,809
Total Cats: 1,780
Default

right click, open with..., choose program, notepad.
Braineack is offline   Reply With Quote
Old 03-12-2008, 11:19 AM   #3
Elite Member
Thread Starter
iTrader: (10)
 
IcantDo55's Avatar
 
Join Date: Apr 2007
Location: VA Beach
Posts: 1,762
Total Cats: 18
Default

Fixed it. For all future searches, it is a TXT file just open it in Notepad.
IcantDo55 is offline   Reply With Quote
Old 03-12-2008, 12:51 PM   #4
Elite Member
iTrader: (13)
 
cjernigan's Avatar
 
Join Date: Oct 2006
Location: Atlanta, GA
Posts: 8,147
Total Cats: 6
Default

Let me know if your autotune continues to work like it should.
cjernigan is offline   Reply With Quote
Old 03-12-2008, 01:02 PM   #5
Elite Member
Thread Starter
iTrader: (10)
 
IcantDo55's Avatar
 
Join Date: Apr 2007
Location: VA Beach
Posts: 1,762
Total Cats: 18
Default

Quote:
Originally Posted by cjernigan View Post
Let me know if your autotune continues to work like it should.

Um...opened target AF it and it says AF on the top not volts, thats good. But its still built in volts. Anyone want to post up there AF target table so I got something to start with?
IcantDo55 is offline   Reply With Quote
Old 03-12-2008, 01:08 PM   #6
Elite Member
iTrader: (13)
 
cjernigan's Avatar
 
Join Date: Oct 2006
Location: Atlanta, GA
Posts: 8,147
Total Cats: 6
Default

I don't understand why people do this modification. You build the table once and never look at it again. It takes longer to do the mod then it does to set up the table in volts the first time around.
Do a search on the forum for "afr target" you will get all kinds of results. I know paul and scott have both posted screenshots of theirs. Close enough to get started.
cjernigan is offline   Reply With Quote
Old 03-12-2008, 01:16 PM   #7
Elite Member
Thread Starter
iTrader: (10)
 
IcantDo55's Avatar
 
Join Date: Apr 2007
Location: VA Beach
Posts: 1,762
Total Cats: 18
Default

I don't know why I did it! I'm sorry! lol

I'm just trying to get used to all this new tuning stuff and learning AF VS Volts is not something I really feel like doing, also. Prob why most of us Neubees change it. I'm more comphy with AF.
IcantDo55 is offline   Reply With Quote
 
 
Reply

Related Topics
Thread Thread Starter Forum Replies Last Post
1991 special edition with hard top full part out JC, NJ russian Miata parts for sale/trade 6 10-08-2015 04:01 PM
Time to start learning and play with tuning The Gleas MEGAsquirt 3 10-01-2015 10:30 AM
Nuke Mars! Joe Perez Current Events, News, Politics 8 09-30-2015 05:41 PM
"Chimney Ethanol" E100 MiataGarage Engine Performance 5 09-30-2015 12:04 AM


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -4. The time now is 10:32 PM.