; _______________________________________________________________________ ; | | ; | Copyright © 2012 | ; | Fish Tuning | ; | | ; | _____________________________________________________________________ | ; ; | | ; | http://www.fishtuning.com | ; | contact: sales@fishtuning.com | ; | | ; |_______________________________________________________________________| ; ; Version 1.0 released to the public Feb 22, 2010 ; I wrote this and tested it to the best of my ability and as far as I ; can see it works perfect. I have never tried it in a truck and no one ; who has ever reported back that it worked or didn't. Use this at your ; own risk. I take no responsibility for any unintented side effects. ; Swap ends of an LB7 DSP5 switch ; As far as I can tell this works perfect other that 2 side effects. ; 1: Very slight rounding on a couple of tables. ; 2: B0505 will be overwritten by B0504 and end up the same ; It is very important that before running this script, you set the ; display units back to the default setting. ; I don't think the rounding matters, but to test, open a DSP5 ; tune you're interested in swapping, save it as a new file, ; run the script twice which should put the tune back exactly ; the way it was, then open the original tune for comparison ; and look at the differences. ; If you want to save the original contents of B0505, copy them into ; the Conversions page before running the script. I don't think you ; care though as I'm guessing that EGR is disabled and you made them the same. ; Whenever one table in DSP section 4 maps to 2 tables in the main section, ; only the "No EGR" map is swapped. 08= B0802 PCT -50 . 09= B0505 CC= B0802 . . 10= B0802 CC= A4101 . . 0-500 ! 11= A4101 CC= B0504 . . 12= B0504 CC= B0802 . . ; 28= A4102 PCT -50 . 29= A4102 REL 26 . 30= B0802 CC= A4102 "@1,@1,@26,@11" "@1,@1,@26,@11" -50 - 200 31= A4102 CC= B0727 "@1,@1,@26,@11" "@1,@1,@26,@11" 32= B0727 CC= B0802 "@1,@1,@26,@11" "@1,@1,@26,@11" 33= B0727 REL -26 . 34= B0727 PCT 100 . ; 39= A4105 PCT -90 . 40= B0802 CC= A4105 "@1,@1,@20,@20" "@1,@1,@20,@20" 0 - 5000 41= A4105 CC= B0720 "@1,@1,@20,@20" "@1,@1,@20,@20" 42= B0720 CC= B0802 "@1,@1,@20,@20" "@1,@1,@20,@20" 43= B0720 PCT 900 . ; 49= A4106 PCT -90 . 50= B0802 CC= A4106 "@1,@1,@20,@20" "@1,@1,@20,@20" 0-5000 51= A4106 CC= B0721 "@1,@1,@20,@20" "@1,@1,@20,@20" 52= B0721 CC= B0802 "@1,@1,@20,@20" "@1,@1,@20,@20" 53= B0721 PCT 900 . ; 58= A4107 PCT -50 . 59= A4107 REL 22.5 . 60= B0802 CC= A4107 "@1,@1,@26,@23" "@1,@1,@26,@23" -45 - 45 61= A4107 CC= B0910 "@1,@1,@26,@23" "@1,@1,@26,@23" 62= B0910 CC= B0802 "@1,@1,@26,@23" "@1,@1,@26,@23" 63= B0910 REL -22.5 . 64= B0910 PCT 100 . ; 68= A4108 PCT -50 . 69= A4108 REL 22.5 . 70= B0802 CC= A4108 "@1,@1,@26,@23" "@1,@1,@26,@23" -45 - 45 ! 71= A4108 CC= B0929 "@1,@1,@26,@23" "@1,@1,@26,@23" 72= B0929 CC= B0802 "@1,@1,@26,@23" "@1,@1,@26,@23" 73= B0929 REL -22.5 . 74= B0929 PCT 100 . ; 78= A4109 PCT -50 . 79= A4109 REL 50 . 80= B0802 CC= A4109 "@1,@1,@26,@11" "@1,@1,@26,@11" -50 - 200 81= A4109 CC= B0741 "@1,@1,@26,@11" "@1,@1,@26,@11" 82= B0741 CC= B0802 "@1,@1,@26,@11" "@1,@1,@26,@11" 83= B0741 REL -50 . 84= B0741 PCT 100 . ; 90= B0802 CC= A4111 "@1,@1,@26,@23" "@1,@1,@26,@23" 0 - 250 91= A4111 CC= B1001 "@1,@1,@26,@23" "@1,@1,@26,@23" 92= B1001 CC= B0802 "@1,@1,@26,@23" "@1,@1,@26,@23" ; 98= A4110 PCT -66.667 . 99= A4110 REL 166.667 . 100= B0802 CC= A4110 "@1,@1,@26,@13" "@1,@1,@26,@13" -500 - 1024 101= A4110 CC= B1102 "@1,@1,@26,@13" "@1,@1,@26,@13" 102= B1102 CC= B0802 "@1,@1,@26,@13" "@1,@1,@26,@13" 103= B1102 REL -166.667 . 104= B1102 PCT 200 . ; Now we'll swap positions 1 and 3 210= B0802 CC= A1101 . . 211= A1101 CC= A3101 . . 212= A3101 CC= B0802 . . ; 228= A1102 PCT -50 . 229= A1102 REL 26 . 230= B0802 CC= A1102 "@1,@1,@26,@11" "@1,@1,@26,@11" 231= A1102 CC= A3102 "@1,@1,@26,@11" "@1,@1,@26,@11" 232= A3102 CC= B0802 "@1,@1,@26,@11" "@1,@1,@26,@11" 233= A3102 REL -26 . 234= A3102 PCT 100 . ; 239= A1105 PCT -90 . 240= B0802 CC= A1105 "@1,@1,@20,@20" "@1,@1,@20,@20" 241= A1105 CC= A3105 "@1,@1,@20,@20" "@1,@1,@20,@20" 242= A3105 CC= B0802 "@1,@1,@20,@20" "@1,@1,@20,@20" 243= A3105 PCT 900 . ; 249= A1106 PCT -90 . 250= B0802 CC= A1106 "@1,@1,@20,@20" "@1,@1,@20,@20" 251= A1106 CC= A3106 "@1,@1,@20,@20" "@1,@1,@20,@20" 252= A3106 CC= B0802 "@1,@1,@20,@20" "@1,@1,@20,@20" 253= A3106 PCT 900 . ; 258= A1107 PCT -50 . 259= A1107 REL 22.5 . 260= B0802 CC= A1107 "@1,@1,@26,@23" "@1,@1,@26,@23" 261= A1107 CC= A3107 "@1,@1,@26,@23" "@1,@1,@26,@23" 262= A3107 CC= B0802 "@1,@1,@26,@23" "@1,@1,@26,@23" 263= A3107 REL -22.5 . 264= A3107 PCT 100 . ; 268= A1108 PCT -50 . 269= A1108 REL 22.5 . 270= B0802 CC= A1108 "@1,@1,@26,@23" "@1,@1,@26,@23" 271= A1108 CC= A3108 "@1,@1,@26,@23" "@1,@1,@26,@23" 272= A3108 CC= B0802 "@1,@1,@26,@23" "@1,@1,@26,@23" 273= A3108 REL -22.5 . 274= A3108 PCT 100 . ; 278= A1109 PCT -50 . 279= A1109 REL 50 . 280= B0802 CC= A1109 "@1,@1,@26,@11" "@1,@1,@26,@11" 281= A1109 CC= A3109 "@1,@1,@26,@11" "@1,@1,@26,@11" 282= A3109 CC= B0802 "@1,@1,@26,@11" "@1,@1,@26,@11" 283= A3109 REL -50 . 284= A3109 PCT 100 . ; 290= B0802 CC= A1111 "@1,@1,@26,@23" "@1,@1,@26,@23" 291= A1111 CC= A3111 "@1,@1,@26,@23" "@1,@1,@26,@23" 292= A3111 CC= B0802 "@1,@1,@26,@23" "@1,@1,@26,@23" ; 298= A1110 PCT -66.6667 . 299= A1110 REL 166.667 . 2100= B0802 CC= A1110 "@1,@1,@26,@13" "@1,@1,@26,@13" 2101= A1110 CC= A3110 "@1,@1,@26,@13" "@1,@1,@26,@13" 2102= A3110 CC= B0802 "@1,@1,@26,@13" "@1,@1,@26,@13" 2103= A3110 REL -166.667 . 2104= A3110 PCT 200 . 2197= B0802 CC= B0505 . . 2198= B0802 PCT 100 . 2199= B0505 CC= B0504 . .