A couple of days ago, Swordman on discord reported distorted sprites while playing the Total Meltdown TC, I decided to investigate it out of curiosity.
After a while I realised this happens when the user is impatient and press a key to skip the loading sequence. Problem solved? There was one issue though
This happens only when the panel is unlocked, and it happens even when the level textures are allowed to fully load. Switching renderers or using restartvid after unlocking will change it to the correct texture. More puzzling, key panels on other levels load normally. Then it hit me. Most levels have a blue keycard reader, Hollywood Holocaust has only the red one. I then tried to find other levels like that, and indeed, Incubator has only a yellow keycard reader and exhibits the same behavior.
(I forgot to take a screenshot, but the unlocked keycard reader looks exactly the same as the locked one anyway)
Bonus: Playing with filtered textures bypasses the glitch. So if you're impatient you can still play Total Meltdown without loading screens as long as you're willing to play like a chicken.
Page 1 of 1
Glitches with palette swapped sprites using TM TC "possibly affecting other mods making extensive use of tilefromtexture"
#1 Posted 19 September 2023 - 12:57 PM
#2 Posted 19 September 2023 - 08:27 PM
I know there were some recent commits addressing texture corruption issues so it's worth using the latest snapshot.
#3 Posted 19 September 2023 - 10:27 PM
The TM mod uses a special tint flag on pals 5 and 9-25 where palswaps will always use the indexed version of a texture even if it is hightile. I implemented the flag in question specifically for it and I don't think anything else uses it. So it probably regressed by accident. Bisecting would be a big help.
#4 Posted 20 September 2023 - 03:07 AM
10154 is the first build on synthesis with the glitch. It appears to still be present in latest build (10457)
#5 Posted 20 September 2023 - 09:48 AM
Thanks for bisecting the issue. That is the same range as this report for Rednukem: https://github.com/n...lood/issues/756 I suspect they are related.
#7 Posted 14 October 2023 - 09:11 PM
I’ve seen this with my mod too. Using upscaled sprites sometimes causes this with textures or sprites that use spritepal commands or palette settings via the map editor. If u turn on the night vision and then turn it off the problem goes away and the texture is fine and it uses the palette that’s been assigned to it too. Maybe this info will help.
Share this topic:
Page 1 of 1