RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Sat Feb 21, 2026 10:26 pm

All times are UTC





Post new topic Reply to topic  [ 153 posts ]  Go to page Previous  1 ... 7, 8, 9, 10, 11  Next
Author Message
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Thu Dec 01, 2016 5:53 pm 
Offline
Newbie

Joined: Wed Dec 05, 2012 3:00 pm
Posts: 94
Merp wrote:
My main area of focus is still A8DH202X.

Unfortunately the 04 is just too tight on space for most of these features without tearing out some OEM code. I'm sure its possible with some effort but its simply beyond the scope of my efforts.... But, if someone who has one gets involved, 90% of the existing MerpMod codebase is compatible. :)


Merp, I would love to get involved. I have an 04. I have flashed on there the latest version, and I am using only LC (well, not even using that right now, but I tested that it works). The biggest thing I want to use is Flex Fuel. Sounds like a dirty phrase for the 04 ECU.

The biggest problem is that I haven't the slightest on how to unpack the ROM in IDA. I understand programming, not necessary assembly, but I have programmed in many different languages, so I think my programming logic is fairly sound. That being said, I also have not done much with a physical processor (mostly like C++, Matlab, VBA, etc.). Okay, I've actually done nothing with a physical processor.

Anyways, I'll shoot you a PM. See if maybe I can get started with IDA. I've tried to follow a few of the tutorials on here, and I just end up getting different results than what is shown in the tutorial.


Another feature I would love to have, and I would pay like $50 for someone to write this for 04 STi, is to flash the CEL when the car is pulling timing for FBKC or FLKC, and maybe make it solid if IAM < 1.

Anyone?


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Thu Jul 18, 2019 2:38 am 
Offline
Newbie

Joined: Sat Apr 15, 2017 9:45 pm
Posts: 36
This is an awesome project, with the current codeset for the USDM wrx sti 06, how hard is it to patch this for the ADM06 sti? A8DH200V rom?

Would anyone be able to please patch the A8DH200V rom for me? Happy to paypal some money across for this.
This rom out of all of them is the most awesome, the kill switch, valet and ALS race modes are the best.

I literally cannot get HEW and GNUSH to play together (GNUSH 9.0.2 or 3 wont install and embed with HEW) otherwise I would be building and patching for everyone.


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Thu Jul 18, 2019 6:40 am 
Offline
Newbie

Joined: Wed Feb 26, 2014 9:48 pm
Posts: 74
Location: Italy
I've missed this project.
I'm interested in something for my AZ1G301F (JDM GRB STi)

_________________
Owner of an EDM GVF Impreza STi MY14 with FULL EJ207 Spec C GRB Swap.


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Thu Jul 18, 2019 9:00 am 
Offline
RomRaider Donator

Joined: Fri Feb 25, 2011 9:27 pm
Posts: 494
Location: Romania
speedracer wrote:
This is an awesome project, with the current codeset for the USDM wrx sti 06, how hard is it to patch this for the ADM06 sti? A8DH200V rom?

Would anyone be able to please patch the A8DH200V rom for me? Happy to paypal some money across for this.
This rom out of all of them is the most awesome, the kill switch, valet and ALS race modes are the best.

I literally cannot get HEW and GNUSH to play together (GNUSH 9.0.2 or 3 wont install and embed with HEW) otherwise I would be building and patching for everyone.


you know that building a patch is very easy (like 10 min max) once you have everything prepared ... buut:) the time consuming part (like 5-6 hours or more per rom) is finding&verifying the required addresses in IDA (like in attachment for A8DH202X)


Attachments:
A8DH202X.h [7.33 KiB]
Downloaded 218 times
Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Fri Jul 19, 2019 4:36 am 
Offline
Newbie

Joined: Sat Apr 15, 2017 9:45 pm
Posts: 36
andea79 wrote:
you know that building a patch is very easy (like 10 min max) once you have everything prepared ... buut:) the time consuming part (like 5-6 hours or more per rom) is finding&verifying the required addresses in IDA (like in attachment for A8DH202X)


Thanks, I thought the patch(like flash for eg) was sitting there uncompiled for most of the roms. Which confused me why they were not build like the Gratis versions for ppl to just use SpeedTune and patch, That's what I thought I could do to at least contribute some way so we had a range of patches or patched roms ready to go.

