Amver / easymyp

Automatically exported from code.google.com/p/easymyp
0 stars 0 forks source link

Make hash function work with mft myp #20

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try hashing "EAMythic Patcher/patcher-goa.prod.sig"

What is the expected output? What do you see instead?
Should give 2211686D#4FF4B0E0

Original issue reported on code.google.com by Hadrian....@googlemail.com on 1 Mar 2009 at 2:48

GoogleCodeExporter commented 9 years ago
Tried hashing it in lower case ?

Original comment by ChryzoPh...@gmail.com on 7 Jul 2009 at 4:51

GoogleCodeExporter commented 9 years ago
Yes I did. Without success.

Original comment by Hadrian....@googlemail.com on 7 Jul 2009 at 9:47

GoogleCodeExporter commented 9 years ago
Tried removing the space ? (both upper and lower case)

Otherwise I ll have to get back into how Mythic preps the filenames before 
hashing
them...

Original comment by ChryzoPh...@gmail.com on 8 Jul 2009 at 6:15

GoogleCodeExporter commented 9 years ago
Tried all kind of combinations (you can try yourself on the given example)
There is just something weird I cannot figure out...

Original comment by Hadrian....@googlemail.com on 12 Jul 2009 at 4:53

GoogleCodeExporter commented 9 years ago
Tried all kind of stuff too... I got no where.

Original comment by ChryzoPh...@gmail.com on 19 Jul 2009 at 6:42

GoogleCodeExporter commented 9 years ago
EasyMyp modifies strings before hashing. In particular, it transforms strings 
into lower case and replases backslashas by slashes. It's wrong. To correspond 
valid hash the strings must be unmodified.
For example: "Warhammer: Время Возмездия\notes\unpacked.mft" 
(hash 886BDB95 0658D27B) is converted into "warhammer: время 
возмездия/notes/unpacked.mft"
Another issue is that strings hashed must be in UTF-8 encoding. In english 
version of Warhammer this doesn't matter, but in other versions it does (I have 
a Russian version).
The file attached contains hashes for Russian version of Warhammer, but some 
hashes is common for all versions. I've replaced backslashes by slashes to 
correspond database format and removed colon signs, because they lead to 
problem with extracting files (paths can't contain colons, only after disk 
letter).

P.S.
Excuse me for my English :)

Original comment by KESQU...@gmail.com on 6 Nov 2010 at 11:42