Pages: 1 ... 16 17 [18] 19 20 ... 35
Author Topic: 2step & Antilag Auto Add Script. for ME7.X  (Read 411538 times)
cstefan
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 14


« Reply #255 on: March 14, 2015, 07:00:33 PM »

If people have no time for experiment then you people should pay other people to do Cheesy
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 :/
Logged
maZer.GTi
Full Member
***

Karma: +68/-6
Offline Offline

Posts: 246


« Reply #256 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 Smiley
Logged
welsh
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 8


« Reply #257 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
Logged
TijnCU
Hero Member
*****

Karma: +60/-4
Offline Offline

Posts: 690


flying brick


« Reply #258 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  Wink
Logged

TijnCU
Hero Member
*****

Karma: +60/-4
Offline Offline

Posts: 690


flying brick


« Reply #259 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.
Logged

Lost
Hero Member
*****

Karma: +21/-14
Offline Offline

Posts: 556


« Reply #260 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.
Logged
TijnCU
Hero Member
*****

Karma: +60/-4
Offline Offline

Posts: 690


flying brick


« Reply #261 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.
Logged

maZer.GTi
Full Member
***

Karma: +68/-6
Offline Offline

Posts: 246


« Reply #262 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
Logged
nyet
Administrator
Hero Member
*****

Karma: +607/-168
Offline Offline

Posts: 12268


WWW
« Reply #263 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.
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
maZer.GTi
Full Member
***

Karma: +68/-6
Offline Offline

Posts: 246


« Reply #264 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". Wink

I will fix it  and upload a new version.
« Last Edit: March 28, 2015, 04:33:56 PM by ddillenger » Logged
nyet
Administrator
Hero Member
*****

Karma: +607/-168
Offline Offline

Posts: 12268


WWW
« Reply #265 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". Wink

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

What a bunch of idiots :/
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
TijnCU
Hero Member
*****

Karma: +60/-4
Offline Offline

Posts: 690


flying brick


« Reply #266 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 Grin 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.
Logged

SB_GLI
Hero Member
*****

Karma: +116/-10
Offline Offline

Posts: 1022


« Reply #267 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.
Logged
welsh
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 8


« Reply #268 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.
Logged
TijnCU
Hero Member
*****

Karma: +60/-4
Offline Offline

Posts: 690


flying brick


« Reply #269 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?
Logged

Pages: 1 ... 16 17 [18] 19 20 ... 35
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.027 seconds with 16 queries. (Pretty URLs adds 0.001s, 0q)