I get it with this version of the mod though, I looked at the codeset (even without GNUSH i can open it in HEW but just cant build) and seen the differences in beyond compare. (See Attached)

So I get the first step would be to migrate the define's into the target rom of choice, but then to find and verify the table HEX identifier's would be the challenging bit?

What steps would you follow for that? SharpTune IDA to HEW isn't working for me to create the map, unfortunately which I think is required. Is the trial and error to see if it worked to upload to the car? or is there a better way to find the right table?


Attachments:
ADM vs USDM sti- Beyond Compare.png
ADM vs USDM sti- Beyond Compare.png [ 170.67 KiB | Viewed 4608 times ]
Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Fri Jul 19, 2019 6:36 am 
Offline
RomRaider Donator

Joined: Tue Nov 04, 2014 11:51 am
Posts: 219
speedracer wrote:
andea79 wrote:
you know that building a patch is very easy (like 10 min max) once you have everything prepared ... buut:) the time consuming part (like 5-6 hours or more per rom) is finding&verifying the required addresses in IDA (like in attachment for A8DH202X)


Thanks, I thought the patch(like flash for eg) was sitting there uncompiled for most of the roms. Which confused me why they were not build like the Gratis versions for ppl to just use SpeedTune and patch, That's what I thought I could do to at least contribute some way so we had a range of patches or patched roms ready to go.

I get it with this version of the mod though, I looked at the codeset (even without GNUSH i can open it in HEW but just cant build) and seen the differences in beyond compare. (See Attached)

So I get the first step would be to migrate the define's into the target rom of choice, but then to find and verify the table HEX identifier's would be the challenging bit?

What steps would you follow for that? SharpTune IDA to HEW isn't working for me to create the map, unfortunately which I think is required. Is the trial and error to see if it worked to upload to the car? or is there a better way to find the right table?


Have a read over the posts here if you haven't already:

How To: Define a New ROM from a previously defined ROM
How To: Get started with IDA and disassembly

You have to track down the hex addresses of tables, pointers etc in IDA, after you've defined the new ROM. It's important to compare the code between the previously defined ROM and your new one to make sure you're looking at the correct tables. If you're working across years, there can be differences in the code too.

I wouldn't get too stressed about IDA to HEW not working, you can still create a header file with the correct addresses, you just have manually enter the addresses. Depending on how much of your ROM is defined this will take little or more time.

You'll also need to ensure that you've got the correct addresses for the text and config header file for your ROM.

After that you need to ensure that you have got HEW and GNUSH playing nicely, before you think about patching.

If you're lucky then you can compile a patch immediately after this. However, often you will need to make changes to table definitions in the code, or tweak other areas of the header and code files to suit you ROM.

There's additionally a series of tests that are run to ensure that it's going to patch correctly, but you can't always rely on them to give you a working ROM first time around, even if it does pass.

I'd like to be further involved with this, but simply don't have a great deal of time currently to do any further patching projects, let alone upload and write about what I've been up to in the past.


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Fri Jul 19, 2019 10:20 am 
Offline
Newbie

Joined: Sat Apr 15, 2017 9:45 pm
Posts: 36
The Lorax wrote:
Have a read over the posts here if you haven't already:

How To: Define a New ROM from a previously defined ROM
How To: Get started with IDA and disassembly

You have to track down the hex addresses of tables, pointers etc in IDA, after you've defined the new ROM. It's important to compare the code between the previously defined ROM and your new one to make sure you're looking at the correct tables. If you're working across years, there can be differences in the code too.

I wouldn't get too stressed about IDA to HEW not working, you can still create a header file with the correct addresses, you just have manually enter the addresses. Depending on how much of your ROM is defined this will take little or more time.

You'll also need to ensure that you've got the correct addresses for the text and config header file for your ROM.

After that you need to ensure that you have got HEW and GNUSH playing nicely, before you think about patching.

If you're lucky then you can compile a patch immediately after this. However, often you will need to make changes to table definitions in the code, or tweak other areas of the header and code files to suit you ROM.

There's additionally a series of tests that are run to ensure that it's going to patch correctly, but you can't always rely on them to give you a working ROM first time around, even if it does pass.

I'd like to be further involved with this, but simply don't have a great deal of time currently to do any further patching projects, let alone upload and write about what I've been up to in the past.


Thank you, I didn't find these posts in my search for info. I will read through them. I got GNUSH and HEW working finally and wrote a guide on that to help ppl get to where I'm at least.

