NefMoto

Technical => Reverse Engineering => Topic started by: edduu on February 28, 2013, 04:10:54 PM



Title: 2step & Antilag Auto Add Script. for ME7.X
Post by: edduu on February 28, 2013, 04:10:54 PM
thanks that sn00k, maded a step by step line by line what to modify to the setzi62 launch control code, i were available to do a script that will modify all the addresses for you without making it manually.


you must have PHP installed.
you must have in same folder a file called dump.ecu, generated by Me7Info (running Me7Info.exe -n yourecufile.bin)
you must have in same folder your 1mb BIN, called ecu.bin.
run it in CMD: php launch.php

it will generate a ecumod.bin file with the changes.

remember to checksum it before uploading into a car.

https://github.com/edduu/2stepscript

updated: 03/02/2013

download it from github, the file in the attachments its old!!

updated: 02/16/2016

Do not use this file until you read this:

http://nefariousmotorsports.com/forum/index.php?topic=6308.msg69447#msg69447
http://nefariousmotorsports.com/forum/index.php?topic=4721.msg84763#msg84763


Title: Re: Auto Launch Control Script. for ME7.X
Post by: nyet on February 28, 2013, 04:13:57 PM
Wow. Now that is abuse of php.



Title: Re: Auto Launch Control Script. for ME7.X
Post by: k0mpresd on February 28, 2013, 04:18:20 PM
big thanks.  :)


Title: Re: Auto Launch Control Script. for ME7.X
Post by: edduu on February 28, 2013, 04:19:15 PM
i would like to learn perl but you know.. i make websites from 8 years ago and its simple effective and make this in another lang would take me the double of time and i already work in something else, few time for do this things, this is like a hobbie XD!


Title: Re: Auto Launch Control Script. for ME7.X
Post by: ddillenger on February 28, 2013, 04:41:22 PM
I'm applauding you just because your first post wasn't asking for something, but rather contributing. Good work, and I hope to see this implemented.


Title: Re: Auto Launch Control Script. for ME7.X
Post by: nyet on February 28, 2013, 04:42:02 PM
I'm applauding you just because your first post wasn't asking for something, but rather contributing.

AMEN!


Title: Re: Auto Launch Control Script. for ME7.X
Post by: edduu on February 28, 2013, 05:04:56 PM
well i like a lot about reverse engineering, ollydbg, injecting some code even on linux apps, i've a friend great on that also thats here with me all days, just that is my first time that i'm fixing code in a ecu with a unusual proccesor for me like the c166/7, also i've just a clone mpps cable, i've to open the ecu case if i do something wrong for put in boot mode, that if i want start trying injecting code and something goes wrong.. also having gdb in linux and ollydbg on windows is great for debugging and do this stuff easy, but on this ecus i dont know, do you know if there is any tool for debug the ecu while car is running, or at least emulate?




Title: Re: Auto Launch Control Script. for ME7.X
Post by: nyet on February 28, 2013, 05:09:33 PM
also i've just a clone mpps cable, i've to open the ecu case if i do something wrong for put in boot mode

You might consider getting a cheap ebay cable and using the nefmoto flashing tool for when you don't brick the ecu too :)

Quote
do you know if there is any tool for debug the ecu while car is running, or at least emulate?

None yet.

There are various real time emulators in use, but they are only to emulate the flash, not the ECU itself.

BTW if you get further with c166 reverse engineering, I could use your help with me7sum (see my sig)


Title: Re: Auto Launch Control Script. for ME7.X
Post by: sn00k on March 01, 2013, 04:47:32 AM
im glad to see people are still working on making it more simple to implement..  :)

there are better ways to write LC and NLS routines, but i think this is the simple one where people open their eyes to further possibilities.. :P


Title: Re: Auto Launch Control Script. for ME7.X
Post by: ported2flow on March 01, 2013, 11:49:03 PM
hi edduu!!

great php app nice work mate...

i just tested the app on an me7.1.1 and it works good so far but i think it modifys wrong ftomn.
just to let you know and maybe others have the same issue and you can fix it in an later release


thank you


Title: Re: Auto Launch Control Script. for ME7.X
Post by: edduu on March 02, 2013, 01:59:43 AM
please post your .bin or pm me it, and i will check it out.

i search FTOMN looking for 05 40 54 83 84 B8 C0 C0 C0 80 80 bytes on the bin file, maybe those bytes are different in your ecu. i'm looking for a ecu me 7.1.1 on the forum.


Title: Re: Auto Launch Control Script. for ME7.X
Post by: edduu on March 02, 2013, 02:19:43 AM
ok, i just downloaded a 2.7T audi me7.1.1 ecu, and the FTOMN is like this:


01A400 : 05 40 54 83 84 B8 C0 C0 C0 80 80 05  40 54 83 84 B8 C0 C0 C0 80 80 05  00 08 05 01 02

as different than the ME 7.5 that i've tested, the array of bytes that i search, is repeated 2 times., the 05 yellow is that is currently searching, i don't know if i have to make the script modify only the last one, try it (modify the green one). just put the 05 on the first occurrence that have been modified to 00, put it back to 05, and the next 05, at 00. it must be the only change that you have to made, the other offsets are well calculated from what i see no errors at finding other offsets.

if with that little modify works, will be the first 2.7T that i see spitting fire from the exhaust with ecu tune only, EuroDyne only have this stuff on a3, jetta's and some S but all 1.8T i think.

if it works will be easy to fix, just a bucle like the one for search the address of the jump to the codecave and done :).


someone can try the script? i had no time to test it on a car yet, but i rechecked all code and might write all bytes ok.



Title: Re: Auto Launch Control Script. for ME7.X
Post by: edduu on March 02, 2013, 03:13:44 AM
first post updated.

changelog:

- added a simple verify for those who dont put the right names that the script search for.
- after some research, in some post sn00k said: b_brems is named b_br, (brake pedal), in me7info, something that the PDF said, that can be calculated with the B_kuppl.X (mask) -2.. looks like it can get calculated only in some ECUs, and in others is just completely different address and mask, so the script now looks for b_br and their mask from the me7info dump.
- in some ecus (me 7.1.1) the FTOMN array of bytes for find it is repeated 2 times, so i modify now the last one (this mean that they are 2 bytes 05 that can be the address), if it dont works try changing the other 05 value, all the hard part (the 9 lines, 100+ bytes to check and calculate) are already calculated and its something for gratificate and say thanks lol XD.



Title: Re: Auto Launch Control Script. for ME7.X
Post by: edduu on March 02, 2013, 03:23:50 AM
i dont see where to modify the first post attachments, i can only change the text :(, here got the one with those improvements explained above.

hope it helps and fix the issues to the users that pmed me.


Title: Re: Auto Launch Control Script. for ME7.X
Post by: ported2flow on March 02, 2013, 06:42:33 AM
yea edduu i thought the same because there are two times the "05" position..


Title: Re: Auto Launch Control Script. for ME7.X
Post by: nyet on March 02, 2013, 10:42:53 AM
i dont see where to modify the first post attachments, i can only change the text :(, here got the one with those improvements explained above.

hope it helps and fix the issues to the users that pmed me.

You can delete the attachment and reattach it.

However, you might consider using github for this project


Title: Re: Auto Launch Control Script. for ME7.X
Post by: edduu on March 02, 2013, 04:39:26 PM
the project is now at github, please download the new release from there :), it have fixed some things, now the generated bin is exactly the same as the one in the nefmoto wiki. so this might work.

the next release will include some questions before run like the RPMs cap for launch and that fun stuff :)

https://github.com/edduu/2stepscript





Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mbwiejska12 on March 25, 2013, 02:29:52 PM
I tryed to done LC in vr6 turbo (022906032B me7). When I push clutch pedal, the ignition turn off and stop an engine. This situation is when I put everything from this php script (022906032B_LC_Nls). I also made a custom code which is premisted on Stezi custom code, but in this file Launch Control rev works properly though anti lag is still working every time, engine rpm weakly rising and engine still tryed to spool turbo (022906032B_mod_Stezi_code_LcNLS_2 ). What could be wrong?



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on March 26, 2013, 10:11:42 AM
I did some changes in code, maybe you like it and update your git ;)

Usage: php launch.php ecu.bin dump.ecu [OFFSET_Main_Code] [OFFSET_Variables]
Example: php launch.php ecu.bin dump.ecu 0x76980 0x170A0
Example with autoassign space: php launch.php ecu.bin dump.ecu


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on March 26, 2013, 10:34:25 AM
im sorry i uploaded version with bugs, here is finished one.
i attached a exe version of your tool too for people without php installed. :)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ddillenger on March 26, 2013, 10:35:36 AM
i attached a exe version of your tool too for people without php installed. :)

What is this you say? LOL

How many bins have you tested it on? I assume we're talking CMD, not GUI?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on March 26, 2013, 10:44:40 AM
Im sorry for flooding but i found bug in your code
$wped = substr( strstr($file,"\r\nwped") , 58, 6 );

This line will use wped_w if no wped is present!
you can change it to

$wped = substr( strstr($file,"\r\nwped ") , 58, 6 );
with space on the end "wped " to prevent this.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on March 26, 2013, 10:49:15 AM
What is this you say? LOL

How many bins have you tested it on? I assume we're talking CMD, not GUI?

i never said that i build a GUI. I just uploaded compiled version to prevent installation of php..


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on March 26, 2013, 11:08:20 AM
I Compared the result of the script with my working files.
It seems that there is something wrong in b_kuppl , and the return jump of function.
I take a look what i can do


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on March 26, 2013, 03:45:23 PM
Ok now is fixed, tested on 06A906032KP, 06A906032HN, 8D0907551M


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on March 26, 2013, 03:52:31 PM
Mazer, since you seem to be actively pursuing this.. can you comment on this?

http://nefariousmotorsports.com/forum/index.php?topic=607.msg18118#msg18118

It's the main reason I haven't used any of the AL/NLS hacks yet.

TIA


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: krazydbiker on March 27, 2013, 06:23:34 AM
wow, very good work, makes it a ton easier for you guys, to bad my volvo is still killing me with trying to implement this :(


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on March 27, 2013, 07:34:29 AM
wow, very good work, makes it a ton easier for you guys, to bad my volvo is still killing me with trying to implement this :(

Whats the Problem with Volvo? I think it should work with Volvo ME7 too :)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: krazydbiker on March 27, 2013, 07:58:38 AM
ill give it a shot, but me7logger does not work for volvo, so no ram address's are found, and im guessing thats the basis of how this works?

edit: after reading through source code, this will not work for my application, as some of the address's it searches for will be totally different


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: professor on March 27, 2013, 08:20:00 AM
Interesting tool mazer.gti.
On 032RP breaks:
Code:
finding tsrldyn...
fatal error not found tsrlydn


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on March 27, 2013, 08:56:01 AM
Interesting tool mazer.gti.
On 032RP breaks:
Code:
finding tsrldyn...
fatal error not found tsrlydn

Can you upload here your ori i will check what is wrong. :(


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mbwiejska12 on March 27, 2013, 09:40:03 AM
Could you tell me what's wrong with my VR6 turbo bin? I made again on fixed script and again it is bad. On the first bit of bin script put "00" value, and it doesn't change FTOMN to "00". But I fixed first bit to original "8E" value and changed FTOMN to "00" and again when I press clutch the engine turned off.
Could you take a look again on my post? http://nefariousmotorsports.com/forum/index.php?topic=3349.msg35663#msg35663


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: professor on March 27, 2013, 10:14:49 AM
Can you upload here your ori i will check what is wrong. :(
Ori file: 032RP (http://nefariousmotorsports.com/forum/index.php?action=dlattach;topic=1222.0;attach=1554)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on March 27, 2013, 10:45:57 AM
Ori file: 032RP (http://nefariousmotorsports.com/forum/index.php?action=dlattach;topic=1222.0;attach=1554)

I tried to create .ecu file with your binary.
The .ecu file is very small and is not containing all parameters they are needed.
try to use this 032RP file, with this one i got success.
Please check second FTOMN @ 0x1A4DC
Im not sure wich FTOMN is the right one of the both?!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on March 27, 2013, 11:07:24 AM
Could you tell me what's wrong with my VR6 turbo bin? I made again on fixed script and again it is bad. On the first bit of bin script put "00" value, and it doesn't change FTOMN to "00". But I fixed first bit to original "8E" value and changed FTOMN to "00" and again when I press clutch the engine turned off.
Could you take a look again on my post? http://nefariousmotorsports.com/forum/index.php?topic=3349.msg35663#msg35663

Ok i fixed bug with the 00 in beginning of file, but i see in your Main Function at the end F3 F8 F3 8A DB 00
But i think it should be F3 F8 E8 8A DB 00
Because your Original Call is F3 F8 E8 8A D7 40


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: professor on March 27, 2013, 02:10:33 PM
I tried to create .ecu file with your binary.
The .ecu file is very small and is not containing all parameters they are needed.
try to use this 032RP file, with this one i got success.
Please check second FTOMN @ 0x1A4DC
Im not sure wich FTOMN is the right one of the both?!

Got same error with both of the attached files.
Win 8 x64.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on March 27, 2013, 04:30:02 PM
Got same error with both of the attached files.
Win 8 x64.

Im sorry i cant test with win8 x64 at the moment :(
But the Second attached file is patched with setzis code so you can use it.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mbwiejska12 on March 28, 2013, 10:27:57 AM
Ok i fixed bug with the 00 in beginning of file, but i see in your Main Function at the end F3 F8 F3 8A DB 00
But i think it should be F3 F8 E8 8A DB 00
Because your Original Call is F3 F8 E8 8A D7 40

Thanks a lot Mazer. Everything is OK :) THANKS!
Is it possible to add any fuel enrichment only on Launch Control?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: pedrosousa on March 30, 2013, 01:52:24 PM
Does this work in the 512kb file version? Look at the attachment, it's what's happening.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: edduu on April 01, 2013, 12:38:36 AM
Does this work in the 512kb file version? Look at the attachment, it's what's happening.


looks like the exe version is not containing the file_put_contents, maybe because its a php4 to exe converter and file_put_contents its implemented from php5 i think.

this were a bit dead since just 1 guy were testing it. we have some issues with some ecus that have 2 FTOMN, we need to know what is the correct for fix the script

and thanks mazer for fix some issues on it. about the wped i didn't had an ecu with wped_w before the wped, but yes that will get wped and not wped_w accidentally.

as i said before i writted this in 3 hours, was just trying to help with my little php knowledge :)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: pedrosousa on April 01, 2013, 12:02:12 PM
I installed php, and tried with launch.php, now it's done I'll see the file with ols.

Thanks


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on April 01, 2013, 02:42:44 PM
Does this work in the 512kb file version? Look at the attachment, it's what's happening.


you must use the last exe file i uploaded here.

Edduu: I hope you are not bad with me that i write in your code :)
I will help you to fix the FTOMN Problem :)
It would be great if someone can test this on 512k ecu and share his experience here. :)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on April 01, 2013, 02:47:06 PM
Thanks a lot Mazer. Everything is OK :) THANKS!
Is it possible to add any fuel enrichment only on Launch Control?

Im sure its possible, but for this we need help from setzi or someone with many experience with this ecu.
There are a lot of great ideas to do this code better ( like engine temperature threshold ).


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mbwiejska12 on April 01, 2013, 03:06:19 PM
Im sure its possible, but for this we need help from setzi or someone with many experience with this ecu.
There are a lot of great ideas to do this code better ( like engine temperature threshold ).

That would be lovely. :)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: pedrosousa on April 01, 2013, 03:25:12 PM
you must use the last exe file i uploaded here.

Edduu: I hope you are not bad with me that i write in your code :)
I will help you to fix the FTOMN Problem :)
It would be great if someone can test this on 512k ecu and share his experience here. :)

I'll try it Saturday, I've seen the file in ols, checksum it's corrected and stage2 map also applied. I hope it works.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ddillenger on April 01, 2013, 03:32:11 PM
I have a 512kb 018Q. I can test it for you.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on April 01, 2013, 03:53:35 PM
I have a 512kb 018Q. I can test it for you.

Im not sure you have a mod file with setzis code ready.
If not try the file from my attachment :)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: pedrosousa on April 01, 2013, 04:11:55 PM
Im not sure you have a mod file with setzis code ready.
If not try the file from my attachment :)

My big concern are the coil packs...



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: sn00k on April 01, 2013, 04:15:15 PM
Im sure its possible, but for this we need help from setzi or someone with many experience with this ecu.
There are a lot of great ideas to do this code better ( like engine temperature threshold ).

quite easy to add conditions to i.e use the BTS function for a set AFR while the launch is active.

care to explain your thought behind engine temp threshold and how you would want it implemented?

im not an ASM-guru, but ive been making quite a few own functions, patches and mods to the code for the last couple of months, so i feel confident in beeing able to modify/improve this.

i would start with retarding ignition quite a bit, and enriching the mixture.. keeping throttle angle at 100% and the rpms steady by cutting ignition and/or fuel..


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: sn00k on April 01, 2013, 04:17:35 PM
My big concern are the coil packs...



you should be more worried about the coil-driver inside the ecu frying.. than the actual coils themself..


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: pedrosousa on April 01, 2013, 04:24:23 PM
you should be more worried about the coil-driver inside the ecu frying.. than the actual coils themself..

If that happens then it's time for ECU upgrade to 1mb version


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: sn00k on April 01, 2013, 04:35:43 PM
good thinking.. need some wires and sensors too tho.. and not all 1MB ecus are compatible with this "hack" either.. all/most of the 1mb wideband ecus seem to work tho.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: fever on April 02, 2013, 12:18:42 AM
quite easy to add conditions to i.e use the BTS function for a set AFR while the launch is active.

care to explain your thought behind engine temp threshold and how you would want it implemented?

im not an ASM-guru, but ive been making quite a few own functions, patches and mods to the code for the last couple of months, so i feel confident in beeing able to modify/improve this.

i would start with retarding ignition quite a bit, and enriching the mixture.. keeping throttle angle at 100% and the rpms steady by cutting ignition and/or fuel..


Sorry, what are you using to compile ASM code ? I've tried uVision4 but gave up  :)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: masterj on April 02, 2013, 03:15:58 AM
Sorry, what are you using to compile ASM code ? I've tried uVision4 but gave up  :)

Why would you need to compile it? :) You can easily check hex code behind asm after correction in ida ;)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: fever on April 02, 2013, 04:32:32 AM
Why would you need to compile it? :) You can easily check hex code behind asm after correction in ida ;)

I'm doing it right now  ;D, think should be easier way  :)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: phila_dot on April 02, 2013, 06:34:49 AM
uVision

Reeds C166 allows illegal syntax


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: phila_dot on April 02, 2013, 06:35:31 AM
Why would you need to compile it? :) You can easily check hex code behind asm after correction in ida ;)

How would you write a function this way?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: sn00k on April 02, 2013, 10:35:25 AM
well the C166/167 ISM is not so complicated imo.. if you know the basic structure of ASM, you could manage to write functions in pure hex.. the asm - hex codes etc is all available in the instruction set manual.

i use a small c16x dissassembler/one-line assembler when i tinker.. its perfect for this.
a while back i tried the uVision/keil one as reccomended by many here, but its WAY too advanced a software for this simple code-patching imo.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: CorradoGuy on April 05, 2013, 08:56:18 PM
Thanks for the great work, this makes this mod very easy.

A buddy was having problems running this script and couldn't figure it out so he asked me to look at it. I code but I don't code in PHP so I installed PHP 5.4 which is the latest release and when I ran this using the required command line 'php launch.php ecu.bin dump.bin' I got an error message 'Fatal Error: Call-time pass-by-reference has been removed in <PATH>\launch.php on line 544'. When I look at line 544 I can see it is the line that writes the code changes to the file and this is where it is crashing. Line 544 calls the function using a pointer instead of the actual variable which is no longer supported in PHP 5.4.

If you use an older release of PHP other than 5.4 this will work but the path for PHP must be in your system path or you will need to run the above command from the root of the PHP folder.

If you use PHP 5.4 then take the reference to the pointer out and it will work properly. If you want to remove the pointer simply open 'launch.php' and go to the third to last line and change it from...

writeResult($targetFilename, &$bin);

to...

writeResult($targetFilename, $bin);

and it will appear to make the changes properly. The new bin has not had the check sums tested nor flashed to the ECM but it should work. If nothing else use an older version of PHP than 5.4 and it will work.

Thanks again for the great work.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: pedrosousa on April 06, 2013, 09:25:31 AM
When I hit the clutch the engines shuts down and the EPC and MIL light start to blink.
What's the problem???


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on April 06, 2013, 08:34:54 PM
When I hit the clutch the engines shuts down and the EPC and MIL light start to blink.
What's the problem???

Upload the file you used, then we can take a look.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: pedrosousa on April 07, 2013, 02:02:03 AM
Upload the file you used, then we can take a look.

Original and moded, I haven't changed nothing, just applied this.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: envisible on April 07, 2013, 07:42:27 AM
I have this problem too..
original and moded


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on April 08, 2013, 01:33:54 AM
Original and moded, I haven't changed nothing, just applied this.

Hmm, your file looks good for me, but i changed position of the main function maybe this works.
Can you try to log with me7logger following variables
wped
tsrldyn
b_br
b_kuppl
nmot_w

Just start log and try to run into Launch Control :)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: envisible on April 08, 2013, 02:26:13 AM
And what about me? ;)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: pedrosousa on April 08, 2013, 11:57:06 AM
Hmm, your file looks good for me, but i changed position of the main function maybe this works.
Can you try to log with me7logger following variables
wped
tsrldyn
b_br
b_kuppl
nmot_w

Just start log and try to run into Launch Control :)


Saturday I'll try it, thanks.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: envisible on April 08, 2013, 12:03:17 PM
Can anybody helps me..? :(


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: pedrosousa on April 08, 2013, 02:19:34 PM
Can anybody helps me..? :(

All I can do it's test my file and then I'll see yours and the differences between them 


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on April 08, 2013, 04:23:26 PM
Can anybody helps me..? :(

I looked in your file and it seems the script is changing the wrong value for ftomn.
Try this maybe this will work :)
But you must correct checksumm :)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: envisible on April 08, 2013, 09:01:49 PM
Big thanks mazer.GTi :)
I'll try it today.
How to avoid this trouble in future?
Is it enough to manually patch file like You makes now?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: envisible on April 08, 2013, 11:02:34 PM
Sorry, but still this error..Clutch pressed and ECU shut down..
Maybe something wrong with my dump.ecu?

Here is my original flash with my dump.ecu


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: pedrosousa on April 09, 2013, 12:25:18 PM
Sorry, but still this error..Clutch pressed and ECU shut down..
Maybe something wrong with my dump.ecu?

Here is my original flash with my dump.ecu

Have you tried to put the RPM @5000 rpm and then press the clutch??
I tried that, and it keeps cutting spark until the engine stop. :(
I haven't tried this new file changes from Mazer.Gti because I'm far from the car.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on April 09, 2013, 03:46:57 PM
Sorry, but still this error..Clutch pressed and ECU shut down..
Maybe something wrong with my dump.ecu?

Here is my original flash with my dump.ecu

Can you do the same and log this variables with me7logger?
wped
tsrldyn
b_br
b_kuppl
nmot_w


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: envisible on April 10, 2013, 12:16:35 PM
Hi. Here is my log with modded formware. When I press clutch, logger lost connection with ny ECU. In addition, I added log with original ecu


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: pedrosousa on April 10, 2013, 03:05:16 PM
Hi. Here is my log with modded formware. When I press clutch, logger lost connection with ny ECU. In addition, I added log with original ecu

Do you ear some clicks with the clutch pressed?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on April 10, 2013, 03:43:15 PM
Hi. Here is my log with modded formware. When I press clutch, logger lost connection with ny ECU. In addition, I added log with original ecu

In your modded.csv i cannot see the pressed clutch?
Did you pressed it?
Can you press Brake for 2 Seconds in idle while logging too?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on April 10, 2013, 04:16:14 PM
New Update of launch.php (launch.exe)
- New Function to search FTOMN
- New Function for reading .ecu file


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: envisible on April 10, 2013, 08:31:03 PM
In your modded.csv i cannot see the pressed clutch?
Did you pressed it?
Can you press Brake for 2 Seconds in idle while logging too?

Just I press clutch, my ecu shut down and logger lost connection with it.
I can press brake. Today I will try again with my spare ECU


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: envisible on April 10, 2013, 08:32:31 PM
Do you ear some clicks with the clutch pressed?

Yes. Like a some relay.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on April 10, 2013, 11:39:59 PM
Just I press clutch, my ecu shut down and logger lost connection with it.
I can press brake. Today I will try again with my spare ECU

Hm, is your ecu shutting down if you rev over launchrpm ?
Or does it shutting down immediately after pressing clutch?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: envisible on April 11, 2013, 04:34:48 AM
Immidiately. Just I press clutch, ECU shutting down, ESP light on.
Then I release clutch, EPC and MIL light on for 1-2 second, like a ignition on, and engine continue work..
On my spare ecu all repeated)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: pedrosousa on April 12, 2013, 11:37:21 AM
Immidiately. Just I press clutch, ECU shutting down, ESP light on.
Then I release clutch, EPC and MIL light on for 1-2 second, like a ignition on, and engine continue work..
On my spare ecu all repeated)

