31
Files Comments / Re: File #2584, Breaking Bad
« on: September 04, 2022, 01:28 PM »
This is a strange one. I can't replicate the crash myself but I converted the terrain icon to BMP to check it out:
Dimensions are fine (64x64), but I noticed a couple of things. It uses 16 colours rather than 17 (with first colour as black for transparency). At first, I wouldn't think this would be a problem.
But then I noticed the positioning of the image within the orange border (as displayed in the land generator screen) was different from the source BMP; it's like the game was centring it perhaps because of all of the transparency in the icon image. I'd not seen this before.
So then I added an extra colour to the palette (now 17 colours). This extra colour was not used in the image. I then tested it and bizarrely the game now doesn't change the positioning of the icon image. I then removed the extra colour, taking it back to 16 colours just to be sure something else wasn't happening, and the game reverted to changing the positioning again.
So... long story short, having an icon that doesn't have a 17 colour palette makes the game handle/display the image differently. Best to stick to 17 colours.
I've attached the new text.img icon image with 17 colours. Give it a test and see if it fixes it for those who are affected.
Dimensions are fine (64x64), but I noticed a couple of things. It uses 16 colours rather than 17 (with first colour as black for transparency). At first, I wouldn't think this would be a problem.
But then I noticed the positioning of the image within the orange border (as displayed in the land generator screen) was different from the source BMP; it's like the game was centring it perhaps because of all of the transparency in the icon image. I'd not seen this before.
So then I added an extra colour to the palette (now 17 colours). This extra colour was not used in the image. I then tested it and bizarrely the game now doesn't change the positioning of the icon image. I then removed the extra colour, taking it back to 16 colours just to be sure something else wasn't happening, and the game reverted to changing the positioning again.
So... long story short, having an icon that doesn't have a 17 colour palette makes the game handle/display the image differently. Best to stick to 17 colours.
I've attached the new text.img icon image with 17 colours. Give it a test and see if it fixes it for those who are affected.