Jump to content

Disable Tank Icons scale when using WoT's intefaceScaling config


Recommended Posts

Posted

Hello dear mod developers!

I’d like to ask if it would be possible to implement a mod that prevents tank icons from being scaled.

When we create our own tank icon atlas (for example using Tank Icon Maker – updated for 1.25.0.0), the UI scaling process scales the icons afterwards, which makes them blurred and hard to read.

My idea is to disable scaling for tank icons entirely and instead create larger icons directly in the atlas using the existing app. This would keep them sharp and readable even when UI scaling is enabled.

Thanks in advance!

  • Administrator
Posted

The first and the most important step is to save icons to png instead of dds in TIM, they will not be compressed and will not look like a crap when resized up. However it matters only for the atlas files.

 

I don't know any other methods to prevent that icons to be scaled. Maybe try to create them in higher resolution, so if you scale them up they will still looks crips. However scaling down might be issue there if you don't scale. Just my theory...

  • Like 1
Posted

Thank you for the reply! I’ve already tried many different configurations, but unfortunately none of them worked so far.
 

First of all, let’s clarify the point about the PNG. As far as I understand, the game loads the vehicle icons for the left/right player panels from battleAtlas.dds, which is essentially a PNG atlas stored with a .dds extension.
 

If we modify the atlas and add a larger icon (for example, instead of 80×24 → 320×92), and then update the coordinates and parameters in battleAtlas.xml, the game renders the icon exactly with that size (320×92), which causes it to overlap with other UI elements.

I also tried another approach for testing: I downscaled the icon in battle.swf, assuming that the interfaceScale feature might later upscale it again and possibly preserve better quality. However, this did not work. After the icon is loaded from the atlas and downscaled in the SWF, it effectively becomes a rendered bitmap on the display list, not a reusable texture or vector resource. Because of this, any subsequent upscale operation simply stretches the pixels of the already downscaled image, which results in visible quality loss.

 

My current theory is that the only viable approach would be to avoid scaling through the interfaceScale feature entirely, and instead place higher-resolution icons directly in the atlas, so the game renders them at the larger size without any runtime upscaling.

Posted
On 3/13/2026 at 9:43 AM, Aslain said:

The first and the most important step is to save icons to png instead of dds in TIM, they will not be compressed and will not look like a crap when resized up. However it matters only for the atlas files.

 

I don't know any other methods to prevent that icons to be scaled. Maybe try to create them in higher resolution, so if you scale them up they will still looks crips. However scaling down might be issue there if you don't scale. Just my theory...


Hi! Do you have any ideas how to fix this problem regarding scaling the tanks icon?

  • Administrator
Posted

There is probably no simple solution to this, I have no idea, maybe you can mod some game files to prevent this behaviour.

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.