Sunday, December 27, 2015

Running E-Sys and Java 64-bit

NOTE: The following section is experimental and not recommended for general use. Use at your own risks.

Update: E-Sys 3.24 has also been tested with JRE x64

E-Sys comes with its own 32bit Java Runtime Environment (JRE) and since it’s 32bit, maximum memory that can be allocated is 2GB. The runtime uses about 200MB, leaving about 1.8GB usable memory for the application. This free memory must be contiguous, however, before it can be use by JVM. So, just because you have 16GB of RAM, doesn’t mean you can allocate full 1.8GB to E-Sys. This is also the reason why sometimes, it works with 1GB+, other times, you can only allocate 512MB.

Enter JRE 64bit. JRE x64 appears to not have the limitation of JRE 32bit in that I can consistently allocate 4GB of RAM every single time. I only tested with E-Sys 3.27 since I can only find JRE 7 x64. E-Sys 3.24 needs JRE 6. Here are the steps:

1)  Download and install vcredist_x64.exe from this link: https://www.microsoft.com/en-us/download/details.aspx?id=40784
2)  For E-Sys 3.26 and newer Only: Download and install JRE 7 x64 from here: https://mega.nz/#!DN813aCD!B5bLE8yC2RuGRGUfI-yioO8FG5qZUIu5QHunyKEPjFw or from Oracle if you have an account
3) For E-Sys 3.24 Only: Download and install JRE 6 x64 from here: https://mega.nz/#!3YcjVShK!Zq3QH-2_WSCdpRRvNa7Ocikbyp44_bM0aWNtxZOatNs or from Oracle if you have an account 
4) Delete or relocate the content of  the JRE folder under E-Sys (C:\EC-Apps\ESG\E-Sys\jre)
5) Copy the contents of the JRE you installed into E-Sys JRE (from C:\Program Files\Java\jre6 or C:\Program Files\Java\jre7 to C:\EC-Apps\ESG\E-Sys\jre)
6)  Run E-Sys Launcher and configure memory as you see fit.

I can run E-Sys consistently using 3.5 and 4GB RAM allocated to it.

How to check how much memory is allocated to E-Sys.
1)  Open the current log file (usually in C:\Data\Logs)
2)  Search for "javamem".
You should see something like the following:
Java (used/javamem): 17,016,928 # Java (full): 127,795,200 # Java (max): 4,260,102,144 # Process (full/procmem): 486,379,520 # Process (virtual): 5,224,296,448 # Process (virtual max): 140,737,488,224,256


The number in bold (4,260,102,144) is the maximum memory JVM can use, in this case, just a tad bit lower than 4GB.

Wednesday, December 23, 2015

E-Sys Launcher 2.5.0 Premium and PRO

E-Sys Launcher 2.5.0 Premium and PRO

E-Sys Launcher V2.5.0 - PRO and Premium are now available


Change Log:

Launcher PRO 2.5.0 Build 103
- Fixed TAL-Editor error on E-Sys 3.24.x
- Enhanced Cheat codes
  • Added Series option at the CAFD or code level
  • Added Author attribute which can be used as a filter
  • Added comment attribute at the function level.
- Enhanced PSdZData mapping algorithm
- PSdZData mapping compatibility is now at V56.5. Some CAFDs are at V57.0
- JRE x64 support. It's now possible to use > 1.8GB RAM. I tested 3.27 and is stable at 4GB. See E-Sys Launcher.pdf for instructions on using 64bit JRE


Launcher Premium 2.5.0 Build 97
- Fixed "High Resolution Fix" option
- Fixed TAL-Editor error on E-Sys 3.24.x
- Enhanced Cheat codes
  • Added Series option at the CAFD or code level
  • Added Author attribute which can be used as a filter
  • Added comment attribute at the function level.
- Enhanced PSdZData mapping algorithm
- PSdZData mapping compatibility is now at V56.5. Some CAFDs are at V57.0

NOTE: Please do not request via the comment section. I do not monitor the comments actively. Email me at fxxtokenmaster_at_gmail for any question.

Sunday, October 18, 2015

E-Sys Launcher 2.4.3 PRO and Premium and E-Sys 3.27.1 Update

E-Sys Launcher V2.4.3 - PRO and Premium is now available


Change Log:


