32bit Graphics Extra Zoom Patch
Moderator: Graphics Moderators
Re: [32bpp] Extra zoom levels, Updated V9 r13706
Update to latest trunk
- Attachments
-
- 32bpp_14096_v9.diff
- (90.12 KiB) Downloaded 400 times
- CommanderZ
- Tycoon
- Posts: 1872
- Joined: 07 Apr 2008 18:29
- Location: Czech Republic
- Contact:
Re: [32bpp] Extra zoom levels, Updated V9 r14096
Did you mean r14069? r14096 doesn't exist yet
EDIT: I compiled it against r14069 and it crashes to me. As did previus builds.
Do you have idea what goes wrong? I just start the executable and the message imnediately pops up.
EDIT: I compiled it against r14069 and it crashes to me. As did previus builds.
Code: Select all
*** OpenTTD Crash Report ***
Date: 2008-08-14 19:34:28
Build: r14069M built on Aug 14 2008 19:27:51
Language: english_US.lng
Exception C0000005 at 004C3B41
Registers:
EAX: 00000000 EBX: 00BC09F3 ECX: 00C45FFD EDX: 00C45D00
ESI: 00000000 EDI: 0012FB40 EBP: 0012FB08 ESP: 0012FACC
EIP: 004C3B41 EFLAGS: 00010202
Bytes at CS:EIP:
8A 51 04 84 D2 74 03 0F B6 C2 83 C1 05 3B 4D D4 74 06 46 3B 75 F0 7C E8
Stack trace:
00C2C688 00000002 00000F03 00020D8C 00C45D0F 000000FC 00000050 00000027
00000000 00000000 000000D2 00000001 00000000 00BBDF50 0000004D 0012FB6C
00438A83 00000000 00438E79 005C1F40 00000F03 003D0601 00C05628 0012FB34
0052902C 00000019 0012FB70 005286FF 005BD230 003F0014 FFF8FFE2 00C44338
005A50F4 003D9AB8 0018A45D 00000002 004386B2 0012FFB0 0053FC4B 00000001
0012FB88 00438F52 00C2C680 00000F03 003D0601 00C045F8 0000003F 0012FBA4
004524C5 005C2018 00000000 00000006 0000005A 00000018 0012FBC8 004CC2E8
00000003 00000006 00000000 003D2D70 003D2D80 003D2D70 003D2D80 0012FC00
004CC44B 005C1A38 00BB9A10 00000000 005BD210 0041949D 00000005 000007E6
005DB144 00000000 05B7F89D 00BB9A10 00000005 0012FD14 0041952F 0012FC00
0041748C 005F05F4 00000000 00000001 004292B1 00000040 00000040 0012FD2C
00000001 00000001 00000100 00000000 FFFFFFFF 00000000 0012FE70 00000000
00000000 FFFFFFFF 0012FE34 005A1718 00000000 FFFFFFFF 00000000 00000000
00000000 00000080 00000100 00000000 00000004 003D0748 00000002 0012FD2C
0000FDE8 0002081C 00000000 000208CA 0012FCC4 7C825335 0000005D FFFFFFFF
0000005B 00000104 0000FD00 0012FD2C 00000001 0000005A 0012FCF0 7C82528E
0000FDE9 00000000 00020800 FFFFFFFF 0012FD2C 00000104 00000000 7C90E027
7C91392E FFFFFFFF 00000024 0012FD04 00000004 00000000 03761C5F 0012FD14
00000002 032522F8 0012FF30 0044A9F8 00000001 0012FE30 FFFFFFFE 00000000
5C3A4322 75636F44 746E656D 6E612073 65532064 6E697474 4D5C7367 9BC47461
C35A206A 6B7362A1 505CBDC3 68636F6C 78655C61 5A617274 736D6F6F 6232332D
562D7070 69575F39 5C32336E 6E65706F 2E647474 00657865 00000020 00000020
003D6F98 003D015C 00000000 00000000 003D6F98 00000020 003D6FA0 00000002
003D01E0 00000020 00000510 003D0000 0012FBB4 00000020 0012FE7C 7C90EE18
Module information:
C:\Documents and Settings\Matěj Zábský\Plocha\extraZooms-32bpp-V9_Win32\openttd.exe
handle: 00400000 size: 1946112 crc: F752EA1C date: 2008-08-14 17:33:58
C:\WINDOWS\system32\ntdll.dll handle: 7C900000 size: 702976 crc: 8AD07FC0 date: 2004-08-17 12:48:58
C:\WINDOWS\system32\kernel32.dll handle: 7C800000 size: 982016 crc: 265C4B20 date: 2004-08-17 12:49:10
C:\WINDOWS\system32\WINMM.dll handle: 76B30000 size: 174592 crc: C1DD6CED date: 2004-08-17 12:49:22
C:\WINDOWS\system32\USER32.dll handle: 77D30000 size: 577024 crc: 3A6EA962 date: 2004-08-17 12:49:20
C:\WINDOWS\system32\GDI32.dll handle: 77F10000 size: 278016 crc: 1E8FEFC2 date: 2004-08-17 12:49:08
C:\WINDOWS\system32\ADVAPI32.dll handle: 77DC0000 size: 683520 crc: 6B3A0E70 date: 2004-08-17 12:49:02
C:\WINDOWS\system32\RPCRT4.dll handle: 77E70000 size: 581120 crc: 125D007F date: 2004-08-17 12:49:18
C:\WINDOWS\system32\WS2_32.dll handle: 71A90000 size: 82944 crc: FFA4CF1E date: 2004-08-17 12:49:22
C:\WINDOWS\system32\msvcrt.dll handle: 77C00000 size: 343040 crc: 6A2686C9 date: 2004-08-17 12:49:14
C:\WINDOWS\system32\WS2HELP.dll handle: 71A80000 size: 19968 crc: 4AC7C8FE date: 2004-08-17 12:49:22
C:\WINDOWS\system32\IMM32.DLL handle: 76370000 size: 110080 crc: A4C51EE2 date: 2004-08-17 12:49:10
C:\WINDOWS\system32\SHFolder.dll handle: 76770000 size: 25088 crc: F211D8FF date: 2004-08-17 12:49:18
C:\WINDOWS\system32\SHLWAPI.dll handle: 77F60000 size: 474112 crc: 521D0CB3 date: 2006-09-23 11:12:50
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180
_x-ww_a84f1ff9\comctl32.dll handle: 773C0000 size: 1050624 crc: 834CC0E3 date: 2004-08-17 12:48:02
C:\WINDOWS\system32\comctl32.dll handle: 5D5A0000 size: 611328 crc: D38922FD date: 2004-08-17 12:49:04
C:\WINDOWS\system32\wdmaud.drv handle: 72CE0000 size: 23552 crc: EBECCDA4 date: 2004-08-17 12:57:28
C:\WINDOWS\system32\WINTRUST.dll handle: 76C20000 size: 176640 crc: 40693C80 date: 2004-08-17 12:49:22
C:\WINDOWS\system32\CRYPT32.dll handle: 77A70000 size: 600576 crc: E19980D6 date: 2004-08-17 12:49:04
C:\WINDOWS\system32\MSASN1.dll handle: 77B10000 size: 57344 crc: F07BCC59 date: 2004-08-17 12:49:12
C:\WINDOWS\system32\IMAGEHLP.dll handle: 76C80000 size: 144384 crc: 20A7ACDC date: 2004-08-17 12:49:10
C:\WINDOWS\system32\msacm32.drv handle: 72CD0000 size: 20480 crc: DA553A24 date: 2001-09-20 10:00:00
C:\WINDOWS\system32\MSACM32.dll handle: 77BD0000 size: 71680 crc: D3683295 date: 2004-08-17 12:49:12
C:\WINDOWS\system32\midimap.dll handle: 77BC0000 size: 18944 crc: D659D067 date: 2004-08-17 12:49:12
C:\WINDOWS\system32\ole32.dll handle: 774D0000 size: 1281024 crc: 613064BA date: 2004-08-17 12:49:16
C:\WINDOWS\system32\MSCTF.dll handle: 746F0000 size: 294400 crc: E1B54328 date: 2004-08-17 12:49:12
C:\WINDOWS\system32\CLBCATQ.DLL handle: 76FC0000 size: 501248 crc: 68F3F308 date: 2004-08-17 12:49:04
C:\WINDOWS\system32\OLEAUT32.dll handle: 77110000 size: 553472 crc: 06FB770B date: 2004-08-17 12:49:16
C:\WINDOWS\system32\COMRes.dll handle: 77040000 size: 806912 crc: ECC3A078 date: 2004-08-17 12:49:04
C:\WINDOWS\system32\VERSION.dll handle: 77BF0000 size: 18944 crc: 07A7952F date: 2004-08-17 12:49:20
C:\WINDOWS\system32\dmime.dll handle: 60D60000 size: 181248 crc: F1F24A6B date: 2004-08-17 12:49:06
C:\WINDOWS\system32\DSOUND.dll handle: 73ED0000 size: 367616 crc: AA126B1F date: 2004-08-17 12:49:06
C:\WINDOWS\system32\dmusic.dll handle: 6CF00000 size: 104448 crc: A279DE73 date: 2004-08-17 12:49:06
C:\WINDOWS\system32\KsUser.dll handle: 73EA0000 size: 4096 crc: A00D5272 date: 2004-08-17 15:49:10
C:\WINDOWS\system32\dmsynth.dll handle: 6CF20000 size: 103424 crc: 0C61433F date: 2004-08-17 12:49:06
C:\WINDOWS\system32\dmloader.dll handle: 6CF90000 size: 35840 crc: C427F6C0 date: 2004-08-17 12:49:06
C:\WINDOWS\system32\msctfime.ime handle: 751A0000 size: 177152 crc: E8CFA9FB date: 2004-08-17 12:48:22
C:\WINDOWS\system32\mswsock.dll handle: 71A30000 size: 247296 crc: B38CA7EE date: 2004-08-17 12:49:14
C:\WINDOWS\system32\hnetcfg.dll handle: 698B0000 size: 345088 crc: 31FEBF7B date: 2004-08-17 12:49:08
C:\WINDOWS\System32\wshtcpip.dll handle: 71A70000 size: 19968 crc: 1F23F4FE date: 2004-08-17 12:49:22
C:\WINDOWS\system32\psapi.dll handle: 76BE0000 size: 23040 crc: 1FA9C6D7 date: 2004-08-17 12:49:16
System information:
Windows version 5.1 2600 S
Last edited by jonty-comp on 21 Aug 2008 13:10, edited 1 time in total.
Reason: Table breaking TT-theme on file path lines
Reason: Table breaking TT-theme on file path lines
Re: [32bpp] Extra zoom levels, Updated V9 r14096
No problems here, try these windows binaries
- Attachments
-
- extrazoom_v9_14069win.rar
- (2.64 MiB) Downloaded 5317 times
- CommanderZ
- Tycoon
- Posts: 1872
- Joined: 07 Apr 2008 18:29
- Location: Czech Republic
- Contact:
Re: [32bpp] Extra zoom levels, Updated V9 r14096
Hmm, invalid archive
Re: [32bpp] Extra zoom levels, Updated V9 r14096
Tried on windows with winrar, and and Gentoo Linux. Both OSes can 'unrar' ok, so the file seems ok
- CommanderZ
- Tycoon
- Posts: 1872
- Joined: 07 Apr 2008 18:29
- Location: Czech Republic
- Contact:
Re: [32bpp] Extra zoom levels, Updated V9 r14096
I se, WinRAR does it, but both FreeCommander and 7-Zip failed on it.
But the file keeps crashing.
Bw, is this correct blitter definition?
But the file keeps crashing.
Bw, is this correct blitter definition?
Code: Select all
[blitter]
sprite_cache_size = 64
blitter = 32bpp-optimized
Re: [32bpp] Extra zoom levels, Updated V9 r14096
Yes, it is (although I have them in the [misc] section, but should not matter I think).
On Windows (XP pro) and Linux it runs fine on my system.
Try disabling all newgrfs, and moving the sprites directory to another location, see if that helps
You can also start openttd by means of openttd -b 32bpp-optimized on the commandline, to be sure the right blitter is chosen. If for some reason the 8bpp blitter is chosen it will crash indeed.
You can also try to start with a debug option, like -d 5 , the higher the number the more debug info.
Anyone else having this problem?
On Windows (XP pro) and Linux it runs fine on my system.
Try disabling all newgrfs, and moving the sprites directory to another location, see if that helps
You can also start openttd by means of openttd -b 32bpp-optimized on the commandline, to be sure the right blitter is chosen. If for some reason the 8bpp blitter is chosen it will crash indeed.
You can also try to start with a debug option, like -d 5 , the higher the number the more debug info.
Anyone else having this problem?
- CommanderZ
- Tycoon
- Posts: 1872
- Joined: 07 Apr 2008 18:29
- Location: Czech Republic
- Contact:
Re: [32bpp] Extra zoom levels, Updated V9 r14096
Today I realized most of OTTD builds on my PC are crashy including the Copy & Paste executable I've been using as my main plying build for very long time, screensaver, some of my testing builds (lastest BMB works though), rus PP and yours EX levels. Lastest nightly works fine.
Maybe I caused it last weekend when I was playing with custom builds of SDL (for my non-OTTD game). I cannot imagine how it could affect OTTD though. Also, the key how some versions run well while most builds crash is secret to me.
EDIT: It seems I've got your build to work. I deleted its cfg, the cfg in Documents and Settings and used the command line method. Now I must gather some nice graphics.
Thank you for great build and for your effort to help me.
Maybe I caused it last weekend when I was playing with custom builds of SDL (for my non-OTTD game). I cannot imagine how it could affect OTTD though. Also, the key how some versions run well while most builds crash is secret to me.
EDIT: It seems I've got your build to work. I deleted its cfg, the cfg in Documents and Settings and used the command line method. Now I must gather some nice graphics.
Thank you for great build and for your effort to help me.
Re: [32bpp] Extra zoom levels, Updated V9 r14096
Hello!
The extra zoom open ttd always crash when i try to reach the maximal zoom, and when is use the smaller extra zoom sometimes crash with the next message: "Out of Sprite memory"
Why? I try more binary's...
I use the windows version...
Sorry for my english
Edit: I tried to set the sprite cache, but it doesn't help
The extra zoom open ttd always crash when i try to reach the maximal zoom, and when is use the smaller extra zoom sometimes crash with the next message: "Out of Sprite memory"

