Closed qq253498229 closed 1 year ago
Do you have chinese characters in the path where you placed the MF run counter exe?
It seems not. My app path is: D:\game\mfruncounter
mfruncounter.zip Here is the generate files, exclude the exe file I download on release page.
Ahh its actually the install path of diablo that might have chinese characters in it
D:\game\Diablo II Resurrected
There is also no Chinese.
There is also no Chinese.
Because I am also a programmer, I usually do not use the Chinese path for filename or path.
Hmm strange. Its just that the error is related to a decoding problem, which i assumed came from a chinese character. But I can maybe try another encoding
19:12:22,83 root ERROR (<class 'UnicodeDecodeError'>, UnicodeDecodeError('utf-8', b'\xb0\xd9\xb6\xc8\xb7\xad\xd2\xeb.exe', 0, 1, 'invalid start byte'), <traceback object at 0x000002835A130080>) Traceback (most recent call last): File "tkinter__init.py", line 1883, in call File "tkinter\init__.py", line 804, in callit File "modules\mf_timer.py", line 78, in _update_timers File "modules\mf_timer.py", line 93, in _update_session_time File "modules\mf_timer.py", line 90, in is_game_open File "memory_reader\reader_utils.py", line 158, in one_of_processes_exists UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb0 in position 0: invalid start byte
I found that after I opened an application named "BaiduTranslate" , the MF Run Counter would crash.
I found that after I opened an application named "BaiduTranslate" , the MF Run Counter would crash.
I think I might have found a solution. Can you try this updated version? mf_timer.zip
Exciting! Now it can run normally!
23:09:57,2 root ERROR 'utf-8' codec can't decode byte 0xc2 in position 2: invalid continuation byte Traceback (most recent call last): File "main.py", line 15, in
File "master_frame.py", line 156, in init
File "modules\mf_timer.py", line 35, in init
File "modules\mf_timer.py", line 78, in _update_timers
File "modules\mf_timer.py", line 93, in _update_session_time
File "modules\mf_timer.py", line 90, in is_game_open
File "memory_reader\reader_utils.py", line 158, in one_of_processes_exists
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc2 in position 2: invalid continuation byte