Launcher PRO 2.4.3 Build 98, Launcher Premium 2.4.3 Build 85
- Fixed issue with failure to load with some system when querying available memory due to corrupted .NET Performance Counter Registry
- "High Resolution Fix" is now always enabled
- Massive addition to Cheat codes, courtesy of dmnc02, Otakar and ruben_17non - Thanks fellas!
- Fixed minor UI issue - Review button tooltip (reported by myfxp)





E-Sys 3.27.1 Notes

I've been using E-Sys 3.27.1 a lot recently and I noticed that it crashes a lot due to a myriad of issues. Something as simple as having the MSM Updated turned on could crash E-Sys. The good news is that MSM update is the last process in coding, so the crash does not pose big problem when coding. It's just so annoying.

Memory, or the lack thereof, could also crash E-Sys. So, when running on default memory settings and trying to code complex ECUs, like NBT, could crash it.

I've never seen this happen to previous versions of E-Sys. It was pretty good at handling exceptions, but 3.27.1 seems different.

Bonus Tip
If you are forced to run E-Sys using default memory settings (512MB), you can help it by moving some PSdZData folders you never use. Some folders you can safely move, so long as you don't own a series which uses them are the series folders inside kiswb. I have F30 so I moved the following folder:
   C:\Data\psdzdata\kiswb\S15A (used by G-Series)
   C:\Data\psdzdata\kiswb\K001 and C:\Data\psdzdata\kiswb\KE01 (used by BMW motorcycle?)
   C:\Data\psdzdata\kiswb\RR01 (used by Rolls Royce)
   C:\Data\psdzdata\kiswb\I001 (used by i-3, i-8)
   C:\Data\psdzdata\kiswb\F056 (used by Mini)

Moving the above folders prevent E-Sys from reading database associated with these series. These databases are read on startup and kept in memory while E-Sys is running, using precious memory.

If you have plenty of RAM and can run at least using the medium settings, then moving the above folders are not required. Again, only do this if you are forced to run using default memory settings.  

Monday, October 12, 2015

E-Sys Launcher V2.4.2 - PRO and Premium

E-Sys Launcher V2.4.2 - PRO and Premium is now available

Launcher PRO
====================
2.4.2 Build 95
- Fixed multi-group parsing of FDLCodes.xml
- Added Cheat Codes Review


Launcher Premium
====================
2.4.2 Build 82
- Fixed multi-group parsing of FDLCodes.xml
- Added Cheat Codes Review


Parsing of FDLCodes.xml as intended is now working properly. I also added a Cheat Codes Review to preview the changes before codes are applied to FDL.



As usual, no request from this page, please.

Monday, October 5, 2015

E-Sys Launcher V2.4.0

UPDATE: V2.4.1 is now out.

2.4.1 Build 93
- Fixed E-Sys 3.26.x compatibility
- Minor Bug fixes

I highly recommend everyone to upgrade to this version.



E-Sys Launcher V2.4.0 is now out!

Launcher PRO
====================
2.4.0 Build 90
- Removed CAFD Remapping Option on the UI. As before, untrimmed CAFD will not undergo further processing.
- Added High Resolution fix for displays with width greater than 1600 pixels.
- Added "Storage Info" filter to CAF Viewer and FDL Editor (removed by ESG since E-Sys 3.26.x)
- Added Integrated Cheat Codes. Selectable, ready-to-use, cheat codes

Launcher Premium
====================
2.4.0 Build 78
- Added High Resolution fix for displays with width greater than 1600 pixels.
- Added "Storage Info" filter to CAF Viewer and FDL Editor (removed by ESG since E-Sys 3.26.x)
- Added Integrated Cheat Codes. Selectable, ready-to-use, cheat codes

Here's a small video I made using PRO.
 

NOTE: Please do not request download link by commenting. I will not reply to anyone asking me to send the software to them. Thanks for understanding.

Sunday, September 13, 2015

E-Sys Launcher V2.3.0 PRO and Premium are out

E-Sys Launcher V2.3.0 PRO and Premium are out

Change Log

Launcher PRO 2.3.0 Build 85
- Added Dynamic Stack Memory Allocation from 512MB to maximum of 2048MB. This is separate from Heap Memory, which is more important to E-Sys
- Changed PSdZData handling. It is now offloaded to a native and managed code tandem providing faster data translation. Typically, 200% faster
- Changed processing of XML data to a more efficient library specifically designed for large XML
- Minimized memory used by smart cache by as much as 90%, giving E-Sys more usable memory


