Zastai / POLUtils

Archived POLUtils repository (imported from Google Code)
Apache License 2.0
6 stars 2 forks source link

mix.dat support (spells order) #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
please add support for mix.dat
since last update, 
http://www.geocities.co.jp/SiliconValley-PaloAlto/5810/mgcsort.htm is broken
i don't know how are generated offset 4 to 152

Original issue reported on code.google.com by gilles.b...@gmail.com on 31 Dec 2012 at 7:17

GoogleCodeExporter commented 9 years ago
The bytes have shifted and they added padding.

Original comment by shikigam...@gmail.com on 5 Apr 2013 at 8:12

GoogleCodeExporter commented 9 years ago
i would have to have more information on this, if possible.

Original comment by gilles.b...@gmail.com on 9 Aug 2013 at 2:42

GoogleCodeExporter commented 9 years ago

maybe this :

HEADER, length 152
4 bytes, always 02 00 00 00
4 bytes, checksum ?? ?? ?? ??
144 bytes, maybe 9 md5 (16*9 = 144)

BODY, start at offset 152, length 2052
last 4 bytes : 2 bytes for the number of spells + 00 00

BODY can be divised by 9
so maybe each md5 is calculated for 228 bytes (228*9=2052)

but i can't find how md5 bytes are generated
You say they have shifted bytes but i have tried bitshifting/byteshifting byte 
per byte and the whole body
but i can't find the same md5

Original comment by gilles.b...@gmail.com on 12 Aug 2013 at 5:46