I have imported some textures to my map. They are each over 1mb big, but next to that value it says (238 kb compressed)
How can I compress them or make them require less file size?
Cause right now my map is 5 mb big, just because 5 important textures takes 1 mb each :(
The value "compressed" shows the file's size within the map.
Maps are mpq archives which compress their content.
If the image isn't already in the dds format, you can transform the texture into the dds image format which compresses pretty good on its highest compression level.
If the model wants another format ending, you can just rename it. Only the editor will throw warnings, the game itself can handle wrong file endings.
So if it was e.g. ".tga", you can transform it into a compressed ".dds" and rename the file back to ".tga".
You can always lower the resolution of the images, meaning you resize them in an appropriate image editing program.
If you use gimp, I advise you to get the updated version of the dds-plugin. It was updated like 2 months ago. It fixes a lot of problems gimp had with dds files like accidentally creating rectangular colored areas.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have imported some textures to my map. They are each over 1mb big, but next to that value it says (238 kb compressed) How can I compress them or make them require less file size?
Cause right now my map is 5 mb big, just because 5 important textures takes 1 mb each :(
Does it matter? And doesnt it compress automatically? because the texture i imported is 1 MB and compressed it's 222 kB and my map size in just 600kB
You can switch in Preferences between "Faster Files" and "Smaller Files" for saving.
Also you can change the textures from say 1024x1024 to 256x256 (which looks fine for most units) and reduce the size to probably the 30-50kb range.
The value "compressed" shows the file's size within the map.
Maps are mpq archives which compress their content.
If the image isn't already in the dds format, you can transform the texture into the dds image format which compresses pretty good on its highest compression level.
If the model wants another format ending, you can just rename it. Only the editor will throw warnings, the game itself can handle wrong file endings.
So if it was e.g. ".tga", you can transform it into a compressed ".dds" and rename the file back to ".tga".
You can always lower the resolution of the images, meaning you resize them in an appropriate image editing program.
If you use gimp, I advise you to get the updated version of the dds-plugin. It was updated like 2 months ago. It fixes a lot of problems gimp had with dds files like accidentally creating rectangular colored areas.