Launcher Premium 2.3.0 Build 75
- Added Smart, Safe caching - Subsequent reading of CAFD/FAFP will be significantly faster
- Added Dynamic Stack Memory Allocation from 512MB to maximum of 2048MB. This is separate from Heap Memory, which is more important to E-Sys
- Changed PSdZData handling. It is now offloaded to a native and managed code tandem providing faster data translation. Typically, 200% faster
- Changed processing of XML data to a more efficient library specifically designed for large XML
- Minimized memory used by smart cache by as much as 90%, giving E-Sys more usable memory


The dynamic Stack Memory allocation is based on available memory at the time of launching E-Sys. Free memory is queried and the maximum allowed value will be sent to E-Sys. This setting is separate from the ones configurable via the main Launcher UI. That handles the Heap memory which is more important to E-Sys (or any Java app, for that matter). How do you know it works? Look at your log files and find "javamem". You should see something like:

Java (used/javamem): 14,295,120 # Java (full): 24,379,392 # Java (max): 1,341,891,328 # Process (full/procmem): 205,340,672 # Process (virtual): 1,491,914,752 # Process (virtual max): 2,147,352,576

The first highlighted value is the Heap and achieved by setting it in the UI. The second highlighted value is determined dynamically and is assigned because I have about 2GB of RAM on this machine.

Note that Heap memory could fail and when it does, you'll see the following error:

The solution is either to restart your PC or select a lower memory settings. Stack memory is more forgiving as it is dynamically managed by the OS.


NOTE: Please do not request download link by commenting. I will not reply to anyone asking me to send the software to them. Thanks for understanding.

Thursday, August 27, 2015

E-Sys Launcher V2.2.2 PRO and Premium are out

E-Sys Launcher V2.2.2 PRO and Premium are out.

Change Log:

E-Sys Launcher Premium 2.2.2 Build 72
- Added support for E-Sys 3.27.1





E-Sys Launcher PRO 2.2.2 Build 80
- Added support for E-Sys 3.27.1
- Added 2 missing functions in FEM found by valley_nomad

Tested on Windows 7, 8.1, and 10, both 32 and 64 bit versions


If you are interested in E-Sys Launcher PRO 2.x, email me at fxxtokenmaster_at_GMail

NOTE: Please do not request download link by commenting. I will not reply to anyone asking me to send the software to them. Thanks for understanding.

Saturday, August 22, 2015

E-Sys Launcher Premium V2.2.0 Build 68

E-Sys Launcher Premium V2.2.0 Build 68 is out.

Chaange log:
- Added support for E-Sys 3.27
- Added support for FLE in PSdZData
- Added 2 missing functions in FEM found by valley_nomad

Last item is what I envisioned mapping is going to be, when I created CAFD Remapping. A community effort. Because let's face it, if we don't get untrimmed CAFD/FAFP, any new or moved functions, like the case of ASP_AUSKLAPPEN_NACH_KOMFORTSCHLIESSEN, will go unnoticed. But, if the community starts testing these new functions and determine what they do, then we'll have a fighting chance. I named these new/moved functions (PfExternalMirrorMaster_1_1_1, PfExternalMirrorMaster_8_8_1, ...etc.) as I know they mean something, I just don't know what they are. So, thank you, valley_nomad, for testing these (previously) unknown functions.

You can find the new build in the usual place. And lastly, please do not request for download link here. Enjoy!

Monday, August 3, 2015

E-Sys Launcher PRO V2.2.1 Build 78

E-Sys Launcher PRO V2.2.0 Build 75 is out.

Change Log:
2.2.1 Build 78
- Added Advanced Optimization JVM options - takes advantage of advanced optimizations available with JRE 6 (E-Sys 3.24) and 7 (3.26 and 3.27).

2.2.0 Build 75
- Added support for E-Sys 3.27
- Added support for FLE ECU in PSdZData
- Optimized library

Tested on Windows 10, 8.1, and 7 - i386 and x64




If you are interested in E-Sys Launcher PRO 2.x, email me at fxxtokenmaster_at_GMail

