OpenTTD 0.4.7 released

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

OpenTTD 0.4.7 released

Post by Bjarni »

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]
Michi_cc
OpenTTD Developer
OpenTTD Developer
Posts: 619
Joined: 14 Jun 2004 23:27
Location: Berlin, Germany
Contact:

Windows x64 build

Post by Michi_cc »

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
Frostregen
Transport Coordinator
Transport Coordinator
Posts: 340
Joined: 06 Feb 2006 23:58

Post by Frostregen »

thx :)
GeordieMike
Engineer
Engineer
Posts: 14
Joined: 26 Mar 2006 21:21

Post by GeordieMike »

is it save game compatible?
User avatar
Brianetta
Tycoon
Tycoon
Posts: 2566
Joined: 15 Oct 2003 22:00
Location: Jarrow, UK
Contact:

Post by Brianetta »

GeordieMike wrote:is it save game compatible?
All stable releases are saved game compatible (backwardly - they can load games from older releases).
PGP fingerprint: E66A 9D58 AA10 E967 41A6 474E E41D 10AE 082C F3ED
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

Brianetta wrote:
GeordieMike wrote:is it save game compatible?
All stable releases are saved game compatible (backwardly - they can load games from older releases).
if something happens, so they are not, then it will be displayed with big text or something. Hopefully it will never happen
MisterPresident
Engineer
Engineer
Posts: 11
Joined: 04 Feb 2006 19:31
Location: Groningen, the Netherlands

Post by MisterPresident »

When compiling in Linux i recieve the following error:

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
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,
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

MisterPresident wrote:When compiling in Linux i recieve the following error:

Code: Select all

leo@zwaardmeester:~/openttd-0.4.7$ make
(...)
saveload.c:956:18: error: zlib.h: No such file or directory
(...)
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,
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.

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
maartena
Route Supervisor
Route Supervisor
Posts: 470
Joined: 11 Jul 2003 04:53
Location: California, U.S.A.

Post by maartena »

Awesome! Thanks :)
DeletedUser21
Tycoon
Tycoon
Posts: 11501
Joined: 20 Sep 2004 22:45

Post by DeletedUser21 »

You guys...





are cool! :D
Thank you. :wink:
MisterPresident
Engineer
Engineer
Posts: 11
Joined: 04 Feb 2006 19:31
Location: Groningen, the Netherlands

Post by MisterPresident »

Bjarni wrote:
MisterPresident wrote:When compiling in Linux i recieve the following error:

Code: Select all

leo@zwaardmeester:~/openttd-0.4.7$ make
(...)
saveload.c:956:18: error: zlib.h: No such file or directory
(...)
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,
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.

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
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 away :D
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

MisterPresident wrote:Perhaps zlib.h is missing in the source tarballs? (i checked both)
btw there is no need to check both as I created them from the same dir, so they are identically when extracted. It's just a matter of what format you prefer to extract :wink:
Oxygene
Engineer
Engineer
Posts: 12
Joined: 24 Mar 2006 21:49

Post by Oxygene »

Will there be a debian .deb-file or am I just too impatient? ;)
tisoft_media
Engineer
Engineer
Posts: 1
Joined: 27 Mar 2006 16:51

Post by tisoft_media »

Oxygene wrote:Will there be a debian .deb-file or am I just too impatient? ;)
I've attached a debian-archive. It works fine for me.

Markus
Attachments
openttd_0.4.7-1_i386.deb.gz
(3.65 MiB) Downloaded 829 times
Ch'marr
Engineer
Engineer
Posts: 16
Joined: 19 Mar 2005 18:48

Thanks!

Post by Ch'marr »

Thank you very kindly for the fix... that pathfinder bug was really annoying.

Depot... rail... station... all within 10 squares on a nice straight line. Set train to go to station... train leaves depot and turns the wrong way!!! :)
User avatar
pepecito
Engineer
Engineer
Posts: 101
Joined: 28 Aug 2003 12:16
Location: Torino, Italy
Contact:

OpenTTD installer for PC-BSD

Post by pepecito »

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
:: Home Page ::
doskey
Engineer
Engineer
Posts: 6
Joined: 31 Mar 2006 04:03

Post by doskey »

---------------------------
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...
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

doskey 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...
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 binary
I'm not entirely sure that is what happened in this case, but it's a very good place to start
doskey
Engineer
Engineer
Posts: 6
Joined: 31 Mar 2006 04:03

Post by doskey »

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. :(
Data files from original version:
sample.cat
trg1r.grf
trgcr.grf
trghr.grf
trgir.grf
trgtr.grf
Hesuses
Engineer
Engineer
Posts: 6
Joined: 25 Feb 2006 13:14
Location: Finland

Post by Hesuses »

Just a question. I haven't closely examined any readme files or anything but...

Has the Helicopter auto-replacing been fixed (helicopters stay in hangar after being replaced)?
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: Google Adsense [Bot] and 7 guests