Odometer Manual Calculations

Comment télécharger? How to download?
Cliquez ici / Click here Image viewtopic.php?f=77&t=1294
Règles du forum
Comment télécharger? How to download?
Cliquez ici / Click here Image viewtopic.php?f=77&t=1294
Répondre
Avatar du membre
rgmaster3
Capitaine de navire (Admin)
Capitaine de navire (Admin)
Messages : 64254
Enregistré le : ven. 29 sept. 2017 21:51
Réputation : 54179
Localisation : Îles Cocos
A remercié : 4752 fois
A été remercié : 42203 fois
Sexe :
Zodiaque : Taureau
Contact :

Odometer Manual Calculations

Message par rgmaster3 » mer. 8 sept. 2021 10:10

* This thread is for posting manual calculation of algorithms ONLY! This does not include scripts.

You can also use a hex calculator.

The location of the main mileage varies, as this algo can have 4, 9, or 49 places for single digits but they are always in the top lines. The main mileage will always end with an F bit regardless (except for files with only 4 singles), and easier to do any new calculations to end in 00.

Each 80FF is a single Km (or Mi), when the singles string, 4,9, or 49 is full it is re-writen to all ff ff and the main mileage will increment 5, 10 or 50 respectively. If the singles are showing as FF80, the file is byte swapped.

Main mileage remember this table (0-5 are never used):
Dec/Hex
0=f
1=e
2=d
3=c
4=b
5=a
6=9
7=8
8=7
9=6

To decipher the mileage find the mileage string and read it inverted (backwards), use the above table to convert it to decimal or use a hex calculator and xor with FFFFFFFF. Then add the single digits.

Original file with 156799 Km:
0000: 80 FF 80 FF 80 FF 80 FF 80 FF 80 FF 80 FF 80 FF
0010: 80 FF 6F 98 EA FF 6F 98 EA FF 6F 98 EA FF FF FF

Hex inverted: FF EA 98 6F
Dec or xored: 00 15 67 90
Add single digits............09
Total mileage: 156799

To go the other way, enter mileage into hex calculator and xor with FFFFFFFF, or use the table above. Example:

New mileage: 125000 hex = FF ED AF FF inverted FF AF ED FF repeated 3 times so your mileage string is FF AF ED FF FF AF ED FF FF AF ED FF

0000: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0010: FF FF FF AF ED FF FF AF ED FF FF AF ED FF FF FF
Comment s'inscrire et prendre un abonnement?
How to register and take a subscription?
1.Comment s'inscrire sur le forum? / 1.How to register on the forum?
Image viewtopic.php?f=77&t=296
2.Comment prendre un compte premium? / 2.How To Take premium account?
Image viewtopic.php?f=77&t=1294
3.Comment rechercher sur le forum? / 3.How to search for the forum?
Image viewtopic.php?f=224&t=14788
4.Comment demander le lien de téléchargement et comment le recevoir par messagerie privée?
4.How to get the download link and how to receive it by private messaging?
Image viewtopic.php?f=222&t=9976

Compte d'abonnement
Subscription account
* Si votre compte donateur n'est pas activé! Contactez-nous par le formulaire de contact ci-dessous
* If your donor account is not activated! Contact us by the contact form below
Nous contacter / Contact us
Image memberlist.php?mode=contactadmin

Réglementation du téléchargement
Download rules
Image viewtopic.php?f=222&t=9976
* Remerciez l'auteur et notez positivement pour chaque application s'il vous plait.
* Deux téléchargements autorisés par jour.
* 15 téléchargements maximum, y compris trois packs (logiciels ou documents PDF).

* Thank the author and note positively for each application please..
* Two downloads authorized per day.
* 15 Downloads maximum, including three packs (software or PDF documents).

:405:

Répondre

255 derniers membres ayant consulté ce sujet

Avatar du membre stephcamp, Avatar du membre HASSANI, Avatar du membre Nat63, Avatar du membre bix73, Avatar du membre ufcio11, Avatar du membre n3m3rn1k, Avatar du membre langua, Avatar du membre Adelfloyd, Avatar du membre paulolad, Avatar du membre Dom-NC, Avatar du membre you88, Avatar du membre SteveLH, Avatar du membre tomdu7601, Avatar du membre Sebos, Avatar du membre cmp3034, Avatar du membre rgmaster3

Retourner vers « Diagnostic Général / Documentations »