Here it's the same, equal....


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: k0mpresd on April 13, 2013, 01:06:43 PM
so yea, i think theres still a few bugs. i ran this script on a 4b0906018da and it plopped the code right on top of other code, not in a free space in flash. this is easily fixed by copy/paste and changing the jump to the right location, but still, if you just took it for what its worth it would be a problem.

also, ran this script on a v6 2.8 passat file. it placed the variables at 0x17db5. so when looked at in 16bit, everything was 1 location off.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ddillenger on April 13, 2013, 08:30:48 PM
I too tried this out today. The following 2 files didn't work (the only two I had cars to try them in :()

032CL just bricked, no communication with the ECU at al.

032SK Seemed to work, until you hit the clutch pedal. Then, the check engine light extinguished and I abandoned all hope :(

Files before patching attached!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: k0mpresd on April 13, 2013, 08:31:40 PM
php script edited to work with the 018da file and also a version to work with the v6 file.
need to test both files but the locations in the file seem ok now.

launch.php checks for more FF before adding code to space and the launchv6 has:

Code:
$launchvars = strpos($bin,"\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF",97700)+16;

instead of:

Code:
$launchvars = strpos($bin,"\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF",97700)+17;


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: k0mpresd on April 13, 2013, 08:51:54 PM
Immidiately. Just I press clutch, ECU shutting down, ESP light on.
Then I release clutch, EPC and MIL light on for 1-2 second, like a ignition on, and engine continue work..
On my spare ecu all repeated)

test with my launchv6.php script and post results please.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: envisible on April 14, 2013, 12:41:57 AM
It works!! :) Big thanks! launchv6.php script work.
But I think ignition cut duration is too small, because my engine slowly continue revs up under ignition cut.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Andre20VT on April 14, 2013, 03:05:54 AM
Hello,

Would it also be possible to use this auto add script in my 06A906032MJ ecu?
Because when i have run the script, i saw that ftomn still hasn't changed to 0
Last time when i tried this script i had issues at idle i think it has something to do with ignition timing of something
because when the engine was running idle and i turned my steeringwheel or when the coolingfan kicks in, the rpm
was getting so low that the engine turned off.
I haven't tried the anti-lag yet because i realised that my clutch switch doesn't work.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: pedrosousa on April 14, 2013, 05:09:11 AM
Hello,

Would it also be possible to use this auto add script in my 06A906032MJ ecu?
Because when i have run the script, i saw that ftomn still hasn't changed to 0
Last time when i tried this script i had issues at idle i think it has something to do with ignition timing of something
because when the engine was running idle and i turned my steeringwheel or when the coolingfan kicks in, the rpm
was getting so low that the engine turned off.
I haven't tried the anti-lag yet because i realised that my clutch switch doesn't work.


Andre, try the new version, I'll try asap


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: envisible on April 14, 2013, 07:42:37 AM
Today I've checked my flash modded by launchv6.php script.
NLS works fine, but launch control works strange.
At launch RPM I have some rare ignition cuts and engine continue revs up. Up to stock rev limiter.
What I should change?I've try to change Ignition Cut Duration from 200 to 50 and 400 and it has no real effect..


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Andre20VT on April 14, 2013, 09:38:28 AM
Andre, try the new version, I'll try asap

Thanks, i will try it right now and check it in winols and hopefully i can flash the file tomorrow and
i hope that it will work with this last version and that the problems with idle are gone.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Andre20VT on April 14, 2013, 11:22:20 AM
Thanks, i will try it right now and check it in winols and hopefully i can flash the file tomorrow and
i hope that it will work with this last version and that the problems with idle are gone.

I just tried the last version but when i checked in winols i see that the adress of ftomn from the 032MJ is at 1A43D and
i see that the script found ftomn 5 at adress 1A432 and has changed it to 0 but at the wrong adress  ???


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: k0mpresd on April 14, 2013, 12:02:49 PM
I just tried the last version but when i checked in winols i see that the adress of ftomn from the 032MJ is at 1A43D and
i see that the script found ftomn 5 at adress 1A432 and has changed it to 0 but at the wrong adress  ???

it seems the hex pattern it searches for is incorrect in some files.

$search=0;
while ($search=strpos($bin,"\x05\x40\x54\x83\x84\xB8\xC0\xC0\xC0\x80\x80",$search+1)) {
if ($search!=0)
$pos=$search+11;
}


some files are xA0 xA0 xA0 x80 x80 x05, where the last x05 byte is ftomn.

even though the script reports the wrong location as correct because the hex it searches for is present in the file but the x05 it chooses is wrong. hope that makes sense.

with just a basic script like this, it seems maybe there should be different versions with different search patterns and code locations.

heres an example. you can see the 2 different patterns.

(http://i795.photobucket.com/albums/yy231/k0mpresd/ftomn.png)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Andre20VT on April 14, 2013, 12:51:25 PM
I just changed the adress 1A432 back to its original 05 value and set ftomn at adress 1A43D manually to 00
Now i only have to find out if the other locations that where changed by the script are at the right adresses and that
i don't have the same problem as with the ftomn location search  :-\
And also check that  the location for code cave won't give me any problems, but i don't think so


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on April 14, 2013, 11:56:03 PM
Latest version from me with updated "find free space" function
k0mpresd try this version, here is updated FTOMN search function.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on April 15, 2013, 12:05:35 AM
And the Executable version


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Andre20VT on April 15, 2013, 08:42:02 AM
Latest version from me with updated "find free space" function
k0mpresd try this version, here is updated FTOMN search function.

Thanks! I will try it right now.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: k0mpresd on April 15, 2013, 09:15:02 AM
And the Executable version

seems to work ok. ftomn was found correctly.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Andre20VT on April 15, 2013, 10:56:08 AM
ftomn is now changed correct by the script, i am now trying to find the other adresses that
has beeing changed because i can't find them in my file because they are not defined in my definition file  :(
 


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: k0mpresd on April 15, 2013, 11:00:08 AM
ftomn is now changed correct by the script, i am now trying to find the other adresses that
has beeing changed because i can't find them in my file because they are not defined in my definition file  :(
 

the script tells you the addresses. did you read the output?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Andre20VT on April 15, 2013, 11:17:52 AM
the script tells you the addresses. did you read the output?

Yes i have read the adresses from the output, but what i meant was is it possible that the same problem occurs what the last time happend with the ftomn search string..
But i will flash it to my car to test it, and let you know if everything works


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on April 15, 2013, 03:32:22 PM
Yes do it and report it here please :)
Will be happy if we can get this script running perfectly :)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on April 15, 2013, 04:01:33 PM
ftomn is now changed correct by the script, i am now trying to find the other adresses that
has beeing changed because i can't find them in my file because they are not defined in my definition file  :(
 

The script is only changing ftomn, the Settings for LC_NLS, Call to Function, and the Main Function.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Andre20VT on April 17, 2013, 01:27:03 PM
Yes do it and report it here please :)
Will be happy if we can get this script running perfectly :)

I flashed the file in my car today and the car runs good without any idle problems like i had before, but i
haven't tested the 2step and antilag yet because it was a short distance that i drove today so the engine
wasn't at good temperature yet.
Hopefully i can test it tomorrow for a longer ride, and i will update the results  asap
 


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: edduu on April 18, 2013, 05:18:55 AM
well when i first maded the script not many people tested it so i wasn't able to fix it

got first some reports at clutch stopping the engine, but now i see that someone fixed

please, those who got successfully working the script, PM me the .ecu original and modified. and the script that you used, provably one of the modified by maZer.GTi or k0mpresd

so we can take forward on this :)

they are some issues regarding yet like finding the correct FTOMN, we don't know if is the first or last value the correct one.

i modified this 2 times, the original was modifying the first FTOMN finded, the last in github the last finded FTOMN, i don't have a Jetta or 1.8T car for test it. also i know about reversing not about boot mode recovery if the ecu got bricked, so just use this if you know what are you doing.

nice to see people interested on this yet :D



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Andre20VT on April 18, 2013, 01:05:03 PM
Tested today when i made a longer ride but 2step and antilag doesn't work yet on my 032MJ ecu  ???
I checked the clutch signal because last time the switch was defective but it was working good now.
Sow i think that there is something else wrong...


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on April 19, 2013, 05:19:25 PM
Tested today when i made a longer ride but 2step and antilag doesn't work yet on my 032MJ ecu  ???
I checked the clutch signal because last time the switch was defective but it was working good now.
Sow i think that there is something else wrong...

Do Logfile with me7logger with variables i posted :)
Upload Logfile and your original File and Modded File.
Maybe someone can help you.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Andre20VT on April 20, 2013, 03:34:04 AM
Do Logfile with me7logger with variables i posted :)
Upload Logfile and your original File and Modded File.
Maybe someone can help you.

I have got a very busy weekend but i will try to make a logfile asap 

thanx  :)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: pedrosousa on May 01, 2013, 09:35:36 AM
Andre, have you tested??

I've exactly the same issue but I don't have obd cable to log it now...


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Andre20VT on May 01, 2013, 02:19:50 PM
Andre, have you tested??

I've exactly the same issue but I don't have obd cable to log it now...

Unfortunately not because i am very busy with my
work and spend a lot of time with my child.
I only checked with vagcom if i got a good working
clutch and brake signal and they where fine,
so something else is wrong.
I also have to check how i make a log with me7logger
and how i select the right channels to log because normally i
make logs with vagcom.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: cactusgreens4 on May 03, 2013, 06:53:53 PM
Can someone lend me a helping hand? I have been trying to add AL NLS to my file for some time now and I have tried the executable file and the php file both found here as well as trying to manually patch in the code into my file and nothing seems to work for me. I have tried installing php. no luck. I have tried running the executable file as well also with no luck. what is the secret here?


Title: could someone check this and see if i have it right
Post by: vwmaniac on May 08, 2013, 05:50:59 PM
If someone could check this i would appreciate it. Thank You. My car does not have a brake switch so i can not check if it works or not.

B_br 0x00FD3C bit mask >Bit mask .10 > 1E A0
B_kuppl 0x00FD3C > Bit mask .14 > 1E E0
vfil_w 0x380D9E > 9E 8D
Nmot_w 0x00F868 > 68 F8
Wped 0x380AD3 > D3 8A
Tsrldyn 0x380D1C > 1D 8D

Condition variables at 17E00-08



location 568FE
DA 87 00 A7 D7 40 06 02 03 F8



location 07 A7 00

9A 1E 13 E0 F2 F4 9E 8D D7 00 81 00 F2 F9 00 7E
40 49 9D 0B F2 F4 68 F8 D7 00 81 00 F2 F9 02 7E
40 49 FD 03 F7 8E 1C 8D 0D 2F 9A 1E 29 E0 8A 1E
22 A0 F2 F4 68 F8 D7 00 81 00 F2 F9 06 7E 40 49
FD 1A C2 F4 D3 8A D7 00 81 00 C2 F9 08 7E 40 49
FD 12 D7 00 38 00 F2 F4 F0 4F D7 00 81 00 F2 F9
04 7E 40 49 9D 11 F7 8E 1C 8D 08 41 D7 00 38 00
F7 F8 F0 4F 0D 09 D7 00 38 00 F6 8F F0 4F 0D 04
D7 00 38 00 F6 8E F0 4F F3 F8 74 8B DB 00 FF FF





Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: vwnut8392 on June 12, 2013, 06:45:01 PM
i've tried patching with PHP and with the EXE file and all i get is an output with a bunch of data scrolling down my screen and no file. im trying to do an 8D0907551A ECU for a 2000 audi S4. i have a good output file from ME7logger thats renamed dump.ecu in the same folder and my S4 binary renamed ecu.bin. i have no idea why its its not giving me an output file at all. someone please help. ???

scratch this, i got it working. i must have got a bad download of the PHP script.


Title: Re: could someone check this and see if i have it right
Post by: vwmaniac on June 21, 2013, 10:26:42 AM
If someone could check this i would appreciate it. Thank You. My car does not have a brake switch so i can not check if it works or not.

B_br 0x00FD3C bit mask >Bit mask .10 > 1E A0
B_kuppl 0x00FD3C > Bit mask .14 > 1E E0
vfil_w 0x380D9E > 9E 8D
Nmot_w 0x00F868 > 68 F8
Wped 0x380AD3 > D3 8A
Tsrldyn 0x380D1C > 1D 8D

Condition variables at 17E00-08



location 568FE
DA 87 00 A7 D7 40 06 02 03 F8



location 07 A7 00

9A 1E 13 E0 F2 F4 9E 8D D7 00 81 00 F2 F9 00 7E
40 49 9D 0B F2 F4 68 F8 D7 00 81 00 F2 F9 02 7E
40 49 FD 03 F7 8E 1C 8D 0D 2F 9A 1E 29 E0 8A 1E
22 A0 F2 F4 68 F8 D7 00 81 00 F2 F9 06 7E 40 49
FD 1A C2 F4 D3 8A D7 00 81 00 C2 F9 08 7E 40 49
FD 12 D7 00 38 00 F2 F4 F0 4F D7 00 81 00 F2 F9
04 7E 40 49 9D 11 F7 8E 1C 8D 08 41 D7 00 38 00
F7 F8 F0 4F 0D 09 D7 00 38 00 F6 8F F0 4F 0D 04
D7 00 38 00 F6 8E F0 4F F3 F8 74 8B DB 00 FF FF






I rewired both clutch and brake switches but i get nothing, i can see both switches functioning in vag-com but the function does not work, i have also tried multiple ram locations for the counter but it still does not work. i have coilpack design in my 12v vr6 me7.1 system not individual coils so im wondering if that is a hardware issue. if someone could please help me i would be forever greatful!! Here are my original .bin my .ecu and the new .bin with the function, call ect...


Title: Re: could someone check this and see if i have it right
Post by: vwnut8392 on June 21, 2013, 11:19:39 AM
i would suggest the auto add PHP script thats floating around on here. once i got it working right it adds the custom code and works perfect every time.


I rewired both clutch and brake switches but i get nothing, i can see both switches functioning in vag-com but the function does not work, i have also tried multiple ram locations for the counter but it still does not work. i have coilpack design in my 12v vr6 me7.1 system not individual coils so im wondering if that is a hardware issue. if someone could please help me i would be forever greatful!! Here are my original .bin my .ecu and the new .bin with the function, call ect...


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: vwnut8392 on June 21, 2013, 11:25:48 AM
I have tested this on 2 cars, one being a 2000 B5 S4 and and a 2004 R32. the R32 works beautifully but the S4 is a different story. the S4 doesnt hold at the set RPM for the anti-lag. it pushes through the RPM the whole way to red line. it does cut spark like its supposed to but it doesnt hold at the set lower RPM value like the R32 does. what could be causing this?


Title: Re: could someone check this and see if i have it right
Post by: vwmaniac on June 21, 2013, 02:00:10 PM
i would suggest the auto add PHP script thats floating around on here. once i got it working right it adds the custom code and works perfect every time.


I actually did use the script to check my work and everything was the same. so i dont know what the problem is. Also how would i know if its cutting spark and pushing thru the limiter, other than hearing some pops and bags as the rev limit increases? would i see it in the misfire counter? Could someone please use the script to create the new .bin because the .exe version i used comes up with an error after it gives me the offsets to use. Thank you for the reply


Title: Re: could someone check this and see if i have it right
Post by: vwnut8392 on June 21, 2013, 09:03:00 PM
I actually did use the script to check my work and everything was the same. so i dont know what the problem is. Also how would i know if its cutting spark and pushing thru the limiter, other than hearing some pops and bags as the rev limit increases? would i see it in the misfire counter? Could someone please use the script to create the new .bin because the .exe version i used comes up with an error after it gives me the offsets to use. Thank you for the reply

yeah you can hear it cutting ignition even though its pushing through to the rev limiter. when i do it on the B5 S4 you here it cut at the RPM i set for it to cut ignition at but it keeps reving to 7200RPM in my case. im not sure if its retarding the timing enough in my case. also there is no setting in the code to set how much timing is removed from the anti-lag.


Title: Re: could someone check this and see if i have it right
Post by: vwmaniac on June 27, 2013, 02:29:19 PM
yeah you can hear it cutting ignition even though its pushing through to the rev limiter. when i do it on the B5 S4 you here it cut at the RPM i set for it to cut ignition at but it keeps reving to 7200RPM in my case. im not sure if its retarding the timing enough in my case. also there is no setting in the code to set how much timing is removed from the anti-lag.

I used the script produced anti lag .bin and it still dosnt work. The script dosnt find ftomn but i have a damos for the 12v vr6 so i knew where it was and edited it. I also change where the counter goes since it used 4ff0 and im not entirely sure that is free space in my ecu. i used what i believe is free space @ 008310 figuring that would be 0x380310 would my thinking be correct. because looking at 4ff0 which i thought would be 384ff0 and in my bin 0x00cff0 which look to be used. here is the script created fine and the original. hopefully you guys could help me to get this working. Thank you in advance i appreciate all the help so far.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: pedrosousa on August 27, 2013, 05:57:44 AM
OK I was trying this again, used the v6 and now it builds boost but doesn't hold the rpm, didn't try the nls.

I used
FTMON = 0
RPM threshold = 5000
LaunchRPM = 5500
Speed threshold 3.3
Ingition cut duration = 200 also tried 160 and 260
ACC pedal threshold = 90

What's wrong?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on September 11, 2013, 02:14:42 AM
OK I was trying this again, used the v6 and now it builds boost but doesn't hold the rpm, didn't try the nls.

I used
FTMON = 0
RPM threshold = 5000
LaunchRPM = 5500
Speed threshold 3.3
Ingition cut duration = 200 also tried 160 and 260
ACC pedal threshold = 90

What's wrong?


Im sorry for this, but i tried some times ago with this ecu.
on 018N 29f400 this function will not work.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on September 26, 2013, 09:20:32 AM
Hello Folks, now i have a big update for the 29F400 Ecus.
+ added support for 29F400 Ecus like S3 ( 018K, 018N ).
+ added support for VR6 Ecus ( FTOMN issue )
Should work, if someone can try and give me feedback?

Usage is still the same, here is example
launch.exe ecubinary variables.ecu [offset_lc_func] [offset_lc_config]
launch.exe 018n.bin 018n.ecu 0x76980 0x16f90

ATTENTION: i noticed that many times my tool is writing the LC_FUNC_CODE and LC_CONFIG in a checksum area.
After patching your ecu binary please fix the checksum and check the functions,
the LC_FUNC_CODE should start with 9A ... and end with DB 00.
The LC_CONFIG is by default starting with A6 01 .... ending with 55 E6.
Verify that no checksum correction will overwrite the code.

greets


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on September 26, 2013, 12:09:46 PM
Any progress on disabling knock/misfire recognition for 2step/antilag?

Or disabling 2step/antilag until engine is up to temp?

TIA


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on September 26, 2013, 02:18:24 PM
Any progress on disabling knock/misfire recognition for 2step/antilag?

Or disabling 2step/antilag until engine is up to temp?

TIA

Hello nyet,
im adding this function tonight, do you can test it for me?
which ecu you has, or can send me your binary with lc_code ?
Greets
Andy


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on September 26, 2013, 02:47:08 PM
Hello nyet,
im adding this function tonight, do you can test it for me?
which ecu you has, or can send me your binary with lc_code ?
Greets
Andy

i am not using any LC code currently until there is a version with those features :)

im running s4 2.7t 551M right now..

but ya, if you do it, i will test it :)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: adam- on October 01, 2013, 08:24:37 AM
So, the script works, I guess, no errors, but I've not flashed it yet, because I want to change the variables.

I don't know where it puts them, so I can't define them in my file - 032HN, if that helps.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: k0mpresd on October 01, 2013, 08:57:55 AM
So, the script works, I guess, no errors, but I've not flashed it yet, because I want to change the variables.

I don't know where it puts them, so I can't define them in my file - 032HN, if that helps.

did you read the damn screen when the script ran? it tells you where it put them.  :o


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ddillenger on October 01, 2013, 09:52:07 AM
ALSO!

Make sure you create a map for the function as well, and double check it after modifying your file in the future. OLS has been erasing half of it on me.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on October 01, 2013, 10:27:12 AM
ALSO!

Make sure you create a map for the function as well, and double check it after modifying your file in the future. OLS has been erasing half of it on me.

