Blondazz / KeyOverlay

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

Every time I open the program it appeared white and closed immediately #58

Closed kdx046 closed 1 year ago

kdx046 commented 1 year ago

Every time I open the program it appeared white and closed immediately, an 'errorMessage' popped up and stated "The type initializer for 'KeyOverlay.CreateItems' threw an exception." How can I fix this?

Blondazz commented 1 year ago

Please paste your config file content

kdx046 commented 1 year ago
config
Blondazz commented 1 year ago

Please try moving the pressFontColor value to the same row as its keyword

kdx046 commented 1 year ago

I resized the window of the text file to make it easier to capture, but it's already on the same line.

config
Blondazz commented 1 year ago

I'm going to create a new release with more detailed errors which should have been there long ago I'll write here when I'm done with that

kdx046 commented 1 year ago

Thank you very much!

Blondazz commented 1 year ago

Please try the newest release, the error should be more detailed there

kdx046 commented 1 year ago

It did become more detailed but I don't really understand what it says, here is the capture

errormessage
Blondazz commented 1 year ago

Do you have any non latin alphabet letters in the font path?

kdx046 commented 1 year ago

I've already installed the font given in this file but my PC still give the same error

font
kdx046 commented 1 year ago

I checked my font file and I definitely have non latin alphabet

Blondazz commented 1 year ago

I mean if any of your folders has for example cyrillic letters in it's name that could cause this error.

kdx046 commented 1 year ago

I'm pretty sure that it only contains consolas

Blondazz commented 1 year ago

no no, in the path like here image If there are non latin letters in the directory path then that would cause an error

kdx046 commented 1 year ago

Fixed it, thanks a lot