Pages: 1 ... 27 28 [29] 30 31 ... 35
Author Topic: 2step & Antilag Auto Add Script. for ME7.X  (Read 411624 times)
dream3R
Hero Member
*****

Karma: +18/-8
Offline Offline

Posts: 1194


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



How to work out values from an A2L Smiley

http://nefariousmotorsports.com/forum/index.php?topic=5525.msg52371#msg52371


Starting Rev's http://nefariousmotorsports.com/forum/index.php?topic=5397.msg51169#msg51169

noobs read this before asking http://nefariousmotorsports.com/forum/index.php?topic=9014.0title=


ORGORIGINAL 05 5120 creator for Volvo
ORIGINAL Datalogger (Freeware) Author
ORGINAL finder of the 'extra' torque' limits
I don't have ME7.01 A2L I just use ID
armageddon
Sr. Member
****

Karma: +20/-3
Offline Offline

Posts: 348


« Reply #421 on: December 28, 2015, 03:10:23 AM »

Just use nop as the instruction instead

Sorry but don't understand, what is nop.
Logged
dream3R
Hero Member
*****

Karma: +18/-8
Offline Offline

Posts: 1194


« Reply #422 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 Smiley


tmot = motor coolant temp
tmotlin = linearised tmot
Logged



How to work out values from an A2L Smiley

http://nefariousmotorsports.com/forum/index.php?topic=5525.msg52371#msg52371


Starting Rev's http://nefariousmotorsports.com/forum/index.php?topic=5397.msg51169#msg51169

noobs read this before asking http://nefariousmotorsports.com/forum/index.php?topic=9014.0title=


ORGORIGINAL 05 5120 creator for Volvo
ORIGINAL Datalogger (Freeware) Author
ORGINAL finder of the 'extra' torque' limits
I don't have ME7.01 A2L I just use ID
armageddon
Sr. Member
****

Karma: +20/-3
Offline Offline

Posts: 348


« Reply #423 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 Smiley


tmot = motor coolant temp
tmotlin = linearised tmot

that's what I was afraid, disassembley code is out of my league  Cry
Logged
armageddon
Sr. Member
****

Karma: +20/-3
Offline Offline

Posts: 348


« Reply #424 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.
Logged
gt-innovation
Sr. Member
****

Karma: +60/-91
Offline Offline

Posts: 449


« Reply #425 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
Logged
Cloudforce
Full Member
***

Karma: +5/-13
Offline Offline

Posts: 106


« Reply #426 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.
Logged
armageddon
Sr. Member
****

Karma: +20/-3
Offline Offline

Posts: 348


« Reply #427 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...
Logged
Cloudforce
Full Member
***

Karma: +5/-13
Offline Offline

Posts: 106


« Reply #428 on: December 30, 2015, 01:03:54 AM »

Thank you very much, really appreciated!
Logged
dream3R
Hero Member
*****

Karma: +18/-8
Offline Offline

Posts: 1194


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



How to work out values from an A2L Smiley

http://nefariousmotorsports.com/forum/index.php?topic=5525.msg52371#msg52371


Starting Rev's http://nefariousmotorsports.com/forum/index.php?topic=5397.msg51169#msg51169

noobs read this before asking http://nefariousmotorsports.com/forum/index.php?topic=9014.0title=


ORGORIGINAL 05 5120 creator for Volvo
ORIGINAL Datalogger (Freeware) Author
ORGINAL finder of the 'extra' torque' limits
I don't have ME7.01 A2L I just use ID
armageddon
Sr. Member
****

Karma: +20/-3
Offline Offline

Posts: 348


« Reply #430 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  Wink
Logged
Cloudforce
Full Member
***

Karma: +5/-13
Offline Offline

Posts: 106


« Reply #431 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.    Smiley

At first i need to figure out what maps and constants are used at all. My disassembly needs much more work
Logged
dream3R
Hero Member
*****

Karma: +18/-8
Offline Offline

Posts: 1194


« Reply #432 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 Wink   The first few posts of the original secrets thread explains most of it iirc buddy
Logged



How to work out values from an A2L Smiley

http://nefariousmotorsports.com/forum/index.php?topic=5525.msg52371#msg52371


Starting Rev's http://nefariousmotorsports.com/forum/index.php?topic=5397.msg51169#msg51169

noobs read this before asking http://nefariousmotorsports.com/forum/index.php?topic=9014.0title=


ORGORIGINAL 05 5120 creator for Volvo
ORIGINAL Datalogger (Freeware) Author
ORGINAL finder of the 'extra' torque' limits
I don't have ME7.01 A2L I just use ID
jecko
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 6


« Reply #433 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.
Logged
jecko
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 6


« Reply #434 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
Logged
Pages: 1 ... 27 28 [29] 30 31 ... 35
  Print  
 
Jump to:  

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