Some time ago I was able to successfully craft some 8bpp water tiles.
Now I have a new project where I need some water tiles, but the water is now in shades of pink. Global warming? I think not.
Some time ago I was using the Windows palette.
More recently I switched to DOS to get more greys.
Thinking this might be the problem I revisited the NewGRF Palettes page.
There the Windows water cycle co-ordinates were moved for the DOS palette.
So I used my eye dropper tool to get the number for one of the water cycle colours.
It returned the number of one of the pink tiles.
Upon further checking, it would seem that the DOS water colours have been moved to match the Windows co-ordinates.
Has there been a change to the palettes that I am not aware of?
If yes, is there a .pal file available?
Or, is this a bug that has been introduced into OpenTTD?
NewGRF Palette Issues - maybe?
Moderator: Graphics Moderators
NewGRF Palette Issues - maybe?
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: NewGRF Palette Issues - maybe?
The image below illustrates the problem.
The block on the left is a print screen of the DOS palette that I use. It is generated by my image editor: i.mage.
The middle image is a sprite I created to illustrate and test the problem.
The block on the right is from a full zoom screenshot of the in-game image generated by my sprite.
The block on the left is a print screen of the DOS palette that I use. It is generated by my image editor: i.mage.
The middle image is a sprite I created to illustrate and test the problem.
The block on the right is from a full zoom screenshot of the in-game image generated by my sprite.
- Attachments
-
- 8bpp DOS Palette Issue.png (2.81 KiB) Viewed 1411 times
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: NewGRF Palette Issues - maybe?
Is your newgrf using the wrong palette in-game? Does toggling the palette in the newgrf window fix it?
I'm reasonably sure the answer to your questions are no, there hasn't been a change, and no, there isn't a bug.
I'm reasonably sure the answer to your questions are no, there hasn't been a change, and no, there isn't a bug.
Re: NewGRF Palette Issues - maybe?
If toggling the palette ingame fixes it, then here is info about the code to add, so that a player doesnt have to change the palette each time him/herself.
https://newgrf-specs.tt-wiki.net/wiki/A ... PALS.22.29
https://newgrf-specs.tt-wiki.net/wiki/A ... PALS.22.29
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604
Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604
Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Re: NewGRF Palette Issues - maybe?
That's it. Worked like a charm. Thank you.
Action14! I should have known! Now I do! Thank you.Quast65 wrote: ↑11 Dec 2022 09:55 ... then here is info about the code to add, so that a player doesnt have to change the palette each time him/herself.
https://newgrf-specs.tt-wiki.net/wiki/A ... PALS.22.29
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: NewGRF Palette Issues - maybe?
And the culprit is ...
ME!
Look what I found ...
and the fix is ...
A change in career from Windows to DOS without reviewing my code for the obvious.
Cut-And-Paste has it's advantages but there are dangers too.
Lesson (re)learned.
ME!
Look what I found ...
Code: Select all
"B" "PALS" \w1 "W"
Code: Select all
"B" "PALS" \w1 "D"
Cut-And-Paste has it's advantages but there are dangers too.
Lesson (re)learned.
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Who is online
Users browsing this forum: No registered users and 12 guests