»   Service

FAQ

(Back to overview)

Product:
WinOLS

Topic:
Scripting

Question:
I would like to search and replace a map, but it is not recognized reliably. If I increase the tolerance, wrong maps are found. If I decrease the tolerance, the map is not found at all in some ECUs.

Answer:
Use combined "search" instructions for the same range, but with different tolerances. You could even specify a separate tolerance for each byte. An example:
search BEREICH01 eByte 0x0C000 900 100% "AB 90 88 80 7F 77 76 76 76 77 79 7B 7F 89 AB C0"
search BEREICH01 eByte 0x0C000 900 80% "?? 32 88 80 7F 77 76 76 76 77 79 7B 7F ?? ?? ??"
search BEREICH01 eByte 0x0C000 900 50% "?? ?? 88 80 7F 77 ?? ?? ?? ?? ?? ?? ?? ?? ?? ??"