|
RomRaider
Documentation
Community
Developers
|
| Author |
Message |
|
rbimdxe
|
Post subject: Re: MerpMod Switch/flexfuel version needed by anyone ? Posted: Wed Apr 30, 2025 7:59 am |
|
 |
| Experienced |
Joined: Fri Jan 22, 2010 10:42 am Posts: 192
|
Quote: I never was able to get SharpTune to work from the GUI. Always had to use command line to patch stuff. Usually directly from a HEW script. That's how I patch my mods at least.
Hmm, so running the batches directly from command prompt? I was trying that when HEW wouldn't compile a rom with my code changes ( any code changes, actually) but it still didn't work. Ideas able to get it to build the existing patch and produce a new version of the patched rom, even via command line.
_________________ Had: MY07 ADM STI (A8DK100V) ~300kw atw on e-flex, self tuned.
Now: MY09 Foz XTP (AZ1G101M) ~250kw atw on E70 (TD06SL2-18G), self tuned.
|
|
| Top |
|
 |
|
riksk
|
Post subject: Re: MerpMod Switch/flexfuel version needed by anyone ? Posted: Wed Apr 30, 2025 8:09 am |
|
 |
| Experienced |
Joined: Sun Jun 28, 2020 2:25 am Posts: 237
|
rbimdxe wrote: Quote: I never was able to get SharpTune to work from the GUI. Always had to use command line to patch stuff. Usually directly from a HEW script. That's how I patch my mods at least.
Hmm, so running the batches directly from command prompt? I was trying that when HEW wouldn't compile a rom with my code changes ( any code changes, actually) but it still didn't work. Ideas able to get it to build the existing patch and produce a new version of the patched rom, even via command line. You have to delete the build folder from the HEW project when doing any changes. So that it builds it again. If you don't delete that folder, the patch never gets updated.
_________________ 2011 Forester S Edition 5EAT~ Flex Fuel 2011 WRX 6MT ~ Flex Fuel
|
|
| Top |
|
 |
|
gk1707
|
Post subject: Re: MerpMod Switch/flexfuel version needed by anyone ? Posted: Wed Apr 30, 2025 10:34 am |
|
 |
| Newbie |
Joined: Sun Nov 18, 2018 9:53 pm Posts: 15
|
rbimdxe wrote: snake2332 wrote: snake2332 wrote: I'm setting up a tune for flex fuel in my 04 STI(FXT) and am looking for clarification from someone smarter than I.
I assumed that I would use VE table #2 to be my 100% ethanol table and VE table #1 remains my 91 octane table. To setup the +30% injector/fuel that E85 needs, I would begin by multiplying VE2 by 1.3 and tune it further using SmenTuner's XLSX.
But I see there is a "map blending injector scaling multiplier" table with really large values in it by default, like 2.5x for E85. Wouldn't this turn my injector scaling from 1618 to 4000 and be way too large?
Is the injector scaling an alternate method to using the two VE tables? Or maybe both methods exist for fine-tuning, like use the injector scaling table mainly and then adjust VE2 with small changes as needed.
I just want to make sure I get a good baseline to start with. I have to put 750 break-in miles on the car first before I touch E85, but we just got our first E85 pump in Montana (2 hours away), so I will definitely be running it to unleash this 6266 turbo.
Thanks RomRaiders! This is the table I'm talking about. This can't possibly be right for E85, can it?  Sorry!! I swear I replied to your initial post, I know I typed out a reply but must not have hit submit. Yes, that's the table that you want to alter fueling for E85 (injector scaling obviously, you'd use Open Loop Fueling I/S/S# Map 2 for actual fueling). Where are those numbers from? Change them to how you need. ie, E85 needs around 30% more fuel as a baseline, so set it accordingly. I think when I ran E85 I ended up around 1.4 to keep fuel trims the same, and then horizontally interpolated back to 1.00. From memory, the AZ1G101M file was set to defaults (ie, 1.0 across the board), if you wanted to see what the defaults should be. I am also setting up flex fuel on merp in my 04 STi and did the same calculation (1.42 interpolated back for the scaler multiplier) I noticed there is a blending ratio value, I wanted to confirm that setting this ratio to .50 would interpolate between Map 1 and 2. and I presume settings like .25 would interpolate towards Map 1 and .75 more towards Map 2? See pic below.
| Attachments: |

