amazfitbip / tools

GNU General Public License v2.0
126 stars 58 forks source link

New Resource version compatibility #60

Open corsojulian7 opened 5 years ago

corsojulian7 commented 5 years ago

Now the script works fine with new versions of resource files ".res"

dpeddi commented 5 years ago

I think you should support both version hmres and neres

corsojulian7 commented 5 years ago

Yes, putting an 'if' condition at start, it should work. If I do that, can you approve the pull request?

El jue., 10 de ene. de 2019 09:19, dpeddi notifications@github.com escribió:

I think you should support both version hmres and neres

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/amazfitbip/tools/pull/60#issuecomment-453076908, or mute the thread https://github.com/notifications/unsubscribe-auth/Ar06m5S7YPay8d14u_WoAaP1_06NpYoEks5vBy_VgaJpZM4Z5YZk .

dpeddi commented 5 years ago

Yes

Il giorno gio 10 gen 2019, 13:42 corsojulian7 notifications@github.com ha scritto:

Yes, putting an 'if' condition at start, it should work. If I do that, can you approve the pull request?

El jue., 10 de ene. de 2019 09:19, dpeddi notifications@github.com escribió:

I think you should support both version hmres and neres

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/amazfitbip/tools/pull/60#issuecomment-453076908, or mute the thread < https://github.com/notifications/unsubscribe-auth/Ar06m5S7YPay8d14u_WoAaP1_06NpYoEks5vBy_VgaJpZM4Z5YZk

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/amazfitbip/tools/pull/60#issuecomment-453083178, or mute the thread https://github.com/notifications/unsubscribe-auth/ABCVX2LQOVyTac_vBKS660Xujat4q1CEks5vBzVSgaJpZM4Z5YZk .

baseband5 commented 5 years ago

Hi. With new firmware (1.1.5.36) there is problem with unpacking (and probably packing as well). There is more than 1000 resources found in res and process stops around 1021. With bad header (but offset and header info is correct)