Why? I try more binary's...
I use the windows version...
Sorry for my english

Edit: I tried to set the sprite cache, but it doesn't help

Last edited by djpety94 on 19 Aug 2008 08:21, edited 2 times in total.
- CommanderZ
- Tycoon
- Posts: 1872
- Joined: 07 Apr 2008 18:29
- Location: Czech Republic
- Contact:
Re: [32bpp] Extra zoom levels, Updated V9 r14096
Do you have adjusted the sprite cache?
Re: [32bpp] Extra zoom levels, Updated V9 r14096
Yes, i set to 64, and i tried with higher value too...CommanderZ wrote:Do you have adjusted the sprite cache?
Re: [32bpp] Extra zoom levels, Updated V9 r14096
I'm having the "Out of Sprite memory" error with the Windows binaries too.
It must be said though, that the instructions on what you need to do to get this working aren't 100% unambiguous It's not clear WHERE in the .cfg file you need to set the sprite_cache_size (or even HOW you set it to 64 for the uninitiated!). This information really should be included in the first post and be completely and utterly unambiguous and informative, e.g.:
add "sprite_cache_size=64" to the "[XYZ]" section of your .cfg file.
As it is, I've added "sprite_cache_size = 64" under "[misc]". If that's not the right thing to do, then mea culpa, but what DO I need to do?
It must be said though, that the instructions on what you need to do to get this working aren't 100% unambiguous It's not clear WHERE in the .cfg file you need to set the sprite_cache_size (or even HOW you set it to 64 for the uninitiated!). This information really should be included in the first post and be completely and utterly unambiguous and informative, e.g.:
add "sprite_cache_size=64" to the "[XYZ]" section of your .cfg file.
As it is, I've added "sprite_cache_size = 64" under "[misc]". If that's not the right thing to do, then mea culpa, but what DO I need to do?