map switching.png [ 44.31 KiB | Viewed 686 times ]
|
|
|
| Top |
|
 |
|
rbimdxe
|
Post subject: Re: MerpMod Switch/flexfuel version needed by anyone ? Posted: Thu May 01, 2025 4:38 am |
|
 |
| Experienced |
Joined: Fri Jan 22, 2010 10:42 am Posts: 192
|
gk1707 wrote: I am also setting up flex fuel on merp in my 04 STi and did the same calculation (1.42 interpolated back for the scaler multiplier) I noticed there is a blending ratio value, I wanted to confirm that setting this ratio to .50 would interpolate between Map 1 and 2. and I presume settings like .25 would interpolate towards Map 1 and .75 more towards Map 2? See pic below.
Yep. So the default blending ratio is normally 0 or 1 - because it's intention is to be the 0% or the 100% between the maps 1&2, and then use the blending input (typically a flex fuel sensor) to interpolate between the two maps as the fuel changes. So normally, it'd be 0 for petrol gas, and 1 for ethanol, and then if you mix half a tank of each, the blending input will change the blending ratio to 0.5 and it will interperloate between the two maps for timing and fuel (and VE? Not sure on this one as there are 2x VE maps in some builds). If you set the default ratio to 0.25 or 0.5, and Map blending is off then it will interperloate between maps 1&2 based on the ratio you set (so if Map 1 is 10* timing and map 2 is 20*, blending ratio of 0.25 would be 12.5, 0.50 would be 15, etc). And this ratio wouldn't change. If you set the default to 0.5, but had map blending enabled (and i haven't tested this, nor can I examine the code and logic to confirm - someone else might be able to) then it would only be 0.50 until the map blending input has an input. I would expect, that an input would override the default based on the map blending scaling regardless.
_________________ Had: MY07 ADM STI (A8DK100V) ~300kw atw on e-flex, self tuned.
Now: MY09 Foz XTP (AZ1G101M) ~250kw atw on E70 (TD06SL2-18G), self tuned.
|
|
| Top |
|
 |
|
rbimdxe
|
Post subject: Re: MerpMod Switch/flexfuel version needed by anyone ? Posted: Thu May 01, 2025 4:39 am |
|
 |
| Experienced |
Joined: Fri Jan 22, 2010 10:42 am Posts: 192
|
riksk wrote: rbimdxe wrote: Quote: I never was able to get SharpTune to work from the GUI. Always had to use command line to patch stuff. Usually directly from a HEW script. That's how I patch my mods at least.
Hmm, so running the batches directly from command prompt? I was trying that when HEW wouldn't compile a rom with my code changes ( any code changes, actually) but it still didn't work. Ideas able to get it to build the existing patch and produce a new version of the patched rom, even via command line. You have to delete the build folder from the HEW project when doing any changes. So that it builds it again. If you don't delete that folder, the patch never gets updated. Hmmm... I've done that but it creates the build folder and builds the patched rom as it was. Even if I delete some of the includes from HEW and from file Explorer, it still adds them to the final patch.
_________________ Had: MY07 ADM STI (A8DK100V) ~300kw atw on e-flex, self tuned.
Now: MY09 Foz XTP (AZ1G101M) ~250kw atw on E70 (TD06SL2-18G), self tuned.
|
|
| Top |
|
 |
|
gk1707
|
Post subject: Re: MerpMod Switch/flexfuel version needed by anyone ? Posted: Fri May 02, 2025 8:00 pm |
|
 |