NOTE: Please do not request download link by commenting. I will not reply to anyone asking me to send the software to them. Thanks for understanding.

Thursday, July 23, 2015

E-Sys 3.27 and E-Sys Launcher 2.0 PRO

Newest E-Sys 3.27.0 now running on E-Sys Launcher 2.0 PRO. Still Alpha quality but pretty much working. See the following quick demo.



Launcher shown in the video is not out yet, nor is it ready. It will be when I'm comfortable but for now, stick with what you have.

Please do not request download link by commenting. I will not reply to anyone asking me to send the software to them. Thanks for understanding

Saturday, July 4, 2015

E-Sys Launcher: C157, F999...etc.

This post will also serve as Frequently Asked Questions regarding different error being encountered while using Launcher.

Suspect File(s)

As of Version 2.0, both Launchers will not load patched/modified files. Some token solution used insecure patch files. Launcher is designed to prevent loading such files.

Resolution: It's advisable to abort launching, then reinstall E-Sys from a trusted source.


Java Virtual Machine Launcher
Your PC does not have enough contiguous free memory.

Resolution: Either restart your PC, or choose a lower memory settings.

Can't change car series, defaults to F999 (Premium Only)
Someone wrote a tool to reset the Launcher, so I had to enforce a default value. Instead of being able to select a series upon installation, a default value is now used.



[C157]  Condition Not Correct. General error.
If you are getting code 157 when trying to open FDL editor, and the description is "Condition Not Correct. General error.", stop playing with the computer's date. Launchers will detect this and will consider it tampering and will refuse to authenticate with E-Sys.

Resolution: Fix date and reinstall E-Sys. 

E-Sys Launcher PRO and Premium 2.1.0 Update

Both versions of E-Sys Launcher has been updated with some new features.

E-Sys Launcher PRO is now at version 2.1.0 Build 68 and can be found in the same usual link.

Change Log:
  • Integrated PIN/Token authentication. No more inputting of PIN in E-Sys. The launcher does both validation and takes care of authentication where and when it's needed.
  • Added Smart, Safe caching - Reading CAFD/FAFP files is now about 60% faster.
  • PSdZData compatibility set to V55.1/15_03_502. New PSdZData Mapping table with updated functions. 

E-Sys Launcher Premium is now at version 2.1.0 Build 58 and can be found in the same usual link.
Change Log:
  •  Integrated PIN/Token authentication. No more inputting of PIN in E-Sys. The launcher does both validation and takes care of authentication where and when it's needed.
  • PSdZData compatibility set to V55.1/15_03_502. New PSdZData Mapping table with updated functions. 
  • Added additional chassis/car series (G-Series, RR..etc.)

Note: Launcher Premium is now in support/quick fix engineering mode, which means no more major functionality will be added in the future. As I mentioned in one forum, I am disgusted by people trying to remove the limitation imposed on the software. I hate being second guessed and I really hate being screwed by fellow developers. There is an unwritten law that we all must abide and screwing a fellow developer is a major offense.


Sunday, May 31, 2015

E-Sys Launcher 2.0 PRO and Premium Update

Both versions of E-Sys Launcher has been updated with fix to the mapping database.  E-Sys Launcher Premium is now at version 2.0.5 Build 51 and can be found in the same usual link.

E-Sys Launcher PRO is now at version 2.0.7 Build 59. I changed the link for the PRO.


Additionally, as a result of people selling my software, I've implemented a control. PRO now requires one time activation code. Launcher PRO will ask you for an activation code when you first try to launch E-Sys. You can request for and enter an activation code directly from the tool.


If you are interested in E-Sys Launcher PRO 2.0, email me at fxxtokenmaster_at_GMail

Wednesday, May 27, 2015

TokenMaster's Tools Region Ban

Due to large number of people reselling my tools in China, I decided to completely ban China from using any of my tools, until further notice. Despite me asking these people to stop reselling, it seems there's no way they'd listen. It is quite unfortunate and disheartening, but when something  designed for a good cause is misused for personal gain, I have to do something about it.

Sure, I can implement a sophisticated check, activation, server validation, hardware lock, ...etc., but the point is, I was hoping I didn't have to. I was hoping people would do the right thing. Evidently, that is asking too much.

Rather than punishing the entire community for the fault of the few, I decided to just shut these people out. Of course, there will never be a way to do it on an individual level, so the only choice is to ban the entire region.

