Mino260806 / miwtool

A tool for manipulating Redmi Watch 2 Lite watchface files
GNU General Public License v3.0
35 stars 8 forks source link

Unknown coordinates type: 0x50 #8

Open Domenick90 opened 1 year ago

Domenick90 commented 1 year ago

Hello! Coordinates type RMSS are work. But not work new some coordinates. Traceback (most recent call last): File "main.py", line 53, in decoder = WatchFaceDecoder(input_file) File "C:\Temp\RedmiWatch2SOFT\miwtool-main\decoder\watch_face_decoder.py", line 19, in init self.parse_file() File "C:\Temp\RedmiWatch2SOFT\miwtool-main\decoder\watch_face_decoder.py", line 43, in parse_file wf.components.append(ComponentDecoder(f, offsets=component_offset).get()) File "C:\Temp\RedmiWatch2SOFT\miwtool-main\decoder\component_decoder.py", line 20, in init self.parse_file(component_type) File "C:\Temp\RedmiWatch2SOFT\miwtool-main\decoder\component_decoder.py", line 78, in parse_file component.widget_type = WidgetType(wtype, category, wformat, coordinate_types) File "C:\Temp\RedmiWatch2SOFT\miwtool-main\widget_type.py", line 12, in init raise RuntimeError(f"Unknown coordinates type: {hex(ctypes)}") RuntimeError: Unknown coordinates type: 0x50 Explore.bin.zip