| Newbie |
Joined: Sun Nov 18, 2018 9:53 pm Posts: 15
|
rbimdxe wrote: gk1707 wrote: I am also setting up flex fuel on merp in my 04 STi and did the same calculation (1.42 interpolated back for the scaler multiplier) I noticed there is a blending ratio value, I wanted to confirm that setting this ratio to .50 would interpolate between Map 1 and 2. and I presume settings like .25 would interpolate towards Map 1 and .75 more towards Map 2? See pic below.
Yep. So the default blending ratio is normally 0 or 1 - because it's intention is to be the 0% or the 100% between the maps 1&2, and then use the blending input (typically a flex fuel sensor) to interpolate between the two maps as the fuel changes. So normally, it'd be 0 for petrol gas, and 1 for ethanol, and then if you mix half a tank of each, the blending input will change the blending ratio to 0.5 and it will interperloate between the two maps for timing and fuel (and VE? Not sure on this one as there are 2x VE maps in some builds). If you set the default ratio to 0.25 or 0.5, and Map blending is off then it will interperloate between maps 1&2 based on the ratio you set (so if Map 1 is 10* timing and map 2 is 20*, blending ratio of 0.25 would be 12.5, 0.50 would be 15, etc). And this ratio wouldn't change. If you set the default to 0.5, but had map blending enabled (and i haven't tested this, nor can I examine the code and logic to confirm - someone else might be able to) then it would only be 0.50 until the map blending input has an input. I would expect, that an input would override the default based on the map blending scaling regardless. gotcha, this is a helpful explanation. i will leave it on 1 for flex and let the flex fuel sensor scaling adjust for flex fuels.
|
|
| Top |
|
 |
|
gk1707
|
Post subject: Re: MerpMod Switch/flexfuel version needed by anyone ? Posted: Sat May 03, 2025 4:26 pm |
|
 |
| Newbie |
Joined: Sun Nov 18, 2018 9:53 pm Posts: 15
|
andea79 wrote: LATEST BUILDS ATTACHED TO THIS POST *For the ones wanting to use MerpMod versions on cars that are not defined below (or in other threads) or just want to flash roms with different IDs I have observed the following: 1. if you compare 2 roms and they have the same content between 000000 and 002000 you can flash/use any one (examples AZ1G201G, Z1G20000, AZ1J500G, AZ1G700K, AZ1L100G, AZ1L100K) 2. for 2008+ if you compare the roms and they have the same content between 000000 and 002000 EXCEPT the area between 000FF8 and 001000 you can edit the rom you want to use - just put the same content from your rom 000FF8 - 001000 to the rom you want to use and you can flash it (I used for example an EDM 2008 STI rom on a 2011 SADM WRX) this means that with modifying 000FF8 - 001000 area and proper tuning all 68 roms starting with AZ1 from here viewtopic.php?f=35&t=7591 can be cross flashed or all 44 roms starting with AE5 can be cross flashed so you can use AE5IB00V MerpMod patched rom below on any AE5 rom in theory  *USE WHAT I WROTE ABOVE AT YOUR OWN RISK , I did several cross flashing tests as described above but I did not test all possible combinations ... Are there new Romraider logger definitions available for the A2ZJ710J-Test-8 patch? The included loggers definition do not seem to work with my Romraider logger. I am getting an error loading the defs.
|
|
| Top |
|
 |
|
rbimdxe
|
Post subject: Re: MerpMod Switch/flexfuel version needed by anyone ? Posted: Sat May 03, 2025 8:03 pm |
|
 |
