Closed heartlandzf closed 7 years ago
No, I haven't made a great contribution (only bug correction)
And no, better you ask to the author
Anyway I use the script without issues of this kind ..
Ok thanks
please check you are using the correct python versione (2.7.x)
Hi, thank you for your great contribution !!!
I do not know if this is the right jar, but I'm trying to extract the Mili_chaohu.res file with the res2img.py script but I can not get it to work.
======================================= C:\Users\Yo\Cocina Android\Amazfit Bip\tools-master\tools-master>res2img.py -u -i Mili_chaohu.res Traceback (most recent call last): File "C:\Users\Yo\Cocina Android\Amazfit Bip\tools-master\tools-master\res2img.py", line 268, in
fileHeader, version, dummy1, dummmy2 = struct.unpack('5sbHL', fileContent[0:16])
struct.error: unpack requires a string argument of length 12
C:\Users\Yo\Cocina Android\Amazfit Bip\tools-master\tools-master>python res2img.py -u -i Mili_chaohu.res File "res2img.py", line 51 print "no argument" ^ SyntaxError: Missing parentheses in call to 'print'
C:\Users\Yo\Cocina Android\Amazfit Bip\tools-master\tools-master>
========================================
You have a good day.