OpenTTD 0.4.7 released
Moderator: OpenTTD Developers
OpenTTD 0.4.7 released
OpenTTD 0.4.7 have been released. This time it fixes some serious bugs in 0.4.6, mainly the NPF bug and the potiential crash in OSX when switching to fullscreen
You can as always get it here:
http://sourceforge.net/project/showfile ... _id=404880
Changelog:
[list]* Feature: [OSX] Add support for triple-binaries (PPC, PPC970, i386) (r4102)
* Fix: [OSX] crash when going to fullscreen (r4100)
* Fix: Allow unused wagons to have their first cache set. Fixes faulty cache-warning message and noticably speeds up depot operations (r4094)
* Fix: [NPF] Trains & busses were unable to find a route when leaving a depot or bus stop. (r4072)[/list]
You can as always get it here:
http://sourceforge.net/project/showfile ... _id=404880
Changelog:
[list]* Feature: [OSX] Add support for triple-binaries (PPC, PPC970, i386) (r4102)
* Fix: [OSX] crash when going to fullscreen (r4100)
* Fix: Allow unused wagons to have their first cache set. Fixes faulty cache-warning message and noticably speeds up depot operations (r4094)
* Fix: [NPF] Trains & busses were unable to find a route when leaving a depot or bus stop. (r4072)[/list]
Windows x64 build
And the native Windoows x64 build for all you addicts out there.
Download (about 6.14 MB):
http://www.icosahedron.de/openttd/opent ... -win64.zip
Permission granted to do with it whatever you like; the usual caveats apply.
-- Michael Lutz
Download (about 6.14 MB):
http://www.icosahedron.de/openttd/opent ... -win64.zip
Permission granted to do with it whatever you like; the usual caveats apply.
-- Michael Lutz
-
- Engineer
- Posts: 11
- Joined: 04 Feb 2006 19:31
- Location: Groningen, the Netherlands
When compiling in Linux i recieve the following error:
I am using Kubuntu 2.6.12-10-386 , with newest g++, gcc and make. Perhaps zlib.h is missing in the source tarballs? (i checked both)
regards,
Code: Select all
leo@zwaardmeester:~/openttd-0.4.7$ make
(...)
saveload.c:956:18: error: zlib.h: No such file or directory
saveload.c:958: error: syntax error before ‘_z’
saveload.c:958: warning: type defaults to ‘int’ in declaration of ‘_z’
saveload.c:958: warning: data definition has no type or storage class
saveload.c: In function ‘InitReadZlib’:
saveload.c:963: warning: implicit declaration of function ‘inflateInit’
saveload.c:963: error: ‘Z_OK’ undeclared (first use in this function)
saveload.c:963: error: (Each undeclared identifier is reported only once
saveload.c:963: error: for each function it appears in.)
saveload.c: In function ‘ReadZlib’:
saveload.c:974: error: request for member ‘next_out’ in something not a structure or union
saveload.c:975: error: request for member ‘avail_out’ in something not a structure or union
saveload.c:979: error: request for member ‘avail_in’ in something not a structure or union
saveload.c:980: error: request for member ‘avail_in’ in something not a structure or union
saveload.c:980: error: request for member ‘next_in’ in something not a structure or union
saveload.c:984: warning: implicit declaration of function ‘inflate’
saveload.c:985: error: ‘Z_STREAM_END’ undeclared (first use in this function)
saveload.c:988: error: ‘Z_OK’ undeclared (first use in this function)
saveload.c:990: error: request for member ‘avail_out’ in something not a structure or union
saveload.c:992: error: request for member ‘avail_out’ in something not a structure or union
saveload.c: In function ‘UninitReadZlib’:
saveload.c:997: warning: implicit declaration of function ‘inflateEnd’
saveload.c: In function ‘InitWriteZlib’:
saveload.c:1004: warning: implicit declaration of function ‘deflateInit’
saveload.c:1004: error: ‘Z_OK’ undeclared (first use in this function)
saveload.c: At top level:
saveload.c:1011: error: syntax error before ‘z’
saveload.c:1012: warning: function declaration isn’t a prototype
saveload.c: In function ‘WriteZlibLoop’:
saveload.c:1012: warning: old-style function definition
saveload.c:1016: error: ‘z’ undeclared (first use in this function)
saveload.c:1016: error: ‘p’ undeclared (first use in this function)
saveload.c:1017: error: ‘len’ undeclared (first use in this function)
saveload.c:1021: warning: implicit declaration of function ‘deflate’
saveload.c:1021: error: ‘mode’ undeclared (first use in this function)
saveload.c:1026: error: ‘Z_STREAM_END’ undeclared (first use in this function)
saveload.c:1028: error: ‘Z_OK’ undeclared (first use in this function)
saveload.c: In function ‘UninitWriteZlib’:
saveload.c:1040: error: ‘Z_FINISH’ undeclared (first use in this function)
saveload.c:1041: warning: implicit declaration of function ‘deflateEnd’
make: *** [saveload.o] Error 1
regards,
zlib is not missing from the source tarballs, since it's a header you get when you install the library called zlib. Somehow the makefile detected that you got zlib, but gcc were unable to use it. This should not happen.MisterPresident wrote:When compiling in Linux i recieve the following error:
I am using Kubuntu 2.6.12-10-386 , with newest g++, gcc and make. Perhaps zlib.h is missing in the source tarballs? (i checked both)Code: Select all
leo@zwaardmeester:~/openttd-0.4.7$ make (...) saveload.c:956:18: error: zlib.h: No such file or directory (...)
regards,
There are two solutions: either you fix your zlib or you edit Makefile.config and remove WITH_ZLIB, so you compile without zlib support
If you don't have zlib support, you can't compress the savegames as good, can't open savegames saved by other people/scenarios and you can't join multiplayer games.
I recommend that you investigate why it failed to use zlib
-
- Engineer
- Posts: 11
- Joined: 04 Feb 2006 19:31
- Location: Groningen, the Netherlands
100x thanks Bjarni! I reinstalled the zlib-dev package and now it compiled right through. Apparently there was something wrong with it.. I start playing right awayBjarni wrote:zlib is not missing from the source tarballs, since it's a header you get when you install the library called zlib. Somehow the makefile detected that you got zlib, but gcc were unable to use it. This should not happen.MisterPresident wrote:When compiling in Linux i recieve the following error:
I am using Kubuntu 2.6.12-10-386 , with newest g++, gcc and make. Perhaps zlib.h is missing in the source tarballs? (i checked both)Code: Select all
leo@zwaardmeester:~/openttd-0.4.7$ make (...) saveload.c:956:18: error: zlib.h: No such file or directory (...)
regards,
There are two solutions: either you fix your zlib or you edit Makefile.config and remove WITH_ZLIB, so you compile without zlib support
If you don't have zlib support, you can't compress the savegames as good, can't open savegames saved by other people/scenarios and you can't join multiplayer games.
I recommend that you investigate why it failed to use zlib

