Register
Page 2 of 45 FirstFirst 123456712 ... LastLast
Results 16 to 30 of 664

Thread: ETSmart script!

  1. #16
    V.I.P. Member
    Rerouter's Avatar
    Join Date
    Jul 2014
    Location
    Australia
    Posts
    546
    Thanks Thanks Given 
    55
    Thanks Thanks Received 
    1,072
    Thanked in
    316 Posts

    Default

    For any that want it, here is Jr59's Pack Translated To English
    Attached Files Attached Files

  2. The Following 23 Users Say Thank You to Rerouter For This Useful Post:

    a2000 (19th July, 2015), BlacksunLE (7th April, 2017), DashProg (6th January, 2016), datapage (22nd September, 2019), elephantul (22nd October, 2014), Feridhap (25th December, 2019), filutek (18th January, 2016), GMXcool (24th October, 2014), Hashim1 (23rd September, 2023), jakesman (17th March, 2015), Jashmine1983 (7th June, 2015), joejam (4th September, 2019), juancho18 (14th March, 2016), julo45 (6th July, 2015), just4upal (26th May, 2016), lion0304 (22nd July, 2015), magdex (24th October, 2014), martinracing (6th November, 2014), martis27j (28th December, 2019), ruffles1986 (23rd October, 2014), SKYTON (17th May, 2016), Tolik48 (10th June, 2022), zckariya70 (4th March, 2015)

  3. #17
    V.I.P. Member
    Rerouter's Avatar
    Join Date
    Jul 2014
    Location
    Australia
    Posts
    546
    Thanks Thanks Given 
    55
    Thanks Thanks Received 
    1,072
    Thanked in
    316 Posts

    Default

    For those who want to learn how to write these scripts I'll write up a bit of a guide, (If you have coded in C before you should be fine)

    The .Cal Files can be opened with any old text editor e.g. Notepad, and read off as a script in what i think is Visual C Coding,

    The scripts are broken up to 3 parts, "Form", "OnShow" and "OnApply" With the size and the location of the calculator presented above,

    Location:
    e.g. [Dashboard\Toyota\Corolla\Corolla 95c56]
    when you click on calculators it will have the folder dashboard, inside is a folder called Toyota, inside that a folder called corolla, and finally a calculator called "Corolla 95c56", This location in no way has to correspond to the physical location of the file, and when you select the file the true file location is show.

    Size:
    e.g. Size(280,250);
    Determines how bit the window will be, the first value is the width or X Axis, the second value is the length or Y Axis,

    Form:
    Form controls the windows size and arrangements of the fields and other things that the data is to be shown or modified in.
    Inside the form you can choose from a few basic objects, The ones i know of so far are:
    - Group("Text Description", X Offset, Y Offset Pixels, Width, Length) Groups Sub Objects Together placing a single pixel border around, and All sub group item positions are in reference to the group
    - Checkbox(Variable,"Text Description", X Offset, Y Offset) Ticked or un-ticked, Value of 0 for unticked, 1 for ticked
    - Combobox(Variable,"Text Description, X Offset, Y Offset, Width, "Choice 1", "Choice 2"...) Provides a drop down list of options to choose from, e.g. selecting between V6 or V8 Starts counting from 0, so first choice returns 0,
    - Label(Variable, "Default Text",X Offset, Y Offset) Places Text on the window, can be preset or modified by onshow or onapply
    - Picture(Variable,Image File Name, X Offset, Y Offset, Width, Length) Displays a picture scaled to whichever size, leaving scale to 0 shows original size
    - Digit(Variable,"Default Value", X Offset, Y Offset, Width) Provides a number box of sorts that you can display numbers or values in or enter them yourself to be used in some way
    - HexDigit(Variable,"Default Value", X Offset, Y Offset, Width) Same as digit but allows Hex Values

    OnShow:
    This runs once and only once when you open the calculator, so any information that you want updated after you hit apply will need to be added to OnApply (such as reading back the just calculated odometer value (when your new at it, this is a good thing to try)

    Most of this section revolves around Variables and physical memory locations, so first off var's you initialize them by writing e.g "Var1 = 0;" Now you have variable 1, assigned to a value of 0, be warned however that when writing to an eeprom location they become cropped to the lowest 8 bits, e.g. 0x84C2 becomes 0xC2, this is why you see e.g. Var1 >> 8 , this shifts the value along 8 bits so you can access the next 8 bits,
    Next up is a physical memory location, they always start with "@" so if you where wanting to grab the eeprom bin file value from location 0xC5, you would assign a variable to @0xc5, or @0x0c5, etc, (leading zero's do not change the location)

    you can also change the text and colour of text shown in labels using in the form section:
    Variable.Color = 0xFF0000; Would turn the text blue, 0x00FF00, would turn it green, and 0x0000FF would turn it read,
    Variable.Bold = 1; Makes Text Bold 0 turns off bold (I am guessing the same is for italics but have not checked)
    Variable="New Text"; Replaces the text with the New Text.

    Few Key things are short of If, While and Group, (And Form Onapply and Onshow) all functions must end with a ;

    OnApply:
    Essentially anything you can do in onshow you can do in onapply, however this will run whenever you click on the apply button,

    There are a few small bits i have missed such as how other scripts have presented Vin's, this is only because i have not yet used it to nut it out,
    Hope this helps spur on some new scripts

  4. The Following 29 Users Say Thank You to Rerouter For This Useful Post:

    ahl (7th May, 2016), buga37 (16th February, 2015), carelectronic (15th January, 2015), centrohifi (25th February, 2016), CR10 (23rd February, 2024), datapage (22nd September, 2019), drewdom (24th November, 2014), dziuggy (30th March, 2018), Faraday (6th January, 2016), Feridhap (25th December, 2019), Freezzby (15th August, 2015), gepakg (29th October, 2014), GMXcool (24th October, 2014), gonzcaal (5th December, 2016), gwee (22nd October, 2014), Hashim1 (23rd September, 2023), Hayssam1 (18th November, 2015), jaxone (11th December, 2019), just4upal (26th May, 2016), kronk92 (14th February, 2017), magdex (24th October, 2014), maremuruk (18th April, 2017), MRRAMI (23rd February, 2016), pandokrator (31st October, 2014), phanminhnhat (12th September, 2018), tawaf111 (22nd June, 2023), uferi (29th February, 2016), valdirld (1st November, 2015), zckariya70 (4th March, 2015)

  5. #18
    DK Veteran
    hcip's Avatar
    Join Date
    Dec 2009
    Location
    From the heaven of paradise in the middle of happiness|hobby:__Bedtime| Sex:Female|Status:Not_Virgin
    Posts
    1,883
    Thanks Thanks Given 
    197
    Thanks Thanks Received 
    2,477
    Thanked in
    805 Posts

    Default

    Quote Originally Posted by Rerouter View Post

    There are a few small bits i have missed such as how other scripts have presented Vin's, this is only because i have not yet used it to nut it out,
    Hope this helps spur on some new scripts
    to get VIN from dump
    simply use command like this

    #c.@hexaddress+ #c.@hexaddress+ #c.@hexaddress.... and so on


    for example:

    Label1= "VIN NUMBER: " +#c.@0x40+#c.@0x41+#c.@0x42+#c.@0x43+#c.@0x44+#c.@ 0x45+#c.@0x46+#c.@0x47+#c.@0x48+#c.@0x49+#c.@0x4A+ #c.@0x4B+#c.@0x4C+#c.@0x4D+#c.@0x4E+#c.@0x4F+#c.@0 x50
    Last edited by hcip; 22nd October, 2014 at 01:58 PM.


    Stupidity is not a disease, because there are no existing hospitals for Idiots!

    ​​

  6. The Following 13 Users Say Thank You to hcip For This Useful Post:

    cocutanu (22nd October, 2014), datapage (22nd September, 2019), diagprog (22nd October, 2014), Freezzby (15th August, 2015), GMXcool (24th October, 2014), gwee (22nd October, 2014), jomberykaso (9th April, 2017), lion0304 (22nd July, 2015), magdex (24th October, 2014), melectro (17th February, 2017), pandokrator (31st October, 2014), pongsky (31st July, 2016), SergeyIg (21st May, 2016)

  7. #19
    V.I.P. Member
    Rerouter's Avatar
    Join Date
    Jul 2014
    Location
    Australia
    Posts
    546
    Thanks Thanks Given 
    55
    Thanks Thanks Received 
    1,072
    Thanked in
    316 Posts

    Default

    Ok, a bit of an update on that part,

    +#b.@0x40 Displays the value as HEX
    +#c.@0x40 Displays the value as an ASCII character
    +#d.@0x40 Displays the value as 32 bit Hex
    +#i.@0x40 Displays the value as Decimal
    +#w.@0x40 Displays the value as 16 Bit HEX

    I was hoping to find a binary one, but those are the only entries that work out of 0-9, a-z,

    As this thing has no documentation, as i work it out i'll post it here,
    Last edited by Rerouter; 5th November, 2014 at 11:14 AM.

  8. The Following 10 Users Say Thank You to Rerouter For This Useful Post:

    antonypaul (1st November, 2016), claudio35 (24th October, 2014), DashProg (6th January, 2016), gameiruz (16th January, 2015), GMXcool (24th October, 2014), jr59 (24th October, 2014), SergeyIg (8th March, 2017), tawaf111 (3rd January, 2023), valdirld (1st November, 2015), zckariya70 (4th March, 2015)

  9. #20
    V.I.P. Member
    Rerouter's Avatar
    Join Date
    Jul 2014
    Location
    Australia
    Posts
    546
    Thanks Thanks Given 
    55
    Thanks Thanks Received 
    1,072
    Thanked in
    316 Posts

    Default

    Revision on an old one, a Volkswagen Transporter T4 (1996-1997) 93S56, made single km accurate, and as I have found where the serial number for the cluster is stored, it is now included,

    If anyone wishes to have fields added to the current scripts, and knows what controls what i would be happy to modify them in return for more info on a models eeprom map,
    Last edited by Rerouter; 11th May, 2016 at 09:04 AM.

  10. The Following 12 Users Say Thank You to Rerouter For This Useful Post:

    bernalmotorsport (26th August, 2015), DashProg (6th January, 2016), Faraday (6th January, 2016), Freezzby (15th August, 2015), gameiruz (16th January, 2015), GMXcool (24th October, 2014), ivica21 (10th January, 2016), jakesman (17th March, 2015), julo45 (6th July, 2015), martinracing (8th December, 2014), pandokrator (31st October, 2014), zckariya70 (4th March, 2015)

  11. #21
    V.I.P. Member
    FxShaw's Avatar
    Join Date
    Nov 2013
    Location
    Outta This World
    Posts
    1,972
    Thanks Thanks Given 
    689
    Thanks Thanks Received 
    2,126
    Thanked in
    832 Posts

    Default

    I wish there was a program that you can select file and the exact position needed to be modify and write the script..

  12. #22
    V.I.P. Member
    Rerouter's Avatar
    Join Date
    Jul 2014
    Location
    Australia
    Posts
    546
    Thanks Thanks Given 
    55
    Thanks Thanks Received 
    1,072
    Thanked in
    316 Posts

    Default

    OK next small update, in the header of the file you can make it so at the top of the window "Additional Information" Appears and lets you go to a file,

    By default i looks in the doc subdirectory

    the standard syntax is #Filename.extension
    however #Foldername/Filename.extension is also valid
    and #Drive/Foldername/filename.extension

    Any file type including exe's possible, for cmd switches i have not yet found any way in the software

    This text at the top will only appear if the file exists, And so far i have not found a way in the software to open a folder,

    If you add multiple lines with # it will only take note of the first one regardless if the file is valid or not.

    For folders you can however still point the calculator at a batch file containing e.g. explorer.exe /e ,/root, C:\Users\

    Equally it does not like being routed through shortcuts, so if anyone has any ideas how to point it at a file in drop box I'm all ears even if its though a batch file, (win xp vs win 7)
    Last edited by Rerouter; 31st October, 2014 at 11:03 PM.

  13. The Following 7 Users Say Thank You to Rerouter For This Useful Post:

    DashProg (6th January, 2016), Faraday (6th January, 2016), GMXcool (15th January, 2015), jacekzam78 (14th February, 2021), PartyTwist (7th January, 2015), rtbdiagnostic (17th February, 2020), zckariya70 (4th March, 2015)

  14. #23
    V.I.P. Member
    Rerouter's Avatar
    Join Date
    Jul 2014
    Location
    Australia
    Posts
    546
    Thanks Thanks Given 
    55
    Thanks Thanks Received 
    1,072
    Thanked in
    316 Posts

    Default

    Another Small Update,

    In the header of the script, you can define what information is show in the info and picture tabs,
    @ defines the picture and by default points to the doc sub directory, it can only take jpgs or bmps
    ! defines the text shown in the info tab, the text will wrap, but if you want to add a return, use another ! one line down.

    e.g.
    @brain.bmp
    !Text Here
    !More Text Here

    Only the first image is valid, but you can have as many text lines as you like.

  15. The Following 9 Users Say Thank You to Rerouter For This Useful Post:

    antonypaul (1st November, 2016), DashProg (6th January, 2016), datapage (22nd September, 2019), dule14786 (22nd March, 2020), Faraday (6th January, 2016), Freezzby (15th August, 2015), GMXcool (15th January, 2015), PartyTwist (7th January, 2015), zckariya70 (4th March, 2015)

  16. #24
    V.I.P. Member
    Rerouter's Avatar
    Join Date
    Jul 2014
    Location
    Australia
    Posts
    546
    Thanks Thanks Given 
    55
    Thanks Thanks Received 
    1,072
    Thanked in
    316 Posts

    Default

    It has been a while, but through standardizing all the scripts i have, another trick has been uncovered
    You can assign text to a variable, like in the example below and then pass it to a message and possible more...

    Str0 = "Wrong Dump !";
    Message = Str0;

    If anyone has any clues on an ASCII entry box i am all ears,

  17. The Following 6 Users Say Thank You to Rerouter For This Useful Post:

    DashProg (6th January, 2016), dule14786 (22nd March, 2020), Faraday (6th January, 2016), GMXcool (15th January, 2015), PartyTwist (7th January, 2015), zckariya70 (4th March, 2015)

  18. #25
    Top Poster
    Join Date
    Jul 2013
    Posts
    131
    Thanks Thanks Given 
    86
    Thanks Thanks Received 
    40
    Thanked in
    14 Posts

    Default

    I can finally contribute one small script for Fendt dashboards with 93c56 - from my info they go from 96 to ~03 MY. All the thanks go to the people that provided help on this forum (I won't link threads because I can't find them anymore :P)
    How are you storing dash pictures besides your scripts? Including them in the script itself looks unpractical.
    Attached Files Attached Files

  19. The Following 18 Users Say Thank You to PartyTwist For This Useful Post:

    baze007 (16th January, 2015), BlacksunLE (7th April, 2017), claudio35 (15th January, 2015), cokolo (15th January, 2015), elephantul (14th January, 2020), Faraday (6th January, 2016), Freezzby (15th August, 2015), GMXcool (15th January, 2015), hoangtu (28th March, 2015), ivica21 (12th March, 2015), julo45 (6th July, 2015), lion0304 (22nd July, 2015), mara07 (29th January, 2016), Niaz (16th January, 2015), satesquio (28th October, 2015), SKYTON (17th May, 2016), tiomilo (13th October, 2016), Tolik48 (1st July, 2022)

  20. #26
    DK Veteran
    cokolo's Avatar
    Join Date
    Oct 2010
    Location
    Springfield :-)
    Posts
    1,408
    Thanks Thanks Given 
    119
    Thanks Thanks Received 
    513
    Thanked in
    298 Posts

    Default

    Quote Originally Posted by PartyTwist View Post
    I can finally contribute one small script for Fendt dashboards with 93c56 - from my info they go from 96 to ~03 MY. All the thanks go to the people that provided help on this forum (I won't link threads because I can't find them anymore :P)
    How are you storing dash pictures besides your scripts? Including them in the script itself looks unpractical.
    Thanks I try and work OK

  21. #27
    V.I.P. Member
    Rerouter's Avatar
    Join Date
    Jul 2014
    Location
    Australia
    Posts
    546
    Thanks Thanks Given 
    55
    Thanks Thanks Received 
    1,072
    Thanked in
    316 Posts

    Default

    Party twist, post #22, i explain how you can have an image appear in the image tab of the calculator script list, only thing is, at this time it does not scale the image, so you would have to do it yourself

  22. The Following 2 Users Say Thank You to Rerouter For This Useful Post:

    dule14786 (22nd March, 2020), zckariya70 (4th March, 2015)

  23. #28
    Top Poster
    Join Date
    Jul 2013
    Posts
    131
    Thanks Thanks Given 
    86
    Thanks Thanks Received 
    40
    Thanked in
    14 Posts

    Default

    Oh as I forgot to mention, the script is based on Rerouters work/script. Also thanks for the tips about improvement - I'll do them and post the result here

    P.S: Rerouter - your pm inbox is full :/

  24. #29
    V.I.P. Member
    zckariya70's Avatar
    Join Date
    Jan 2014
    Location
    Inside EEPROM
    Posts
    5,050
    Thanks Thanks Given 
    3,542
    Thanks Thanks Received 
    6,141
    Thanked in
    3,250 Posts

    Default

    fantastic working superb thank you all

  25. #30
    V.I.P. Member
    zckariya70's Avatar
    Join Date
    Jan 2014
    Location
    Inside EEPROM
    Posts
    5,050
    Thanks Thanks Given 
    3,542
    Thanks Thanks Received 
    6,141
    Thanked in
    3,250 Posts

    Default CHEVERLOT ENJOY EEPROM 24LC04B

    HI FRIEND CAN ANY ONE MAKE A SCRIPT FOR CHEVERLOT ENJOY EEPROM 24LCO4B I AM POSTING THE ORGINAL DUMP HEARE SCRIPT FOR ETSMART


    KM IS 1574
    Attached Files Attached Files

 

 
Page 2 of 45 FirstFirst 123456712 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.