I got another week before I go back to work, so in this time ill try to get whatever I can done. learning and patching as I go. Hopefully, at least I get the A8DH200V done for the ADM 06 wrx.


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Sun Aug 04, 2019 9:11 am 
Offline
Newbie

Joined: Sat Apr 15, 2017 9:45 pm
Posts: 36
Ok, After a couple of weeks of trying to make this work. I literally cannot get my head around matching the tables up and converting the mod to the A8DH200V or A8DH200O...

So I'm back to pleading and offering money for someone to do it, please? :D


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Sun Sep 22, 2019 6:06 am 
Offline
Newbie
User avatar

Joined: Tue Jan 24, 2017 1:28 am
Posts: 88
Location: Coffs, AUS
speedracer wrote:
So I'm back to pleading and offering money for someone to do it, please? :D


No need for money, however I'm wrapping my head around this one for us, as I want this for A8DH200V also and I think I'm getting somewhere! Will keep you updated with my findings.


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Thu Oct 17, 2019 8:17 pm 
Offline
Newbie
User avatar

Joined: Tue Jan 24, 2017 1:28 am
Posts: 88
Location: Coffs, AUS
I have ported the mod over to the ADM A8DH200V rom and successfully built a patch. Currently going through and creating the def's for it and will report back once I have been able to open it in ECUFlash!


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Sat Oct 19, 2019 6:23 am 
Offline
Newbie
User avatar

Joined: Tue Jan 24, 2017 1:28 am
Posts: 88
Location: Coffs, AUS
I believe I have successfully ported these features over to A8DH200V. I am using the word "successfully" loosely as I'm still testing this patch myself and have encountered some unusual behaviour. However the patch does seem to work and I am able to view all tables (comparing to A8DH202X) in ECUFlash.

I did not want to post to Proffeswrx's ROM realeases thread at this stage as I don't feel this is an "official realease" - although if it needs to be moved, mods, do yo thang.

Current Observations
    - Any throttle while idling during initial tests completely tanked RPM, in any mode. I think this was due to not having correct values in the modes target tables. Will check back on that one
    - Rotational Idle seems to disappear after free revving antilag. Have tried different accel pedal % but still seem to be having issues with this. Radiator fans also come on during during this as well. Rot. Idle comes back if putting the car into gear and driving forward a bit. Speed Activation/Disable values maybe?
    - Can't seem to get rolling antilag to work or any sort of antilag launch control. Might be disabled reading through earlier posts in this thread?
    - Fuel cut rotational idle works, spark cut just feels like a normal idle at a higher RPM. As above
    - No throttle response while cruising in 5th gear
I have not completed any real length of driving, other than around the block to confirm the vehicle runs.

Please provide any feedback or any advice as to what might be happening with the above. If I can get everything working, I will be more than happy to start porting to others in my spare time.

https://github.com/PuddlesSmit/MerpMod/ ... baru%20911
This port and all features included are to be used at your own risk. It also extends any terms and conditions provided previously in any other version or variation. I take no responsibility if Rodney comes knocking...


Attachments:
A8DH200V_modded_defs.zip [56.45 KiB]
Downloaded 224 times
Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Mon May 18, 2020 11:03 pm 
Offline
Newbie

Joined: Mon Jun 19, 2017 8:49 am
Posts: 28
Location: el salvador
Puddles wrote:
I believe I have successfully ported these features over to A8DH200V. I am using the word "successfully" loosely as I'm still testing this patch myself and have encountered some unusual behaviour. However the patch does seem to work and I am able to view all tables (comparing to A8DH202X) in ECUFlash.

I did not want to post to Proffeswrx's ROM realeases thread at this stage as I don't feel this is an "official realease" - although if it needs to be moved, mods, do yo thang.

Current Observations
    - Any throttle while idling during initial tests completely tanked RPM, in any mode. I think this was due to not having correct values in the modes target tables. Will check back on that one
    - Rotational Idle seems to disappear after free revving antilag. Have tried different accel pedal % but still seem to be having issues with this. Radiator fans also come on during during this as well. Rot. Idle comes back if putting the car into gear and driving forward a bit. Speed Activation/Disable values maybe?
    - Can't seem to get rolling antilag to work or any sort of antilag launch control. Might be disabled reading through earlier posts in this thread?
    - Fuel cut rotational idle works, spark cut just feels like a normal idle at a higher RPM. As above
    - No throttle response while cruising in 5th gear