Yes it would be nice if someone can give me info how i can check area, many times the code will be injected in the checksumm area.. :(


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: adam- on October 19, 2013, 04:54:32 AM
Lol, I was being a monkey, never even clocked that.

Confirms it works on 32HN too, but doesn't seem to pop like I'd hope.

Can blip and it'll bang - can only assume it's because timing is then going ATDC, and during AL it's BTDC..

Tried adding more fuel, but it doesn't help.  Holds on the launch RPM fine though.

NLS works too and I think hell just opened up.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on November 01, 2013, 02:38:26 PM
Lol, I was being a monkey, never even clocked that.

Confirms it works on 32HN too, but doesn't seem to pop like I'd hope.

Can blip and it'll bang - can only assume it's because timing is then going ATDC, and during AL it's BTDC..

Tried adding more fuel, but it doesn't help.  Holds on the launch RPM fine though.

NLS works too and I think hell just opened up.

Wait for Version 0.6, i hope we can do some Gearbox Stress tests.. haha :D


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: envisible on November 11, 2013, 12:59:52 PM
Hello Folks, now i have a big update for the 29F400 Ecus.
+ added support for 29F400 Ecus like S3 ( 018K, 018N ).
+ added support for VR6 Ecus ( FTOMN issue )
Should work, if someone can try and give me feedback?

Usage is still the same, here is example
launch.exe ecubinary variables.ecu [offset_lc_func] [offset_lc_config]
launch.exe 018n.bin 018n.ecu 0x76980 0x16f90

ATTENTION: i noticed that many times my tool is writing the LC_FUNC_CODE and LC_CONFIG in a checksum area.
After patching your ecu binary please fix the checksum and check the functions,
the LC_FUNC_CODE should start with 9A ... and end with DB 00.
The LC_CONFIG is by default starting with A6 01 .... ending with 55 E6.
Verify that no checksum correction will overwrite the code.

greets

Hi. I used latest version of your tool on my 28F800 ECU.
Here is my file, I checked starts and ends of code, it's OK, but could you check it for checksum area errors?
I doesn't change any variables.
LC_FUNC_CODE address is BE3A0
LC_CONFIG address is 17520.

8E0909518AK 0261208230_1037368072

Thanks.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ddillenger on November 11, 2013, 02:04:19 PM
Hi. I used latest version of your tool on my 28F800 ECU.
Here is my file, I checked starts and ends of code, it's OK, but could you check it for checksum area errors?
I doesn't change any variables.
LC_FUNC_CODE address is BE3A0
LC_CONFIG address is 17520.

8E0909518AK 0261208230_1037368072

Thanks.


Do not use on this file. It will leave you stranded after a few stop/start cycles no matter how it is checksummed. (Haven't tried ecufix yet).

Use the other version, but be warned, something is broken with fueling in that version. It never works right.

SW 369307


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: envisible on November 11, 2013, 10:20:35 PM
Do not use on this file. It will leave you stranded after a few stop/start cycles no matter how it is checksummed. (Haven't tried ecufix yet).

Use the other version, but be warned, something is broken with fueling in that version. It never works right.

SW 369307

Thanks. Could you explain what wrong in my file and what broken in fueling in 369307?
I have 371156 file, may be it better to use?



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ddillenger on November 11, 2013, 10:24:33 PM
I have no experience with that version, just the two listed.

Sorry, you're on your own.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: envisible on November 11, 2013, 11:05:52 PM
Thanks. How I can check file? Just be trying on my car?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ddillenger on November 11, 2013, 11:19:27 PM
Yes, drive it for a few days, report back if it ends up not starting after a few start/stop cycles.

If that happens, disconnect the battery, touch the terminals together, then wait 5 minutes. It'll start back up.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: envisible on November 12, 2013, 12:43:05 PM
It's bad news..
Can you explain me what wrong in SW 369307?
I use stroker and big turbo, will it be critical for my engine?
Today I makes a mappack for 371156 and will try to inject AL/NLS.

P.S.
Some weeks ago, I noticed strange feature with injcted AL code..
If I did pause between ignition ON and start to cranck, I could go many days without checksum error..
But if I didn't pause and start to cranck immediately after ignition ON, I has checksum error after 2-3 cycle start/stop.

And I always have this error if I drive for a long time (about 1.5 hours) without stop engine..


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ddillenger on November 12, 2013, 03:47:12 PM
If I knew what was wrong with it, I would fix it. As it is, I tried to port a file to that version, copied EVERY SINGLE change perfectly. Fueling went from spot-on to super lean on top. Ive since spoken to other people and they too have been forced to start with other software versions.



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: jpi512 on November 22, 2013, 09:00:42 AM
hi, please can explain the variables places and factor. i think only detect 2 Rpm 4500 and 5500 rpm

will be excelent a Little descripción like,
 
example :
1st place LC RPM factor .25
2nd place xxxxxxx factor xxxxx


im testing the code into s3 018N, and in a few uses blow fuse 10 ( this many times) . i will check a Little more.... and send comments


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on November 24, 2013, 08:06:01 PM
hi, please can explain the variables places and factor. i think only detect 2 Rpm 4500 and 5500 rpm

will be excelent a Little descripción like,
 
example :
1st place LC RPM factor .25
2nd place xxxxxxx factor xxxxx


im testing the code into s3 018N, and in a few uses blow fuse 10 ( this many times) . i will check a Little more.... and send comments

Try this KP file for winols. But you must reassign offsets to yours


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: jpi512 on November 26, 2013, 09:16:51 AM
Try this KP file for winols. But you must reassign offsets to yours


many thanks i will check


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: jpi512 on November 27, 2013, 05:26:56 PM

many thanks i will check

im using winols 2.24 and i cant open. can you please remake the kp file?

thanks in advance


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: armageddon on December 17, 2013, 03:28:27 PM
i attached a exe version of your tool too for people without php installed. :)

It should be a noob question but...

I don't have php installed, and trying your launch.exe I am getting this:


C:\Users\Utilizador\launch>launch
Usage: php launch.php ecu.bin dump.ecu [OFFSET_Main_Code] [OFFSET_Variables]
Example: php launch.php ecu.bin dump.ecu 0x76980 0x170A0
Example: php launch.php ecu.bin dump.ecu


C:\Users\Utilizador\launch> php launch.php ecu.bin dump.ecu
'php' is not recognized as an internal or external command,
operating program or batch file.

C:\Users\Utilizador\launch>



What am I doing  wrong?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: armageddon on December 17, 2013, 03:44:30 PM
found it :P

C:\Users\Utilizador\launch> launch launch.php dump.ecu ecu.bin
finding tsrldyn...
found: 380DAC
finding vfil_w...
found: 380E40
finding nmot_w...
found: 00F87A
finding wped...
found: 380B02
finding B_kuppl (clutch pedal)...
found: 00FD56.8
finding b_br (brems), brake pedal...
found: 00FD56.4
FTOMN found: 0
FTOMN IS: 3c
FTOMN CHANGED TO 0
Using space given by argument for code cave..
space located at: 0xecb
Finding a good space for launch control configuration variables..

Warning: strpos(): Offset not contained in string. in C:\Users\Utilizador\launch
\launch.php on line 296
space located at: 0x11
Finding the offset for call to the code cave..
call will be located at: 0x0

Writing lines of code

code writed successfully to launch_mod.php!!

REMEMBER TO MAKE CHECKSUMS BEFORE YOU PUT THIS FILE,
CHECKSUMS ARE NOT CALCULATED ON THIS FILE

C:\Users\Utilizador\launch>


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: armageddon on December 17, 2013, 04:30:29 PM
but something seems wrong...


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on January 13, 2014, 04:36:41 PM
but something seems wrong...

launch yourEcuFile.bin yourEcu.ecu


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: armageddon on January 18, 2014, 11:40:59 AM
launch yourEcuFile.bin yourEcu.ecu

thanks

now it works


C:\Users\Utilizador\launch>launch ecu.bin dump.ecu
finding tsrldyn...
found: 380DAC
finding vfil_w...
found: 380E40
finding nmot_w...
found: 00F87A
finding wped...
found: 380B02
finding B_kuppl (clutch pedal)...
found: 00FD56.8
finding b_br (brems), brake pedal...
found: 00FD56.4
FTOMN found: 1a34d
FTOMN IS: 05
FTOMN CHANGED TO 0
Finding a good space for code cave..
space located at: 0x911f6
Finding a good space for launch control configuration variables..
space located at: 0x17db5
Finding the offset for call to the code cave..
call will be located at: 0x8e116

Writing lines of code

code writed successfully to ecu_mod.bin!!

REMEMBER TO MAKE CHECKSUMS BEFORE YOU PUT THIS FILE,
CHECKSUMS ARE NOT CALCULATED ON THIS FILE

C:\Users\Utilizador\launch>


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: leolux on January 19, 2014, 08:39:12 PM
Hi Guys,

have anyone get perfect working the LC&NLS on an 400 (512k) ME7.5 ECU? With the help of mazer.GTI i have an working basement and i think the code are right, but if i set an LC RPM the cars dont can hold the rpm it goes higher...

at second stage i have change the coil driver from 800 (1mb) Motorcode: AMK PCB but agan no hard rev on LC RPM but better then stock CHip.

If anyone can giv me some information on perfect working for the small mE7.5 im verry happy

0261207030
8N0906018AE


Leo


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: armageddon on February 27, 2014, 03:39:20 AM
I tested this today on my G-Box and when I press the clutch pedal the engine immediately shuts off.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: em.Euro.R18 on February 28, 2014, 04:53:35 PM
Ok so I ran the script on the CHbox I've been tuning (havn't flashed the file yet), just curious what this warning message pertains too. Clearly FTOMN could not be located.

(https://scontent-b-ord.xx.fbcdn.net/hphotos-prn1/t1/1625555_824862478899_185989068_n.jpg)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: em.Euro.R18 on February 28, 2014, 05:11:10 PM
(https://scontent-a-ord.xx.fbcdn.net/hphotos-frc1/t1/1920365_824868756319_781497189_n.jpg) whoops got it! nvm  :P

So this works using?
 VNMX       
DNMAXH     
ITNMXH     
NMAX       
NMAXOG   
TMOTNMX
TNMXH     

I'm assuming now looking further into it that you leave those stock and locate the address for variables @ 17db5 and it sorts them in order like this?
LC_speedthreshold
LC_launchRPM
NLS_launch duration
NLS_rpmthresh
NLS_accpedal


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: fmbaldani on April 15, 2014, 09:13:11 PM
My ecu is: 8L0906018N 512kb on a S3 8L 1.8T

I tried the standard program, but the revs kept rising up till fuel cut (7100rpm). Fried 1 coil that same day.

I read somewhere that using FTOMN = 00 causes some kind of bug on this specific ecu code, so I tried using 01 instead... guess what? Now it pops like it should ;D

https://www.youtube.com/watch?v=pwlemcKOgzM

Thanks a lot for the script!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on April 16, 2014, 04:47:35 PM
My ecu is: 8L0906018N 512kb on a S3 8L 1.8T

I tried the standard program, but the revs kept rising up till fuel cut (7100rpm). Fried 1 coil that same day.

I read somewhere that using FTOMN = 00 causes some kind of bug on this specific ecu code, so I tried using 01 instead... guess what? Now it pops like it should ;D

https://www.youtube.com/watch?v=pwlemcKOgzM

Thanks a lot for the script!


Really good work!! :)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: armageddon on April 20, 2014, 12:49:03 PM
I tested this today on my G-Box and when I press the clutch pedal the engine immediately shuts off.

any solution for this?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on April 22, 2014, 12:40:16 AM
any solution for this?

If you can upload your file i can take a look


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: armageddon on April 22, 2014, 02:35:56 PM
If you can upload your file i can take a look

I send you a PM, but I will leave them here ;)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Snow Trooper on April 29, 2014, 08:28:52 AM
My ecu is: 8L0906018N 512kb on a S3 8L 1.8T

I tried the standard program, but the revs kept rising up till fuel cut (7100rpm). Fried 1 coil that same day.

I read somewhere that using FTOMN = 00 causes some kind of bug on this specific ecu code, so I tried using 01 instead... guess what? Now it pops like it should ;D

https://www.youtube.com/watch?v=pwlemcKOgzM

Thanks a lot for the script!


Interesting, Thanks!  Please let us now how that is long term.  How fast were you killing a coil before?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mushtafa on July 06, 2014, 08:36:21 AM
Have a problem, patched my file as per instructions, all OK. Flash OK.

Car started, warmed it up, tested. Worked OK. Lots of black smoke and bangs!

Checked for fault codes with VCDS, all good.

Switched car off, shutdown laptop, went to restart, nothing!

I've no communication with the ECU with VCDS or Nefmoto.

Not sure what I've done, suspect ECU dead


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ddillenger on July 06, 2014, 08:59:01 AM
Have a problem, patched my file as per instructions, all OK. Flash OK.

Car started, warmed it up, tested. Worked OK. Lots of black smoke and bangs!

Checked for fault codes with VCDS, all good.

Switched car off, shutdown laptop, went to restart, nothing!

I've no communication with the ECU with VCDS or Nefmoto.

Not sure what I've done, suspect ECU dead

Checksum error.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mushtafa on July 06, 2014, 09:18:43 AM
That's what I thought. I did think if there was a checksum error, it would produce a fault code though?

Oh well, not too sure what to do now? I've found an old VAG KKL 409.1 cable. Not sure if it's compatible with boot mode though? Doing more reading....


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mushtafa on July 06, 2014, 09:36:10 AM
Done more reading, as far as I understand, if it was a bad checksum, Nefmoto should still be able to connect to the ECU, so I can flash again?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: matchew on July 06, 2014, 10:27:01 AM
Disconnect the battery for a few mins, reconnect and flash right away.

There is a sum error in the EGAS portion of the flash.


Title: Re:
Post by: mushtafa on July 06, 2014, 10:41:50 AM
I disconnected byte battery and shorted the leads, didn't make a difference.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: matchew on July 06, 2014, 11:45:01 AM
Then the patches you made are erroneous and your ECU is now a brick, needing boot mode to recover.


Title: Re:
Post by: mushtafa on July 06, 2014, 11:48:58 AM
My KKL I have doesn't seem to work correctly so need a new one. I assume I stick the ECU in boot mode, connect Nefmoto in boot mode, than flash another file like normal?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: UM-Olli-92 on July 13, 2014, 03:28:37 AM
Hello Guys,

first of all: this is a very interesting and useful thread !
Thanks very much for sharing this information.  :)

My car is a 1999 Audi S3 1.8T. It is remapped to 260 HP.
I want to add the LC function to my ECU. 

I read a lot about burned ignition coils in this thread. I don't want to burn my coils....  :(
So my question is if anyone of you can tell me, if my ECU has the "good" or "bad" coil driver.

I attached a pic of my ECU and the bin-file of it.


Thanx very much !

Oliver


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: UM-Olli-92 on August 18, 2014, 11:12:58 AM
I tried by myself to implement the Anti Lag and NLS code.

Here is the log of mazer.gti's launch.exe

Code:
C:\Dokumente und Einstellungen\Administrator\Desktop\Mein S3\LC>launch.exe 018n.bin 018n.ecu 0x76980 0x16f90
finding tsrldyn...
found: 380C33
finding vfil_w...
found: 380CB6
finding nmot_w...
found: 00F874
finding wped...
wped not found, using dwped + 2: 380A5C
finding B_kuppl (clutch pedal)...
found: 00FD42.11
finding b_br (brems), brake pedal...
found: 00FD42.7
Memory Layout: 29F400 Found
FTOMN found: 1636d
FTOMN IS: 05
FTOMN CHANGED TO 0x00
Using space given by argument for code cave..
space located at: 0x76980
Using space given by argument for launch control configuration variables..
space located at: 0x16f90
using 0x384FF0 for NLS Counter variable
Finding the offset for call to the code cave..
call will be located at: 0x754d8

Writing lines of code

code writed successfully to 018n_mod.bin!!

REMEMBER TO MAKE CHECKSUMS BEFORE YOU PUT THIS FILE,
CHECKSUMS ARE NOT CALCULATED ON THIS FILE


After that I changed FTOMN from 0 to 1, like fmbaldani on page 11 did and corrected the checksums with WinOLS.
Then I used my Galletto 3 V53 to copy the file to my ECU.

Very excited I startet my test drive, but..... NOTHING.


Can you guys help me and tell me what I did wrong ?

Do I have to change manualy:

LaunchRPM
IgnitionCutDuration
RPMThreshold
AccPedalThreshold
SpeedThreshold  ?

Or is this already been done by mazer.gti's launch.exe ?

If I have to change it, how can I find them ?



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on August 18, 2014, 01:01:32 PM
Im sorry for you, this version doesnt support the Narrow Band 1.8T Ecus.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: UM-Olli-92 on August 18, 2014, 02:15:58 PM
 :'( :'( :'(

Is there a way to add the code manualy, without the script ?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on August 18, 2014, 04:33:59 PM
:'( :'( :'(

Is there a way to add the code manualy, without the script ?

Of course there is a way.
Start here
http://www.nefariousmotorsports.com/wiki/index.php/Adding_anti-lag_launch_control_and_no-lift_shift


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: UM-Olli-92 on August 20, 2014, 02:07:21 PM
I tried manualy, but unfortunately with the same result.

And as I understand, the whole proces your script has implemented everything right.
I checked it and it looked ok....

Is it impossible to implement LC/NLS on narrowband ME7.5 like my Audi S3 APY ECU ?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: UM-Olli-92 on August 20, 2014, 02:26:03 PM
Code:
finding tsrldyn...
found: 380C33
finding vfil_w...
found: 380CB6
finding nmot_w...
found: 00F874
finding wped...
found: 380A5C
finding B_kuppl (clutch pedal)...
found: 00FD42.11
finding b_br (brems), brake pedal...
found: 00FD42.7
Memory Layout: 29F400 Found
FTOMN found: 1636d
FTOMN IS: 05
FTOMN CHANGED TO 0x00
Using space given by argument for code cave..
space located at: 0x76980
Using space given by argument for launch control configuration variables..
space located at: 0x16f90
using 0x384FF0 for NLS Counter variable
Finding the offset for call to the code cave..
call will be located at: 0x754d8

Writing lines of code

code writed successfully to 018n_mod.bin!!

REMEMBER TO MAKE CHECKSUMS BEFORE YOU PUT THIS FILE,
CHECKSUMS ARE NOT CALCULATED ON THIS FILE

I tried with FTOMN 1 and 0. --> no difference



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: fmbaldani on October 07, 2014, 09:42:23 AM
My ecu is: 8L0906018N 512kb on a S3 8L 1.8T

I tried the standard program, but the revs kept rising up till fuel cut (7100rpm). Fried 1 coil that same day.

I read somewhere that using FTOMN = 00 causes some kind of bug on this specific ecu code, so I tried using 01 instead... guess what? Now it pops like it should ;D

https://www.youtube.com/watch?v=pwlemcKOgzM

Thanks a lot for the script!


Just to let you guys know...

Been using FTMON = 02 for quite a while now, very frequently.

Had any issues so far, no fried coils, everything works just great.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: norbi on October 09, 2014, 02:50:45 AM
UM-Olli-92 check your sensor under the pedals (vcds, 6th group).

I tested script on 3 me7 cars and works perfectly! Thank's!

(http://i.imgur.com/zoUbmnV.jpg)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: elRey on October 15, 2014, 01:53:13 PM
Hello Folks, now i have a big update for the 29F400 Ecus.
+ added support for 29F400 Ecus like S3 ( 018K, 018N ).
+ added support for VR6 Ecus ( FTOMN issue )
Should work, if someone can try and give me feedback?

Usage is still the same, here is example
launch.exe ecubinary variables.ecu [offset_lc_func] [offset_lc_config]
launch.exe 018n.bin 018n.ecu 0x76980 0x16f90

ATTENTION: i noticed that many times my tool is writing the LC_FUNC_CODE and LC_CONFIG in a checksum area.
After patching your ecu binary please fix the checksum and check the functions,
the LC_FUNC_CODE should start with 9A ... and end with DB 00.
The LC_CONFIG is by default starting with A6 01 .... ending with 55 E6.
Verify that no checksum correction will overwrite the code.

greets

file attached -> PHP_LC_NLS_Version_0.5.zip (2859.71 KB - downloaded 128 times.)

Is this the latest, public version of the script?

Also, please verify the default settings:

LC RPM = 4500
LC vehicle speed threshold = 3.30 km/h
NLS pedal threshold = 90%
NLS RPM threshold = 5500
LC/NLS ign cut duration = 0.5s (500ms)


Thanks,
Rey


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: vwnut8392 on October 19, 2014, 04:01:01 PM
When i run launch.exe it just scrolls a bunch of code, what am i doing wrong?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on October 19, 2014, 05:45:53 PM
When i run launch.exe it just scrolls a bunch of code, what am i doing wrong?

Post here what you entered in your command line and dont forget to include the arguments.
And attach the output of the script.
Maybe you try to using it wrong.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: adam- on October 21, 2014, 07:27:01 AM
I bet you've just launched the exe and not put it into a command, or read any of this thread.

I got it to work after only an hour of reading and some debugging. 


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ktm733 on October 21, 2014, 07:50:18 PM
so after hours of reading i'm stuck. so i created an ecu file with meflogger. put that file into the php file. then i grab my ecu file that I got from boot mode and put that in the php file also and of course I renamed them. then I open up cmd. from cmd I drag and drop launch file. the hit enter, from there I do ask the example says so
after users user I type php launch.php ecu.bin dump.ecu with spaces
I'm probably stupid and it's something simple but I'm stumped. thanks in advance!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ktm733 on October 21, 2014, 08:05:12 PM
here are my files so you can see what I'm dealing with


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ktm733 on October 21, 2014, 08:08:55 PM
here are my files so you can see what I'm dealing with
\

well when I upload this file it shows ecu.bin.bin but shows ecu.bin in my folder?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on October 21, 2014, 08:14:49 PM
\

well when I upload this file it shows ecu.bin.bin but shows ecu.bin in my folder?

Windows is so lame. Disable hide extensions... I can't tell you how often this misfeature of windows has bitten noobs.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ktm733 on October 21, 2014, 08:46:35 PM
i did what you said and fixed it but no success

I write it just like this

launch launch.php dump.ecu ecu.bin

and it says launch.php is not reconized blah blah blah. urhghh


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on October 21, 2014, 08:52:09 PM
launch launch.php dump.ecu ecu.bin

Where does it say to type launch twice?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ktm733 on October 21, 2014, 09:03:40 PM
point taken, well after that mistake still no go? I type
php launch.php ecu.bin dump.ecu say not recognized as usual
as tried space php launch.php ecu.bin dump.ecu
now I'm just totally confused. I tried every combination think able but nothing? I'm not giving up!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on October 21, 2014, 09:06:47 PM
From the VERY FIRST POST

"You must have php installed"

Also, it would be helpful if you copy/pasted the contents of your cmd window. NOT a screen shot. Copy/paste the actual text using "right click->mark"


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ktm733 on October 21, 2014, 09:29:40 PM
ohh gosh I'm an idiot! how did I forget about that! Sorry guys bare with me. Ive researched php installation but its giving me some weird information, can someone clear me up on php installation.

http://www.iis.net/learn/application-frameworks/install-and-configure-php-on-iis/install-and-configure-php
Do i actually need to do this or is there an easier way?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on October 22, 2014, 01:22:54 AM
ohh gosh I'm an idiot! how did I forget about that! Sorry guys bare with me. Ive researched php installation but its giving me some weird information, can someone clear me up on php installation.

http://www.iis.net/learn/application-frameworks/install-and-configure-php-on-iis/install-and-configure-php
Do i actually need to do this or is there an easier way?

Why you not use the exe file?
launch.exe ecu.bin dump.ecu OFFSET_CODE OFFSET_VARIABLES


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on October 22, 2014, 01:34:27 AM
Also i tried this
launch.exe ecu.bin dump.ecu be390 17db0
and it works great for me!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ktm733 on October 22, 2014, 05:12:30 AM
here do I get offset codes? Do I just search  for the variable ex 05 04 in my bin using winlos?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on October 22, 2014, 05:28:27 AM
here do I get offset codes? Do I just search  for the variable ex 05 04 in my bin using winlos?

No, just search for free space. But the tool can find it automaticly, but its saver to search space where no checksumm data is written.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ktm733 on October 22, 2014, 05:33:53 AM
Oh I see! So I can choose where the code is implemented.  Now I'm anxious to get out of work already.  How do you know where there is not checksum data there? So find a spot that has ff ff ff a huge space copy address and then run exe. That's it? What about ftmon and the other maps? How do you define them?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on October 22, 2014, 03:23:47 PM
Oh I see! So I can choose where the code is implemented.  Now I'm anxious to get out of work already.  How do you know where there is not checksum data there? So find a spot that has ff ff ff a huge space copy address and then run exe. That's it? What about ftmon and the other maps? How do you define them?

the script is searching ftomn, and if the search was successful you get the ftomn offset on screen.
I think we need nyet, he can tell us how to determinate where checksum adress is and where not :D


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on October 22, 2014, 04:06:10 PM
I don't know of any files that have "FFFFFFFF" as a checksum.. that said, you'll want to avoid 0x14244 and 0x1fe20, as those have FFFFFFFF but may be terminator signatures.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: s-company on October 23, 2014, 01:53:52 AM
hello,
can someone help me to fix 8d0907551F for me?

i have problems with php installation.

many thanks

Regards


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on October 23, 2014, 09:05:03 AM
hello,
can someone help me to fix 8d0907551F for me?

i have problems with php installation.

many thanks

Regards

That's not how it works here.

Please be specific. What problems are you having?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ktm733 on October 23, 2014, 05:37:30 PM
So i'm confused,  can I just pull up cmd and paste launch then do the coding plus location where you want the code and it will work? Or no matter what I have to have php installed? If i do need php installed could someone please help me through the process? Thanks


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ddillenger on October 23, 2014, 06:45:05 PM
So i'm confused,  can I just pull up cmd and paste launch then do the coding plus location where you want the code and it will work? Or no matter what I have to have php installed? If i do need php installed could someone please help me through the process? Thanks

If you don't have PHP, use the exe version posted...

If you still can't get it, post pictures of your cmd line and errors.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on October 23, 2014, 08:57:48 PM
If you still can't get it, post pictures of your cmd line and errors.


Pref not a screen shot. Please use right-click->mark


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: hopsis on October 23, 2014, 10:33:47 PM
Be sure to use the latest .exe version, there are at least 4 different available in this thread. I had problems with the older ones, latest version worked at first try.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: !nfern0 on October 24, 2014, 08:03:41 AM
Hi,

i tried to use the script... but there is an error occuring.

See attached Screenshot.

Anybody has an idea whats wrong?



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: grey on October 24, 2014, 08:51:57 AM
Hi,

i tried to use the script... but there is an error occuring.

See attached Screenshot.

Anybody has an idea whats wrong?



Did you try it?

D:\Tuning\Add LC & NLS>launch.php launch ecu bin. dump.ecu






Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: elRey on October 24, 2014, 10:01:48 AM
Be sure to use the latest .exe version, there are at least 4 different available in this thread. I had problems with the older ones, latest version worked at first try.



Which one is the lateast?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: hopsis on October 24, 2014, 10:09:30 AM
I'm not sure. I guess if You browse this thread backwards and use the first that shows up.

BTW, I had the exact same error code as infern0 when I tried with one of the older versions of the exe. Maybe someone could attach the latest launch.php & launch.exe to the first post.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on October 24, 2014, 10:11:02 AM
Agreed. This is a mess. I have deleted the attachments in the OP.

You guys need a much more formalized way of doing releases.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Michel94 on October 24, 2014, 01:04:56 PM
Hi, i try launch.exe but i think i miss something, at this step : you must have in same folder a file called dump.ecu, generated by Me7Info (running Me7Info.exe -n yourecufile.bin)

this is my Ms Dos error:

D:\>ME7Info.exe -n test.bin
can't open map file D:\defs\me7_std.map
progdir=D:\
filename=me7_std.map

Thx


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: hopsis on October 25, 2014, 12:14:16 AM
I'm guessing You have copied or moved me7info.exe from it's original directory to the same folder as Your binary. If that's the case, that's the wrong way around. Copy the test.bin to the "me7logger/bin" directory (where me7info.exe originally is) and run the me7info command from that directory.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: s-company on October 25, 2014, 01:05:33 AM
If you don't have PHP, use the exe version posted...

If you still can't get it, post pictures of your cmd line and errors.

like "!nfern0"
i also get this error if i use the exe version, what i made wrong?

i use the latest launch.exe version.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: hopsis on October 25, 2014, 02:01:26 AM
Try renaming the folder so that it doesn't have empty spaces, those are always a big no-no for command line tools. Same thing with scandic letters etc... If that doesn't work, post the .bin and .ecu files and I'll give it a try.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: !nfern0 on October 26, 2014, 07:09:53 AM
After renaming the folders -> still not working.

@grey: Isn't working either... haven't installed php.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: s-company on October 26, 2014, 10:56:10 AM
After renaming the folders -> still not working.

@grey: Isn't working either... haven't installed php.

me too..

@hopsis
thanks for your help, would be great if you give it a try, i attached ecu.bin/dump.ecu

many thanks


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: hopsis on October 26, 2014, 01:14:24 PM
Quote
C:\Users\User\Desktop\tunettamiset\temp>launch ecu.bin dump.ecu
finding tsrldyn...
found: 380CB1
finding vfil_w...
found: 381E7C
finding nmot_w...
found: 00F802
finding wped...
found: 380AAD
finding B_kuppl (clutch pedal)...
found: 00FD5A.11
finding b_br (brems), brake pedal...
found: 00FD5A.7
FTOMN found: 1a64f
FTOMN IS: 05
FTOMN CHANGED TO 0x00
Finding a good space for Main Function..
space located at: 0xa2d00
Finding a good space for launch control configuration variables..
space located at: 0x172d0
using 0x384FF0 for NLS Counter variable
Finding the offset for call to the code cave..
call will be located at: 0xa1178

Writing lines of code

code writed successfully to ecu_mod.bin!!

REMEMBER TO MAKE CHECKSUMS BEFORE YOU PUT THIS FILE,
CHECKSUMS ARE NOT CALCULATED ON THIS FILE

There You go. No CS correction done yet.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on October 26, 2014, 04:26:38 PM
like "!nfern0"
i also get this error if i use the exe version, what i made wrong?

i use the latest launch.exe version.

Something is using a very old version of php.

Probably the launch.exe wrapper is no good.

Install latest php and use "php launch.php"


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: !nfern0 on October 27, 2014, 02:03:30 PM
Quote
finding tsrldyn...
found: 380B96
finding vfil_w...
found: 381BC8
finding nmot_w...
found: 00F89C
finding wped...
found: 38099C
finding B_kuppl (clutch pedal)...
found: 00FD4C.3
finding b_br (brems), brake pedal...
found: 00FD4A.15
FTOMN found: 1a2dc
FTOMN IS: 05
FTOMN CHANGED TO 0x00
Finding a good space for Main Function..
space located at: 0xa18c0
Finding a good space for launch control configuration variables..
space located at: 0x17b00

using 0x384FF0 for NLS Counter variable
Finding the offset for call to the code cave..
call will be located at: 0x9dd54

Writing lines of code

code writed successfully to ecu_mod.bin!!

REMEMBER TO MAKE CHECKSUMS BEFORE YOU PUT THIS FILE,
CHECKSUMS ARE NOT CALCULATED ON THIS FILE

Now it works... Thanks... :)

Just was too stupid to use php  ::)

Like it's bold in the upper quote... can i add the configuration variables to tuner pro?

Thanks in advance!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: hopsis on October 28, 2014, 12:04:46 AM
Yes You can and You should, how else could You fiddle with the settings? All the conversion factors are somewhere in the original "Anti-lag & launch secrets..." thread


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ktm733 on October 28, 2014, 05:42:56 PM
I'm not understanding how to install php? Instead of running the exe.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on October 28, 2014, 06:30:23 PM
I'm not understanding how to install php? Instead of running the exe.

Version 0.5 for download with example attached.
exe file should work.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mitkoenchev on October 29, 2014, 07:04:37 AM
Hi guys, anyone tried this on a B6 A4 (8E0906018B, wideband, ME7.5.5)?

Congrats on the excellent work!

P.S. Should I be worried about no-start problems or burnt coils with this ECU?

Thanks.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ktm733 on October 29, 2014, 03:51:55 PM
Version 0.5 for download with example attached.
exe file should work.

Thank you! Will try tonight. Question where should I implement the code?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: !nfern0 on October 31, 2014, 06:40:05 AM
Hi,

Version 0.5 said: Finding a good space for launch control counfiguration variables..
space located at 0x17b00

default values are:
From 0x17b00 to 0x17b01: Speed Treshold: 3.3 km/h; Conversion X*0.0078125
From 0x17b02 to 0x17b03: Launch RPM: 4500 1/min; Conversion X*0.25
From 0x17b04 to 0x17b05: IginitionCutDuration: 200ms; Conversion X*20
From 0x17b06 to 0x17b07: RPM Threshold: 5500 1/min; Conversion X*0.25

all 16bit LSB.

0x17b08: AccPedalThreshold: 90.20 %; Conversion X*0.392157
0x17b09: WaterTempThreshold: 75°C; Conversion X*0.75-48

8 bit.

Is this all OK or is there somewhere a mistake.

Thank you all!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on November 01, 2014, 06:03:10 PM
Hi,

Version 0.5 said: Finding a good space for launch control counfiguration variables..
space located at 0x17b00

default values are:
From 0x17b00 to 0x17b01: Speed Treshold: 3.3 km/h; Conversion X*0.0078125
From 0x17b02 to 0x17b03: Launch RPM: 4500 1/min; Conversion X*0.25
From 0x17b04 to 0x17b05: IginitionCutDuration: 200ms; Conversion X*20
From 0x17b06 to 0x17b07: RPM Threshold: 5500 1/min; Conversion X*0.25

all 16bit LSB.

0x17b08: AccPedalThreshold: 90.20 %; Conversion X*0.392157
0x17b09: WaterTempThreshold: 75°C; Conversion X*0.75-48

8 bit.

Is this all OK or is there somewhere a mistake.

Thank you all!

Hi should be ok, use factors from ecu file.
Speed threshold = vfil_w
Launch RPM = nmot_w
Accel Pedal = wped
Temperature = tmotlin


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: !nfern0 on November 02, 2014, 11:53:59 AM
OK!

Thank you for the hint to look for the factors in the .ecu file.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: adam- on November 10, 2014, 10:06:40 AM
New version 0.5 loads in to 032HN with NO issues at all.

And, it works beautifully, cuts fuel like it should and fires lovely little shot puts!

Building 10psi because I've set it to 3k rpm.  NLS works just as lovely too! Very, very happy with it!

Hats off to Andy!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on November 10, 2014, 04:41:27 PM
New version 0.5 loads in to 032HN with NO issues at all.

And, it works beautifully, cuts fuel like it should and fires lovely little shot puts!

Building 10psi because I've set it to 3k rpm.  NLS works just as lovely too! Very, very happy with it!

Hats off to Andy!

Thanks :D


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Lyonz on November 22, 2014, 09:28:47 AM
Hi,

Nice topic...
Someone can tell me if ALS/NLS can add to my vw R32 file?
The script can work to my file?
Thanks all...


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: KmosK04 on November 22, 2014, 02:12:00 PM
Can anyone tell me please if it's possible to change the launch rpm, nls threshold?? And if yes how? Thanks


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: armageddon on November 22, 2014, 02:28:22 PM
Can anyone tell me please if it's possible to change the launch rpm, nls threshold?? And if yes how? Thanks

yes and yes, the script give you the location of the variables, then change them for what you want.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: KmosK04 on November 22, 2014, 03:02:37 PM
yes and yes, the script give you the location of the variables, then change them for what you want.

Can you be more specific please? I use the script and this is what I got

(http://i60.tinypic.com/2j3so01.jpg)

It says that lc configuration variables are at 0x16f90. What I change now? :S

(http://i60.tinypic.com/2q2lh0i.jpg)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: KmosK04 on November 22, 2014, 03:31:32 PM
I think I just did it! Thanks to this post :)

Quote
Hi,

Version 0.5 said: Finding a good space for launch control counfiguration variables..
space located at 0x17b00

default values are:
From 0x17b00 to 0x17b01: Speed Treshold: 3.3 km/h; Conversion X*0.0078125
From 0x17b02 to 0x17b03: Launch RPM: 4500 1/min; Conversion X*0.25
From 0x17b04 to 0x17b05: IginitionCutDuration: 200ms; Conversion X*20
From 0x17b06 to 0x17b07: RPM Threshold: 5500 1/min; Conversion X*0.25

all 16bit LSB.

0x17b08: AccPedalThreshold: 90.20 %; Conversion X*0.392157
0x17b09: WaterTempThreshold: 75°C; Conversion X*0.75-48

8 bit.

Is this all OK or is there somewhere a mistake.

Thank you all!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: norbi on December 19, 2014, 08:59:52 AM
"vfil_w" must be smaller than "speedthreshold"?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: starshy on December 22, 2014, 03:14:55 PM
Works like a charm on TT 8N 225hp, 512k, manually search free space, but you have to set FTOMN to 01 instead 00, otherwise wont't work.



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on January 12, 2015, 01:38:01 PM
On some bins, the modifications this script makes will cause the RSA checksum routine to fail, even if the file is checksummed correctly.

http://nefariousmotorsports.com/forum/index.php?topic=6308.msg69447#msg69447


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: hopsis on January 13, 2015, 12:53:11 AM
Yes, I had that. Strangely though it worked just fine for about two months, then I fiddled with the RPM settings and boom - bricked the ecu. If I change the LC RPM back to where I had it before (I really haven't bothered to find out which setting produces what results), the file works. Never thought to try changing the location.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: carsey on January 13, 2015, 07:33:48 PM
Does anyone know if this anti-lag script will work on a vauxhall/opel file ME1.5.5 and ME7. 

On engines Z20 LE*, Z16 LE*.     Corsa/astra vxr /zafira vxr / astra mk4.


Any advice would be appreciated.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ddillenger on January 13, 2015, 08:05:32 PM
Does anyone know if this anti-lag script will work on a vauxhall/opel file ME1.5.5 and ME7. 

On engines Z20 LE*, Z16 LE*.     Corsa/astra vxr /zafira vxr / astra mk4.


Any advice would be appreciated.

The script will not work on your binary.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: carsey on January 14, 2015, 06:26:52 AM
Cheers DDilllenger.

Do you know if its possible to add the code in manually?  Is the add-in code the same for this software/binary as it is for the 7.5 stuff such as VAG?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on January 14, 2015, 06:38:06 PM
Cheers DDilllenger.

Do you know if its possible to add the code in manually?  Is the add-in code the same for this software/binary as it is for the 7.5 stuff such as VAG?

Yes you can add it manualy. But its a lot of work without me7info ;)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on January 14, 2015, 06:44:39 PM
Do you know if its possible to add the code in manually?  Is the add-in code the same for this software/binary as it is for the 7.5 stuff such as VAG?

Anything is possible if you have the ability to disassemble AND write assembly code.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: carsey on January 14, 2015, 07:05:24 PM
Disassembling code is way above my head unfortunately.  I dont even have a fully defined map pack for the files....just the ones thats in the definitions section on here.

My pal has a vauxhall garage and has plenty of people asking if its possible, so something he/we is definitely interested in doing.  If anyone knows who can help, it would be appreciated.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: seishuku on January 14, 2015, 08:09:23 PM
Just out of curiosity I tried running this on my 560CE 4.2 ROM... It seems to be able to apply the patch, though it can't find FTOMN, but I can find it manually (I have it defined, haven't updated my XDF though).

Not that it would do me any good anyway, being an automatic and all.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ddillenger on January 14, 2015, 08:10:57 PM
Just out of curiosity I tried running this on my 560CE 4.2 ROM... It seems to be able to apply the patch, though it can't find FTOMN, but I can find it manually (I have it defined, haven't updated my XDF though).

