Spacehaven-modding-tools / spacehaven-modloader

An *unofficial* mod loader and modding tool for Space Haven by Bugbyte
15 stars 8 forks source link

Auto-packed atlases smaller than 2k x 2k result in render errors #2

Closed Tahvohck closed 3 years ago

Tahvohck commented 3 years ago

With the auto-packer generating .cim atlas files smaller than 2k square, the selection highlight line is too thin. At high resolutions this results in the line completely disappearing.

Suggested fix: pack all mods into as few 2k x 2k atlases as possible.

Tahvohck commented 3 years ago

Despite the bug label, this is technically a bug in the game rather than the modloader.

Tahvohck commented 3 years ago

Something to consider: is this actually limited to files smaller than 2k x 2k or will any power of 2 work?

Tahvohck commented 3 years ago

Tried to change the code so it uses powers of 2, no luck. Next step would be to use sets of 2k square bins for ALL mods.

WalterLPearson commented 3 years ago

Fixed in Prerelease 0.10.0