As I often switch between amule and mldonkey these days (for different reasons), I have few questions regarding key and client hashes format. As I can see - data from cryptkey.dat can be easily trasneferred between mld and amule, but:
1)
http://www.amule.org/wiki/index.php/PreferencesKad.dat_fileAccording to that page, the key is stored little-endian, but the explanation at the end suggests it's big endian after all (otherwise, looking at the example, it would be: "ClientID: BF0E103E62..." (or to be precise, 1-byte words, most significant word first - see gmp link below).
2)
http://www.amule.org/wiki/index.php/Preferences.datThis is even more wicked, as the explanation suggest that the whole file is (following
mpz_import notation from GMP) most significant word first, little endian inside words, and words 2-bytes sized.
Well, just want to be sure, before I transfer.