butes 24-25. CRC is a combination of adding and shifting based on polynomial
math. I forgot how it goes exactly, but I can remember that it is much
stronger than simply XOR ing the data, which can let two-bit changes
undetected.
The CCITT 16bit algorithm (X^16 + X^12 + X^5 + 1). Examples: (from google
search).
http://www.racesimcentral.net/
http://www.racesimcentral.net/
http://www.racesimcentral.net/
Bart Westra
a
> view to making a setup utility similar to GRE for GPL.
> I've found allot of the values and have made a small VB program that can
> extract/edit the values individually, but I have hit a big brick wall.
Papy
> seem to have added in a checksum at bytes 24-27 and if the value stored in
> those bytes doesn't correspond to the rest of the file it won't work in
N4.
> The problem is I just can't find any relationships between the checksum
and
> the rest of the file, here's an example:
> I make 9 identical (but for increasing one of the damper values by 1 each
> time) setups in N4
> damper val bytes 24-27 value at 24-27
> at byte 568 (int) (float)
> 01 BE C5 2A 4C 44766970
> 02 B6 B3 2A 4C 44748500
> 03 51 05 2A 4C 44569920
> 04 B9 C4 2A 4C 44765920
> 05 41 E9 2A 4C 44803330
> 06 49 9F 2A 4C 44727590
> 07 B1 B2 2A 4C 44747460
> 08 88 14 2A 4C 44585500
> 09 70 39 2A 4C 44623300
> Can anyone make any sense of it cause I can't? The only value that has
been
> changed is at byte 560 so I can't see how the values at 24-27 relate to
the
> data in the rest of the file, I'm completely stumped on this if anyone
could
> offer me any help it would be greatly appreciated.
> Thanks,