Not that it would do me any good anyway, being an automatic and all.

It works on your binary. Just a matter of substituting the proper variables.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: seishuku on January 14, 2015, 08:14:54 PM
I suppose I could wire in a clutch switch and have a launch button... Or maybe cruise stalk, can the set button be used with the cruise set to "off"?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: crank66 on January 17, 2015, 08:08:37 AM
hey i have a problem waht else  ;D ;D


in my bin file i dont find the WaterTempThreshold.

out of launch.exe version 0.5

finding tsrldyn...
found: 380B96
finding vfil_w...
found: 381B50
finding nmot_w...
found: 00F89C
finding wped...
found: 38099C
finding B_kuppl (clutch pedal)...
found: 00FD4C.3
finding b_br (brems), brake pedal...
found: 00FD4A.15
Memory Layout: 29F800 Found
FTOMN found: 1a2da
FTOMN IS: 05
FTOMN CHANGED TO 0x00
Finding a good space for Main Function..
space located at: 0x9f860
Finding a good space for launch control confi
space located at: 0x17a60
using 0x384FF0 for NLS Counter variable
Finding the offset for call to the code cave.
call will be located at: 0x9bd2a

Writing lines of code

code writed successfully to dummy_mod.bin!!

and at 0x17a69 should be WaterTempThershold but its FF


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on January 17, 2015, 11:05:07 PM
hey i have a problem waht else  ;D ;D


in my bin file i dont find the WaterTempThreshold.

out of launch.exe version 0.5

finding tsrldyn...
found: 380B96
finding vfil_w...
found: 381B50
finding nmot_w...
found: 00F89C
finding wped...
found: 38099C
finding B_kuppl (clutch pedal)...
found: 00FD4C.3
finding b_br (brems), brake pedal...
found: 00FD4A.15
Memory Layout: 29F800 Found
FTOMN found: 1a2da
FTOMN IS: 05
FTOMN CHANGED TO 0x00
Finding a good space for Main Function..
space located at: 0x9f860
Finding a good space for launch control confi
space located at: 0x17a60
using 0x384FF0 for NLS Counter variable
Finding the offset for call to the code cave.
call will be located at: 0x9bd2a

Writing lines of code

code writed successfully to dummy_mod.bin!!

and at 0x17a69 should be WaterTempThershold but its FF

Seems you are using a older version of the script,
go 2 pages back and download the version i uploaded.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: crank66 on January 24, 2015, 01:18:43 PM
Seems you are using a older version of the script,
go 2 pages back and download the version i uploaded.

worekd with your php thanks very much


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: z1ck on February 25, 2015, 12:16:07 PM
I tried to use this feature on VW Passat with MT - it works great. Thanks.
But how to run this feature with AT?

And second question:
What is the purpose to use b_br (brems) data?

PS. Please update https://github.com/edduu/2stepscript with latest changes


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on February 25, 2015, 05:32:53 PM
I tried to use this feature on VW Passat with MT - it works great. Thanks.
But how to run this feature with AT?

And second question:
What is the purpose to use b_br (brems) data?

PS. Please update https://github.com/edduu/2stepscript with latest changes

b_br is only used to abort nls function.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: cstefan on March 10, 2015, 08:43:14 AM
Hello, can someone help me use the script on this file? i cant install php on windows8


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: adam- on March 10, 2015, 09:31:47 AM
I think it's time you started helping yourself man.  Without being a cock, you've only ever asked for help and not even tried yourself..

Get a computer that isn't Windows 8 and try that!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on March 10, 2015, 10:40:18 AM
i cant install php on windows8

PHP works fine on windows 8.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: cstefan on March 10, 2015, 11:51:30 AM
I think it's time you started helping yourself man.  Without being a cock, you've only ever asked for help and not even tried yourself..

Get a computer that isn't Windows 8 and try that!
Have you thinked on the simple fact that some people just dont have time to experiment and research things?i wasnt asking for nobody knowledge, unless you considering writing a cmd command line as hardcore engeneering -.- so yeah you have tried not to be a cock

nyet i will try install again ;) thanks


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on March 10, 2015, 05:33:06 PM
Have you thinked on the simple fact that some people just dont have time to experiment and research things?i wasnt asking for nobody knowledge, unless you considering writing a cmd command line as hardcore engeneering -.- so yeah you have tried not to be a cock

nyet i will try install again ;) thanks

If people have no time for experiment then you people should pay other people to do :D
But to your question, php is running well on windows 8.
if not download the exe version, should work too ( unless you want to change some code inside ).


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: adam- on March 11, 2015, 03:06:30 AM
Have you thinked on the simple fact that some people just dont have time to experiment and research things?i wasnt asking for nobody knowledge, unless you considering writing a cmd command line as hardcore engeneering -.- so yeah you have tried not to be a cock

nyet i will try install again ;) thanks

If you don't have time to experiment and research you shouldn't be on a DIY tuning site.  It takes an hour to read through this thread and figure out how it all works.  Surely you must have access to a computer not on 8?

That, and getting a good, working map BEFORE flashing anti-lag/NLS is more important.  It's a waste of time on anything FWD, and without rods.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Lost on March 12, 2015, 11:25:52 PM
It works well on RS4 551K box.
Has anybody tried on old 512kb euro 551C S4 ??
Possible??


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: cstefan on March 14, 2015, 07:00:33 PM
If people have no time for experiment then you people should pay other people to do :D
But to your question, php is running well on windows 8.
if not download the exe version, should work too ( unless you want to change some code inside ).

yeah the problem was the new php downloads are for manual install.. i figured out, but appears that AL and launch will not work on this car :/


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on March 16, 2015, 04:40:21 PM
yeah the problem was the new php downloads are for manual install.. i figured out, but appears that AL and launch will not work on this car :/

Launch and NLS will work perfectly on your ecu 8N0906018J :)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: welsh on March 27, 2015, 07:47:01 PM
tried everything under the sun to get this to work..
appreciate any help.. sorry 1st post like this.
have read through and through.
no php installed. using exe


C:\launch>launch.exe ecu.bin dump.ecu
Usage: php launch.php ecu.bin dump.ecu [0x_Main_Code] [0x_Variables] [0x_Counter
_NLS]
Example: php launch.php ecu.bin dump.ecu 0x76980 0x170A0
Example: php launch.php ecu.bin dump.ecu
Notice: Values inner [] are optional


C:\launch>launch.exe ecu.bin dump.ecu 0x09b90 0x0d800
Usage: php launch.php ecu.bin dump.ecu [0x_Main_Code] [0x_Variables] [0x_Counter
_NLS]
Example: php launch.php ecu.bin dump.ecu 0x76980 0x170A0
Example: php launch.php ecu.bin dump.ecu
Notice: Values inner [] are optional


C:\launch>launch.exe ecu.bin dump.ecu 00d800 009b90
Usage: php launch.php ecu.bin dump.ecu [0x_Main_Code] [0x_Variables] [0x_Counter
_NLS]
Example: php launch.php ecu.bin dump.ecu 0x76980 0x170A0
Example: php launch.php ecu.bin dump.ecu
Notice: Values inner [] are optional


C:\launch>launch.exe
Usage: php launch.php ecu.bin dump.ecu [0x_Main_Code] [0x_Variables] [0x_Counter
_NLS]
Example: php launch.php ecu.bin dump.ecu 0x76980 0x170A0
Example: php launch.php ecu.bin dump.ecu
Notice: Values inner [] are optional


C:\launch>launch.exe ecu.bin dump.ecu
Usage: php launch.php ecu.bin dump.ecu [0x_Main_Code] [0x_Variables] [0x_Counter
_NLS]
Example: php launch.php ecu.bin dump.ecu 0x76980 0x170A0
Example: php launch.php ecu.bin dump.ecu
Notice: Values inner [] are optional


C:\launch>

attached file also Passat 4B0906018DH


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: TijnCU on March 27, 2015, 11:59:19 PM
Doesnt work without php.
Had to manually fill in location for variables. Function @ 0x0B90C0 and variables @ 0x0BA700
Code:
C:\Documents and Settings\Eigenaar\Bureaublad\nef>php launch.php ecu.bin dump.ec
u 0xb90c0 0xba700
finding tsrldyn...
found: 380BE0
finding vfil_w...
found: 381D5A
finding nmot_w...
found: 00F89E
finding wped...
found: 3809C3
finding tmotlin...
found: 3848B2
finding B_kuppl (clutch pedal)...
found: 00FD4C.4
finding b_br (brems), brake pedal...
found: 00FD4C.0
Memory Layout: 29F800 Found
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 443
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 443
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 443
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 443
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 443
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 443
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 443
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 443
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 443
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 443
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 443
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 443
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 443
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 443
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 443
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 430
PHP Notice:  Undefined offset:  1 in C:\Documents and Settings\Eigenaar\Bureaubl
ad\nef\launch.php on line 443
Found usable status flag variable at 0x00FDc8
FTOMN found: 1aa5d
FTOMN IS: 05
FTOMN CHANGED TO 0x00
Using space given by argument for code cave..
space located at: 0xb90c0
Using space given by argument for launch control configuration variables..
space located at: 0xba700
using 0x384FF0 for NLS Counter variable
Finding the offset for call to the code cave..
call will be located at: 0xb205c

Writing lines of code

code writed successfully to ecu_mod.bin!!

REMEMBER TO MAKE CHECKSUMS BEFORE YOU PUT THIS FILE,
CHECKSUMS ARE NOT CALCULATED ON THIS FILE

Checksum is fixed. Have fun  ;)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: TijnCU on March 28, 2015, 12:13:29 AM
It works well on RS4 551K box.
Has anybody tried on old 512kb euro 551C S4 ??
Possible??
Mocke, I run it on 2 512kb files with succes, but with a different approach: Find free space for function and variables manually, then you need to change FTOMN to 1 instead of 0 afterwards and recalculate checksums.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Lost on March 28, 2015, 12:32:55 AM
Mocke, I run it on 2 512kb files with succes, but with a different approach: Find free space for function and variables manually, then you need to change FTOMN to 1 instead of 0 afterwards and recalculate checksums.


Ok. So it was not possible adding a script. Only manually? I will test next time i get a hold of one.
Mm. Ftomn must be changed from 0 value.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: TijnCU on March 28, 2015, 12:52:22 AM
You can use the script, but just make sure you have found good free space before so you can tell the script where to implement the function and variables. I just look for large FF sections and put it there.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on March 28, 2015, 04:06:55 PM
tried everything under the sun to get this to work..
appreciate any help.. sorry 1st post like this.
have read through and through.
no php installed. using exe


C:\launch>launch.exe ecu.bin dump.ecu
Usage: php launch.php ecu.bin dump.ecu [0x_Main_Code] [0x_Variables] [0x_Counter
_NLS]
Example: php launch.php ecu.bin dump.ecu 0x76980 0x170A0
Example: php launch.php ecu.bin dump.ecu
Notice: Values inner [] are optional


C:\launch>launch.exe ecu.bin dump.ecu 0x09b90 0x0d800
Usage: php launch.php ecu.bin dump.ecu [0x_Main_Code] [0x_Variables] [0x_Counter
_NLS]
Example: php launch.php ecu.bin dump.ecu 0x76980 0x170A0
Example: php launch.php ecu.bin dump.ecu
Notice: Values inner [] are optional


C:\launch>launch.exe ecu.bin dump.ecu 00d800 009b90
Usage: php launch.php ecu.bin dump.ecu [0x_Main_Code] [0x_Variables] [0x_Counter
_NLS]
Example: php launch.php ecu.bin dump.ecu 0x76980 0x170A0
Example: php launch.php ecu.bin dump.ecu
Notice: Values inner [] are optional


C:\launch>launch.exe
Usage: php launch.php ecu.bin dump.ecu [0x_Main_Code] [0x_Variables] [0x_Counter
_NLS]
Example: php launch.php ecu.bin dump.ecu 0x76980 0x170A0
Example: php launch.php ecu.bin dump.ecu
Notice: Values inner [] are optional


C:\launch>launch.exe ecu.bin dump.ecu
Usage: php launch.php ecu.bin dump.ecu [0x_Main_Code] [0x_Variables] [0x_Counter
_NLS]
Example: php launch.php ecu.bin dump.ecu 0x76980 0x170A0
Example: php launch.php ecu.bin dump.ecu
Notice: Values inner [] are optional


C:\launch>

attached file also Passat 4B0906018DH


your binary is called ecu.bin.bin ?
maybe you try
launch.exe ecu.bin.bin dump.ecu


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on March 28, 2015, 04:11:01 PM
Why doesn't the script have better error reporting?

Also, welsh: type "dir" and paste the output.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on March 28, 2015, 04:31:15 PM
Why doesn't the script have better error reporting?

Also, welsh: type "dir" and paste the output.

My apologies, I shouldn't have assumed everyone would enter the correct "extension". ;)

I will fix it  and upload a new version.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on March 28, 2015, 04:33:22 PM
Im sorry of course, i thaught everyone here is able to enter the full filename with "extension". ;)

The problem is that windows defaults to "hide extensions".

What a bunch of idiots :/


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: TijnCU on March 29, 2015, 04:11:37 AM
I also have this the other way aroun sometimes, when I export a bin it has no extension and I cant select it fromnefmoto flasher ;D thats easy enough to fix though.
On Welsh's bin I changed the filename to ecu.bin before I used the script to be sure.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: SB_GLI on March 29, 2015, 06:41:17 AM
The problem is that windows defaults to "hide extensions".

What a bunch of idiots :/

You don't know how much I curse MS on a daily basis because of this.  Causes more confusion than anything.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: welsh on March 29, 2015, 01:48:43 PM

your binary is called ecu.bin.bin ?
maybe you try
launch.exe ecu.bin.bin dump.ecu

