BMW X5
BMW Garage BMW Meets Register Search Today's Posts Mark Forums Read

Post Reply
 
Thread Tools Search this Thread
      10-18-2020, 03:31 PM   #1
VTENGR
Lieutenant Colonel
1044
Rep
1,943
Posts

Drives: 2020 X5 M50i
Join Date: Aug 2018
Location: Atlanta

iTrader: (1)

I want to take the dive to create my own XML / Cheat Code for all the coding I've done. I think I have it about 80% down, but I can't figure where the values for "start", "end" and "mask" are derived in the function parameters. What am I missing here?

Thanks.


Edit: was able to figure out that you extract this info from "storage info" found in Esys.
Appreciate 1
LexxM31697.50
      10-18-2020, 06:29 PM   #2
Deja011
Private
35
Rep
51
Posts

Drives: BMW X5
Join Date: Aug 2020
Location: Sydney

iTrader: (0)

Quote:
Originally Posted by VTENGR View Post
I want to take the dive to create my own XML / Cheat Code for all the coding I've done. I think I have it about 80% down, but I can't figure where the values for "start", "end" and "mask" are derived in the function parameters. What am I missing here?

Thanks.


Edit: was able to figure out that you extract this info from "storage info" found in Esys.
Hi VTENGR,

You need to enable Function Memory.

Esysx -> Options -> Settings
Go to Options Tab and check Show function's memory layout in CafView"

Now you should see the memory as per the screenshot below.
Attached Images
  

Last edited by Deja011; 10-18-2020 at 06:41 PM..
Appreciate 2
LexxM31697.50
VTENGR1043.50
      10-18-2020, 06:42 PM   #3
Deja011
Private
35
Rep
51
Posts

Drives: BMW X5
Join Date: Aug 2020
Location: Sydney

iTrader: (0)

Sample Coding for LCA

<cafd id="000042C1" name="SAS3" author="Deja011" series="S18A">
<code description="[3/3]Automatic Lane Change Assistant(7083 3E52 42C1)">
<group id="3001">
<function start="137" end="137" comment="C_SWA_VORHANDEN" mask="11111111b">01</function>
</group>
</code>
</cafd>
Appreciate 1
      10-20-2020, 02:56 PM   #4
medphysdave
Brigadier General
medphysdave's Avatar
United_States
4527
Rep
4,644
Posts

Drives: M2 CS | 85 of 592
Join Date: Apr 2015
Location: Charlotte, NC

iTrader: (3)

Following.
Appreciate 0
      11-04-2020, 07:37 AM   #5
VTENGR
Lieutenant Colonel
1044
Rep
1,943
Posts

Drives: 2020 X5 M50i
Join Date: Aug 2018
Location: Atlanta

iTrader: (1)

Thanks for everyone's help! I was able to create my own XML file but I noticed odd behavior with how Esys-X applies the changes. For one of the coding modules I want to change the value from "USA" with a werte value of "01" to "Allgemein" with a werte value of "00". When the cheat code gets applied it changes the werte value from "01" to "00" like it should, but the description cell above the werte value still shows "USA" instead of "Allgemein". Now I know when I code things manually I was told to never change the werte value and that I should always change descriptor cell to what I needed it to be and the werte value cell will automatically update. I'm not sure if I setup my XML incorrectly or if there's something else going on, or if this isn't anything to be concerned with. Can anyone shed some light on this for me?
Appreciate 0
      11-04-2020, 02:23 PM   #6
Deja011
Private
35
Rep
51
Posts

Drives: BMW X5
Join Date: Aug 2020
Location: Sydney

iTrader: (0)

Quote:
Originally Posted by VTENGR View Post
Thanks for everyone's help! I was able to create my own XML file but I noticed odd behavior with how Esys-X applies the changes. For one of the coding modules I want to change the value from "USA" with a werte value of "01" to "Allgemein" with a werte value of "00". When the cheat code gets applied it changes the werte value from "01" to "00" like it should, but the description cell above the werte value still shows "USA" instead of "Allgemein". Now I know when I code things manually I was told to never change the werte value and that I should always change descriptor cell to what I needed it to be and the werte value cell will automatically update. I'm not sure if I setup my XML incorrectly or if there's something else going on, or if this isn't anything to be concerned with. Can anyone shed some light on this for me?
Hi VTENGR

Save the caf and reload the same caf and check if the description is updated.
Appreciate 1
VTENGR1043.50
      11-04-2020, 02:30 PM   #7
VTENGR
Lieutenant Colonel
1044
Rep
1,943
Posts

Drives: 2020 X5 M50i
Join Date: Aug 2018
Location: Atlanta

iTrader: (1)

Quote:
Originally Posted by Deja011 View Post
Hi VTENGR

Save the caf and reload the same caf and check if the description is updated.
Saving it did the trick - thanks for the help!!
Appreciate 0
Post Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 08:16 PM.




xbimmers
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
1Addicts.com, BIMMERPOST.com, E90Post.com, F30Post.com, M3Post.com, ZPost.com, 5Post.com, 6Post.com, 7Post.com, XBimmers.com logo and trademark are properties of BIMMERPOST