-
- Engineer
- Posts: 1
- Joined: 27 Mar 2006 16:51
I've attached a debian-archive. It works fine for me.Oxygene wrote:Will there be a debian .deb-file or am I just too impatient?
Markus
- Attachments
-
- openttd_0.4.7-1_i386.deb.gz
- (3.65 MiB) Downloaded 872 times
OpenTTD installer for PC-BSD
Hi,
I have also created an installer of OpenTTD for the PC-BSD operative system. You can find more info in this thead:
http://www.tt-forums.net/viewtopic.php?p=423416
Bye,
pepecito
I have also created an installer of OpenTTD for the PC-BSD operative system. You can find more info in this thead:
http://www.tt-forums.net/viewtopic.php?p=423416
Bye,
pepecito
:: Home Page ::
---------------------------
Error!
---------------------------
Tried to load non-existing sprite #666.
Probable cause: Wrong/missing NewGRFs
---------------------------
OK
---------------------------
I am sorry that my english is pool.
Why have this message then I complie 0.4.7 and run it.
I used TTD's data files, and the data files is work fine at 0.4.5...
Error!
---------------------------
Tried to load non-existing sprite #666.
Probable cause: Wrong/missing NewGRFs
---------------------------
OK
---------------------------
I am sorry that my english is pool.
Why have this message then I complie 0.4.7 and run it.
I used TTD's data files, and the data files is work fine at 0.4.5...
you should use the 0.4.7 data files came with 0.4.7. Nothing good will come from using 0.4.5 data files with the 0.4.7 binarydoskey wrote:---------------------------
Error!
---------------------------
Tried to load non-existing sprite #666.
Probable cause: Wrong/missing NewGRFs
---------------------------
OK
---------------------------
I am sorry that my english is pool.
Why have this message then I complie 0.4.7 and run it.
I used TTD's data files, and the data files is work fine at 0.4.5...
I'm not entirely sure that is what happened in this case, but it's a very good place to start
Thanks.
I download source files. Unpack it. I complie it with VC 6.0 and DX9SDK. I copy the followg files from the original version of TTD to data directory. And run it with debugger. But It still show this message.
I download source files. Unpack it. I complie it with VC 6.0 and DX9SDK. I copy the followg files from the original version of TTD to data directory. And run it with debugger. But It still show this message.

Data files from original version:
sample.cat
trg1r.grf
trgcr.grf
trghr.grf
trgir.grf
trgtr.grf
My blog:
http://www.erawtfos.com/doskey
http://www.erawtfos.com/doskey
Who is online
Users browsing this forum: jakubiszon and 8 guests