Re: [32bpp] Extra zoom levels, Updated V9 r14096
Ah I've found sprite_cache_size = 4 already in the .cfg.
But why didn't I find it with ctrl+f last time
But why didn't I find it with ctrl+f last time

Re: [32bpp] Extra zoom levels, Updated V9 r14096
Ohh, if you doesn't post this i never find in the cfg... thx!!!sjm wrote:Ah I've found sprite_cache_size = 4 already in the .cfg.
But why didn't I find it with ctrl+f last time
Re: [32bpp] Extra zoom levels, Updated V9 r14096
I figured out it's because of Notepad's daft search that only goes up or down from your current position... And I'd just configured the blitter settings below the sprite_cache_size.djpety94 wrote:Ohh, if you doesn't post this i never find in the cfg... thx!!!sjm wrote:Ah I've found sprite_cache_size = 4 already in the .cfg.
But why didn't I find it with ctrl+f last time
Daft Notepad is all I can say

Re: [32bpp] Extra zoom levels, Updated V9 r14096
There's a reason that all executables named "notepad.exe" on my computer fail to be executables released by Microsoft.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Re: [32bpp] Extra zoom levels, Updated V9 r14096
sjm, listen to DaleStan, and immediately use eg Notepad++ or some other editor instead of the default notepad, and try to search again. I think it will help you to not post non-issues
.
Speaking of (non)-issues, I saw that the latest v9 windows binary has been downloaded more than 500 times, and no real issues are posted.
Because the extra zoom graphics are progressing nicely, I think the code must keep up with that, and I will spend some time in improving the code.
But I can't believe that no issues, or improvements requests do exist (for instance, clicking on a town in zoom in does not work right, the minimap is not correct etc).
So please post what you'd like to be improved, and also whether you're actually playing the game with the patch, or just use it to watch the graphics.