| Experienced |
Joined: Fri Jan 22, 2010 10:42 am Posts: 192
|
gk1707 wrote: andea79 wrote: LATEST BUILDS ATTACHED TO THIS POST *For the ones wanting to use MerpMod versions on cars that are not defined below (or in other threads) or just want to flash roms with different IDs I have observed the following: 1. if you compare 2 roms and they have the same content between 000000 and 002000 you can flash/use any one (examples AZ1G201G, Z1G20000, AZ1J500G, AZ1G700K, AZ1L100G, AZ1L100K) 2. for 2008+ if you compare the roms and they have the same content between 000000 and 002000 EXCEPT the area between 000FF8 and 001000 you can edit the rom you want to use - just put the same content from your rom 000FF8 - 001000 to the rom you want to use and you can flash it (I used for example an EDM 2008 STI rom on a 2011 SADM WRX) this means that with modifying 000FF8 - 001000 area and proper tuning all 68 roms starting with AZ1 from here https://romraider.com/forum/viewtopic.php?f=35&t=7591 can be cross flashed or all 44 roms starting with AE5 can be cross flashed so you can use AE5IB00V MerpMod patched rom below on any AE5 rom in theory  *USE WHAT I WROTE ABOVE AT YOUR OWN RISK , I did several cross flashing tests as described above but I did not test all possible combinations ... Are there new Romraider logger definitions available for the A2ZJ710J-Test-8 patch? The included loggers definition do not seem to work with my Romraider logger. I am getting an error loading the defs. What's the error? I know when I set up my computer recently to start tuning again, I had to jump through some hoops to get RRLogger working. I think it's because it's now set up with different transports in the logger def. Give me a few minutes and I'll have a look and see edit: If it's the same issue I had, then try this def, and then you need to set the right 'logger protocol' in romraider logger (settings>select logging protocol>SSM>CANbus). The issue, from memory, is that the new RRLogger is looking for information in the OBD protocol and tries to default to it, but because the transports weren't defined in old definitions, it has a hissy fit. The included code in the def is: Code: <protocol id="OBD" baud="500000" databits="8" stopbits="1" parity="0" connect_timeout="2000" send_timeout="55"> The updated code for the new defs is: Code: <protocol id="OBD" baud="500000" databits="8" stopbits="1" parity="0" connect_timeout="2000" send_timeout="55"> <transports> <transport id="iso15765" name="CAN bus" desc="OBD is only supported on CAN bus using a J2534 compatible cable."> <module id="ecu" address="0x000007E8" desc="Engine Control Unit" tester="0x000007E0" /> <module id="tcu" address="0x000007E9" desc="Transmission Control Unit" tester="0x000007E1" /> </transport> </transports>
_________________ Had: MY07 ADM STI (A8DK100V) ~300kw atw on e-flex, self tuned.
Now: MY09 Foz XTP (AZ1G101M) ~250kw atw on E70 (TD06SL2-18G), self tuned.
|
|
| Top |
|
 |
|
RWRX3
|
Post subject: Re: MerpMod Switch/flexfuel version needed by anyone ? Posted: Fri May 23, 2025 12:54 pm |
|
 |
| Newbie |
 |
Joined: Fri May 17, 2024 12:18 pm Posts: 5
|
rbimdxe wrote: riksk wrote: rbimdxe wrote: Hmm, so running the batches directly from command prompt?
I was trying that when HEW wouldn't compile a rom with my code changes (any code changes, actually) but it still didn't work.
Ideas able to get it to build the existing patch and produce a new version of the patched rom, even via command line.
You have to delete the build folder from the HEW project when doing any changes. So that it builds it again. If you don't delete that folder, the patch never gets updated. Hmmm... I've done that but it creates the build folder and builds the patched rom as it was. Even if I delete some of the includes from HEW and from file Explorer, it still adds them to the final patch. Hi, Thank you for your replies rbimdxe (hope your HG leak will be repaired soon !) and riksk. I tried many things and compilation of aijmod AZ1G202G.MeRpMoD.Switch.Debug.v01.60.d21.9.17.1401 is working properly. Process was : - Create C:\Dev and paste complete "aijmod-final_2023-master" directly, - Delete all files in C:\Dev\MerpMod\MerpMod\build folder, - In HEW, build the project, without any change. - pactched. bin file is created in C:\Dev\MerpMod\MerpMod\TestRom\AZ1G202G\Switch_Debug folder. I tried with Windows 7 and 10. It works with both. I enclosed my compiled version. Regarding my initial issue with idling instability and stalling, result is not perfect but I need a clarification. Is the Map Blending Throttle Tip-In Enrichment Multiplier a real multiplier (that is correlated to my Injector scaling multiplier) or a table that must be filled with tip-in values ? To be clear here is my two solutions : Attachment:
File comment: Map Blending Throttle Tip-In Enrichment Multiplier correlated to my Injector scaling multiplier
TIP-IN MULTIPLIER VERS1.PNG [ 110.59 KiB | Viewed 566 times ]
Attachment:
File comment: Map Blending Throttle Tip-In Enrichment Multiplier filled with tip-in values
TIP-IN MULTIPLIER VERS2.PNG [ 111.95 KiB | Viewed 566 times ]
Thanks again ! Romain
_________________ Subaru STI 2010 Forged block VF34/18G
|
|
| Top |
|
 |
