Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » Stars! Extensions » Detecting corrupt race files
Re: Detecting corrupt race files Mon, 17 May 2021 14:20 Go to previous messageGo to previous message
ricks03 is currently offline ricks03

 
Officer Cadet 1st Year
Creator of TotalHost and Stars! utilities
Created TotalHost and Stars! utilities

Messages: 222
Registered: January 2012
Location: NC
So the formula appears to be If the Race Name is ABCDE / EFGHI

<other data that doesn't include the race name > 0 0 A E B F C G D H E I
where the values of the individual letters are converted to ASCII, with XOR'd even bytes for the first checksum value, and XOR'd odd bytes for the second checksum value.

That makes perfect sense for why ABCDE / ABCDE doesn't change the Checksum value, because you're XOR'ing A^A, C^C, E^E and 0^0, B^B,D^D, which don't change the value.

It's still not perfect, as it only works at the moment for an odd # of characters that is the same in both singular and plural, but it works for any combination of any characters for an odd number of characters. Just have to figure out how to fill in the blanks.

Edit: Literally, fill in the array of ascii values for singular and plural with 0s, so each is 15 characters long.


[Updated on: Mon, 17 May 2021 14:32]




https://www.irelandbybicycle.com
http://totalhost.sinister.net:999
https://github.com/ricks03/TotalHost

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Utility to reset Stars! passwords
Next Topic: Utility to fix corrupt race files
Goto Forum:
  


Current Time: Fri May 03 00:49:46 EDT 2024