Hello,
Recently we ran into the issue where in battles, both in troops battle testing and encounters in-game when running actual play tests, the actors and enemies alike all had small black squares over their... well, they were just above the enemies, and for the actors, they appeared in the upper-right corners of their respective portraits.
Searching around to try to solve this one ourselves before asking a question you all probably have heard a million times by now, we saw that it was a transparency issue related to the very first icon in the icon set--that it had to be *completely* transparent, and most people posting "why are there black squares in battle?" questions on various forums and such had mucked up the transparency settings in their IconSet.png image somehow.
So we went back to ours and... no, it was fine. We're using GIMP and we confirmed to the best of our ability that everything was still transparent, that all the transparency settings seemed fine. We opened the exported IconSet.png in Windows 11's built-in Photos app and everything looked fine and transparent there. Hell, we looked at the icons in RMMZ, in things like the States or Skills database entries where one can edit the icons for things and thus pull up the list when choosing which one to use, and it even looked fine and transparent there. This only happened when doing a battle test either through the Troops menu or in-game.
So, on a whim, we tried cutting down our IconSet.png file because the version we were using was admittedly... well, rather absurd. I wanted to stitch together all our favorite packs from various artists we've amassed, so we had an overall file that was something like 12,000+ icons, in an image that weighed in at 512 x 24,692. I know that is ridiculous, which is why I was able to think "maybe it just can't handle something that ridiculous" during all our troubleshooting--we hadn't seen any other solutions to this issue mentioned anywhere besides fixing the transparency, which was fine. ^^;
Anyway, sure enough, with a test version that was cropped down to something... a little more reasonable, sure enough, the issue went away. Our current project uses an IconSet.png file that's a little over 4000+ icons (the image weighs in at 512 x 8,320.) Problem solved, so hey, lesson learned, issue over, right?
Well... since that happened, I'm just kind of curious about two things. One, why would overloading the icon set cause that transparency-issue-like black square problem, specifically? We weren't running into crashes or slowdown or anything else you'd expect from a too-large file devouring all our RAM; were it not for the squares, I'd have thought everything was working perfectly. Furthermore, the issue was behaving as though the very first icon in the set (very upper-left corner of the image) was black instead of transparent, but we fixed it by cropping all the extra size from the bottom of the set; we didn't touch the first icon at all, but it just suddenly worked now that there's less stuff beneath it. (I knew the transparency settings were fine....) What's up with that, I wonder?
And two... well, if there's a soft size limit before things start getting wonky like that, does anyone know what that limit is? I still want to go back and spiff this set up with... geez, it seems like there's always a need for more armor and weapons, more skills and statuses, just more everything. Approximately how big can we get before the black squares come back, and we have to start deciding which icons to keep and which to toss to lighten the load? 😅
Thank you so much for any advice or help you can offer!
Recently we ran into the issue where in battles, both in troops battle testing and encounters in-game when running actual play tests, the actors and enemies alike all had small black squares over their... well, they were just above the enemies, and for the actors, they appeared in the upper-right corners of their respective portraits.
Searching around to try to solve this one ourselves before asking a question you all probably have heard a million times by now, we saw that it was a transparency issue related to the very first icon in the icon set--that it had to be *completely* transparent, and most people posting "why are there black squares in battle?" questions on various forums and such had mucked up the transparency settings in their IconSet.png image somehow.
So we went back to ours and... no, it was fine. We're using GIMP and we confirmed to the best of our ability that everything was still transparent, that all the transparency settings seemed fine. We opened the exported IconSet.png in Windows 11's built-in Photos app and everything looked fine and transparent there. Hell, we looked at the icons in RMMZ, in things like the States or Skills database entries where one can edit the icons for things and thus pull up the list when choosing which one to use, and it even looked fine and transparent there. This only happened when doing a battle test either through the Troops menu or in-game.
So, on a whim, we tried cutting down our IconSet.png file because the version we were using was admittedly... well, rather absurd. I wanted to stitch together all our favorite packs from various artists we've amassed, so we had an overall file that was something like 12,000+ icons, in an image that weighed in at 512 x 24,692. I know that is ridiculous, which is why I was able to think "maybe it just can't handle something that ridiculous" during all our troubleshooting--we hadn't seen any other solutions to this issue mentioned anywhere besides fixing the transparency, which was fine. ^^;
Anyway, sure enough, with a test version that was cropped down to something... a little more reasonable, sure enough, the issue went away. Our current project uses an IconSet.png file that's a little over 4000+ icons (the image weighs in at 512 x 8,320.) Problem solved, so hey, lesson learned, issue over, right?
Well... since that happened, I'm just kind of curious about two things. One, why would overloading the icon set cause that transparency-issue-like black square problem, specifically? We weren't running into crashes or slowdown or anything else you'd expect from a too-large file devouring all our RAM; were it not for the squares, I'd have thought everything was working perfectly. Furthermore, the issue was behaving as though the very first icon in the set (very upper-left corner of the image) was black instead of transparent, but we fixed it by cropping all the extra size from the bottom of the set; we didn't touch the first icon at all, but it just suddenly worked now that there's less stuff beneath it. (I knew the transparency settings were fine....) What's up with that, I wonder?
And two... well, if there's a soft size limit before things start getting wonky like that, does anyone know what that limit is? I still want to go back and spiff this set up with... geez, it seems like there's always a need for more armor and weapons, more skills and statuses, just more everything. Approximately how big can we get before the black squares come back, and we have to start deciding which icons to keep and which to toss to lighten the load? 😅
Thank you so much for any advice or help you can offer!