SORRY I JUST ATTEMPTED ALL ANGLES. MYSELF GAVE UP WITH PHP.
BUT HAVE .EXE VERSION WORKING ON BUTTON EVERY TIME NOW.
JUST IN MOST CASES NEED TO INPUT VARIABLE LOCATION MANUELY.
SHOULD CALL FOR CODE CAVE BE LOCATED IN EMPTY AREA AM I RIGHT?
AS DEFINITELY NOT ON WHAT IVE DONE.. HOW CAN YOU MOVE LOCATION?
ALSO  MINE SAID USING 0X384FF0 FOR NLS COUNTER VARIABLE. YET CANT FIND THIS LOCATION. LOL
HAVE TESTED ON X2 ECUS 8L0906018M AND ALSO 4B0906018DH
BOTH AFTER CHECKSUM AND FLASH.
WOULD IDLE AND REV OK. DEPRESS CLUTCH AS TO START MOVING. AND THROTTLE BECOMES UNRESPONSIVE. AS IF IT WANTS TO CUT OUT. SOME MORE TESTING DONE ON 8L0906018M AND MOVED VARIABLES. AND RESPONSE IS BACK. BUT HAVE NO LAUNCH OR NLS WHAT SO EVER. NEXT WAS TO TRY FTOMN TO 01. BUT FOR BOTH TO BE LIKE THIS BY ADDING STRING THOUGH IS BIT SUSPECT.  WONDER IF ANY ONE EXPERIENCED THIS ISSUE? OR CAN HIGHLIGHT?
GREAT WORK BY THE WAY..
YET TO SEE MINE READY. BUT MASSIVE RESPECT FOR WHAT YOU HAVE CREATED.

THANKS AGAIN.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: TijnCU on March 30, 2015, 12:50:08 AM
The counter is not located in the flash dump. Post your bins for comparison (4B ori and modified, and maybe also the 8L ori and modified) so we can look at the code. You should not have to alter FTOMN on your ecu. Maybe your .ecu file is incorrect?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: welsh on March 30, 2015, 03:57:57 AM
The counter is not located in the flash dump. Post your bins for comparison (4B ori and modified, and maybe also the 8L ori and modified) so we can look at the code. You should not have to alter FTOMN on your ecu. Maybe your .ecu file is incorrect?


thanks again for your help. from what i see then. (difficult to make out after checksum) but only adds two addresses to empty area. and changes ftomn to 00 within and one other with in the binary? is this right..?
in variables.. can any one post a order in which it writes the parameters? so i know 1st 4bytes long is speed threshold maybe. 2nd 2bytes is.. and so on. think would be great help.
see attached ori and mod used which has chk corrected. which when flashed as if i never did anything at all. inserted own variables at 0x076a00 0x07da50


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: TijnCU on April 01, 2015, 11:25:20 AM
Is this mod file just the LC function? I find changed bits all over the place, not just in the ftomn, function and variables... since I have no definition for your file I cant tell what else is changed.
I see this Leon file is 512kb, try FTOMN 01 or 02 instead of 00. On your 1024kb file it should be 00.
And, make sure you use the correct .ecu file to enter in the script! They vary for each bin.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: welsh on April 02, 2015, 03:32:21 AM
Is this mod file just the LC function? I find changed bits all over the place, not just in the ftomn, function and variables... since I have no definition for your file I cant tell what else is changed.
I see this Leon file is 512kb, try FTOMN 01 or 02 instead of 00. On your 1024kb file it should be 00.
And, make sure you use the correct .ecu file to enter in the script! They vary for each bin.
thanks for your reply.. got leon working well now! just used different address for varients. just my passat not right now.
tried your mod and was same. tried different addresses. same. FTOMN at 0x01a55d

80   80   05   40   54   83   84   B8   A0   A0   A0   80   80    05   11   08

if i set this to 00 it cuts out on clutch pressed. have tried 00 the 05 at begining 0x01a552
and instead of any and it just seems to as if it missfires. if set to 00 or 01. set as the script sets it. and it cuts out as soon as clutch depressed.

thanks again.  :)



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: auditune on April 03, 2015, 09:51:23 AM
551D box had any one come across when using the php to install the code when the car gets to set point of 4500rpm launch setting it starts to disrup spark but will still clim rpm until redline?  ive changed ftomn any one esle had this issue and what was the fix a point i  the right directon would be greatfull thanks


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: black on April 05, 2015, 03:08:07 PM
Is this mod file just the LC function? I find changed bits all over the place, not just in the ftomn, function and variables... since I have no definition for your file I cant tell what else is changed.
I see this Leon file is 512kb, try FTOMN 01 or 02 instead of 00. On your 1024kb file it should be 00.
And, make sure you use the correct .ecu file to enter in the script! They vary for each bin.

Im using the Launch on 551K file. Everything is working fine. But I expected more "bäng" when launching or shifting... ist there any way to influence the power of the pops and flames?

is there any influence in the power of the pops and flames from the FTOMN value? Mine is set to 0



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: TijnCU on April 06, 2015, 09:19:20 AM
No, the FTOMN is not a variable in this code. Its the minimum dwell time of your coils. My car bangs loud and also throws flames, but on a stock exhaust system with the same code we also get very modest pops and no flames at all. Your exhaust system could be the problem, especially if you have a catalytic converter which will put out the flames. Well, untill you burn/blast through it though...


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: black on April 06, 2015, 11:00:22 AM
No, the FTOMN is not a variable in this code. Its the minimum dwell time of your coils. My car bangs loud and also throws flames, but on a stock exhaust system with the same code we also get very modest pops and no flames at all. Your exhaust system could be the problem, especially if you have a catalytic converter which will put out the flames. Well, untill you burn/blast through it though...

Exhaust is open... no cats and 84mm piping...  but good to know it is not dependant from ftomn (was my guess also)

but maybe with FTOMN set to 0, the function will lower the coil charge time to much to get enough ignition power for the bang so 1 will give a better result because it is limiting the function?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: TijnCU on April 07, 2015, 01:20:57 AM
There is a reason FTOMN is set to 0 by the script, the only reason to set it to a different value is because on the old 512kb ECU boards people have melted coils with FTOMN 0. I cant explain to you why and how, because I didnt write the code. I just know enough for my own application  :)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Punda on April 10, 2015, 02:26:36 AM
Hi guys awesome thread  ;D

I used the exe script on my 06A906012F  1.8T and went smoothly and corrected the checksum.

Could someone please double check it for me before i flash it to me ecu

attached is stock file, mod file, dump.ecu

Thanks



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on April 10, 2015, 05:42:25 AM
Hi guys awesome thread  ;D

I used the exe script on my 06A906012F  1.8T and went smoothly and corrected the checksum.

Could someone please double check it for me before i flash it to me ecu

attached is stock file, mod file, dump.ecu

Thanks



On the first look it looks ok, flash and test.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Punda on April 10, 2015, 05:53:03 AM
On the first look it looks ok, flash and test.

Thanks i will do, Will let you know how it goes.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Punda on April 10, 2015, 09:16:19 AM
Flashed the file and car started  ;D went for a drive to warm her up everything seems normal once warm i tested the nls which works
but when testing 2step LC it starts to pop but the revs keep climbing... i did some reading i see some guys changed the FTOMN from 00 to 01 or 02 will this sort my issue out?

Here is a copy of my cmd


Quote
C:\>cd launch

C:\launch>launch.exe ecu3.bin ecu3.ecu
finding tsrldyn...
found: 380BC5
finding vfil_w...
found: 381C00
finding nmot_w...
found: 00F89E
finding wped...
found: 3809BD
finding tmotlin...
found: 3848BE
finding B_kuppl (clutch pedal)...
found: 00FD4E.12
finding b_br (brems), brake pedal...
found: 00FD4E.8
Memory Layout: 29F800 Found
Found usable status flag variable at 0x00FDc6
FTOMN found: 1a4dc
FTOMN IS: 05
FTOMN CHANGED TO 0x00
Finding a good space for Main Function..
space located at: 0xab540
Finding a good space for launch control configuration variables..
space located at: 0x17e50
using 0x384FF0 for NLS Counter variable
Finding the offset for call to the code cave..
call will be located at: 0xa70c0

Writing lines of code

code writed successfully to ecu3_mod.bin!!

REMEMBER TO MAKE CHECKSUMS BEFORE YOU PUT THIS FILE,
CHECKSUMS ARE NOT CALCULATED ON THIS FILE


Title: Re:
Post by: Punda on April 10, 2015, 01:54:50 PM
Got into my car this afternoon (1st start after testing)  and it would not start just turned over. Got this error

16985 - internal control module
P0601 - 35 - 00 - memory check sum error

So I flashed back the file without the script and all is working.

I used winols to checksum the scrip files should I use something els?


Title: Re:
Post by: nyet on April 10, 2015, 02:07:26 PM
Got into my car this afternoon (1st start after testing)  and it would not start just turned over. Got this error

16985 - internal control module
P0601 - 35 - 00 - memory check sum error

So I flashed back the file without the script and all is working.

I used winols to checksum the scrip files should I use something els?

ME7Check/ME7Sum

But your RSA code is probably compromised by the script


Title: Re: Re:
Post by: Punda on April 11, 2015, 03:00:10 AM
ME7Check/ME7Sum

But your RSA code is probably compromised by the script
Hmm well I'll retry with using the ME7Check/ME7Sum..... Would my RSA code still be compromised even tho I'm. Using a different file?


Title: Re: Re:
Post by: nyet on April 11, 2015, 10:48:53 AM
Hmm well I'll retry with using the ME7Check/ME7Sum..... Would my RSA code still be compromised even tho I'm. Using a different file?

Sure. Easy way to tell. Remove the NLS code and see if stuff works again.


Title: Re:
Post by: Punda on April 11, 2015, 11:10:05 AM
Is there any way around the RSA code while using the script. Eg, by putting the scrip in another location.

Map works without the script.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ossi0405 on April 23, 2015, 11:17:39 AM
Hello!


i dont get this script working :(

works it with 512kb files also?

i only get this.

can anyone help me?
i have added the bin file and the picture where is the cmd open.

pls help

dear regards and sry for my bad english


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ossi0405 on April 23, 2015, 02:20:22 PM
ok i get it working :)

but i have another problem

when i test the launch control it cuts the spark but it raises to the normaly rev limiter.

can anyone help me?

dear regards from austria =)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on April 23, 2015, 05:56:04 PM
ok i get it working :)

but i have another problem

when i test the launch control it cuts the spark but it raises to the normaly rev limiter.

can anyone help me?

dear regards from austria =)

make logfile while launching, the values to log are
nmot_w
vfil_w
b_kuppl
tsrldyn
tmotlin
wped

and upload the file with your launch code to check on implementation faults.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: TijnCU on April 29, 2015, 10:45:09 AM
https://youtu.be/45n1Fwidq8s (https://youtu.be/45n1Fwidq8s)
This is how mine is running at the moment, not good sound quality unfortunately. It was a bit windy  :P (and fun to teach my wife how to engage the function lol)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: eazydaz on June 02, 2015, 10:25:35 AM
what will be different on launch control when I will be used for exampe 200 or 400ms IgnitionCutDuration ?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ddillenger on June 02, 2015, 12:07:38 PM
what will be different on launch control when I will be used for exampe 200 or 400ms IgnitionCutDuration ?

The duration of the ignition cut for No Lift Shift.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: eazydaz on June 02, 2015, 12:14:43 PM
and when is nls much louder?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: gt-innovation on June 05, 2015, 02:23:09 AM
and when is nls much louder?

When you have no catalyst.  :) :) :)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: jiggle on June 12, 2015, 12:00:09 PM
This is great work, thank you for putting in the time and genius. Could anyone help me with the variable for launch rpm, Id like to set it for 3000 rpm if possible. I can run the script fine but haven't sussed out how to calculate the variable for lc. My apologies if its explained and I missed it.

has anyone tried this on a 4b0 906 018R, Im happy to give it a try but it would be good to know if its been tried already. My car has an unpopular ecu :)

I tried it with auto settings but nothing seems different, it revs like normal, no lift shift doesn't seem to be doing anything either :( Any advice would be appreciated


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on June 13, 2015, 08:17:41 AM
This is great work, thank you for putting in the time and genius. Could anyone help me with the variable for launch rpm, Id like to set it for 3000 rpm if possible. I can run the script fine but haven't sussed out how to calculate the variable for lc. My apologies if its explained and I missed it.

has anyone tried this on a 4b0 906 018R, Im happy to give it a try but it would be good to know if its been tried already. My car has an unpopular ecu :)

I tried it with auto settings but nothing seems different, it revs like normal, no lift shift doesn't seem to be doing anything either :( Any advice would be appreciated

Hi, please copy and paste the console output here, we can try to help you.
And Upload your file :)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: jiggle on June 13, 2015, 06:18:45 PM
Hi, thank you

I remade the file as I hadn't saved the output, I haven't fixed the checksum on this yet,
The output was

finding tsrldyn...
found: 380B96
finding vfil_w...
found: 381D14
finding nmot_w...
found: 00F826
finding wped...
found: 3809A4
finding B_kuppl (clutch pedal)...
found: 00FD4A.11
finding b_br (brems), brake pedal...
found: 00FD4A.7
FTOMN found: 1a495
FTOMN IS: 05
FTOMN CHANGED TO 0x00
Finding a good space for Main Function..
space located at: 0xa4670
Finding a good space for launch control configuration variables..
space located at: 0x17d60
using 0x384FF0 for NLS Counter variable
Finding the offset for call to the code cave..
call will be located at: 0x9f202

Writing lines of code

code writed successfully to ecu_mod.bin!!

REMEMBER TO MAKE CHECKSUMS BEFORE YOU PUT THIS FILE,
CHECKSUMS ARE NOT CALCULATED ON THIS FILE


The bin I flashed was using the exact same input files so hopefully is the same

I still can't work out how to lower the lc rpm, id like it around 3k, but I'm being really slow understanding it

Thank you

Jas


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: armageddon on June 14, 2015, 07:36:07 AM
Reading this will help: http://www.nefariousmotorsports.com/wiki/index.php/Adding_anti-lag_launch_control_and_no-lift_shift

LC/NLS variables will be at 0x17d60 on your file, being 0x17d62 LC rpm. You will need to create a xdf parameter for all variables.


edit: It may be easier use nyet M-box xdf and only change the address on AL/NLS


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: jiggle on June 14, 2015, 11:58:33 PM
Thank you! I hadn't thought of using a different xdf to do it, that is a genius idea. Il test it today report back. Thanks again,
Jas


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: jiggle on June 15, 2015, 05:25:29 AM
it works a treat :) Thank you! Backfires, pops and bangs. Excellent


Title: Re: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: therealnap0le0n on June 15, 2015, 08:58:58 PM
Is this the same als script you were testing with the adjustable timing and what not, I have setzi's v2 ALS and was wondering how this differed from that


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: jiggle on June 16, 2015, 06:46:10 AM
Im using the latest auto injector found in this thread, I don't know if its the newest code? Launch control works very well, nls I need to look at, think I might have set the wrong variable as it revs like normal. There is another thread with a new version but I don't think its released yet? I haven't found it so far


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: sonique on June 16, 2015, 11:19:06 PM
this file not work the scrip
not hold rpm
attach original and mod file
"mod file no chk corrected yet"


>launch.exe "Seat leon cupra 1.8T 180HP 06A906032T 026
1206545 352761.ori.bin" seat.ecu
finding tsrldyn...
found: 380D2F
finding vfil_w...
found: 380DB2
finding nmot_w...
found: 00F876
finding wped...
found: 380AC2
finding B_kuppl (clutch pedal)...
found: 00FD4A.9
finding b_br (brems), brake pedal...
found: 00FD4A.5
Memory Layout: 29F400 Found
FTOMN found: 165c1
FTOMN IS: 05
FTOMN CHANGED TO 0x00
Finding a good space for Main Function..
space located at: 0x7d6c0
Finding a good space for launch control configuration variables..
space located at: 0x178b0
using 0x384FF0 for NLS Counter variable
Finding the offset for call to the code cave..
call will be located at: 0x7c098

Writing lines of code

code writed successfully to Seat leon cupra 1.8T 180HP 06A906032T 0261206545 352
761.ori_mod.bin!!

REMEMBER TO MAKE CHECKSUMS BEFORE YOU PUT THIS FILE,
CHECKSUMS ARE NOT CALCULATED ON THIS FILE


ME7Info.exe "Seat leon cupra 1.8T 180HP 06A906032T 0261206
545 352761.ori" -o seat.ecu
read 1116 map entries
mapped 198 aliases
matchOpcode(0, D74XXXXX) out of bounds
Error: getOpc(0) out of range
get_dpp_addr(1) out of bounds
written 571 definitions
written output to file seat.ecu






Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: chora on July 03, 2015, 09:21:03 PM
hi 
i have tested in rs4 without sucess
i have tried with other adress too
apreciated your help



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: overspeed on July 04, 2015, 06:00:28 PM
Golf MKIV 032HP didn´t work too...


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: chora on July 05, 2015, 04:57:33 AM
the launch.exe 0.5 not work  in rs4 file
i already have working file.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: eibxmatic on July 05, 2015, 03:17:07 PM
There is one thing I want to be sure about.

If Iam using the auto add script I have to assign the code space myself. Read somewhere that I just have to look for large "FF" areas. Is there anything else to consider finding empty space ?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: jiggle on July 05, 2015, 05:56:39 PM
If you just use the autoscript without specifying an address it should find space and set it up for you. It worked for me like that, launch.exe ***.bin ***.ecu


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: eibxmatic on July 06, 2015, 04:16:39 AM
If you just use the autoscript without specifying an address it should find space and set it up for you. It worked for me like that, launch.exe ***.bin ***.ecu
I Know it should find space itself but it doesn't. "Couldn't find space blabla" is at the end of the script


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: aef on August 01, 2015, 05:49:02 AM
Tried to do the launch version for a 018J wideband S3 file.

Is this thing checking the parking brake?
The car was parked, the clutch pressed and the pedal pressed 100% percent.



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: sonique on August 01, 2015, 06:05:09 AM
Tried to do the launch version for a 018J wideband S3 file.

Is this thing checking the parking brake?
The car was parked, the clutch pressed and the pedal pressed 100% percent.



