PlayniteExtensionsCollection icon indicating copy to clipboard operation
PlayniteExtensionsCollection copied to clipboard

[Games Size Calculator] small sized games are rounded to 000.000 GB

Open DrinkFromTheCup opened this issue 2 years ago • 2 comments

Extension name

Games Size Calculator

Bug Description

More of a feature suggestion since games with size below 1MB are for old bald donkez like me...

Games with a size below 1 megabyte have size rounded to 0 GB 0 MB. I believe, it is not entirely intended - after all, these still occupy some space. It might be prudent to keep size value at 000.001 GB, if scanned game's directory is not empty. 000.000 GB otherwise.

To Reproduce

For me, emulated Trouble Shooter 1 (512KB) had the issue while its sequel (1024KB) was fine. snap I believe, safest free-to-play game to reproduce this behaviour is infamous .kkrieger with its 96KB size.

Extensions log

extensions.log

Screenshots

snap2

DrinkFromTheCup avatar Jan 19 '22 13:01 DrinkFromTheCup

0.000 GB is correct, the issue is that the 512kb size is not enough to even be a 1 in the last value

image

1024kb is fine

image

Do you think changing it to 000.000 GB (512kb) would work for games in this situation?

darklinkpower avatar Jan 19 '22 22:01 darklinkpower

Hmmmmm, that's a really good question.

Keeping it rounded to 000,001 GB is tempting - but it won't make sorting by size any easier. My mistake.

Going 000.000 GB (XXX kb) might do silly things to said sorting.

Ideal course of events would be allowing selecting size increments, I think.

For AAA gamers, GB (without decimal part) will suffice. After all, terabyte sized games are coming... For midrange gamers, current 000,000 GB (i. e. MB as measuring unit) format is great! And perverts like me will really enjoy an option to resort to kilobytes everywhere.

Sometimes in far, far future - since the impact from such feature will be barely noticeable for first two, most numerous, groups, I guess. After all, this plugin's killer feature is simplifying urgent HDD cleanups - and it helps with it just fine without resolving this issue...

ghost avatar Jan 22 '22 21:01 ghost