Post Fri Aug 03, 2007 8:55 pm

-Tutorial -Reversed CRC a.k.a Signed CRC conversion

well, recently ran into some trouble with the ALE cloning tute, because i could not generate the correct signed CRCs for the ini file without any specific info on how - i dug through the forums and found the info, and so I'm reposting it for quick reference.

-rCRC + 4294967295 + 1 = unsigned 'normal' CRC
+CRC - 4294967295 - 1 = signed CRC

(simplified example)
operation: rCRC -> CRC
-222
+333
(111)
+1
(112)

operation: CRC -> rCRC
112
-1
(111)
-333
(-222)

...we are as a people inherently and historically opposed to secret societies, to secret oaths, and to secret proceedings- John F. Kennedy