i think  no
but 018j working fine this script


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mk-3 on August 01, 2015, 07:42:27 PM
I tried this skript to mine but it just wont work.
Could someone help me with getting ALS and NLS to my Tune?`
I've attached my standart ecu data


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mk-3 on August 02, 2015, 08:21:56 AM
UPDATE: Now it worked.
Ive changed the values like RPM etc. But Now if i press the clutch Pedal my Engine turnes off.
Could someone just help me?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ddillenger on August 02, 2015, 08:32:35 AM
UPDATE: Now it worked.
Ive changed the values like RPM etc. But Now if i press the clutch Pedal my Engine turnes off.
Could someone just help me?

Everyone of your posts has been asking for help.

You just joined, you want it NOW. Take some time. Learn on your own. Otherwise, the door is that way ---->


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mk-3 on August 03, 2015, 10:44:02 AM
ok, sorry for that.

I've read a bit more and more and now i defined a .xdf for as youre adding with the 0.5 lc auto add with the values they are in the post.
Hope I could help someone with this


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: d0xx on August 03, 2015, 10:50:36 AM
Hy guys..

Can someone check my file please?

Checksum's doesnt override..

It's an MKIV R32 Turbo.

022906032CN
0261207884
371197

\\ Edit: Files removed..



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: vwaudiguy on August 03, 2015, 11:51:52 AM
me7sum is saying both files check out?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: d0xx on August 03, 2015, 01:09:52 PM
It shouldnt..
But it doesnt matter.

Tested it already.. And i have no Words to explain.  Ok.. One.. F**K

Video follows later..


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mk-3 on August 03, 2015, 01:36:12 PM
ok, i just cant get whats wrong.
same problem as before, if i press the clutch the engine stops.
lounch control even doesn't work.
could someone check it?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: d0xx on August 04, 2015, 02:34:15 AM
ok, i just cant get whats wrong.
same problem as before, if i press the clutch the engine stops.
lounch control even doesn't work.
could someone check it?

Ich hab gehört, dass es bei den 512KB Versionen (f400) generell eigentlich NICHT funktionieren soll.
In diesem Thread ist glaubich eine der wenigen ausnahmen, wo steht dass es funktioniert..

I've heard that it shouldnt work on 512kbyte versions (f400) of ecu generally..
This thread is one of the rare ones, where is written it works..


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mk-3 on August 04, 2015, 02:36:52 AM
Ein anderer Deutscher :D was eine sache :)
Ich versuche es jetzt nochmal, gestern hab ich mein ecu gebricked aber habs wieder gefixed. ich berichte dann obs endlich geklappt hat.

I try it again, yesterday i bricked my ecu but got it fixed. I'll report if it works and how i got there


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: d0xx on August 04, 2015, 02:45:45 AM
Nicht ganz, Österreicher :-)
Oha, wie hast du die gebrickt?
Hab's gestern auf unseren R32 Turbo gespielt, und es is wahnsinn  ;D

===

How you bricked ?
I flash it on our R32-T yesterday, and it's unbelievable


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: d0xx on August 04, 2015, 02:53:37 AM
Sry for douple-Post:

Here is the result on our R32 Turbo.

https://www.youtube.com/watch?v=m5UXrqTYA3k (https://www.youtube.com/watch?v=m5UXrqTYA3k)

022906032CN
0261207884
371197


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mk-3 on August 04, 2015, 03:38:01 AM
Nen checksummenerror gehabt hat sich rausgestellt
Geile Sache!! Einstellungen? Muss jz weiter rumprobieren.

Missed a checksum error.  Nice!! You settings? Have to try on


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: d0xx on August 04, 2015, 05:38:06 AM
Alles standard aus dem Script.
FTDOM bei 00 belassen, regelt super ab.

Müssen mal auf der Straße testen, dann werde ich ein wenig anpassen falls notwendig.

===
All standard from the Script.
FTDOM is still on 00, it doesnt go over 4500

I must test it on the street, to do changes (if needed).


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on August 04, 2015, 06:48:42 PM
Ich hab gehört, dass es bei den 512KB Versionen (f400) generell eigentlich NICHT funktionieren soll.
In diesem Thread ist glaubich eine der wenigen ausnahmen, wo steht dass es funktioniert..

I've heard that it shouldnt work on 512kbyte versions (f400) of ecu generally..
This thread is one of the rare ones, where is written it works..

512K Steuergeräte funktionieren perfekt ;)

===

512K ecus working perfect ;)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: d0xx on August 04, 2015, 07:36:00 PM
512K Steuergeräte funktionieren perfekt ;)
===
512K ecus working perfect ;)

Danke für die Info. Wie gesagt, ich hab das nur gehört, und hätte es auch mal bei einem 018N Steuergerät (S3 204PS) probiert, hat aber nicht funktioniert.
(Ohne diesem Script)..

Eine Frage.. Wenn ich ein 512kbyte flash importiere, bekomme ich zB für "tlsrdyn" die adresse 0x380C2D.
Das liegt ausserhalb der Adressen eines 512kbyte-file. Kann es sein, dass es desswegen bei einigen nicht funktioniert?
EDIT: Ich glaub, ich hab's schon gecheckt. Das zeigt auf einen Wert, der im Flash-File nicht existieren kann, da er "Live Daten" ausgibt, richtig?
Wie ist das nun mit dem No-Lift-Shift-Counter ? Auf was zeigt die Adresse "0x384FF0" ?
EDIT2: Nun bin ich noch schlauer, 80000er Adressen zeigen auf den RAM-Speicher. Vielleicht kannst du mir das ja ein wenig erklären, wenn du willst.

===

Thx 4 info.. As i sayd, i only heard it, but i tried it on a 018N ECU from a S3 with 204HP, and it doesn't work.
(Without this script!)..

One question.. When i import any 512kbyte flash, the script results 0x380C2D for "tlsrdyn".
This is out of the range in a 512kbyte-file.. Could it be the reason, it doesnt work on some ecus ?
EDIT: I think, i got it ! This points on a adress, that could not exist in the ecu, because this returns "live-data", right?
But how is this, with the NLS-Counter Variable? The Script uses the standard @ 0x384FF0, what data points it ?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mk-3 on August 04, 2015, 11:53:46 PM
@ Mazer.GTI: Vielleicht kannst du mir weiterhelfen, im anhang original und geäderte file.

__________________

Maybe you could help me Ive attached my original and modded file


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on August 05, 2015, 12:32:26 PM
Danke für die Info. Wie gesagt, ich hab das nur gehört, und hätte es auch mal bei einem 018N Steuergerät (S3 204PS) probiert, hat aber nicht funktioniert.
(Ohne diesem Script)..

Eine Frage.. Wenn ich ein 512kbyte flash importiere, bekomme ich zB für "tlsrdyn" die adresse 0x380C2D.
Das liegt ausserhalb der Adressen eines 512kbyte-file. Kann es sein, dass es desswegen bei einigen nicht funktioniert?
EDIT: Ich glaub, ich hab's schon gecheckt. Das zeigt auf einen Wert, der im Flash-File nicht existieren kann, da er "Live Daten" ausgibt, richtig?
Wie ist das nun mit dem No-Lift-Shift-Counter ? Auf was zeigt die Adresse "0x384FF0" ?
EDIT2: Nun bin ich noch schlauer, 80000er Adressen zeigen auf den RAM-Speicher. Vielleicht kannst du mir das ja ein wenig erklären, wenn du willst.

===

Thx 4 info.. As i sayd, i only heard it, but i tried it on a 018N ECU from a S3 with 204HP, and it doesn't work.
(Without this script!)..

One question.. When i import any 512kbyte flash, the script results 0x380C2D for "tlsrdyn".
This is out of the range in a 512kbyte-file.. Could it be the reason, it doesnt work on some ecus ?
EDIT: I think, i got it ! This points on a adress, that could not exist in the ecu, because this returns "live-data", right?
But how is this, with the NLS-Counter Variable? The Script uses the standard @ 0x384FF0, what data points it ?

0x38xxxx = RAM
0x8xxxxx = Flash


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: vwaudiguy on August 05, 2015, 05:54:46 PM
So, I FINALLY found the time to implement this wonderful code. Hats off to all parties involved, especially MaZeR for the script. I must admit I was pretty blown away at the shockwaves coming from the back of the car.  ;D Does anyone have any hardware failures to report using this? Long term effects? I know most folks aren't using it at every stoplight, but jeez it seems destructive as hell.  :)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mk-3 on August 05, 2015, 05:59:52 PM
Could just anybody tell me whats wrong with my file? :/

EDIT: Do I have to enable the NMAX??


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: adam- on August 06, 2015, 02:57:48 AM
I've set the RPM pretty low (3000rpm) to try and preserve the turbo and valves as much as I can.  It's really destructive, will eat turbine blades and valves but so far (10k miles, and honestly using it atleast every second or third day at best, otherwise it'll be every day), it's not burst one thing yet.

Having the RPM low and the launch speed high means you can bang it coming off from traffic lights too, which is cute.  It's noisy as hell, its childish, and being FWD still means that any form of boost during a launch just lights the wheels, so it's pointless.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mk-3 on August 06, 2015, 12:02:35 PM
Problem solved, hat to Set the variables for nmax and so on, used maZer.GTi's php launch v0.5 variables as the Skript it Do and setted it up with my values.

But with fmbod on 00 or 01 the revs are climbing but it cuts the spark, anyone a idea whats going on? Maybe Set ftomn to 02? Nls works perfect with lound bangs


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: TijnCU on August 10, 2015, 02:08:08 PM
I have pulled my turbo and manifold and found no new damages or cracks after say 40 times engaging the launch control. Actually launching the car will kill your clutch and gearing before the turbo I'd think. Engaging at ~3400 RPM. I dont really launch the car because its just destroying the clutch, but I have tested it a couple of times and it will just launch without any wheelspin  :) Mind you-I'm on RWD, 265-35-18 tires and about 1750kgs of campervan sitting on top of it ::)
I also recently pulled my friends turbo, that was the original @ 300.000km and it was cracked in all sorts of places but delivered perfect boost without noises untill the end  ;D I think that one had around 2 launches a day for half a year or so  :-*


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ddillenger on August 10, 2015, 02:24:42 PM
NUM NUM NOM.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: vwaudiguy on August 10, 2015, 02:28:40 PM
NUM NUM NOM.

Deets?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ddillenger on August 10, 2015, 02:31:46 PM
We were talking about antilag and turbo damage yes?

Thems your details.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: vwaudiguy on August 10, 2015, 02:35:14 PM
We were talking about antilag and turbo damage yes?

Thems your details.
I suppose what I meant was, is this a pic you randomly found online, or do you know the history of this particular turbo? Possibly what car it came off of? Thanks!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: adam- on August 11, 2015, 04:37:11 AM
Uh oh.  My turbo's still going strong a year later, has no problem making boost.  Probably missing a few vanes now though.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: phil_84 on August 18, 2015, 07:34:36 AM
Hi guys,

I have managed to run the script without any issues.

When I load the file onto the car the AL LC NLS does not activate, So I tried to adjust the FTOMN as per the thread, anything above 00 blows fuses?

I then went on to write a known working file onto the car, and it worked fine with FTOMN @ 00 but with different coding where the function is.

Can someone take a look, see if they can spot the error?

BR

Phil


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mushtafa on August 27, 2015, 02:29:04 PM
Need some help guys, I'm confused  ???

This is the output from the script. I want to lower the launch RPM, so thought I'd locate 00F89E - NMOT_W, and change the value but it's showing FF. Is this right? - I'm guessing not! The launch and NLS work, so not sure where to look now.

Thanks all

Code:
K:\Remap\AL-NLS Script>launch.exe ecu.bin dump.ecu
finding tsrldyn...
found: 380BB5
finding vfil_w...
found: 381BF4
finding nmot_w...
found: 00F89E
finding wped...
found: 3809B1
finding B_kuppl (clutch pedal)...
found: 00FD4E.3
finding b_br (brems), brake pedal...
found: 00FD4C.15
FTOMN found: 1a3d9
FTOMN IS: 05
FTOMN CHANGED TO 0x00
Finding a good space for Main Function..
space located at: 0xa5860
Finding a good space for launch control configuration variables..
space located at: 0x17e70
using 0x384FF0 for NLS Counter variable
Finding the offset for call to the code cave..
call will be located at: 0xa1ccc

Writing lines of code

code writed successfully to ecu_mod.bin!!

REMEMBER TO MAKE CHECKSUMS BEFORE YOU PUT THIS FILE,
CHECKSUMS ARE NOT CALCULATED ON THIS FILE


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: armageddon on August 27, 2015, 04:00:38 PM
Code:
Finding a good space for launch control configuration variables..
space located at: 0x17e70


and read this http://www.nefariousmotorsports.com/wiki/index.php/Adding_anti-lag_launch_control_and_no-lift_shift


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: stefan3022 on September 27, 2015, 04:20:46 AM
Hello,

i have problem with launch.exe

ME7info start ok :)
start in CMD Launch.exe ecu.bin dump.ecu

and comes error

EDIT2 Problem Solved

can we check file please ?



see picture


Best Regards




Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: stefan3022 on September 27, 2015, 06:30:20 AM
HEllo,


please check file

speedthreshold 5km/h
lc rpm 4000
ignitioncut 220ms
rpm nls 5500rpm
acpeadl 90%


Car not start
chk ok



best regards




Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: vwaudiguy on October 02, 2015, 06:22:14 PM
.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: majsterx on October 05, 2015, 02:19:01 AM
hi all,
hmm my problem is much different... i try couple revision, problem is that's same.
Program can't find variables from dump. but in the fact should get it from .ecu.. so where is problem ???

D:\LAUNCH>launch.exe launch.php 1.bin 1.ecu
finding tsrldyn...
fatal error not found tsrlydn
D:\LAUNCH>launch.exe launch.php 1.ecu 1.bin
finding tsrldyn...
found: 3808CB
finding vfil_w...
found: 38095E
finding nmot_w...
found: 00F87C
finding wped...
found: 380617
finding tmotlin...
found: 3806D9
finding B_kuppl (clutch pedal)...
found: 00FD56.12
finding b_br (brems), brake pedal...
found: 00FD56.8
Invalid Filesize, possible are 512/1024k, current size is 23.8046875


My ecu 4B0907551N 0002, .ECU file signal looks ok and there is all on the list.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: sonique on October 05, 2015, 04:10:29 PM
try without "launch.php"
launch.exe 1.ecu 1.bin


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: slklite on October 09, 2015, 04:06:58 PM
Hello guys, I've been reading a lot about antilag and NLS for 1.8t

I have audi S3 225 (BAM) in which I'd like to implement these functionnalities.

Problem is that it doesn't seem to work. Just to be sure we're on the same page, to activate launch control, I should have :

 - engine runing of course
 - 1st gear in
 - clutch pedal pressed
 - accelerator pedal floored
 - no hand brake

Is that it ? No need to hit the brakes pedal right ?

Anyway, attached you'll find my ECU image, dump.ecu and logs.

I tried using both launch.php and launch.exe

Here is the part number of my ECU : 8N0906018BH

Is something worng with my files ? Can someone take a look ?

Thank you guys.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: sonique on October 09, 2015, 05:31:26 PM
try older version scrip without  engine temp "tmotlin"


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: slklite on October 10, 2015, 01:58:25 AM
All right, thank you.

Which one would that be ?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: gt-innovation on October 10, 2015, 03:35:04 AM
Hello guys, I've been reading a lot about antilag and NLS for 1.8t

I have audi S3 225 (BAM) in which I'd like to implement these functionnalities.

Problem is that it doesn't seem to work. Just to be sure we're on the same page, to activate launch control, I should have :

 - engine runing of course
 - 1st gear in
 - clutch pedal pressed
 - accelerator pedal floored
 - no hand brake

Is that it ? No need to hit the brakes pedal right ?

Anyway, attached you'll find my ECU image, dump.ecu and logs.

I tried using both launch.php and launch.exe

Here is the part number of my ECU : 8N0906018BH

Is something worng with my files ? Can someone take a look ?

Thank you guys.

At the end of the page you will find the als nls that is currently running on my car without problems.
use that if you do not need to investigate your problem.

http://nefariousmotorsports.com/forum/index.php?topic=4721.90


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: slklite on October 10, 2015, 06:20:33 AM
At the end of the page you will find the als nls that is currently running on my car without problems.
use that if you do not need to investigate your problem.

http://nefariousmotorsports.com/forum/index.php?topic=4721.90


All right, thank you. I'll test and report. I've been looking at it all morning, without success... I think that the script put it a checksum area.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: slklite on October 10, 2015, 09:52:02 AM
Well, I tried it, and the AL LC works like a charm, but not the NLS ...

Maybe I'm doing it wrong ?

This is how I tried, I was cruising and then floored the accelerator pedal and upshifted with my foot still on the floored pedal. The result is that it didn't do anything special. The engine kept accelerating when I pressed the clutch pedal ...

I know for a fact that my clutch switch works, because I tested it using VCDS...

Thank you guys.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: slklite on October 10, 2015, 09:53:49 AM
At the end of the page you will find the als nls that is currently running on my car without problems.
use that if you do not need to investigate your problem.

http://nefariousmotorsports.com/forum/index.php?topic=4721.90


Could you please give me the log you got creating this file, so I can find the addresses for the values that need to be changed ?

Thanks.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: gt-innovation on October 10, 2015, 11:49:16 AM
Both ALS and NLS work good and the code is fine...maybe you have some kind of problem with the load..

NLS is activated by keeping the accelerator pedal pressed and clutch also.

In my settings i have this at 6000RPM

No need to give you a log since all you need is check from 17b00 to 17b09

The acc pedal threshold is at 90.

if you can not find or edit the following i suggest you read the complete thread again.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: slklite on October 10, 2015, 04:12:24 PM
You might be onto something here, I remember that through vcds, the accelerator pedal wasn't right. It's block 62 right ? I'll check it tomorrow ...

I think it maxxed out arround 78%

Is this normal ? Have you ever seen this ?


Here is what I got, from your file.

Speed Treshold: 3.3 km/h; Factor 0.0078125
Launch RPM: 5100 1/min; Factor 0.25
IginitionCutDuration: 200ms; Factor 20
RPM Threshold: 6000 1/min; Factor 0.25
AccPedalThreshold: 100,0 % (with factor =0,002369); Factor 0.392157 ? or 0,002369 ? or 0,001526

Thanks ;)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ddillenger on October 11, 2015, 12:59:04 AM
You might be onto something here, I remember that through vcds, the accelerator pedal wasn't right. It's block 62 right ? I'll check it tomorrow ...

I think it maxxed out arround 78%

Is this normal ? Have you ever seen this ?


Here is what I got, from your file.

Speed Treshold: 3.3 km/h; Factor 0.0078125
Launch RPM: 5100 1/min; Factor 0.25
IginitionCutDuration: 200ms; Factor 20
RPM Threshold: 6000 1/min; Factor 0.25
AccPedalThreshold: 100,0 % (with factor =0,002369); Factor 0.392157 ? or 0,002369 ? or 0,001526

Thanks ;)

The pedal has inverse potentiometers. It should go so far as 83 percent, while the other reads thereabouts 17 IIRC.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: slklite on October 11, 2015, 02:44:45 AM
Well, here are some screnshots of my results. Are they normal ?

Which factor should I use for the NLS RPM threshold ?

Thanks.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: slklite on October 11, 2015, 05:55:25 AM
I think I found my problem. Winols's checksum correction overwrites some of the code. And if I use other software, it seems to work fine but only for LC ...

I think that the problem I have with NLS, might be this. Which tool do you use for checksum correction ?

Do you have the same version with corrected checksum ?

Which version of the script did you use ? Is it the one in developpment here ? http://nefariousmotorsports.com/forum/index.php?topic=4721.0

Excuse me if I ask a lot of questions, but I like understanding what's happening ... That's the reason why I asked for the log, to see where the code has been implemented ...

Thank you.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nitrorocket on October 11, 2015, 08:39:46 AM
Have you tested this on me7.8 on porsche 996 turbo? I will try it eventually.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: slklite on October 11, 2015, 09:11:45 AM
Sorry forgot to add the files after checksum correction...

In order, first is yours stock with no checksum, second is checksum corrected by me7sum, and third is checksum corrected by Winols


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: gt-innovation on October 13, 2015, 02:19:43 AM
Sorry forgot to add the files after checksum correction...

In order, first is yours stock with no checksum, second is checksum corrected by me7sum, and third is checksum corrected by Winols

Yes the non-genuine ols does that when you place the code in certain areas... however the original does not.

just use the checksum correction of your flashing tool or download the me7sum utility from this forum to correct it.

there is a gui version me7correction.exe somewhere here.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: slklite on October 13, 2015, 02:31:14 PM
Yes the non-genuine ols does that when you place the code in certain areas... however the original does not.

just use the checksum correction of your flashing tool or download the me7sum utility from this forum to correct it.

there is a gui version me7correction.exe somewhere here.

Hello, thank you for the answer. Do you have one that is already checksummed, so I can compare with the ones I have ?

The file you gave doesn't have the same LC function as the one available on the forum right ? It is longer, and doesn't start at the same place. This leads another question. How do you choose the offset for the function ? You just look for ff space ? I saw a post from nyet somewhere saying there might be some conflict with some rsa security ...
The log from the script would really help, I think, pretty please, it won't hurt anyway ...

I already got the GUI, because I only found when searching for me7sum, the "c" version ...

Thanks.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ddillenger on October 13, 2015, 06:58:14 PM
Have you tested this on me7.8 on porsche 996 turbo? I will try it eventually.

996 ecus will have a totally different form of LC. tsrldyn and all.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: gt-innovation on October 14, 2015, 07:47:06 AM
Hello, thank you for the answer. Do you have one that is already checksummed, so I can compare with the ones I have ?

The file you gave doesn't have the same LC function as the one available on the forum right ? It is longer, and doesn't start at the same place. This leads another question. How do you choose the offset for the function ? You just look for ff space ? I saw a post from nyet somewhere saying there might be some conflict with some rsa security ...
The log from the script would really help, I think, pretty please, it won't hurt anyway ...

I already got the GUI, because I only found when searching for me7sum, the "c" version ...

Thanks.

At first you should read again this and the other thread that has to do with lc..i am not posting the checksum file not because i am bored but because you did not understand the procedure you need to follow.
This file is on my car right now and as i told you it works perfectly both lc ans nls.
The one i posted has just a tmotlin compare on the start of the function.And all of this code comes from this forum.

Free space is free space inside the file but the problems that comes with some new sw versions with the use of this code is another story and yes there is some kind of conflict using the code and those versions. Most of them are rsa equiped but this code has worked on also on some of them without problems.




Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: slklite on October 16, 2015, 12:58:56 PM
Thank you for taking the time to answer me. I'm sorry but I don't understand what you mean, by the fact that I didn't understand the procedure.

I read this post many times. I think I'm doint it right. Could you please tell me what you think I'm doing wrong ?

Well, as for the variables offsets. I found that they are in the .ecu file

The problem is with hte wped. If I use the offset from my .ecu file (0.392157), I get 16554,52 %
If I use Winols's % factor (0.002369), I get 100,00 %

Something, is, wrong right ?

Thank you.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: slklite on October 17, 2015, 06:35:33 AM
Sorry, my bad for the wped offset. I was in 16 bits, when it should be in 8 bits


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: b4A4nowA6 on October 20, 2015, 10:03:59 AM
Before I get started,
Has anyone confirmed if this will work on ME7.1.1 "551s"? I would love to have this function for my A6.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: vwnut8392 on October 25, 2015, 01:12:21 AM
Tried the auto add EXE on 06A906032C 512kb file for a 2000 1.8T new beetle and the LC wont work. used the EXE on plenty of different 1mb files and it always works without a hitch. figured i'd share my findings and see if there was a solution to the 512mb files because the EXE always says it patched fine. i attached a stock file with LC/NLS patch and the .ecu file i generated with ME7info.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: gt-innovation on October 25, 2015, 04:53:36 AM
Tried the auto add EXE on 06A906032C 512kb file for a 2000 1.8T new beetle and the LC wont work. used the EXE on plenty of different 1mb files and it always works without a hitch. figured i'd share my findings and see if there was a solution to the 512mb files because the EXE always says it patched fine. i attached a stock file with LC/NLS patch and the .ecu file i generated with ME7info.

I assume that you already checked your clutch switch.. right?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: vwnut8392 on October 25, 2015, 10:07:01 AM
I assume that you already checked your clutch switch.. right?

yes i tested it in vag com and it does respond. measuring block 066 if i reacall correctly.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: vwnut8392 on October 25, 2015, 10:14:16 AM
so i started looking at the routine in IDA to try and understand it and why does it start with ram variable coolant temp? here's a screen grab of what the routine looks like.  i was looking at the 1mb file and it start with b_kuppl?

EDIT
it looks like the first block needs to be removed from the routine. its comparing the coolant temp to the last 2 bits of the pedal position. after the first block is the clutch switch routine than it follows as it should. so im going to remove the first chunk and correct the checksum and see what happens.

Also it looks like to me that this little mistake could be used to add the option to disable the LC/NLS till a pre set coolant temperature is achieved to prevent engine damage so idiots arent doing it while the engine is cold. basically my idea would be to add another variable for coolant temp after 0x17998 pedal position and direct the ram comparison to that before it jumps to the clutch pedal. its just an idea, if i can figure out how to add the new variable at 0x1799A for coolant temp and make the first code chunk in the patch direct there i think it could be a decent working engine safety feature.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: vwnut8392 on October 25, 2015, 02:05:51 PM
well i tried my modification and it sort of works on the launch control anyhow. you can hear the car start cutting ignition at 4500rpm but it still pushes through to the limiter pretty much. not sure what i have to do to correct it and make it work properly at this point so any help would be great. i attached the BIN file i modified too, its a stock BIN that was patched originally with launch.exe and than i removed the first block of code and shifted everything up to where the original code started.

Here's the original
Code:
C2 F4 5C 8B D7 00 81 00 C2 F9 99 79 40 49 FD 40 9A 1F 13 B0 F2 F4 88 8D D7 00 81 00 F2 F9 90 79 40 49 9D 0B F2 F4 7E F8 D7 00 81 00 F2 F9 92 79 40 49 FD 03 F7 8E 08 8D 0D 2F 9A 1F 29 B0 8A 1F 22 70 F2 F4 7E F8 D7 00 81 00 F2 F9 96 79 40 49 FD 1A C2 F4 C8 8A D7 00 81 00 C2 F9 98 79 40 49 FD 12 D7 00 38 00 F2 F4 F0 4F D7 00 81 00 F2 F9 94 79 40 49 9D 11 F7 8E 08 8D 08 41 D7 00 38 00 F7 F8 F0 4F 0D 09 D7 00 38 00 F6 8F F0 4F 0D 04 D7 00 38 00 F6 8E F0 4F F3 F8 BD 8A DB 00

Here's what i did
Code:
9A 1F 13 B0 F2 F4 88 8D D7 00 81 00 F2 F9 90 79 40 49 9D 0B F2 F4 7E F8 D7 00 81 00 F2 F9 92 79 40 49 FD 03 F7 8E 08 8D 0D 2F 9A 1F 29 B0 8A 1F 22 70 F2 F4 7E F8 D7 00 81 00 F2 F9 96 79 40 49 FD 1A C2 F4 C8 8A D7 00 81 00 C2 F9 98 79 40 49 FD 12 D7 00 38 00 F2 F4 F0 4F D7 00 81 00 F2 F9 94 79 40 49 9D 11 F7 8E 08 8D 08 41 D7 00 38 00 F7 F8 F0 4F 0D 09 D7 00 38 00 F6 8F F0 4F 0D 04 D7 00 38 00 F6 8E F0 4F F3 F8 BD 8A DB 00


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: hopsis on October 25, 2015, 10:34:33 PM
Looks like your FTOMN is 00. Have You tried 01?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: slklite on October 26, 2015, 09:21:07 AM
Hello vwnut8392, hopsis is right, try setting FTOMN to 1

I had the same issue for a seat ibiza cupra 512kb file, and it worked like a charm, I still an issue with the NLS though ...

Try and report ;)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: vwnut8392 on October 26, 2015, 07:06:39 PM
Hello vwnut8392, hopsis is right, try setting FTOMN to 1

I had the same issue for a seat ibiza cupra 512kb file, and it worked like a charm, I still an issue with the NLS though ...

Try and report ;)

i will try that and post back if it worked, thanks slklite.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on October 26, 2015, 08:12:59 PM
Hello vwnut8392, hopsis is right, try setting FTOMN to 1

I had the same issue for a seat ibiza cupra 512kb file, and it worked like a charm, I still an issue with the NLS though ...

Try and report ;)

FTOMN in hex to "01" !


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: vwnut8392 on October 26, 2015, 09:17:25 PM
FTMON to 01 cured the issue! what exactly is FTMON? it seems is something relating to coil dwell time. even though this LC code is identical to every other its not nearly as violent in the beetle as it is in my GTI. my GTI backfires and carries on like the engine is going to fall apart and the beetle doesnt carry on like that at all. im going to take a stab at saying FTMON has something to do with this.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ddillenger on October 26, 2015, 09:28:39 PM
FTMON to 01 cured the issue! what exactly is FTMON? it seems is something relating to coil dwell time. even though this LC code is identical to every other its not nearly as violent in the beetle as it is in my GTI. my GTI backfires and carries on like the engine is going to fall apart and the beetle doesnt carry on like that at all. im going to take a stab at saying FTMON has something to do with this.

What's the translation say FTOMN is?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: TijnCU on October 30, 2015, 11:19:58 AM
It's most likely your hardware that causes the difference. I have this on my 512 kb ecu and it throws ~50cm flames out the back  ::)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: dream3R on October 30, 2015, 05:15:38 PM
does it even work in a cupra?  It madness editing your bin re code and starting the car without checking the code (I mean this in the greatest respect mate)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Punda on November 16, 2015, 06:54:42 AM
Hey guys

Looking for a little help here iv run the script and made a map pack for the variables but im getting some strange numbers

ori file with script and kp attached

speed threshold = 3.3km/h ---correct
Launch rpm =4500rpm --- correct
ignition cut duration = 200ms --- correct
rpm threshold = 5500rpm --- correct
acc pedal threshold = 25690.21 --- incorrect (should be 90.2) factor im using is 0,392157
water temp threshold = 49151,25 --- incorrect (should be 75degs) factor im using is 0.75

also found 2 ftomn @ 1A4D1 changed to 00
                            @ 1A4DC unchanged 05 (the script says it finds this one and changes it but doesnt )


Should i change the first ftomn back to 05 and the 2nd one to 00 ?
What can i do about the acc pedal threshold and water temp ?

Thanks


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: slklite on November 16, 2015, 07:30:08 AM
does it even work in a cupra?  It madness editing your bin re code and starting the car without checking the code (I mean this in the greatest respect mate)

I didn't realize at the time, but were you talking to me ?

Hey guys

Looking for a little help here iv run the script and made a map pack for the variables but im getting some strange numbers

ori file with script and kp attached

speed threshold = 3.3km/h ---correct
Launch rpm =4500rpm --- correct
ignition cut duration = 200ms --- correct
rpm threshold = 5500rpm --- correct
acc pedal threshold = 25690.21 --- incorrect (should be 90.2) factor im using is 0,392157
water temp threshold = 49151,25 --- incorrect (should be 75degs) factor im using is 0.75

also found 2 ftomn @ 1A4D1 changed to 00
                            @ 1A4DC unchanged 05 (the script says it finds this one and changes it but doesnt )


Should i change the first ftomn back to 05 and the 2nd one to 00 ?
What can i do about the acc pedal threshold and water temp ?

Thanks

Did you make sure the values are in 8 bits ?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Punda on November 16, 2015, 09:40:45 AM
i checked i had acc threshold in 16bit changed it to 8bit and it came right (90.2)
but the water temp is still off even when in 8bit using a factor of 0.75 gives me 191.25 am i using the wrong factor ?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: slklite on November 16, 2015, 10:30:13 AM
Hi,

Version 0.5 said: Finding a good space for launch control counfiguration variables..
space located at 0x17b00

default values are:
From 0x17b00 to 0x17b01: Speed Treshold: 3.3 km/h; Conversion X*0.0078125
From 0x17b02 to 0x17b03: Launch RPM: 4500 1/min; Conversion X*0.25
From 0x17b04 to 0x17b05: IginitionCutDuration: 200ms; Conversion X*20
From 0x17b06 to 0x17b07: RPM Threshold: 5500 1/min; Conversion X*0.25

all 16bit LSB.

0x17b08: AccPedalThreshold: 90.20 %; Conversion X*0.392157
0x17b09: WaterTempThreshold: 75°C; Conversion X*0.75-48

8 bit.

Is this all OK or is there somewhere a mistake.

Thank you all!

Here you go. You could always look inside your ".ecu" file, all the factors corresponding your ecu should be there ;)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Punda on November 16, 2015, 10:50:53 AM
thanks for helping me .

am i doing this factor correctly tried
0.75=191.25
(75-48=27)      0.27=68.85

is 68.85 correct ?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on November 16, 2015, 10:52:26 AM
thanks for helping me .

am i doing this factor correctly tried
0.75=191.25
(75-48=27)      0.27=68.85

is 68.85 correct ?

Why would you do this calc by hand if you have an .xdf that defines the location properly?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: slklite on November 16, 2015, 03:34:49 PM
Hello, you should write it the way it is ...

As you must know, a multiplication has priority over a substraction ...


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Punda on November 17, 2015, 08:00:07 AM
Loaded the file and got some great results. Big thanks to the guys who put in the effort making this feature and supporting it https://youtu.be/Gpj-PBBvr3Q


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: slklite on November 18, 2015, 01:57:01 AM
Glad I could help !!!

On another hand, I managed to make NLS work on my ibiza (6k) cupra 1.8t ... I don't know what did it. I just had the clutch changed but right before that, I changed the values of NLS ...

Anyway, it works now on the cupra but still not on the S3, I'll dive into it in the next few weeks ...


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: tdehrmann1 on November 21, 2015, 06:38:46 AM
I created the ecu_mod.bin file with the tool. After that ich checked it with the ME7Check.exe and it says there are 7 errors. Is it normal? If not, how can i fix it?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: slklite on November 21, 2015, 08:54:22 AM
Hello, it is normal, you have to correct the checksum after patching your file ...

Little gift : http://nefariousmotorsports.com/forum/index.php?topic=8417.0title=


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: A6turbofrance on November 23, 2015, 10:41:01 AM
hi dude
i got this when i use the script on php

Fatal error: Call-time pass-by-reference has been removed in J:\Nouveau dossier\
launch.php on line 544

can u help
here my file
audi tt 1.8T
8L0906018Q


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: tdehrmann1 on November 24, 2015, 12:18:04 PM
Hello, it is normal, you have to correct the checksum after patching your file ...

Little gift : http://nefariousmotorsports.com/forum/index.php?topic=8417.0title=

Big thanks. Fixed!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: antoffka666 on December 02, 2015, 06:23:19 AM
C:\me7launch>php launch.php
PHP Notice:  Undefined offset: 1 in C:\me7launch\launch.php on line 492
PHP Notice:  Undefined offset: 2 in C:\me7launch\launch.php on line 497
PHP Notice:  Undefined offset: 2 in C:\me7launch\launch.php on line 502
Usage: php launch.php ecu.bin dump.ecu [0x_Main_Code] [0x_Variables] [0x_Counter
_NLS]
Example: php launch.php ecu.bin dump.ecu 0x76980 0x170A0
Example: php launch.php ecu.bin dump.ecu
Notice: Values inner [] are optional

what am I doing wrong ?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: adam- on December 02, 2015, 07:07:08 AM
Did you read the output at all?

Usage: php launch.php ecu.bin dump.ecu [0x_Main_Code] [0x_Variables] [0x_Counter_NLS]
Example: php launch.php ecu.bin dump.ecu 0x76980 0x170A0
Example: php launch.php ecu.bin dump.ecu

Yet, you've typed:
C:\me7launch>php launch.php

How does it know where your file is?  Or your ECU file?  You have them, right?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: antoffka666 on December 02, 2015, 09:05:25 AM
Did you read the output at all?

Usage: php launch.php ecu.bin dump.ecu [0x_Main_Code] [0x_Variables] [0x_Counter_NLS]
Example: php launch.php ecu.bin dump.ecu 0x76980 0x170A0
Example: php launch.php ecu.bin dump.ecu

Yet, you've typed:
C:\me7launch>php launch.php

How does it know where your file is?  Or your ECU file?  You have them, right?

(http://i11.pixs.ru/thumbs/0/0/9/123jpg_2189628_19723009.jpg) (http://pixs.ru/showimage/123jpg_2189628_19723009.jpg)

https://yadi.sk/d/dWMXrgmkkuyvm

Everything is done according to the instructions, is not difficult to see if files

I realized my mistake, it was necessary to write a command

php launch.php ecu.bin dump.ecu 0x76980 0x170A0

If you can check me

https://yadi.sk/d/Vt3Z_Qh7kv3s3




Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: zelda on December 02, 2015, 10:37:46 AM
Hi guys
I have tested on my Golf 4 R32
I corrected the checksum
checksum corrector with no problem till the
after I write the file ecu_mod
with Ktag no problem too
I plug the ECU
I put the contact I turn the key to start nothing
Check Engine Light (MIL) OFF and lamp EPC off
What is the problem with my file please Help
PS: I tried SEVERAL launcher to create the file ecu_mod


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: ddillenger on December 02, 2015, 12:08:23 PM
It clearly says 4 checksums incorrect in your modified file.

That, and you 00'd the entire codeword block?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: zelda on December 02, 2015, 01:54:07 PM
Thank you for your reply
except checksum error I want to know whether the file ecu.mod is good

Thank in advance

Regards


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on December 02, 2015, 07:23:12 PM
I want to know whether the file ecu.mod is good

No. You 00'd ALL the codeword blocks?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: antoffka666 on December 03, 2015, 06:37:54 AM
(http://i11.pixs.ru/thumbs/0/0/9/123jpg_2189628_19723009.jpg) (http://pixs.ru/showimage/123jpg_2189628_19723009.jpg)

https://yadi.sk/d/dWMXrgmkkuyvm

Everything is done according to the instructions, is not difficult to see if files

I realized my mistake, it was necessary to write a command

php launch.php ecu.bin dump.ecu 0x76980 0x170A0

If you can check me

https://yadi.sk/d/Vt3Z_Qh7kv3s3




I can not understand whether I did



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: adam- on December 03, 2015, 07:03:08 AM
Have you tried the file yet?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: antoffka666 on December 03, 2015, 07:58:37 AM
Have you tried the file yet?

Yes, I try the native DF, the same effect


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: adam- on December 03, 2015, 08:10:32 AM
php launch.php ecu.bin dump.ecu

What happens if you right that?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: antoffka666 on December 03, 2015, 08:33:09 AM
php launch.php ecu.bin dump.ecu

What happens if you right that?



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: antoffka666 on December 03, 2015, 09:03:37 AM
I tried to run a script to another file   "4B0906018CC"  
All went well


But why does not pass from "4B0906018DG" I do not understand




Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: antoffka666 on December 03, 2015, 10:37:53 AM
Hello everybody ! I figured why not apply the patch to the unit 4B0906018DG

The fact that the patch looks for free space for "variables" in the range 17000-18000 in Hex

but in this unit it is further arranged , I corrected range to fix 17000-18200 and the patch found variables at: 0x18040

And then everything went without error. Next I made check sum and gave it to check on the car.

To attach photos and amended launch.php



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: rocco_2013 on December 13, 2015, 09:57:50 AM
hallo

hab gesehen hier sind einige unter uns, die deutsch sprechen...
kann mir mal einer erklären, wie man das programm zum laufen bringen kann schritt für schritt?

Bitte am Besten per PN

wäre sehr dankbar - dann kann ich das bei unserem S3 gleich mal testen :)

danke vorab


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Cloudforce on December 16, 2015, 04:36:01 AM
Da kann ich zwar leider nicht behilflich sein, aber wenn ihr es ans laufen bekommt, wäre ich sehr froh wenn ihr einen vorher/nachher Vergleich des Flash machen könntet. Ich versuche das an Siemens Steuergeräten ebenfalls zu implementieren und da wäre es mal ganz interessant was tatsächlich am code geändert wird :)

Viel Erfolg weiterhin.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: rocco_2013 on December 16, 2015, 08:33:41 AM
es läuft ja anscheinend eh bei manchen, nur ich kann leider mit der beschreibung nichts anfangen

am besten wäre ein DL Link vom kompletten PHP ordner
und auch eine beschreibung wie man das programm dann startet

lg


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: maZer.GTi on December 18, 2015, 08:03:22 AM
If you want help you need to speak english, implementation in Siemens (SIMOS) Ecus is not supported yet.
Last version is working on any VAG ME7 Ecu with C167 Processor.
P.S. Änderungen kannst nicht von einem Stg zum anderen übertragen.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: TijnCU on December 18, 2015, 09:53:51 AM
If you just go online and search for what's needed, you should get it to work just fine (php). It's really a small effort after the work others already have done...
Wann du nachher noch lust hast, kannst du selbst ein Beschreibung auf Deutsch machen  ::)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: renegade978 on December 19, 2015, 10:00:22 AM
Hi guys (what a first post)

I've been scratching my head for days trying to get this to work.

I've got the script working and a modded bin file and changed the relevant parts in tuner pro (also had a go in winols) but i still cannot get it to ignition cut for the launch control. It seems like it tries to cut but then just revs to redline.

Is anyone able to take a look and maybe give me a hint what im doing wrong? I've also changed ftomn to 1, 2 and 0

C:\ME7Logger\ecus>launch.exe ecu.bin dump.ecu
finding tsrldyn...
found: 380B96
finding vfil_w...
found: 381B50
finding nmot_w...
found: 00F89C
finding wped...
found: 38099C
finding tmotlin...
found: 38489F
finding B_kuppl (clutch pedal)...
found: 00FD4C.3
finding b_br (brems), brake pedal...
found: 00FD4A.15
Memory Layout: 29F800 Found
Found usable status flag variable at 0x00FDc2
FTOMN found: 1a2da
FTOMN IS: 05
FTOMN CHANGED TO 0x00
Finding a good space for Main Function..
space located at: 0x9f800
Finding a good space for launch control configuration variables..
space located at: 0x17a60
using 0x384FF0 for NLS Counter variable
Finding the offset for call to the code cave..
call will be located at: 0x9bd2a

Writing lines of code

code writed successfully to ecu_mod.bin!!

REMEMBER TO MAKE CHECKSUMS BEFORE YOU PUT THIS FILE,
CHECKSUMS ARE NOT CALCULATED ON THIS FILE

C:\ME7Logger\ecus>

Edit Log for ecu_mod.bin created by TunerPro.
**************************************************************************
12/18/2015 23:40:29  Scalar:    LaunchRPM  changed from 16384 RPM (0xFFFF) to 3488 RPM (0x3680).
12/18/2015 23:40:40  Scalar:    IgnitionCutDuration changed from 1310700  (0xFFFF) to 200  (0x000A).
12/18/2015 23:40:53  Scalar:    RPMThreshold changed from 16384 RPM (0xFFFF) to 5497 RPM (0x55E4).
12/18/2015 23:41:00  Scalar:    AccPedalThreshold changed from 100  (0xFF) to 80  (0xCC).
12/18/2015 23:41:24  Scalar:    SpeedThreshold changed from 512.02 km/h (0xFFFF) to 13.21 km/h (0x069B).
12/18/2015 23:41:41  Scalar:    FTOMN changed from 3.8 ms (0x26) to 0.0 ms (0x00).
12/19/2015 12:46:05  Scalar:    FTOMN changed from 0.0 ms (0x00) to 2.0 ms (0x14).

I really didnt want this to be a first post but im stumped



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: renegade978 on December 19, 2015, 10:51:38 AM
Nevermind. After looking at that tunerpro log i may have just sorted my problem 0xffff lol


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: armageddon on December 26, 2015, 01:19:55 PM
So, today I tested the script on an RS4 F-box, but it didn't work, rpms keep climbing...

Can you take a look maZer.GTi?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: gt-innovation on December 27, 2015, 04:07:59 AM
in some cases tmotlin check is not done properly.remove tmotlin check and it will work.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: armageddon on December 27, 2015, 04:59:47 AM
in some cases tmotlin check is not done properly.remove tmotlin check and it will work.

thanks, will try and report back


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: armageddon on December 27, 2015, 11:58:36 AM
I tried previous version of the script and as soon as clutch pedal is pressed the engine shuts down.

I assume when gt-innovation said to remove tmotlin check that it must be in the code, so, is too much to my abilities


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: dream3R on December 27, 2015, 09:04:32 PM
I tried previous version of the script and as soon as clutch pedal is pressed the engine shuts down.

I assume when gt-innovation said to remove tmotlin check that it must be in the code, so, is too much to my abilities

Just use nop as the instruction instead


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: armageddon on December 28, 2015, 03:10:23 AM
Just use nop as the instruction instead

Sorry but don't understand, what is nop.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: dream3R on December 28, 2015, 03:42:15 AM
Look in the disassembley section you should find your entry point and avoid the tmotlin instruction

nop = no operation performed it takes the lease CPU cycles to do nothing :)


tmot = motor coolant temp
tmotlin = linearised tmot


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: armageddon on December 28, 2015, 04:08:02 AM
Look in the disassembley section you should find your entry point and avoid the tmotlin instruction

nop = no operation performed it takes the lease CPU cycles to do nothing :)


tmot = motor coolant temp
tmotlin = linearised tmot

that's what I was afraid, disassembley code is out of my league  :'(


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: armageddon on December 29, 2015, 03:09:04 AM
Ok, so I re-read this thread and there are 5 scripts.

Last one (0.5) have coolant temperature condition that do not work on rs4 F-box.

After that a tried version 0.3 aasuming it was the previous version, that didn't work either.

Now I download version 0.4, and when comparing 0.5 and 0.4 result they are an exact match except for version 0.5 that has an additional first line. Version 0.3 has more differences.

I assume that first line on version 0.5 is for tmotlin so, version 0.4 should work.

will try and report.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: gt-innovation on December 29, 2015, 03:22:29 AM
use my tool which i posted a lot of time ago..

It is the initial ver of the code without tmotlin check.

You just have to fill out the info from the .ecu file by hand...

Was too lazy to make a parser...

http://nefariousmotorsports.com/forum/index.php?topic=7794.msg72698#msg72698


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Cloudforce on December 29, 2015, 04:06:54 AM
Does anyone have a before and after file to compare? I´m not using ME7.* at all so its even difficult to obtain a file.

Much appreciated.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: armageddon on December 29, 2015, 02:02:37 PM
use my tool which i posted a lot of time ago..

It is the initial ver of the code without tmotlin check.

You just have to fill out the info from the .ecu file by hand...

Was too lazy to make a parser...

http://nefariousmotorsports.com/forum/index.php?topic=7794.msg72698#msg72698


Thanks,

I will only test it on car tomorrow, but the hex code is the same as the maZer.GTi's script version0.4
Hope that works...


Quote from: Cloudforce
Does anyone have a before and after file to compare?

You could do it, but here you go...


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Cloudforce on December 30, 2015, 01:03:54 AM
Thank you very much, really appreciated!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: dream3R on December 30, 2015, 07:34:57 PM
Thank you very much, really appreciated!

Iirc this code messes around with dwell times for the anti lag so be careful on a diff platform.  Props to the op though don't get me wrong.    :)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: armageddon on December 31, 2015, 11:13:48 AM
Quote from: armageddon

Thanks,

I will only test it on car tomorrow, but the hex code is the same as the maZer.GTi's script version0.4
Hope that works...

Success,

thanks for all your assistancee  ;)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Cloudforce on January 01, 2016, 04:06:39 PM
Iirc this code messes around with dwell times for the anti lag so be careful on a diff platform.  Props to the op though don't get me wrong.    :)

At first i need to figure out what maps and constants are used at all. My disassembly needs much more work


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: dream3R on January 01, 2016, 04:28:23 PM
At first i need to figure out what maps and constants are used at all. My disassembly needs much more work

Ignition dwell time variable will be a challenge ;)   The first few posts of the original secrets thread explains most of it iirc buddy


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: jecko on January 21, 2016, 05:24:33 AM
Hi to all. I've used script in first page, and read all pages of topic, but not works on my 032DR.

Code:
php launch.php ecu.bin dump.ecu
finding tsrldyn...
found: 380B96
finding vfil_w...
found: 381B50
finding nmot_w...
found: 00F89C
finding: wped...
found: 38099C
finding tmotlin...
found: 38489F
finding B_kuppl (clutch pedal)...
found: 00FD4C.3
finding b_br (brems), brake pedal...
found_ 00FD4A.15
Memory Layout: 29F800 Found
Found usable status flag variable at 0x00FDc2
FTMON IS: 05
FTMON CHANGED TO 0x00
Finding a good space for Main Function..
space located at: 0x9f800
Fingind a good space for launch control configuration
space located at: 0x17a60
using 0x384F00 for NLS Counter variable
Finding the offset for call to the code cave..
call will be located at: 0x9bd2a

Writing lines of code

code writed successfully to ecu_mod.bin!!

successfully i've checked on Tunerpro and found that:

Code:
01/21/2016 12:45:36  Scalar:    FTOMN changed from 0.0 ms (0x00) to 0.2 ms (0x02).
01/21/2016 12:48:18  Scalar:    LaunchRPM  changed from 16384 RPM (0xFFFF) to 4500 RPM (0x4650).
01/21/2016 12:48:21  Scalar:    RPMThreshold changed from 16384 RPM (0xFFFF) to 5500 RPM (0x55F0).
01/21/2016 12:48:28  Scalar:    IgnitionCutDuration changed from 1310700  (0xFFFF) to 200  (0x000A).
01/21/2016 12:48:45  Scalar:    AccPedalThreshold changed from 100  (0xFF) to 90  (0xE5).
01/21/2016 12:48:55  Scalar:    SpeedThreshold changed from 512.02 km/h (0xFFFF) to 3.30 km/h (0x01A6).

Updated checksum but unfortunately nothing happened.

In this bin i've previously activated launch control with:

Code:
01/18/2016 19:07:14  Scalar:    VNMX changed from 20.00 km/h (0x10) to 1.25 km/h (0x01).
01/18/2016 19:07:59  Scalar:    DNMAXH changed from 200.0 U/min (0x0320) to 50.0 U/min (0x00C8).
01/18/2016 19:08:27  Scalar:    ITNMXH changed from 655.350 s (0xFFFF) to 0.000 s (0x0000).
01/18/2016 19:08:48  Scalar:    NMAX changed from 7000.0 RPM (0x6D60) to 4500.0 RPM (0x4650).
01/18/2016 19:09:33  Scalar:    TMOTNMX changed from 80.25 Grad C (0xAB) to -48.00 Grad C (0x00).
01/18/2016 19:09:55  Scalar:    TNMXH changed from 0.000 s (0x0000) to 655.350 s (0xFFFF).

What's wrong for you? Thanks in advice. File attached.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: jecko on January 22, 2016, 01:14:27 PM
UPDATE

Today i've tried over 20 maps, with and without soft launch limiter and nothing. (Soft launch limiter VNMX,DNMAXH,ITNMXH,NMAX,TMOTNMX,TNMXH)

THe only one result is with soft launcher disabled, and FTOMN to 0014 with this settings:

Scalar:    LaunchRPM  changed from 16384 RPM (0xFFFF) to 4500 RPM (0x4650).
Scalar:    RPMThreshold changed from 16384 RPM (0xFFFF) to 5500 RPM (0x55F0).
Scalar:    IgnitionCutDuration changed from 1310700  (0xFFFF) to 200  (0x000A).
Scalar:    AccPedalThreshold changed from 100  (0xFF) to 90  (0xE5).
Scalar:    SpeedThreshold changed from 512.02 km/h (0xFFFF) to 3.30 km/h (0x01A6).

Only "pops" and little boost (8-9psi) on 4500rpm and go fast to redline. Disassemled launch.php in first post and searched for results in bin output with an hex editor and all seems to be good.

video: https://www.youtube.com/watch?v=GEpgD5c9vok


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: teobolo on February 11, 2016, 03:26:44 AM
hi,
I m very happy, i have manage to make my first bin to work with LC enabled.

So i get curius and wondering if this script work for a Me7.9.10 (fiat_lancia_Alfa T-Jet engines) i have tried it but i can not  make the dump.ecu becasue of not correct lenght  .The Me7.9.10 have 832kb lenght and not 1024kb as the other ME7.5 ecus.So is there a way to bypass it?

Here is the script code

C:\me7info>Me7Info.exe -n fiatbravo150ps.bin
read 1116 map entries
mapped 198 aliases
Flash file fiatbravo150ps.bin has not correct length (is 0xd0000 bytes long, 0x8
0000 or 0x100000 bytes expected)


I also attach the Fiat Bravo t-jet ori file i tried .

thanks.




Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: gt-innovation on February 11, 2016, 07:02:14 AM
hi,
I m very happy, i have manage to make my first bin to work with LC enabled.

So i get curius and wondering if this script work for a Me7.9.10 (fiat_lancia_Alfa T-Jet engines) i have tried it but i can not  make the dump.ecu becasue of not correct lenght  .The Me7.9.10 have 832kb lenght and not 1024kb as the other ME7.5 ecus.So is there a way to bypass it?

Here is the script code

C:\me7info>Me7Info.exe -n fiatbravo150ps.bin
read 1116 map entries
mapped 198 aliases
Flash file fiatbravo150ps.bin has not correct length (is 0xd0000 bytes long, 0x8
0000 or 0x100000 bytes expected)


I also attach the Fiat Bravo t-jet ori file i tried .

thanks.




If you took the time to read the thread you would understand that this code is only done for the ME7 platform on VAG cars.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: doubas on February 11, 2016, 10:43:03 AM
should it work  on ME7.5 06a906032pl?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: adam- on February 16, 2016, 03:58:44 AM
You need rods.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: TijnCU on February 16, 2016, 04:28:23 AM
You sell rods? You're spamming every nls topic with the same message dude  ???
Flames and explosions from exhaust should be a warning sign of some sort, if one decides he likes this and breaks his engine so what? I wouldnt sleep any less over it..


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: tdehrmann1 on March 06, 2016, 08:54:17 AM
Hey guys,

i tried the auto-add script und flashed it to my ecu but it doesnt work. Did I anything wrong?
i hope you guys can help me.

here are my files:


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: adam- on March 07, 2016, 02:43:39 PM
You sell rods? You're spamming every nls topic with the same message dude  ???

Nah, it just annoys me that there's literally tens of people coming on with no experience in tuning engines, seeing a free script to add NLS just because they want flames.  Furthermore, they can't ever get the script to work, so ask the same questions over and over again wanting spoon fed the information how to inject it, even though there's already 30 pages of the same answer.

These people are the same type of people that can't even get MSDOS to work.  Bleugh.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on March 07, 2016, 08:52:45 PM
These people are the same type of people that can't even get MSDOS to work.  Bleugh.

x100000000

I'm equally annoyed


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: TijnCU on March 08, 2016, 01:14:17 AM
Thats another story.
Hasn't got anything to do with engine hardware  ;D I bet there are people that have built engines that can never get this script to work.

If you cant get the script to work, too bad. It's not for you  :)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: linus633 on March 08, 2016, 09:25:45 AM
I have a Problem out here, i already modded succesful a Seat 1.8t AUQ engine (06A906032HN 0002) with this php script but with my AMK engine (1ML906032   0001) the script says:

C:\Users\User\Google Drive\php-5.6.19-Win32-VC11-x64>php.exe launch.php
 1ML906032_0001.ecu 1ML906032_0001.Bin
finding tsrldyn...
fatal error not found tsrlydn

anyone has a solution?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mironet8 on March 08, 2016, 12:35:54 PM
Hello, can someone add NLS and ALS into my ECU? I am noob. ECU nr. is 06A906032HN
I have been trying it for 2 days and I still dont know how to add this into my ECU. Please help me.  :'( :'(
Map is modified from ABT Sportsline.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: adam- on March 08, 2016, 12:48:32 PM
x100000000

I'm equally annoyed

Hello, can someone add NLS and ALS into my ECU? I am noob. ECU nr. is 06A906032HN
I have been trying it for 2 days and I still dont know how to add this into my ECU. Please help me.  :'( :'(
Map is modified from ABT Sportsline.

What were you saying nyet?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on March 08, 2016, 12:51:10 PM
Rods.

"Nim" makes good ones.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mironet8 on March 08, 2016, 01:01:53 PM
I have my file.bin out of my ECU. I am looking for someone who can modify it.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on March 08, 2016, 01:24:47 PM
Nah, it just annoys me that there's literally tens of people coming on with no experience in tuning engines, seeing a free script to add NLS just because they want flames.  Furthermore, they can't ever get the script to work, so ask the same questions over and over again wanting spoon fed the information how to inject it, even though there's already 30 pages of the same answer.

These people are the same type of people that can't even get MSDOS to work.  Bleugh.

And they ignore posts like this.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: eibxmatic on March 08, 2016, 11:19:08 PM
The problem isn't ignoring the posts but to not be able to run this simple script.

Maybe deleting such posts to have this post sorted again and blocking such posters for a few days could be a solution


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: TijnCU on March 09, 2016, 01:03:26 AM
(http://www.allfishingbuy.com/Photos/fishing-rod-power.jpg)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: tdehrmann1 on March 09, 2016, 02:58:10 AM
my problem is not to run this script. And i read the 30 sites before i post my question. also i read the post how to manually inject the NLS and LC in the .bin file. But there are difference between this ecu and my ecu. I tried to figure it out by myself but i had not any success. I want to learn these things by doing.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: tdehrmann1 on March 09, 2016, 12:05:26 PM
Hello, can someone add NLS and ALS into my ECU? I am noob. ECU nr. is 06A906032HN
I have been trying it for 2 days and I still dont know how to add this into my ECU. Please help me.  :'( :'(
Map is modified from ABT Sportsline.


I'm trying it since september 2015 and still no success. have you already used the script?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: tdehrmann1 on March 09, 2016, 03:00:08 PM
use my tool which i posted a lot of time ago..

It is the initial ver of the code without tmotlin check.

You just have to fill out the info from the .ecu file by hand...

Was too lazy to make a parser...

http://nefariousmotorsports.com/forum/index.php?topic=7794.msg72698#msg72698

how can i find out the variables for ConditionVariables and MainCodeAdresss? these are the only 2 things that i dont understand. open the .ecu file and search for the variables is easy. I think this is the adress for free space right?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: sokol22 on March 26, 2016, 05:20:14 PM
can somone help me to upload script to my ecu file ?  ::)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: gt-innovation on March 27, 2016, 07:17:05 AM
how can i find out the variables for ConditionVariables and MainCodeAdresss? these are the only 2 things that i dont understand. open the .ecu file and search for the variables is easy. I think this is the adress for free space right?

Everything you need is in the .ecu file. The others are just free spaces which you select...


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: seany260 on April 01, 2016, 05:50:59 AM
Hi I'm trying to implement the launch and anti lag but there is nothing functioning. I've put my file into the script checksumed and seamed like it worked but not holding RPM at launch or gear change. Im obviously missing something basic.

C:\launch>launch ecu.bin dump.ecu
finding tsrldyn...
found: 380BFD
finding vfil_w...
found: 381E12
finding nmot_w...
found: 00F89E
finding wped...
found: 3809CD
finding tmotlin...
found: 3848B7
finding B_kuppl (clutch pedal)...
found: 00FD4C.6
finding b_br (brems), brake pedal...
found: 00FD4C.2
Memory Layout: 29F800 Found
Found usable status flag variable at 0x00FDc2
FTOMN found: 1b05f
FTOMN IS: 05
FTOMN CHANGED TO 0x00
Finding a good space for Main Function..
space located at: 0xbe3a0
Finding a good space for launch control configuration variables..
space located at: 0x17520
using 0x384FF0 for NLS Counter variable
Finding the offset for call to the code cave..
call will be located at: 0xb7416

Writing lines of code

code writed successfully to ecu_mod.bin!!

file attached 518ak v3
thank you to the creators!

Update!
Ive used v4 of the script, changed the locations of the code and NLS is now working but still not LC. Im suspecting nothing worked using the v5 script because ive read the tmotlin check is not done properly in some files. what could I check now?
thanks
updated file attached  

log update!
I managed to get a log done this morning, I would be greatful if some one could please have a look to see if they can spot anything thats stopping the LC from functioning, thank you. ;)



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: antoffka666 on May 18, 2016, 04:08:06 AM
Hello everybody ! there is a patch to the firmware 512 kb 4B0906018P  ?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mickeyd1984 on May 18, 2016, 04:33:08 PM
Really where?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: antoffka666 on May 20, 2016, 04:14:31 AM
Really where?

This was the question) Google translator )


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on May 20, 2016, 10:43:04 AM
This was the question) Google translator )

You could edit your post and add a "?", you know.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: TijnCU on May 21, 2016, 03:41:38 AM
No patch, just manually locate free (unaccessed) flash space and set FTOMN to 01. If you had read this thread, you would have found out!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: scottjoshuac on June 12, 2016, 08:28:11 PM
I've used this script on my 1.8t before. Now I'm trying it on my VRT and get the below error. Can anyone point me in the right direction for this? My ECU is tuned with C2 Stage 1+... Maybe that's why?
C:\php>php launch.php ecu.bin ecu.ecu
finding tsrldyn...
found: 380705
finding vfil_w...
found: 381226
finding nmot_w...
found: 00F81C
finding wped...
found: 3804B6
finding tmotlin...
found: 3848A4
finding B_kuppl (clutch pedal)...
found: 00FD54.12
finding b_br (brems), brake pedal...
found: 00FD54.8
Memory Layout: 29F800 Found
Found usable status flag variable at 0x00FDba
FTOMN found: 1a4ce
FTOMN IS: 0a
FTOMN CHANGED TO 0x00
Finding a good space for Main Function..
space located at: 0xb5980
Finding a good space for launch control configuration variables..
cannot find space for configuration variables, please input offset by argument!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: sokol22 on June 14, 2016, 01:30:18 PM
can someone patch my bin file ?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mickeyd1984 on July 07, 2016, 01:30:42 PM
Anyone want to check this file to make sure it was set up correctly for NLS and LC. I havent tried it yet for fear i did something wrong.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: sonique on July 07, 2016, 03:36:23 PM
this file bad
double size
can someone patch my bin file ?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Joker68 on July 07, 2016, 10:51:08 PM
Hello all,

Is it possible use this on seat ibiza cupra file ecu 6K0906032ab? Or can anyone help me with my file?

Thank you


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: Joker68 on July 07, 2016, 11:13:42 PM
Hello all,

Is it possible use this on seat ibiza cupra file ecu 6K0906032ab? Or can anyone help me with my file?

Thank you



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: welsh on July 28, 2016, 03:32:24 PM
can any one help with my new TT just bought.. seems no affect with script. or when i set call address etc manually.
please advise.
seems others have had similar issue.
ECU- 8N0906018H

orig attached.

thanks in advance.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: adam- on August 01, 2016, 12:15:49 AM

You're using the script incorrectly.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: K@masutra on September 01, 2016, 03:43:28 AM
I try to test the script.
I get allways this error:
Code:
php launch2.php test.bin test.ecu
finding tsrldyn...
found: 380BA4
finding vfil_w...
found: 381CB8
finding nmot_w...
found: 00F89E
finding wped...
found: 3809A8
finding tmotlin...
found: 384898
finding B_kuppl (clutch pedal)...
found: 00FD4A.13
finding b_br (brems), brake pedal...
found: 00FD4A.9
Memory Layout: 29F800 Found
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 443
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 443
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 443
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 443
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 443
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 443
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 443
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 443
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 443
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 443
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 443
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 443
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
PHP Notice:  Undefined offset: 1 in /ECU/launch2.php on line 430
Found usable status flag variable at 0x00FDc4
FTOMN found: 1a61b
FTOMN IS: 05
FTOMN CHANGED TO 0x00
Finding a good space for Main Function..
space located at: 0xa6910
Finding a good space for launch control configuration variables..
space located at: 0x18040
using 0x384FF0 for NLS Counter variable
Finding the offset for call to the code cave..
call will be located at: 0xa0cc2

Writing lines of code

code writed successfully to test_mod.bin!!

REMEMBER TO MAKE CHECKSUMS BEFORE YOU PUT THIS FILE,
CHECKSUMS ARE NOT CALCULATED ON THIS FILE

i use it at a linux unbutu server.
Is this normal?
What i did wrong?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: wesselh93 on September 17, 2016, 12:06:30 PM
Hello all,

Is it possible use this on seat ibiza cupra file ecu 6K0906032ab? Or can anyone help me with my file?

Thank you

@Joker,

I'm currently busy with my own AB software, so here you go!
Original file with NLS/LC

Edit: You should change the FTOMN manualy from 00 to 02 in hex located in 16227


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: spd_tolis on September 17, 2016, 11:19:44 PM
hello friend!!!
Could someone help me with getting 2step & Antilag ??`
I've attached my ecu data...thanks again!!!


