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

maquinista
Tycoon
Tycoon
Posts: 1829
Joined: 10 Jul 2006 00:43
Location: Spain

Re: [32bpp] Extra zoom levels, Updated V9 r16366

Post by maquinista »

Thanks for the patch and the compiled executable.
Sorry if my english is too poor, I want learn it, but it isn't too easy.[/list][/size]
Antonio1984
Transport Coordinator
Transport Coordinator
Posts: 282
Joined: 02 Apr 2009 21:57

Re: [32bpp] Extra zoom levels, Updated V9 r16366

Post by Antonio1984 »

Hi guys...Are there a compiled version for use the extra zoom level on vista 64 bit??thanks...
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: [32bpp] Extra zoom levels, Updated V9 r16366

Post by Yexo »

Antonio1984 wrote:Hi guys...Are there a compiled version for use the extra zoom level on vista 64 bit??thanks...
Try using the 32bit windows binaries.
Antonio1984
Transport Coordinator
Transport Coordinator
Posts: 282
Joined: 02 Apr 2009 21:57

Re: [32bpp] Extra zoom levels, Updated V9 r16366

Post by Antonio1984 »

I'm sorry but it doesn't work...
Last edited by Antonio1984 on 12 Jul 2009 11:58, edited 1 time in total.
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4765
Joined: 09 Sep 2007 05:03
Location: home

Re: [32bpp] Extra zoom levels, Updated V9 r16366

Post by Alberth »

My telepathic powers are not sufficient to deduce a solution from that problem description; could you be a bit more specific please?

Edit: Fixed a typo
Antonio1984
Transport Coordinator
Transport Coordinator
Posts: 282
Joined: 02 Apr 2009 21:57

Re: [32bpp] Extra zoom levels, Updated V9 r16366

Post by Antonio1984 »

:D you're right..I copy the needed file into the data dir, but when I try to launch the openttd.exe an error occurs (out of sprite memory and next Microsoft Visual C++ Runtime library Assertion Failed...) and the program terminate..
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: [32bpp] Extra zoom levels, Updated V9 r16366

Post by Yexo »

Please follow all instructions. From the first post (emphasize mine):
GeekToo wrote:Installation instruction
------------------------
up/downgrade trunkversion to r16366

