Quality Assurance


All Qualities, unlocked from the start! Quality Modules not included.

Tweaks
5 days ago
2.0
3.88K
Manufacturing Cheats

b [Fixed] Error when loading technologies with non-256 by 256 icon sizes

a month ago

Hello,

The new update causes a boot error with better-ecology. better-ecology boots without quality assurance without error. Resetting mod settings for quality assurance does not correct issue.

Failed to load mods: The given sprite rectangle (left_top=0x0, right_bottom=240x240) is outside the actual sprite size (left_top=0x0, right_bottom=240x128).
If this is being used as an icon you may need to define the icon_size property.
See the log file for more information.: better-ecology/graphics/air-filter/filtering-technology-icon.png

a month ago

More from the log itself:

18.996 Error AtlasBuilder.cpp:1266: The given sprite rectangle (left_top=0x0, right_bottom=240x240) is outside the actual sprite size (left_top=0x0, right_bottom=240x128).
If this is being used as an icon you may need to define the icon_size property.
See the log file for more information.: better-ecology/graphics/air-filter/filtering-technology-icon.png; mods: better-ecology QualityAssurance
Prototypes using the sprite:
data.raw["technology"]["air-purifier"]
data.raw["technology"]["qa_air-purifier-ams"]

a month ago

In the new update techs for unlocking AMS machines use icons of a prerequisite tech for each machine. All (?) vanilla techs use 256 sized icons, so we didn't copy size from an original tech. To fix that you need add the next line after data.lua:341:

AMSMachineTechnology.icon_size = data.raw["technology"][Prerequisite].icon_size
a month ago

Great! Will be fixed in the next update.

This thread has been locked.