Those who already have my tools can continue to use them. Those who resell and obtained them somewhere else will have to contend themselves with a faulty version. There's no upgrade path either.

I hope China will be the last to do this, because I can do this to other regions too.

Thursday, May 14, 2015

ESysLauncherPROSetup_2.0.0_Build_45.RAR

Someone is repackaging my E-Sys Launcher PRO and packaging it as ESysLauncherPROSetup_2.0.0_Build_45.rar. This file didn't come from me. It appears the RAR file is password protected. If you see this file, do not download it for the following reason:

1) It is not for sale and whatever token that comes with it will be blocked and will be useless
2) Build 45 is the first release. The mapping data that came with this build is faulty. Check CAS and see if you get any descriptive text at all. That is just one of the many ECU affected. FEM, IHKA,KOMBI, NBT, CIC...etc. are also affected, some partially, others completely.

If you get the bright idea of updating the mapping data, don't bother. Encryption key is different and will be totally useless.

This is the kind of actions I absolutely abhor, it's despicable. You do something and someone is bound to exploit it.

UPDATE: I've been getting barrage of emails asking for token, or password or decryption key from this build. I don't know any password, nor decryption key, so please if you DO NOT ask me, if you insist on using this build.

Sunday, May 10, 2015

E-Sys Launcher 2.0 - PRO and Premium Feature Comparision

E-Sys Launcher 2.0 PRO vs. Premium

I have released both E-Sys Launcher PRO and Premium 2.0 last week. I should have made this blog before releasing it but better late than never.

Here's a feature comparison between the versions of E-Sys Launchers.


 The Premium is made specifically for individual and personal use only. For one's normal coding need, the Premium will fulfill 99% of that need.

I have added some limitations to prevent some entities from overusing the Premium. Some people are using the Premium to code for other people and charge a substantial fee. I don't have a problem with that practice, but when these very same people peruse the forum and the community's findings and leverage these knowledge for their business, all the while being too arrogant and not giving anything back, that rubs me off in a wrong way. When your whole coding skills is acquired by reading the forum, you shouldn't be too proud so as to say you are against sharing information, for without the forum, you have zero knowledge. Perusing it without so much as giving thanks to those who deserve it doesn't work well for me.

PSdZdata Mapping - Premium will only have the Datagroups, Functions and Parameter names. PRO will have comments as well.

PSdZdata Mapping Restriction - Premium requires you choose a series for your car. This is used when performing FAFP/CAFD mapping translation. If you open an FA.xml from a different series, no translation will be done. If you open an NCD or CAFD which doesn't apply to your chosen series, no mapping will be done and you'll simply see dots again. The Launcher warns you about the change when you select a series, so take heed.

Note that none of these reduce the functionality of E-Sys. These restrictions are only for PSdZdata mapping and you can use E-Sys the same way as you did before, with or without the Launchers.

"But I have 2 (or insert however many cars you have here) cars, what about me?" - You can change series after 3 days. Or better yet, upgrade to the PRO version. The PRO don't have any restrictions.

"I code for a fee" -  Premium isn't for you.

PRO is not for free and is not for a fee either. If you are interested in E-Sys Launcher PRO 2.0, email me at fxxtokenmaster_at_GMail

Wednesday, April 15, 2015

NCD/CAFD Tool and E-Sys Launcher PRO 2.0, Now support trimmed CAFD files

It's been a long time since I wrote my last blog entry. Anyway, I've seen people getting frustrated with trimmed CAFDs and has started doing unimaginable things with their NCD files. While renaming NCD files sorta work, it should never be done like that. Some CAFDs have very little changes between versions but some have lots. Besides, the reason for updated CAFDs are to fix issues the engineer found. Using an NCD generated from older version defeats the purpose of the new version. If you're going to do that, might as well stick with an older version of CAFDs.

Over the last couple of weeks, I went back and dusted off my trusted tools. First off, I just released NCD / CAFD Tool V0.3. This version now supports trimmed CAFD and FA2FP files.
Taking this very same feature, I added it to E-Sys Launcher PRO 2.0, currently in limited Beta but is in very usable form.
3.26.1 with the Launcher:
Watch it in action:




If interested, send me an email at fxxtokenmaster_at_GMail