|
rbimdxe
|
Post subject: Re: MerpMod Switch/flexfuel version needed by anyone ? Posted: Sun May 25, 2025 2:25 am |
|
 |
| Experienced |
Joined: Fri Jan 22, 2010 10:42 am Posts: 192
|
RWRX3 wrote: Hi,
Thank you for your replies rbimdxe (hope your HG leak will be repaired soon !) and riksk.
I tried many things and compilation of aijmod AZ1G202G.MeRpMoD.Switch.Debug.v01.60.d21.9.17.1401 is working properly.
Process was : - Create C:\Dev and paste complete "aijmod-final_2023-master" directly, - Delete all files in C:\Dev\MerpMod\MerpMod\build folder, - In HEW, build the project, without any change. - pactched. bin file is created in C:\Dev\MerpMod\MerpMod\TestRom\AZ1G202G\Switch_Debug folder.
I tried with Windows 7 and 10. It works with both. I enclosed my compiled version.
I can get it to compile, I just can't get it to include any changes I make to the code. RWRX3 wrote: Regarding my initial issue with idling instability and stalling, result is not perfect but I need a clarification. Is the Map Blending Throttle Tip-In Enrichment Multiplier a real multiplier (that is correlated to my Injector scaling multiplier) or a table that must be filled with tip-in values ? To be clear here is my two solutions : Attachment: TIP-IN MULTIPLIER VERS1.PNG Attachment: TIP-IN MULTIPLIER VERS2.PNG Thanks again ! Romain I'm pretty sure it's a multiplier table, just 3D rather than 2d.
_________________ Had: MY07 ADM STI (A8DK100V) ~300kw atw on e-flex, self tuned.
Now: MY09 Foz XTP (AZ1G101M) ~250kw atw on E70 (TD06SL2-18G), self tuned.
|
|
| Top |
|
 |
|
bpott63
|
Post subject: Re: MerpMod Switch/flexfuel version needed by anyone ? Posted: Wed May 28, 2025 2:55 pm |
|
 |
| Newbie |
Joined: Wed May 28, 2025 2:31 pm Posts: 1
|
Hello, I recently just got Merpmod working on my 2013 usdm WRX. My original rom was AE5L500L/600L, and I followed steps to cross-flash the AE5IB00V patched rom. Being for a 2011 STI, I've had a few hurdles to cross being different ROM's all together. Currently trying to figure out fueling which leads to my questions. For starters, is there a working RomRaider logger definition for the patch? I've been using the normal logger definition that doesn't have any parameters for the patch, however I'm missing some parameters such as FBKC and CL/OL status whenever I use the patched STI ROM. Along with that, can someone give me a rundown on how the default fueling strategies work with the patch? I have my Merp fueling completely disabled so it can use the normal Closed loop and POLF table. No map switching, and SD is set to MAF sensor mode. However it appears on my log that it immediately gets thrown into open loop fueling once I put it into gear, indicating the transition is triggered by the neutral switch. Is this hard coded in? My main reasoning for wanting closed loop is my Maf scaling from my original ROM I guess isn't the same on the patched STI, and neutral idling / light throttle I'm getting a bunch of negative correction. All my injector flow/scaling tables are copied over so I don't think that's my issue. Maybe some load table I missed? I don't know, but I'm fairly confident I shouldn't be cruising 2k rpm doing 9.9afr lol. Still pretty fresh on opensource tuning in general so any insight is greatly appreciated. 
|
|
| Top |
|
 |
