Building DSP5 segments

If you're not working with a tune that's been upgraded to a DSP5 tune you won't see any of this.

Here is a tiny example of a useless script I made after making 2 changes in DSP Program #1. Let's say I want to use this script in another customer's truck but he wants it in DSP Program #3. You could apply it to segment number one of that tune and copy each segment from Program #1 to Program #3 or we could change the script so it works on Program #3.

If you look at all of the tables in the DSP Programs sections you'll see all the tables start with 9, followed by a 1, 2, 3 or 4. I'm guessing the 9 is for the EFILive Custom Calibrations section, the 1, 2, 3 or 4 indicates the Program Section number and the last two digits are the table number. The script I made is for Program #1

[Script]
;ID    Cal   Adj            Value Update Area              Source Area
;----- ----- --- ---------------- --------------------
  
10= A9104 SET            A9104 "MIN,MIN,600,5"        
  
20= A9101 SET            A9101 "MIN,MIN,800,10"        

 [A9104]
 
0= "65.700000,67.700000"
 
1= "65.100000,66.500000"

[A9101]
 
0= "94.995118,94.995118,94.995118"
 
1= "94.995118,94.995118,94.995118"
 
2= "94.995118,94.995118,94.995118"

If we change all of the A91 occurances to A93 we end up with this:

[Script]
;ID    Cal   Adj            Value Update Area              Source Area
;----- ----- --- ---------------- --------------------
  
10= A9304 SET            A9304 "MIN,MIN,600,5"        
  
20= A9301 SET            A9301 "MIN,MIN,800,10"        

 [A9304]
 
0= "65.700000,67.700000"
 
1= "65.100000,66.500000"

 [A9301]
 
0= "94.995118,94.995118,94.995118"
 
1= "94.995118,94.995118,94.995118"
 
2= "94.995118,94.995118,94.995118"

You likely find that we can now easily assign the same useless changes to Program #3

In this small example it took making the six changes in red which I did by hand. If you were actually doing this in real life, you'd probably have a lot more to change. Since the string "A9?" looks to be unique you can likely just do a search and replace replacing "A91" with "A93". If you notice lines wrapping, make sure to turn off word wrap. In Windows Notepad it's Format -> WordWrap and you want to make sure it's not checked. In Notepad++ it's View -> Word Wrap and in NoteTab it's Document -> Word Wrap. It's there in every decent editor, but as you can see, every auther thinks it belongs somewhere else.

Make sure to use an editor and not a word processor as word processors tend to add formatting information that will confuse EFILive. I like:

But the Notepad that comes with Windows or any other text editor will work just as well. make sure to save it with a new name telling you which DSP Program segment it goes into.

If you do this for every different DSP Program Segment tune style you have, then you will be able to quickly and easily build a DSP5 tune with the Program segments arranged any way you or your customer wants.