which is apparently not true because toyland uses them. But anyway thank you guys for clearing up some things for me.Eddi wrote:the 2 remaining signal types are reserved for future developments (e.g. advance signals)
OpenGFX - Graphics Base Set
Moderator: Graphics Moderators
Re: [8bpp] Graphics Replacement Project - OpenGFX
Oh yes I understand all that, I was just referring to
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: [8bpp] Graphics Replacement Project - OpenGFX
Eddi is right and you seem to fall for a (common) mis-understanding which is easy if one is not aquainted with how the internals work:Bus wrote:Oh yes I understand all that, I was just referring to
which is apparently not true because toyland uses them. But anyway thank you guys for clearing up some things for me.Eddi wrote:the 2 remaining signal types are reserved for future developments (e.g. advance signals)
Toyland uses alternative graphics for the usual signal types (as it also does use alternative graphics for a number of other things). That doesn't change the fact that there are - in all climates - two signals types still available. But they have as of now no meaning and are not yet supported. That is anywhere except in some prospective patches, like weak path reservations or alike.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: [8bpp] Graphics Replacement Project - OpenGFX
I have to admit that I don't really know much abut opengfx but where exactly are these toyland graphics stored? I certainly didn't see them in ogfxe_extra (except for those two slots which we're talking about) and ogfxt_toyland should only contain the original TTD graphics right? (Meaning no PB signals.)
Re: [8bpp] Graphics Replacement Project - OpenGFX
OpenGFX supports different signals in toyland, but currently the PBS signals are exactly the same as the ones in the other climates. Only the normal block signals have slightly different graphics in toyland. These particular block signals are in ogfxt_toyland. The pbs signals are in ogfxe_extra.
Re: [8bpp] Graphics Replacement Project - OpenGFX
BTW: signals are one of the most important missing things for next release....
(http://dev.openttdcoop.org/issues/280)
(http://dev.openttdcoop.org/issues/280)
Town Names: Portuguese Belarusian French Swiss · Temperate Lumber Mill
Still work in progress: OpenGFX or/and OpenSFX - Please help!
Re: [8bpp] Graphics Replacement Project - OpenGFX
Well that's what I'm talking about -- toyland DOES use different graphics for PB signals, the ones stored in the supposedly unused slots. (Only electric ones though.) Just start a new toyland game and build an electric PB signal. It will have a purple pole.
Re: [8bpp] Graphics Replacement Project - OpenGFX
What about toyland airports?
AroAI - A really feeble attempt at an AI
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: [8bpp] Graphics Replacement Project - OpenGFX
Good idea. I'll happily implement them as soon as I do have the sprites.Lord Aro wrote:What about toyland airports?
Hm... that *MIGHT* be a bug of the wrong palette being used.Bus wrote:Well that's what I'm talking about -- toyland DOES use different graphics for PB signals, the ones stored in the supposedly unused slots. (Only electric ones though.) Just start a new toyland game and build an electric PB signal. It will have a purple pole.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
Re: [8bpp] Graphics Replacement Project - OpenGFX
I had another look and it turns out that the poles are actually drawn purple: http://dev.openttdcoop.org/projects/ope ... ls_pbs.pcx
Regardless of pole colour, those signals have exactly the same functionality as their counterparts in the other climates. Difference in graphics and difference in signal slot are not necessarily the same thing.
Regardless of pole colour, those signals have exactly the same functionality as their counterparts in the other climates. Difference in graphics and difference in signal slot are not necessarily the same thing.
Re: [8bpp] Graphics Replacement Project - OpenGFX
I have noticed a small alignment glitch with the soccerfield.
See attachement: Notice the white line underneath it which is leftover pixels from the querry tool.
Tested with OpenTTD r20164 and OpenGFX r466.
See attachement: Notice the white line underneath it which is leftover pixels from the querry tool.
Tested with OpenTTD r20164 and OpenGFX r466.
- Attachments
-
- Unnamed, 1st Jan 2027.png (12.53 KiB) Viewed 2786 times
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
Re: [8bpp] Graphics Replacement Project - OpenGFX
Quite a shame, we didn't notice that yet, as this is partially in the last release already. I fixed it with r467, please review and if it still fails, feel free to reopen #1107.
Many thanks for this report.
Edit: nightly: http://bundles.openttdcoop.org/opengfx/ ... es/LATEST/
-Ammler
Many thanks for this report.
Edit: nightly: http://bundles.openttdcoop.org/opengfx/ ... es/LATEST/
-Ammler
Town Names: Portuguese Belarusian French Swiss · Temperate Lumber Mill
Still work in progress: OpenGFX or/and OpenSFX - Please help!
Re: [8bpp] Graphics Replacement Project - OpenGFX
Sorry for the delay. I was busy with RL.
#1107 will not need re-opening. Thank you for the quick fix.
We should be thanking YOU(and everybody involved) for maintaining and improving this massive set.
I found a few more. See attachment.
Notes:
-These sprites were taken from the scenario editor, year 1950.
-Not all "shops & offices" sprites are misaligned.
#1107 will not need re-opening. Thank you for the quick fix.
No problem. It is all about making my/your/our OpenTTD experience better.Ammler wrote: Many thanks for this report.
We should be thanking YOU(and everybody involved) for maintaining and improving this massive set.
I found a few more. See attachment.
Notes:
-These sprites were taken from the scenario editor, year 1950.
-Not all "shops & offices" sprites are misaligned.
- Attachments
-
- screenshot.png (11.9 KiB) Viewed 2660 times
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
Re: [8bpp] Graphics Replacement Project - OpenGFX
It would be very helpful, if you use the NewGRF Developer Tools and then the Sprite Aligner, with that tool, you could tell us the Sprite Number of the houses. You like to try?
Eventually, you can already tell us the current offsets and how those should be...
Greets and Thanks
Ammler
Eventually, you can already tell us the current offsets and how those should be...
Greets and Thanks
Ammler
Town Names: Portuguese Belarusian French Swiss · Temperate Lumber Mill
Still work in progress: OpenGFX or/and OpenSFX - Please help!
Re: [8bpp] Graphics Replacement Project - OpenGFX
Sprite Aligner ... thank you for reminding me.
Although wiki suggests to enable it through the console I prefer to enable it in the config file.
Please find attached corrected offsets.
I assume construction stages need to be corrected also. Do you need spritenumbers for those also?
Grey underlay tile is drawn correctly.
note:
Currently is r467
Although wiki suggests to enable it through the console I prefer to enable it in the config file.
Please find attached corrected offsets.
I assume construction stages need to be corrected also. Do you need spritenumbers for those also?
Grey underlay tile is drawn correctly.
note:
Currently is r467
- Attachments
-
- sprite1463.png (34.85 KiB) Viewed 2609 times
-
- sprite1466.png (39.74 KiB) Viewed 2609 times
-
- sprite1469.png (43.93 KiB) Viewed 2609 times
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
Re: [8bpp] Graphics Replacement Project - OpenGFX
Yeah, those houses use sprite width 66 instead 64, and that needs other offset (32 instead 31), with using grfcodec -c, this all get worse. You have quite some other numbers in your SpriteAligner screens than I have.
Please check again today nightly, I have changed all offsets to 32 with r468, what you think?
Greets
Ammler
Please check again today nightly, I have changed all offsets to 32 with r468, what you think?
Greets
Ammler
Town Names: Portuguese Belarusian French Swiss · Temperate Lumber Mill
Still work in progress: OpenGFX or/and OpenSFX - Please help!
Re: [8bpp] Graphics Replacement Project - OpenGFX
If you mean sprite numbers, please ignore.Ammler wrote: You have quite some other numbers in your SpriteAligner screens than I have.
It is what happens if you have the querry or bomb tool enabled while selecting a sprite or when clicking too high on a sprite so the tile behind is selected also. (All sprites under the mouse pointer are selected.)
Computer says no ... sorry.Please check again today nightly, I have changed all offsets to 32 with r468, what you think?
(Although there is some improvement in the right direction compared to r467.)
I have made a new fresh install. Windows binary, openttd.cfg near the .exe and only OpenGFXr 468 in the data folder to make sure no other sprites can influence.
Please see attachments. I hope it is more clear now ...
Regards
ChillCore
- Attachments
-
- screenshot.png (36.09 KiB) Viewed 2513 times
-
- screenshot#1.png (30.74 KiB) Viewed 2513 times
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
Re: [8bpp] Graphics Replacement Project - OpenGFX
Problem is spotted, those houses use a "non-default" bounding box:
Greets
Ammler
So now the question, how to find those and is there any formula for the offsets?Greets
Ammler
Town Names: Portuguese Belarusian French Swiss · Temperate Lumber Mill
Still work in progress: OpenGFX or/and OpenSFX - Please help!
Re: [8bpp] Graphics Replacement Project - OpenGFX
You mean these evil boundingboxes?Ammler wrote: evil_boundingbox.png
Now the Questions with capital Q are:
How badly do we want to keep backward compatibility with the original sprites?
Is OpenTTD to be tuned to the graphics or are the graphics to be tuned to the sizes they were in TTD?
ps:
I have not adjusted the boundingboxes for the other sprites that were corrected in r468 nor have I checked them yet ...
Und yes, the corresponding original sprites will move a bit with the patch applied but they do not leave the tile.
- Attachments
-
- screenshot.png (13.96 KiB) Viewed 2447 times
-
- BB_sprite_1461-1469_r20198.diff
- (8.34 KiB) Downloaded 79 times
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.
Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
Re: [8bpp] Graphics Replacement Project - OpenGFX
wait, wait
I didn't mean, you should change the OpenTTD source, I was just wondering, if it is possible to see in the source, which houses do have a non-standard bounding box, so when we adjust those houses, we don't forget one.
It isn't worst, if we can't use templates for some houses. We just should be sure, which houses that are. Your diff at least helps me searching in the right place...
Greets
Ammler
I didn't mean, you should change the OpenTTD source, I was just wondering, if it is possible to see in the source, which houses do have a non-standard bounding box, so when we adjust those houses, we don't forget one.
It isn't worst, if we can't use templates for some houses. We just should be sure, which houses that are. Your diff at least helps me searching in the right place...
Greets
Ammler
Town Names: Portuguese Belarusian French Swiss · Temperate Lumber Mill
Still work in progress: OpenGFX or/and OpenSFX - Please help!
-
- Tycoon
- Posts: 1828
- Joined: 10 Jul 2006 00:43
- Location: Spain
Re: [8bpp] Graphics Replacement Project - OpenGFX
OpenTTD should accept custom bounding boxes for default sprites.
Sorry if my english is too poor, I want learn it, but it isn't too easy.
- [list][*]Why use PNG screenshots in 8 bpp games.
[*]Caravan site New Industry. · Spain set. · Some spanish trains for locomotion[*]Favourites:GRVTS · ECS · FIRS
Who is online
Users browsing this forum: No registered users and 89 guests