d2s checksum working, no more bad generic file

This commit is contained in:
Hash Borgir
2022-05-15 23:15:17 -06:00
parent 3001eaf611
commit 25bfbfe93d
8 changed files with 872 additions and 91 deletions

View File

@@ -73,4 +73,8 @@ function strtobits(string $str): string {
}
}
return $ret;
}
function swapEndianness($hex) {
return implode('', array_reverse(str_split($hex, 2)));
}