- Server to client: for each of the 5 digits of the version, byte = 48 + digit + its position (1 to 5). Example 9.99.99: 48+9+1 = 58 (
3A), 48+9+2 = 59 (3B) and so on up to3E. - Convert each result to hex and replace those bytes in main.exe (replacing the bytes avoids typing odd ASCII signs like
:;<=>). - Client to server: take the 5 bytes from main.exe, for each one subtract 48 and its position: 58-48-1 = 9, 59-48-2 = 9 and so on.
- Write the 5 digits and, from right to left, put a dot after every group of 2: 99999 becomes
9.99.99, the ClientExeVersion for the server.
main.exe version: how to convert the version bytes in main.exe to the server ClientExeVersion and back, for any version
Công cụ: Hex editor (main.exe)