|
rbimdxe
|
Post subject: Re: MerpMod Switch/flexfuel version needed by anyone ? Posted: Sat May 31, 2025 7:49 am |
|
 |
| Experienced |
Joined: Fri Jan 22, 2010 10:42 am Posts: 192
|
bpott63 wrote: Hello, I recently just got Merpmod working on my 2013 usdm WRX. My original rom was AE5L500L/600L, and I followed steps to cross-flash the AE5IB00V patched rom. Being for a 2011 STI, I've had a few hurdles to cross being different ROM's all together. Currently trying to figure out fueling which leads to my questions. For starters, is there a working RomRaider logger definition for the patch? I've been using the normal logger definition that doesn't have any parameters for the patch, however I'm missing some parameters such as FBKC and CL/OL status whenever I use the patched STI ROM. Along with that, can someone give me a rundown on how the default fueling strategies work with the patch? I have my Merp fueling completely disabled so it can use the normal Closed loop and POLF table. No map switching, and SD is set to MAF sensor mode. However it appears on my log that it immediately gets thrown into open loop fueling once I put it into gear, indicating the transition is triggered by the neutral switch. Is this hard coded in? My main reasoning for wanting closed loop is my Maf scaling from my original ROM I guess isn't the same on the patched STI, and neutral idling / light throttle I'm getting a bunch of negative correction. All my injector flow/scaling tables are copied over so I don't think that's my issue. Maybe some load table I missed? I don't know, but I'm fairly confident I shouldn't be cruising 2k rpm doing 9.9afr lol. Still pretty fresh on opensource tuning in general so any insight is greatly appreciated.  I've been a bit busy, sorry, but I've replied to your email now 
_________________ Had: MY07 ADM STI (A8DK100V) ~300kw atw on e-flex, self tuned.
Now: MY09 Foz XTP (AZ1G101M) ~250kw atw on E70 (TD06SL2-18G), self tuned.
|
|
| Top |
|
 |
|
snake2332
|
Post subject: Re: MerpMod Switch/flexfuel version needed by anyone ? Posted: Mon Jun 23, 2025 9:48 pm |
|
 |
| RomRaider Donator |
Joined: Fri Mar 07, 2008 11:29 am Posts: 54
|
I can't get the map blending to occur on my FlexFuel setup. Can someone look over my set up and try to help me figure it out? 2004 FXT with the 2004 STI rom (A2ZJ710J). My DIY FlexFuel setup is sending 0.9v to the rear O2 signal, which is correct for 10% ethanol gas that I have in the car. BTSSM shows the 0.9v for rear O2. I set up an ethanol % gauge based off of that. I also set up BTSSM to monitor the Map Blending (address=FFC448) and it sits at zero. I set the default map blending to 0.10 and the car will sit at 0.10 map blend, confirmed with BTSSM, but it seems to be ignoring the rear O2 voltage.  Feels like I'm missing something obvious.
|
|
| Top |
|
 |
|
snake2332
|
Post subject: Re: MerpMod Switch/flexfuel version needed by anyone ? Posted: Tue Jun 24, 2025 11:09 am |
|
 |
| RomRaider Donator |
Joined: Fri Mar 07, 2008 11:29 am Posts: 54
|
|
Nevermind. When I was testing this last night, I never started the car. Looks like it doesn't start blending until the car is running.
Glad to have working FlexFuel! Thanks!
|
|
| Top |
|
 |
|
MathieuSch
|
Post subject: Re: MerpMod Switch/flexfuel version needed by anyone ? Posted: Thu Jun 26, 2025 4:58 am |
|
 |
| Newbie |
Joined: Thu Jun 26, 2025 4:36 am Posts: 1
|
Hi I've searched and not found: anyone got for A8DH100M ? 2006 XT manual Thanks! 
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: No registered users and 2 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
|
|