Title: Re:
Post by: wesselh93 on September 18, 2016, 06:55:24 AM
Seat Ibiza Cupra confirmed working with 06K0906032ab ECU.

Only had to set ftomn to 02

Actualy worked a little to good blew my rear mufler to pieces.


Verstuurd vanaf mijn Nintendo DS met Tapatalk


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: spd_tolis on September 25, 2016, 12:10:33 AM
hello friend!!!
Could someone help me with getting 2step & Antilag ??`
I've attached my ecu data...thanks again!!!
hello friend...!!!Anyone want to check this file to make sure it was set up correctly for LC...thanks!!!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: teobolo on September 26, 2016, 11:04:24 AM
hello friend!!!
Could someone help me with getting 2step & Antilag ??`
I've attached my ecu data...thanks again!!!
There you are ....

Launch variables are know located to 0 x 17b00 adress !!!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: spd_tolis on September 28, 2016, 09:30:19 AM
There you are ....

Launch variables are know located to 0 x 17b00 adress !!!

thanks friend!!!!! will try and report back....!!!!!(and CHECKSUM its ok)??


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: teobolo on September 28, 2016, 10:54:27 PM
thanks friend!!!!! will try and report back....!!!!!(and CHECKSUM its ok)??
No checksum must be made from you !


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: spd_tolis on September 29, 2016, 03:12:28 AM
No checksum must be made from you !
ok friends.....many thanks!!!!!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: PoLo35 on October 01, 2016, 03:14:26 PM
ok friends.....many thanks!!!!!