Speaking of (non)-issues, I saw that the latest v9 windows binary has been downloaded more than 500 times, and no real issues are posted.
Because the extra zoom graphics are progressing nicely, I think the code must keep up with that, and I will spend some time in improving the code.
But I can't believe that no issues, or improvements requests do exist (for instance, clicking on a town in zoom in does not work right, the minimap is not correct etc).
So please post what you'd like to be improved, and also whether you're actually playing the game with the patch, or just use it to watch the graphics.
Re: [32bpp] Extra zoom levels, Updated V9 r14096
Better documentation isn't a "non-issue".GeekToo wrote:sjm, listen to DaleStan, and immediately use eg Notepad++ or some other editor instead of the default notepad, and try to search again. I think it will help you to not post non-issues.
Re: [32bpp] Extra zoom levels, Updated V9 r14096
You're absolutely right that documentation should be provided, that's why there are at least 2 places where info about increasing the sprite cache are present:
http://wiki.openttd.org/wiki/index.php/ ... stallation
http://www.tt-forums.net/viewtopic.php?p=657008#p657008
So please post which part of the docs is not clear, so we can improve it.
http://wiki.openttd.org/wiki/index.php/ ... stallation
http://www.tt-forums.net/viewtopic.php?p=657008#p657008
So please post which part of the docs is not clear, so we can improve it.
Re: [32bpp] Extra zoom levels, Updated V9 r14096
What comes to my mind is:
-station signs and town names not aligning correctly
-no sound in z0 and z1 zoom
and... well, thats about it I guess.[1] Sorry if that has already been fixed, I'm using a rather old version (r12030) - tried to update to 14096 today, but somehow BuildOTTD wouldn't access sourceforge...
To be honest, I don't use the 32bpp patch for regular playing (yet!). It's my "whoa-nice-graphics-wished-that-OTTD-would-look-like-that-one-day-showcase"
[1]Ok, I forgot: displaying bounding boxes in z0 and z1 crashes the game. Not that anybody would want to do that...
-station signs and town names not aligning correctly
-no sound in z0 and z1 zoom
and... well, thats about it I guess.[1] Sorry if that has already been fixed, I'm using a rather old version (r12030) - tried to update to 14096 today, but somehow BuildOTTD wouldn't access sourceforge...

To be honest, I don't use the 32bpp patch for regular playing (yet!). It's my "whoa-nice-graphics-wished-that-OTTD-would-look-like-that-one-day-showcase"

[1]Ok, I forgot: displaying bounding boxes in z0 and z1 crashes the game. Not that anybody would want to do that...
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot] and 7 guests