Lacro59 / playnite-systemchecker-plugin

This plugin checks if you have the minimum and required configuration in Playnite.
https://playnite.link
MIT License
23 stars 2 forks source link

Problem with decimal points in countries where point is not used as decimal seperator #16

Closed joyrider3774 closed 2 years ago

joyrider3774 commented 3 years ago

Hey,

It seems the plugin has problems interpreting decimal points on my system. An example game would be destiny 2. It says on the site 67.9 GB yet in your plugin it says 679GB. I'm not sure if my regional settings are to blame or not but in my country "," comma is used as decimal seperator and "." usually as thousand seperator. If you use regional settings data for decimal point in your plugin it might not detect this correctly.

image

joyrider3774 commented 3 years ago

it is definatly regional settings related. If i change my regional settings to use point as decimal seperator it shows up correctly. It could also be related to digital grouping symbol as well as in 1st screenshot i changed it to space while in my contries default it uses point for that

image

If i use my countries default (comma) it does not image

Lacro59 commented 3 years ago

Have you try with the v2.0?

joyrider3774 commented 2 years ago

hi Lacro59,

Just tested with V2.0 in playnite 9, same problem exists (even when refreshing data)

Lacro59 commented 2 years ago

I am having trouble reproducing the problem. I am using the decimal separator "," and I don't have this problem. I will compile a special version for more logging.

joyrider3774 commented 2 years ago

It only happens with specific games that have on pcgamingwiki a disk size set with decimal point seperator like that destiny 2 game and when i use comma as decimal seperator. Did you restart playnite when having changed the decimal seperator to comma (thats needed otherwise old setting remains active) and did you test with destiny 2 ? on the site it says 69.7 yet in the plugin 697