it works the way you wanted?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: spd_tolis on October 01, 2016, 10:02:31 PM
it works the way you wanted?
hello..test in the few days(change turbo).....!!!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: pOwy on October 02, 2016, 03:57:23 AM
Hi!

I made my file with the php, then i checked my file after checksum and the first 5row is just FF, so i found a new place at 7E000 because after checksum is still there:) i edited the call function as well to DA 8700E0 i think its okay ,but no NLS no LC. FTOMN is set to 0,2 because many people said for 512kb file is better.

Can someone check my file please, i have no idea what is wrong :S.

1 extra question: how to make the maps in winols for variables?
All the maps what i need to tune is already made by someone here in the FR, so i never tried earlier how to do.

it's a TT-18T-AJQ-Me75-206440-8L0906018J-F400bb

Thanks!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: A6turbofrance on October 02, 2016, 06:18:01 PM
can someone help me
cannot done it working for my car
that say script are included but not working when flashing it on the car
here is my tune before been patched
S3 apy tune 1


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: A6turbofrance on October 03, 2016, 12:13:44 PM
this is what i got when i try to use the script


C:\Users\Yoann\Desktop\New Folder\a>launch 018n_test.bin 018n.ecu
finding tsrldyn...
found: 380C33
finding vfil_w...
found: 380CB6
finding nmot_w...
found: 00F874
finding wped...
wped not found, using dwped + 2: 380A5C
finding B_kuppl (clutch pedal)...
found: 00FD42.11
finding b_br (brems), brake pedal...
found: 00FD42.7
Memory Layout: 29F400 Found
FTOMN found: 1636c
FTOMN IS: 02
FTOMN CHANGED TO 0x00
Finding a good space for Main Function..
space located at: 0x76a20
Finding a good space for launch control configuration variables..
cannot find space for configuration variables, please input offset by argument!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on October 03, 2016, 12:40:29 PM
Guess you'll have to learn to write your own ASM ..


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: PoLo35 on October 03, 2016, 01:24:16 PM
Hi guys;  I made changes to my file, it looks good ?

My ECU is  ME7.5, 06A906032DE, 0261206866, 360165

Launch RPM: 4500
Speed threshold: 3.3
RPM threshold: 5500
Ignition cut duration: 200
Acc pedal threshold: 90.2
FTOMN: 0

The files original and mod are attached.

The files are attached.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: pOwy on October 04, 2016, 08:35:01 AM
Hi!

Update!:) NLS works i changed the place from nls counter now its okay, but what the other told earlier shift like butter hmm not sooo good, maybe the settings?
LC make nothing, is the speed treshold in ori code from setzi already set to something low or that i should? because i didnt made the maps for variables.



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: the dog on October 05, 2016, 05:28:53 AM
Can I get some help pls. I am really new to this
I followed the instructions
The ecu is a TT mk1 225 1mb file
I can not get the file generated. I am getting undefined offset error. I attached a pictures of cmd showing this
I am also uploading the bin and ecu file I made
Can anyone help out?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mj2theario on October 09, 2016, 05:48:29 AM
Hello :-)

How i can change the LC and Nls Rp ?

Here the launch control configuration variables in decimal:


000176E0:

166 001 080 070 010 000 240 085

 00   01   02  03   04   05  06   07

I`m right with this info?

00 - 01 Speed Threshold 3,3 km/h - Conversion: X*0.0078125
02 - 03 Launch Rpm 4500 1/min - Conversion: X*0.25
04 - 05 Ingnition Cut Duration 200ms - Conversion: X*20
06 - 07 Rpm Threshold. 5500 1/min - Conversion: Y*0.25

How is the research from the decimal code
with the conversion to the real rpm or time?

Sorry for my bad english ;-)

Regards from germany


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: TijnCU on October 09, 2016, 06:04:13 AM
Finding a good space for Main Function..
space located at: 0x76a20
Finding a good space for launch control configuration variables..
cannot find space for configuration variables, please input offset by argument!

Have you tried to input an offset by argument?  :o
dire le script où les variables doivent être placés
I dont know if this makes sense because I dont speak French. With love from google


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: TijnCU on October 09, 2016, 06:10:35 AM
Hello :-)

How i can change the LC and Nls Rp ?

Here the launch control configuration variables in decimal:


000176E0:

166 001 080 070 010 000 240 085

 00   01   02  03   04   05  06   07

I`m right with this info?

00 - 01 Speed Threshold 3,3 km/h - Conversion: X*0.0078125
02 - 03 Launch Rpm 4500 1/min - Conversion: X*0.25
04 - 05 Ingnition Cut Duration 200ms - Conversion: X*20
06 - 07 Rpm Threshold. 5500 1/min - Conversion: Y*0.25

How is the research from the decimal code
with the conversion to the real rpm or time?

Sorry for my bad english ;-)

Regards from germany

Why would you convert hex to decimal???? There is so much info on changing the variables in here, or even if you google it you will find it. Well, maybe not if you try to find the answer with decimal code values because you are maybe the only one in the world to take this approach  ::)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mj2theario on October 09, 2016, 06:21:05 AM
Why would you convert hex to decimal???? There is so much info on changing the variables in here, or even if you google it you will find it. Well, maybe not if you try to find the answer with decimal code values because you are maybe the only one in the world to take this approach  ::)

Okay here i Hexadecimal:

00176E0:

A6 01 50 46 0A 00 F0



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: TijnCU on October 09, 2016, 07:13:31 AM
Okay, now find those hex numbers in Sn00k's howto pdf that I sent you. Look at step 14 and 15.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: mj2theario on October 09, 2016, 07:24:47 AM
Okay, now find those hex numbers in Sn00k's howto pdf that I sent you. Look at step 14 and 15.

I have create a xdf like the info in point 15. from the pdf.
But the launch show the wrong rpm,
what im doing wrong?

Please look at the screenshot:


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: TijnCU on October 09, 2016, 08:22:51 AM
least significant bit first. Are you sure you want to use this code if you cant set up a spoon fed definition yourself?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: PoLo35 on October 12, 2016, 11:55:35 AM
Hi everybody.

I've tried several EN / XLS file without any success on my car.

So I decided to try myself launch.php the script but also without success, I always have this message back, someone can give me a helping hand?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: PoLo35 on October 15, 2016, 01:08:04 PM
Hi everybody.

I've tried several EN / XLS file without any success on my car.

So I decided to try myself launch.php the script but also without success, I always have this message back, someone can give me a helping hand?

always someone to guide me?
I do not think that this method works on my car but I would still try because I've tested 7 File 3 different people and none works.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: up50lut3 on October 15, 2016, 04:24:36 PM
hey,

i've been messing with this for a while.. tried on my own( adding and changing code) and using this script.

I found that launch.php v5 with all the files( located around page 11 i think) was the correct one to use.. I tried this on 4 diffrent 1.8t ecus:

hs
dl
sm
cm

had 100% success with 3 of the 4. the only one with any kind of issue was the SM box. (06A 906 032 SM- 05 MKIV GLI-6PEED)

every time i tried it on that box, it wouldn't put the entire code in, in the correct spot... i.e., it would put half in empty space, and the other half over a different address( already in use).

i have a working HS box.. stock tune, in my car now, and has been runnig great wih no issues for the last 4 days.

These are all on 1.8t files. all bin's ive tried are on a me7.5 2.0l mk4 box, over written with diffrent bin files for testing...and all worked with version 5, that were problematic with other versions.

**ALSO** THIS ONLY SEEMED TO WORK WITH THE PHP VERSION!!!!! never got the cmd version to correctly execute. im not sure why. For those afraid of the php version, justdownload php, put cmd, launch.php, and BOTH ecu files needed into the php folder, and run.. its not as complicated as one would think.. Trust me, i barley know my way around an ecu file, or winols...but this isn't hard for the most average user....so dont be scared!

also, doesnt hurt to have mpps and a bootmode bench just incase :)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on October 15, 2016, 05:40:36 PM
I really wish nobody would use this script that doesn't already know assembler.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: up50lut3 on October 16, 2016, 08:01:54 AM
I really wish nobody would use this script that doesn't already know assembler.

understandable.....as the inherent risks....but im sorry, im sure you must have known assembler and all coding languages before you ever used any code, you know, say out of a book or from a curriculum  to make/use a test programs to learn ::)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: PoLo35 on October 16, 2016, 09:44:25 AM
understandable.....as the inherent risks....but im sorry, im sure you must have known assembler and all coding languages before you ever used any code, you know, say out of a book or from a curriculum  to make/use a test programs to learn ::)

I've tried several file did for my car several different people and none works. Including php spoken of you.


Title: Re:
Post by: Buzzard on October 18, 2016, 08:15:50 AM
Works ! You need to read the thread properly, absorb the information and advice until you have fully understood what you need to do.

Well done guys this is truly great stuff !

Sent from my SM-N910F using Tapatalk


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: up50lut3 on October 19, 2016, 08:38:37 PM
Works ! You need to read the thread properly, absorb the information and advice until you have fully understood what you need to do.

Well done guys this is truly great stuff !

Sent from my SM-N910F using Tapatalk
^^^^^^this


Sent from my iPad using Tapatalk


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: up50lut3 on October 19, 2016, 08:44:07 PM
I've tried several file did for my car several different people and none works. Including php spoken of you.


 I see why it's not working for you, your not typing the command ...your just typing launch launch.php....... Nothing else....READ


Sent from my iPad using Tapatalk


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: up50lut3 on October 20, 2016, 01:30:10 PM
can someone help me out with 2 things?

here are the address it placed my script. I need to change the rpm that antilag is set to hold at. would i change the bits at address 0x17E72?

and another thing, when i use NLS, when i grab the next gear, its like it looses boost, and then i have to wait a second for it to come back, NLS works, just needs to be tweaked..any suggestions?

here is the scripts locations and here is the code @ 0x17EXX

is in in the order i think it is, or is the variables for each located in 2 diffrent places?

i.e.:
0x17E70 to 0x17E78:
0x17E70: Speed Threshold - Limits the speed where AntiLag is active. If vehicle speed is < SpeedThreshold, the AntiLag is enabled. Normally set to a low value, e.g. 3 km/h. To disable AntiLag, set the SpeedThreshold to zero.
0x17E72: Launch RPM - Sets the launch engine speed. If engine speed is higher than the LaunchRPM, the ignition is interrupted. To disable this function, set LaunchRPM to a high value, e.g. 15000 rpm
0x17E74: IgnitionCutDuration - This sets the time for which the ignition is cut while clutch is pressed (NoLiftShift), if also the following conditions are fulfilled:
Brake is not engaged
Engine speed is higher than RPMThreshold
Accel Pedal is engaged more than AccPedalThreshold
Set IgnitionCutDuration to zero to disable the NoLiftShift function.
0x17E76: RPM Threshold - Sets the minimum engine speed threshold for the NoLiftShift function. If the engine speed is lower than RPMThreshold, NoLiftShift is disabled.
0x17E78: AccPedalPosition - Sets the minimum accelerator pedal angle for NoLiftShift. If the accel. pedal is engaged lesser than AccPedalThreshold, NoLiftShift is disabled.


thanks in advanced!


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: funnix on October 20, 2016, 11:18:22 PM
You have to generate an XDF for the following values found on few pages before:


default values are(Customized for you):
From 0x17E00 to 0x17E01: Speed Treshold: 3.3 km/h; Conversion X*0.0078125
From 0x17E02 to 0x17E03: Launch RPM: 4500 1/min; Conversion X*0.25
From 0x17E04 to 0x17E05: IginitionCutDuration: 200ms; Conversion X*20
From 0x17E06 to 0x17E07: RPM Threshold: 5500 1/min; Conversion X*0.25

all 16bit LSB.

0x17E08: AccPedalThreshold: 90.20 %; Conversion X*0.392157
0x17E09: WaterTempThreshold: 75°C; Conversion X*0.75-48

8 bit.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: up50lut3 on October 22, 2016, 02:30:07 PM
You have to generate an XDF for the following values found on few pages before:


default values are(Customized for you):
From 0x17E00 to 0x17E01: Speed Treshold: 3.3 km/h; Conversion X*0.0078125
From 0x17E02 to 0x17E03: Launch RPM: 4500 1/min; Conversion X*0.25
From 0x17E04 to 0x17E05: IginitionCutDuration: 200ms; Conversion X*20
From 0x17E06 to 0x17E07: RPM Threshold: 5500 1/min; Conversion X*0.25

all 16bit LSB.

thank you!
0x17E08: AccPedalThreshold: 90.20 %; Conversion X*0.392157
0x17E09: WaterTempThreshold: 75°C; Conversion X*0.75-48

8 bit.



Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: xangelox on November 22, 2016, 12:43:56 PM
Hi im new here.

who can help me with AL NLS and the Skript.

i have a skoda superb 1.8t

thanks


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: gt-innovation on November 22, 2016, 02:47:25 PM
Hi im new here.

who can help me with AL NLS and the Skript.

i have a skoda superb 1.8t

thanks

You can read everything and help yourself....


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: xangelox on November 22, 2016, 03:42:46 PM
You can read everything and help yourself....

i have found a skript but i have a lot of fail in script.
who can i find the right.

How get AL NLS by MED9 and MED17, the same?


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: funnix on November 22, 2016, 10:17:25 PM
I'm not sure, but I think the script is for ME7  ;)


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: gt-innovation on November 23, 2016, 03:34:18 AM
i have found a skript but i have a lot of fail in script.
who can i find the right.

How get AL NLS by MED9 and MED17, the same?

Script is made for me7 c166/c167 cpu not for med9 med17...again those things are clear in the complete section if you read carefully.


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: crank66 on November 24, 2016, 04:20:15 AM
Hello,

need help

the script ouput see below.

can some help me to find free space? what is the best?

can i use

0x74fc0 for the main function like the script writes
and 0x75060 for the variables, so i have 2 offsets spaces?

should i set ftomn to 2? becouse ist is 512kb ecu

in attachment is the file





thanks in advance




finding tsrldyn...
found: 380C2C
finding vfil_w...
found: 380CAA
finding nmot_w...
found: 00F874
finding wped...
found: 380A56
finding tmotlin...
found: 384881
finding B_kuppl (clutch pedal)...
found: 00FD42.2
finding b_br (brems), brake pedal...
found: 00FD40.14
Memory Layout: 29F400 Found
Found usable status flag variable at 0x00FD98
FTOMN found: 16337
FTOMN IS: 05
FTOMN CHANGED TO 0x00
Finding a good space for Main Function..
space located at: 0x74fc0
Finding a good space for launch control configuration variables..
cannot find space for configuration variables, please input offset by argument!




Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: loki954 on November 24, 2016, 10:39:28 AM
any ideas why not work  ???


Title: Re:
Post by: Buzzard on November 24, 2016, 03:20:01 PM
The best advice is to read all, read again thoroughly and you shall be enlightened

Sent from my SM-N910F using Tapatalk


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: PoLo35 on November 25, 2016, 02:28:01 AM
Hi guys,

I had a defective sensor, now it works.

https://youtu.be/1SwMkdwg7Bg


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: xangelox on November 30, 2016, 03:45:40 AM
hi i have the problem the car not start after antilag skript

checksum via winols

i need help


Title: Re: 2step & Antilag Auto Add Script. for ME7.X
Post by: nyet on November 30, 2016, 10:57:09 AM
This topic is done. Put a fork in it.