Blondazz / KeyOverlay

A simple key overlay for osu! streaming
GNU General Public License v3.0
197 stars 26 forks source link

Error unicode on Mac #64

Open LawKKK opened 1 year ago

LawKKK commented 1 year ago

Hi there, it appears that my Mac cannot run the program, the only tunable program (keyoverlay without extended name) cannot be opened and it says unavailable unicode UTF-8. I changed the encoding and save to UTF-8 but it still cannot work. Here is my system: MacBook Pro 2022, M2, macOS 13.3.1 Thanks

Blondazz commented 1 year ago

Hi, this is the first time I'm seeing this problem. Do you have any error message or popup? Can you paste it here?

LawKKK commented 1 year ago

Sure, here is the screen shot

截屏2023-05-26 10 50 38

The pop up says:"failed to open 'keyoverlay', the unicode UTF-8 is unavailable, I have changed the open encoding and saving encoding to UTF-8 (in the left pop up), but still doesn't work, THX

LawKKK commented 1 year ago

Because the text is run as a program, so I checked different extended names, .txt cannot open, and .pdf or .app .dmg still failed. I have connected to the apple tech support and the problem is still there, it can be opened under UTF-16 but shows a mess. It cannot show any message under different extended names.

Blondazz commented 1 year ago

Let me know if you get any feedback from support

Blondazz commented 1 year ago

There is a new mac build which should actually work on the system. Please check if the problem persists on that release.

LawKKK commented 1 year ago

hi, I was out for personal reasons, thanks for your attachment. A small issue still exist, but I have solved it. The problem is that when running the application, first need to verify the file in the terminal, other wise it cannot be opened and shows "the file is broken", this site (https://blog.csdn.net/hebiwen95/article/details/129029954) offers a detailed solution, but it's on Chinese. Basically is to type a series of code in the terminal and that's it.

截屏2023-06-11 18 13 23

Another thing is when I tried to run it, it cannot show a correct app window but a series of logbook, like the picture above. It says the application has no installation in .NET location. But it's easy to solve, go to the site (https://dotnet.microsoft.com/zh-cn/download/dotnet/thank-you/runtime-7.0.5-macos-x64-installer?cid=getdotnetcore) and download the ms runtime version 7.0.5, and everything is ok. I don't know whether I am the only one who met the problem, but I think if your are willing to post what I've said in the README instruction can help MACers a lot. THXXX for your work to my rhythm game video :)

Blondazz commented 1 year ago

I did not post about .NET runtime since the terminal itself informs you that you have to install it providing you with a link and all so I thought it would just be a waste of space on the README. Can you maybe go into detail what it means to "verify" the file? What is the exact command?