apply the patch and recompile ( maybe someone can create a windows binary(testers, not the one I sent you, some changes were made afterwards), cause I want to spend my time on improving the patch, and not on porting to windows ( I develop on Gentoo Linux ))
put the tar file in the data directory (it's just an example tar, with the new grass)

modify openttd.cfg:
-set sprite_cache_size to 64 to prevent out of sprite memory errors


Done. Start openttd with the 32bpp-optimized blitter. It only works for this blitter. This can also be set in the cfg file, if you want it to be default.
BeeJAy
Engineer
Engineer
Posts: 14
Joined: 21 Jun 2004 09:33
Location: Western Australia
Contact:

Re: [32bpp] Extra zoom levels, Updated V9 r16366

Post by BeeJAy »

Hi guys, sorry to bring up an old topic but I had some of the issues with the patch that others experienced so I decided to sync to trunk (r17608) and attempt to fix some, I'm not exactly a competent C++ programmer so this is probably a once-off, if there are any bugs caused by my fixes then let me know but I have done some extensive testing with it so it should be fine.

Changes I have made:

Sync to trunk: 17608
- This actually breaks some of the 32bpp sprites due to changes in the openttd grf files since 16366. It mainly affects the trucks tars made in the last few pages of the 32bpp sprites thread, I have updated the filenames of the sprites that have the issue on my pc but forgot to note down which ones I changed/need changing unfortunately

Fixed: Signs not showing in any zoom level
- This was as simple as porting the station sign changes over to the signs section

Workaround: Click town/station/waypoint/sign broken for zoom levels other than normal
- In this case, they are still not aligned correctly but this way you can at least click on them and get the boxes to show up, so basically I broke the alignment of the click areas to be as mis-aligned as the text

Fixed: Flickering/overlapping of town signs/signs
- I don't remember if it existed in older revisions but it popped up after I synced to trunk anyway, it seems that it was fixed with a few lines of code that were changed for the station signs but not the rest so I ported it over to them, seems to be solid and I haven't noticed any flickering over overlapping on any of the signs

Here's the diff:
32bpp_17608_v9_fixes.diff
(101.51 KiB) Downloaded 125 times
Here's the Binaries:
Windows 32-bit
Windows 64-bit
Last edited by BeeJAy on 24 Sep 2009 18:33, edited 1 time in total.
maquinista
Tycoon
Tycoon
Posts: 1829
Joined: 10 Jul 2006 00:43
Location: Spain

Re: [32bpp] Extra zoom levels, Updated V9 r16366

Post by maquinista »

Thanks!

But It doesn't work in my computer. It says "Error. Failed to find a sounds set. Please acquire a sounds set for OpenTTD.".

I have the file "sample.cat" in my data folder, and the previous version of OpenTTD32extra zoom levels worked well.

How I can fix it?
Sorry if my english is too poor, I want learn it, but it isn't too easy.[/list][/size]
Roujin
Tycoon
Tycoon
Posts: 1884
Joined: 08 Apr 2007 04:07

Re: [32bpp] Extra zoom levels, Updated V9 r16366

Post by Roujin »

Wild guess: BeeJAy did not include the relatively new sound set definition files (*.obs), that should be included with a binary.
If that is true, download a recent nightly, locate the *.obs files in its /data directory, and copy it to the data directory of your downloaded extra zoom levels binary.
* @Belugas wonders what is worst... a mom or a wife...
<Lakie> Well, they do the same thing but the code is different.

______________
My patches
check my wiki page (sticky button) for a complete list

ImageImage
ImageImageImageImageImageImageImage
User avatar
Lord Aro
Tycoon
Tycoon
Posts: 2369
Joined: 25 Jun 2009 16:42
Location: Location, Location
Contact:

Re: [32bpp] Extra zoom levels, Updated V9 r16366

Post by Lord Aro »

cool! someone needs to update thitle of the thread :roll:
next fix required:get all the company colours to work

(yes maquinista, i really am slightly annoyed be that :D )

question: how do i make a url go to a specific post?
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
User avatar
Gremnon
Tycoon
Tycoon
Posts: 1517
Joined: 16 Sep 2005 12:23
Skype: the_gremnon
Location: /home
Contact:

Re: [32bpp] Extra zoom levels, Updated V9 r16366

Post by Gremnon »

Lord Aro wrote:question: how do i make a url go to a specific post?
Clicky on the little page in the top right of the post you want.
(Or right clicky if you want to just copy the link)
BeeJAy
Engineer
Engineer
Posts: 14
Joined: 21 Jun 2004 09:33
Location: Western Australia
Contact:

Re: [32bpp] Extra zoom levels, Updated V9 r16366

Post by BeeJAy »

I can't seem to reproduce the sample.cat error on any pc I have, it's really confusing me, all the obs files are in the zip and they are all from the trunk data folder, though it could be a language settings issue or perhaps I created a zip file that can't be extracted properly in some programs.

There have been many changes to the way sample.cat is detected in the 17xxx revisions, I have reverted one of the most recent changes that isn't consistent with the other changes made and posted a new exe file below, copy it over and see if it works.

Apart from that there is no more changes to the way the sound system works in any way that weren't already in the previous extra zoom patches and that change doesn't affect the way that sample.cat is detected anyway.

Download here: Not needed, file on previous page works

If anyone is able to build this using the diff file for me it would be appreciated, just in case there is something wrong with my build setup that's causing this.

PS: A simpler test could be for anyone getting the error to download the latest nightly (it's a newer revision but not many changes have been made) and see if that has the error.
Last edited by BeeJAy on 23 Sep 2009 13:55, edited 1 time in total.
User avatar
Lord Aro
Tycoon
Tycoon
Posts: 2369
Joined: 25 Jun 2009 16:42
Location: Location, Location
Contact:

Re: [32bpp] Extra zoom levels, Updated V9 r16366

Post by Lord Aro »

Gremnon wrote:
Lord Aro wrote:question: how do i make a url go to a specific post?
Clicky on the little page in the top right of the post you want.
(Or right clicky if you want to just copy the link)
thanks! :mrgreen:
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
maquinista
Tycoon
Tycoon
Posts: 1829
Joined: 10 Jul 2006 00:43
Location: Spain

Re: [32bpp] Extra zoom levels, Updated V9 r16366

Post by maquinista »

Roujin wrote:Wild guess: BeeJAy did not include the relatively new sound set definition files (*.obs), that should be included with a binary.
If that is true, download a recent nightly, locate the *.obs files in its /data directory, and copy it to the data directory of your downloaded extra zoom levels binary.
That's the error, I didn't copy these OBS files, because I didn't know that They are necessary. Sometimes there are not necessary compiler files in binaris, and I don't copy them. I'm sorry.

I have copied it, and It works well.
Sorry if my english is too poor, I want learn it, but it isn't too easy.[/list][/size]
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: [32bpp] Extra zoom levels, Updated V9 r16366

Post by Yexo »

Just use "make bundle" or "make bundle_zip" for create packages, that way you can be sure all necessary files are in and no unnecessary ones are in either.
BeeJAy
Engineer
Engineer
Posts: 14
Joined: 21 Jun 2004 09:33
Location: Western Australia
Contact:

Re: [32bpp] Extra zoom levels, Updated V9 r16366

Post by BeeJAy »

Yexo wrote:Just use "make bundle" or "make bundle_zip" for create packages, that way you can be sure all necessary files are in and no unnecessary ones are in either.
Thanks for the tip, will make things much easier.
gugusilva
Engineer
Engineer
Posts: 5
Joined: 01 Apr 2009 23:26

Re: [32bpp] Extra zoom levels, Updated V9 r16366

Post by gugusilva »

please help me :cry:
Attachments
imagem.jpg
(86.8 KiB) Downloaded 43 times
maquinista
Tycoon
Tycoon
Posts: 1829
Joined: 10 Jul 2006 00:43
Location: Spain

Re: [32bpp] Extra zoom levels, Updated V9 r16366

Post by maquinista »

gugusilva wrote:please help me :cry:
How It happened?
Was It while you was playing? Or when You started the application?
You always get this error, or It happened once?
Sorry if my english is too poor, I want learn it, but it isn't too easy.[/list][/size]
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: [32bpp] Extra zoom levels, Updated V9 r16366

Post by planetmaker »

gugusilva wrote:please help me :cry:
We cannot.

Why do you think an emergency save and a crash log were generated without useful information? Why don't you supply them? But supply them at the place they belong: don't bother to report crashes of patched versions to the official devs, but report them in the thread concerning the patch somewhere on this forum, otherwise even that location is found in what you posted the screenshot of. Doh!
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 16 guests