I have not completed any real length of driving, other than around the block to confirm the vehicle runs.

Please provide any feedback or any advice as to what might be happening with the above. If I can get everything working, I will be more than happy to start porting to others in my spare time.

https://github.com/PuddlesSmit/MerpMod/ ... baru%20911
This port and all features included are to be used at your own risk. It also extends any terms and conditions provided previously in any other version or variation. I take no responsibility if Rodney comes knocking...



hey Pudles hello,

this is similar to I want to build my patch but in the part to find directions its my hell.

actually I think I'm closer to the goal but I just don't know how to interpret the references

can you help me please?

I understand this its the part to consum much time true?

you have any update in the process to make the video or any tip for this part?


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Wed May 20, 2020 3:45 am 
Offline
Newbie
User avatar

Joined: Tue Jan 24, 2017 1:28 am
Posts: 88
Location: Coffs, AUS
petergc8 wrote:

this is similar to I want to build my patch but in the part to find directions its my hell...

...you have any update in the process to make the video or any tip for this part?


I don't recommend using this code when building your patch, it's incomplete and my testing suggests that it's not worth using on the road.

I'm hoping to get around to the video soon, it is on my trello board to be done. currently flat out at work and also have just had a second baby. The example I use is more similar to the patch made by Aij if you want to look into that one.


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Wed May 20, 2020 3:53 am 
Offline
Newbie

Joined: Mon Jun 19, 2017 8:49 am
Posts: 28
Location: el salvador
Puddles wrote:
petergc8 wrote:

this is similar to I want to build my patch but in the part to find directions its my hell...

...you have any update in the process to make the video or any tip for this part?


I don't recommend using this code when building your patch, it's incomplete and my testing suggests that it's not worth using on the road.

I'm hoping to get around to the video soon, it is on my trello board to be done. currently flat out at work and also have just had a second baby. The example I use is more similar to the patch made by Aij if you want to look into that one.


good man congratulations on your second baby :D

in fact I am not looking to transport this mod and in fact I have the aiji project and one of merpMaster

but my damn hell is like being able to identify or understand the addresses where to hang the funtions

in your guide it is easy to read and I feel that it is so close but at the same time it is very far :cry: haha ​​but it just is not given to me,
I think that with some illustrative example I could see light at the end of the tunnel


Top
 Profile  
 
 Post subject: Re: AntiLag, FlexFuel, DriveMode, Killswitch dev
PostPosted: Tue Mar 09, 2021 10:17 pm 
Offline
Experienced

Joined: Thu Jan 09, 2014 10:17 pm
Posts: 394
petergc8 wrote:
Puddles wrote:
petergc8 wrote:

this is similar to I want to build my patch but in the part to find directions its my hell...

...you have any update in the process to make the video or any tip for this part?


I don't recommend using this code when building your patch, it's incomplete and my testing suggests that it's not worth using on the road.

I'm hoping to get around to the video soon, it is on my trello board to be done. currently flat out at work and also have just had a second baby. The example I use is more similar to the patch made by Aij if you want to look into that one.


good man congratulations on your second baby :D

in fact I am not looking to transport this mod and in fact I have the aiji project and one of merpMaster

but my damn hell is like being able to identify or understand the addresses where to hang the funtions

in your guide it is easy to read and I feel that it is so close but at the same time it is very far :cry: haha ​​but it just is not given to me,
I think that with some illustrative example I could see light at the end of the tunnel

If you're in HEW zoom out and use the visual shape of the map logic. They are easily matched to each other in seconds. Then you follow the address in the known rom and find the same line in code in the unknown ROM. Pretty easy to port really. I could have done a few a day back when I was actively into it.

Also to the guy above, everything worked great on mine. I drove it daily and used the all the finished features all the time. There may be some logic changes or even some switches you missed that I strategically placed in there? Don't even know, it could have also been planned switches that were in my personal tuning def that you may not have known were there. Especially if you're adding things I didn't "finish."

Please don't ask me to port. It would take a day to pull out the old computer and a couple weeks to refamiliarize myself. Then to do the actual port. It's those first two steps that price my services out of the market. Like minimum $1k in work for myself.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 153 posts ]  Go to page Previous  1 ... 7, 8, 9, 10, 11  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl