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

Post Reply
User avatar
GeekToo
Tycoon
Tycoon
Posts: 961
Joined: 03 Jun 2007 22:22

Re: [32bpp] Extra zoom levels ! ( update: version 9 )

Post by GeekToo »

To keep information a bit organized, I created a page on the wiki: http://wiki.openttd.org/index.php/32bpp ... oom_Levels
Feel free to improve it, esp. the part about downloadable graphics.
User avatar
DeletedUser5
Transport Coordinator
Transport Coordinator
Posts: 277
Joined: 07 Oct 2007 15:10

Re: [32bpp] Extra zoom levels ! ( update: version 9 )

Post by DeletedUser5 »

I'll update part about downloadable graphics.
UKG
Engineer
Engineer
Posts: 41
Joined: 16 Feb 2008 17:57

Re: [32bpp] Extra zoom levels ! ( update: version 9 )

Post by UKG »

can someone help a noob? im having trouble getting these extra zoom levels to work, i downloaded the tiff and i cant open it (im running openttd on mac osx) so i downloaded the binaries but im not sure what to do with them? i tried putting all the files into my openttd directory but that didnt seem to work, im confused haha :S any help will be much appreciated thankyou :)
User avatar
GeekToo
Tycoon
Tycoon
Posts: 961
Joined: 03 Jun 2007 22:22

Re: [32bpp] Extra zoom levels ! ( update: version 9 )

Post by GeekToo »

I don't have a Mac, but the diff file is an svn diff: you need to have an svn client and be able compile the sources yourself. Couldn't find much about it for Mac's on the wiki

The binaries are Windows binaries, so if you want to use them, you'll need a Windows emulator or dual boot (don't know if that exists on a Mac, probably another Mac user can tell you more)
UKG
Engineer
Engineer
Posts: 41
Joined: 16 Feb 2008 17:57

Re: [32bpp] Extra zoom levels ! ( update: version 9 )

Post by UKG »

ahh okies thankyou :) i love the 32bpp graphics ive put on, cant wait to zoon right in on them :D
User avatar
wil86
Engineer
Engineer
Posts: 27
Joined: 27 Feb 2008 17:26
Location: Rostock, Germany

Re: [32bpp] Extra zoom levels ! ( update: version 9 )

Post by wil86 »

nice project, guys ... i'm really looking forward to see the extra zoom levels in the official release :D

i want to support you with further bug reports and testing, but don't get it running correctly yet.

- i installed the latest windows binaries of ExtraZoomLevels (v9)
- configured the optimized blender and max_sprite_size, zoomlevels are working correctly!
- Problem: the program seems to ignore the 32bpp grafics i put in the data directory: i tried to put the tar files directly into the data-directory. becuase this wasn't working i tried to extract the PNG files (e.g. data/sprites/trg....) but that, too, was not working. the program simply doesn't replace the old 8bpp grafics. what a i doing wrong?
LordAzamath
Tycoon
Tycoon
Posts: 1656
Joined: 08 Jun 2007 08:00

Re: [32bpp] Extra zoom levels ! ( update: version 9 )

Post by LordAzamath »

what is optimized blender?

And is it 32bpp-optimized or 8bpp optimized?
PS: And I stopped the propaganda to support Dave Worley since he got a nice new red hat now.[/color]
I know I have a BBCode error in my signature but I really cba to fix it.
User avatar
wil86
Engineer
Engineer
Posts: 27
Joined: 27 Feb 2008 17:26
Location: Rostock, Germany

Re: [32bpp] Extra zoom levels ! ( update: version 9 )

Post by wil86 »

it is

blitter = 32bpp-optimized
User avatar
GeekToo
Tycoon
Tycoon
Posts: 961
Joined: 03 Jun 2007 22:22

Re: [32bpp] Extra zoom levels ! ( update: version 9 )

Post by GeekToo »

If you can zoom in to extra levels, it looks like the binary and blitter is OK.

Then the problem could be with the tar: which tar did you use?
Maybe try another one, mentioned in the wiki ( link a few posts above). Most tars are for temperate, I assume you used that climate?

If that does not work, try to start openttd from the command line: openttd -b 32bpp-optimized -d misc=4
Then it will give some extra debug information. Maybe then you can find the problem.
User avatar
wil86
Engineer
Engineer
Posts: 27
Joined: 27 Feb 2008 17:26
Location: Rostock, Germany

Re: [32bpp] Extra zoom levels ! ( update: version 9 )

Post by wil86 »

thanks a lot for your help. perhaps together we get it running :)

i am using the Train.tar (climate-independent) from the wiki. According to the log, ottd seems to find and read the content of the package, but still nothing is replaced :(

please take a look at the debug.txt i appended to the post
Attachments
screenshot
screenshot
problem.gif (243.56 KiB) Viewed 7263 times
debug.txt
(11.43 KiB) Downloaded 148 times
User avatar
GeekToo
Tycoon
Tycoon
Posts: 961
Joined: 03 Jun 2007 22:22

Re: [32bpp] Extra zoom levels ! ( update: version 9 )

Post by GeekToo »

Still Ok, please retry with:

openttd -b 32bpp-optimized -d misc=6

It should give a: found file in tar message with some offsets for every sprite
User avatar
wil86
Engineer
Engineer
Posts: 27
Joined: 27 Feb 2008 17:26
Location: Rostock, Germany

Re: [32bpp] Extra zoom levels ! ( update: version 9 )

Post by wil86 »

seems to find all files in the tar file - but they don't override the 8-bit ones :(

see debug.log
Attachments
debug6.txt
(22.97 KiB) Downloaded 144 times
User avatar
GeekToo
Tycoon
Tycoon
Posts: 961
Joined: 03 Jun 2007 22:22

Re: [32bpp] Extra zoom levels ! ( update: version 9 )

Post by GeekToo »

Very nice work Maquinista and Wacki ( judging from the screenshot, I'll try the tar tomorrow). I think it's good enough to add them to the extra zoom download page: http://wiki.openttd.org/index.php/32bpp ... oom_Levels

Wil86, interesting problem you've got there (another way of saying that I have got no idea what your problem is :oops: , that's why it's fascinating).
Some more ideas:
-disable all newgrfs if present
-rename your sprites directory to spritesbak or something
-start a new game (so no savegames)
-remove all png's and tars from all search paths in the debug log, except the one in the data directory where you want it
-check the access rights of the pngs and tars

If that still does not work, I'll have to create a special debug version for you as I've run out of debug options. If you're interested to test with that, please PM me (hope you're not in a hurry as I don't know how much time I have this weekend, but I can learn from your problem to help others).
User avatar
wil86
Engineer
Engineer
Posts: 27
Joined: 27 Feb 2008 17:26
Location: Rostock, Germany

Re: [32bpp] Extra zoom levels ! ( update: version 9 )

Post by wil86 »

did someone already notice, that the white rectangular box in the map has a wrong position when zoomed in? nevertheless its size is correct i think.
Attachments
map.gif
map.gif (299.86 KiB) Viewed 936 times
User avatar
GeekToo
Tycoon
Tycoon
Posts: 961
Joined: 03 Jun 2007 22:22

Re: [32bpp] Extra zoom levels ! ( update: version 9 )

Post by GeekToo »

Well, I did, some time ago, that's why I did put it in the known bugs section of the first post :) It is not so hard to solve I think, and it will be fixed in one of the next updates. Thanks for the feedback, however.
User avatar
SupSuper
Engineer
Engineer
Posts: 26
Joined: 13 Apr 2003 19:18
Location: Portugal
Contact:

Re: [32bpp] Extra zoom levels ! v9

Post by SupSuper »

I'm not sure if it's a known issue or not, but the New Face window is rather garbled. The sprites show up at twice their size, occasionally misplaced and it doesn't swap them properly with 32bpp sprites when available. (for comparison, they show up fine on the Company window)
Water train!
User avatar
Ben_Robbins_
Tycoon
Tycoon
Posts: 1234
Joined: 20 Nov 2005 01:56
Location: Abu Dhabi, UAE

Re: [32bpp] Extra zoom levels ! v9

Post by Ben_Robbins_ »

Twice the size isn't an issue!. But for the other things you list, have you got any examples (images?). They may be graphically faults, and in that case it's my fault.
Ben
User avatar
SupSuper
Engineer
Engineer
Posts: 26
Joined: 13 Apr 2003 19:18
Location: Portugal
Contact:

Re: [32bpp] Extra zoom levels ! v9

Post by SupSuper »

With 16bpp sprites:
Image

With 32bpp sprites:
Image

Plastic surgery gone wrong? :P
Water train!
LordAzamath
Tycoon
Tycoon
Posts: 1656
Joined: 08 Jun 2007 08:00

Re: [32bpp] Extra zoom levels ! v9

Post by LordAzamath »

16bpp?
PS: And I stopped the propaganda to support Dave Worley since he got a nice new red hat now.[/color]
I know I have a BBCode error in my signature but I really cba to fix it.
User avatar
GeekToo
Tycoon
Tycoon
Posts: 961
Joined: 03 Jun 2007 22:22

Re: [32bpp] Extra zoom levels ! v9

Post by GeekToo »

You're sure you have got all the 32bpp sprites? It looks like you're missing some nnn_z1.png files, and all the nnn_z2 files are present.
Please do mention what tar or pngs you have installed.

To be sure, I downloaded the faces from the wiki again ( http://wiki.openttd.org/index.php/32bpp ... ra_zoom.29 ) and put the tar in the data directory, they did look like this:
Attachments
Predinghead Transport, 15th Nov 1980.png
Predinghead Transport, 15th Nov 1980.png (212.04 KiB) Viewed 5491 times
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 21 guests