32bit Graphics Extra Zoom Patch

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13235
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Re: [32bpp] Extra zoom levels, experimental new CC algorithm

Post by Hyronymus »

So for all e care I can just make "magic pink" 8bpp images. But do they need to be of the correct 32bpp image dimensions?
User avatar
GeekToo
Tycoon
Tycoon
Posts: 961
Joined: 03 Jun 2007 22:22

Re: [32bpp] Extra zoom levels, experimental new CC algorithm

Post by GeekToo »

No, not necessarily. But the 32bpp sprites have to be within the bounding box (defined in code, and can be shortened by newgrf) of the vehicle. Press control+B ingame, and they will be shown.
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13235
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Re: [32bpp] Extra zoom levels, experimental new CC algorithm

Post by Hyronymus »

GeekToo wrote:No, not necessarily. But the 32bpp sprites have to be within the bounding box (defined in code, and can be shortened by newgrf) of the vehicle. Press control+B ingame, and they will be shown.
OK, that's good then if you can do with 1*1px fake 8bpp graphics. Saves memory usage :P.

But is there ever going to be a way where you don't need fake 8bpp graphics?
User avatar
neob
Chief Executive
Chief Executive
Posts: 687
Joined: 29 Dec 2009 02:56

Re: [32bpp] Extra zoom levels, experimental new CC algorithm

Post by neob »

maquinista wrote:8 and 32 bpp are different style graphics. This means that 32 bpp doesn't have better quality than 32 bpp, It is a different look.
from what i understand 32bpp use wider range of colors and this apparent even on normal zoom(everything is sharper) but much more than that on full zoom, so better quality or different looks or whatever the final result of 8bpp compared to 32Bpp fullzoom is very different.
maquinista wrote:About the GFR+TAR files: TAR files replaces the 8 bpp sprites. If the TAR file and the GRF file are different (for example Spain set 1.27 in GRF and 1.28 in TAR file), You will get wrong graphics, because the sprite number can be different in the GRF file.
of course the 32Bpp sprite and the 8Bpp he replaces needs to have the same name.


GeekToo wrote:No, not necessarily. But the 32bpp sprites have to be within the bounding box (defined in code, and can be shortened by newgrf) of the vehicle. Press control+B ingame, and they will be shown.
does one of the wiki articles describe this? like:
http://wiki.openttd.org/How_to_Create_3 ... Extra_Zoom
http://wiki.openttd.org/Category:32bpp_ ... _resources
anything here?
Image
User avatar
GeekToo
Tycoon
Tycoon
Posts: 961
Joined: 03 Jun 2007 22:22

Re: [32bpp] Extra zoom levels, experimental new CC algorithm

Post by GeekToo »

Yes, one of them does
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13235
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Re: [32bpp] Extra zoom levels, experimental new CC algorithm

Post by Hyronymus »

GeekToo wrote:Yes, one of them does
Strict answer :P. Care to elaborate which of the 2 does, for those who still aren't with us? I'm a believer now btw ;).
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: [32bpp] Extra zoom levels, experimental new CC algorithm

Post by FooBar »

Hyronymus wrote:But is there ever going to be a way where you don't need fake 8bpp graphics?
There is, just downsample the 32bpp graphics to 8bpp and use those instead of the fake ones :P
User avatar
GeekToo
Tycoon
Tycoon
Posts: 961
Joined: 03 Jun 2007 22:22

Re: [32bpp] Extra zoom levels, experimental new CC algorithm

Post by GeekToo »

Hyronymus wrote:
GeekToo wrote:Yes, one of them does
Strict answer :P. Care to elaborate which of the 2 does, for those who still aren't with us? I'm a believer now btw ;).
http://wiki.openttd.org/How_to_Create_3 ... Extra_Zoom, check step 2
ArmEagle
Traffic Manager
Traffic Manager
Posts: 151
Joined: 01 Jan 2007 14:28

Re: [32bpp] Extra zoom levels, experimental new CC algorithm

Post by ArmEagle »

Hyronymus I actually used your dutch catenary grf for some time to be able to show 32bpp catenary in the zoom-patched 32bpp client. I just couldn't figure out what sprite IDs were used for the catenary by OpenTTD, but it was easy to grab that from your set. That is, until someone told me and it was actually quite obvious (I just did never look at the openttd grf, or whatever).
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: [32bpp] Extra zoom levels, experimental new CC algorithm

Post by FooBar »

Just decode the 'extra' grf from OpenGFX or openttd(d|w).grf from default OpenTTD. Then the numbers from those will become just as clear as well. ;)
ArmEagle
Traffic Manager
Traffic Manager
Posts: 151
Joined: 01 Jan 2007 14:28

Re: [32bpp] Extra zoom levels, experimental new CC algorithm

Post by ArmEagle »

FooBar wrote:Just decode the 'extra' grf from OpenGFX or openttd(d|w).grf from default OpenTTD. Then the numbers from those will become just as clear as well. ;)
Yes, somehow I never figured that out before. Did ask around but noone told me back then.

Anyway, enough off-topic. But since I'm posting now anyway: keep up the good work! :)
User avatar
GeekToo
Tycoon
Tycoon
Posts: 961
Joined: 03 Jun 2007 22:22

Re: [32bpp] Extra zoom levels, experimental new CC algorithm

Post by GeekToo »

new diff, synced with trunk cause petern did fix an issue with loading tars icw tarred ogfx.tars.
Attachments
32bpp_18891_v13.diff
(79.36 KiB) Downloaded 220 times
User avatar
neob
Chief Executive
Chief Executive
Posts: 687
Joined: 29 Dec 2009 02:56

Re: [32bpp] Extra zoom levels, experimental new CC algorithm

Post by neob »

OpenTTD 32Bpp.r18891.x86.7z
(2.8 MiB) Downloaded 458 times
OpenTTD 32Bpp.r18891.x64.7z
(3.2 MiB) Downloaded 412 times
32bpp_18891_v13.diff
(79.36 KiB) Downloaded 434 times
Image
TheJaguar
Engineer
Engineer
Posts: 11
Joined: 12 Dec 2009 22:39

Re: [32bpp] Extra zoom levels, experimental new CC algorithm

Post by TheJaguar »

neob wrote:
OpenTTD 32Bpp.r18891.x86.7z
OpenTTD 32Bpp.r18891.x64.7z
32bpp_18891_v13.diff

Thank you for your upload, but I can't extract the files from the archive and I've tried WinRAR & 7-Zip Manager without any success. It gives me an error that looks like this "Unsupported compression method for 'OpenTTD\<name of the file>' "

Can you please reupload them in a format that we can use those builds? I think I'm not the only one who experienced these kinds of problems, but I don't know for sure of course. If it's something my fault, please tell what shall I do to uncompressed them. ps: I'm using Windows 7 64-bit, if it helps.

Thank you
User avatar
Thief^
Route Supervisor
Route Supervisor
Posts: 469
Joined: 10 Oct 2004 00:11

Re: [32bpp] Extra zoom levels, experimental new CC algorithm

Post by Thief^ »

Are you talking about the .diff? It's not an archive. See the sticky at the top of the openttd dev forum, or ignore it and just use the provided executable from the same post...
Melt with the Shadows,
Embrace your destiny...
User avatar
neob
Chief Executive
Chief Executive
Posts: 687
Joined: 29 Dec 2009 02:56

Re: [32bpp] Extra zoom levels, experimental new CC algorithm

Post by neob »

TheJaguar wrote:Can you please reupload them in a format that we can use those builds? I think I'm not the only one who experienced these kinds of problems, but I don't know for sure of course. If it's something my fault, please tell what shall I do to uncompressed them. ps: I'm using Windows 7 64-bit, if it helps.Thank you
i checked this and you right Winrar cannot handle this but 7z should (make sure you have the latest version, i used 7.10)
i would supplied it with self extractor but the forum doesn't allow exe files, anyway i repacked it with winrar (its take a bit more space now)
Attachments
OpenTTD 32Bpp.r18891.x64.rar
(3.71 MiB) Downloaded 256 times
OpenTTD 32Bpp.r18891.x86.rar
(3.26 MiB) Downloaded 947 times
Image
User avatar
Thief^
Route Supervisor
Route Supervisor
Posts: 469
Joined: 10 Oct 2004 00:11

Re: [32bpp] Extra zoom levels, experimental new CC algorithm

Post by Thief^ »

neob wrote:i checked this and you right Winrar cannot handle this but 7z should (make sure you have the latest version, i used 7.10)
i would supplied it with self extractor but the forum doesn't allow exe files, anyway i repacked it with winrar (its take a bit more space now)
That's strange, my winrar can open those 7z files fine...
Melt with the Shadows,
Embrace your destiny...
User avatar
neob
Chief Executive
Chief Executive
Posts: 687
Joined: 29 Dec 2009 02:56

Re: [32bpp] Extra zoom levels, experimental new CC algorithm

Post by neob »

i have winrar 3.9 beta 4 version for x64 and its gives an 'un known compression method' error.
i updated to winrar 3.92 beta 1 and now its works (probably support for LMZA2 compression was only introduced in recent version)

btw i just hate this BS that i think google started with never ending beta's...
Image
TheJaguar
Engineer
Engineer
Posts: 11
Joined: 12 Dec 2009 22:39

Re: [32bpp] Extra zoom levels, experimental new CC algorithm

Post by TheJaguar »

neob wrote:
TheJaguar wrote:Can you please reupload them in a format that we can use those builds? I think I'm not the only one who experienced these kinds of problems, but I don't know for sure of course. If it's something my fault, please tell what shall I do to uncompressed them. ps: I'm using Windows 7 64-bit, if it helps.Thank you
i checked this and you right Winrar cannot handle this but 7z should (make sure you have the latest version, i used 7.10)
i would supplied it with self extractor but the forum doesn't allow exe files, anyway i repacked it with winrar (its take a bit more space now)

Thank you, it works now,

But I have another question for you as far as I noticed for the past 2 patched builds, including 18891, why at the game menu doesn't say the version number followed by the M word or something like that as with the build 17832? Now it says "OpenTTDnorev000"

Thanks again for the repack version
zerpa
Engineer
Engineer
Posts: 1
Joined: 24 Jan 2010 12:56

Re: [32bpp] Extra zoom levels, experimental new CC algorithm

Post by zerpa »

neob wrote:i checked this and you right Winrar cannot handle this but 7z should (make sure you have the latest version, i used 7.10)
i would supplied it with self extractor but the forum doesn't allow exe files, anyway i repacked it with winrar (its take a bit more space now)
I think you mean version 9.10, which is a beta release. The newest official version is version 4.65, and it can not extract those .7z files. It works with the 9.10 beta though.
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Amazon [Bot], Google [Bot] and 5 guests