Another Daylength patch
Moderator: OpenTTD Developers
Re: Another Daylength patch
I really like this patch, because it makes road vehicles viable form of transport. If the industries produce 5x less it is possible to haul most of the stuff by road, and use the rail for long distance hauls(as in real life). The only thing is that the graphic loop on some industries seems to be bugged. If I set 5x daylength, the animation of smoke(see coal stations) seems to go in jumps of fast animation and then long pauses. It hapens also for the animation for advanced station tiles (forklifts). Also I have tried to compile this with the newest build and failed miserably, but I chalk that to the fact that I have never compiled anything in my life, and was only following the wiki instruction manual.
Still, thanks for the patch anyways.
Still, thanks for the patch anyways.
Re: Another Daylength patch
This bug is there from the creation of the patch. I never even worked on removing that one, because I forgot faster than I try to fix it. Also, when I play, I don't notice it at all (or I get used to it?).
My patches: Day length (new concept), Conditional loading, Auto separation, Unload all adds Leave empty, Better statue placement (in trunk)
My abandoned patches: Speed limits for RVs, Day length (old concept)
My abandoned patches: Speed limits for RVs, Day length (old concept)
Re: Another Daylength patch
Hello,
is it possible to get a OTTD version including "true daylength patch" from here
http://www.tt-forums.net/viewtopic.php?p=911647#p911647
patched either into the source of 1.2.0-beta1 (preferred) or into the latest trunk? I would need a version for OSX OTTD.
Thanks in advance!
is it possible to get a OTTD version including "true daylength patch" from here
http://www.tt-forums.net/viewtopic.php?p=911647#p911647
patched either into the source of 1.2.0-beta1 (preferred) or into the latest trunk? I would need a version for OSX OTTD.
Thanks in advance!

Re: Another Daylength patch
Is this patch still working or is it dead? I have recently gone back to OTTD and the 1.2 is absolutely awesome. The only thing is that the time goes way too fast for my liking, so I just have to settle for the older version. Problem is some of the GRF don't like the old version and getting older versions of various GRF is a bit of a problem...
Re: Another Daylength patch
I like to play with 1 day = 334 ticks = 10 seconds (i thinkgeorge11 wrote:Is this patch still working or is it dead? I have recently gone back to OTTD and the 1.2 is absolutely awesome. The only thing is that the time goes way too fast for my liking, so I just have to settle for the older version. Problem is some of the GRF don't like the old version and getting older versions of various GRF is a bit of a problem...

so I downloaded the source from trunk and changed in /src/date_type.h line static const int DAY_TICKS = 334;
1 day = 74 ticks = ~2 sec for normal game time
If you know how to compile the game, you can make this change and compile it.
The rest is confetti!
Re: Another Daylength patch
No sorry, I have tried to compile this in the past, but I have zero programming skills. I think I managed to follow the tutorial from the wiki, but It returned some kind of error so I gave up. I even gave it to a friend to try and compile, but he didn't manage it either. I was thinking I would give anybody 10 pounds from Paypal if they could compile this for windows version. Or I would donate it to OTTD, I think the guys working on this game deserve every bit of support.
Re: Another Daylength patch
ColdIce wrote: If you know how to compile the game, you can make this change and compile it.
Code: Select all
mkdir ~/bla
cd ~/bla
svn co svn://svn.openttd.org/trunk
cd trunk
./configure
make
./bin/openttd

Re: Another Daylength patch
Great patch, but how would i install these type of patches ?
-
- Tycoon
- Posts: 1660
- Joined: 16 Dec 2007 22:24
- Location: Idaho, USA
Re: Another Daylength patch
http://wiki.openttd.org/Patchesdesiroboy wrote:Great patch, but how would i install these type of patches ?
Eyecandy Road Vehicles | Fake Subways | Supercheese's NewObjects
"Fashions and cultures change, but steam trains shall always be majestic."
-Professor Hershel Layton
"Fashions and cultures change, but steam trains shall always be majestic."
-Professor Hershel Layton
Re: Another Daylength patch
That doesn't work for me for some reason. I think the patch is just too old to successfully compile with the current version. maybe I am doing something wrong, I don't know. Oh and what Cold Ice and FFPP posted, That doesn't actually slow down the intustry output, just the passage of time(I think). I will jut keep to my old R22256m build, witch is the last one working with this patch.
Re: Another Daylength patch
true. the patch need to be updated.george11 wrote:That doesn't work for me for some reason. I think the patch is just too old to successfully compile with the current version.
also truegeorge11 wrote:Oh and what Cold Ice and FFPP posted, That doesn't actually slow down the intustry output, just the passage of time(I think).

The rest is confetti!
Re: Another Daylength patch
Updated to trunk. Pretty much no change whatsoever. Patch can be found in this post.
My patches: Day length (new concept), Conditional loading, Auto separation, Unload all adds Leave empty, Better statue placement (in trunk)
My abandoned patches: Speed limits for RVs, Day length (old concept)
My abandoned patches: Speed limits for RVs, Day length (old concept)
Re: Another Daylength patch
i want to thank you so much, can't express in words
-
- Engineer
- Posts: 43
- Joined: 05 Aug 2009 14:21
Re: Another Daylength patch
Could some compile a windows binary of this thing using one of the latest versions such as 1.2 RC3 or RC4? I have spent hours trying to do this to no avail. Sorry I am not a programmer and even following the directions in the WIKI I fail.
Re: Another Daylength patch
Try this patch.Ottomobeale wrote:Could some compile a windows binary of this thing using one of the latest versions such as 1.2 RC3 or RC4? I have spent hours trying to do this to no avail. Sorry I am not a programmer and even following the directions in the WIKI I fail.
-
- Tycoon
- Posts: 1660
- Joined: 16 Dec 2007 22:24
- Location: Idaho, USA
Re: Another Daylength patch
I think his point was that he can't make use of patches, as he cannot compile OTTD. He would like an updated precompiled binary to be posted, and indeed the vast majority of users (myself included) only ever use precompiled binaries.
Eyecandy Road Vehicles | Fake Subways | Supercheese's NewObjects
"Fashions and cultures change, but steam trains shall always be majestic."
-Professor Hershel Layton
"Fashions and cultures change, but steam trains shall always be majestic."
-Professor Hershel Layton
-
- Engineer
- Posts: 43
- Joined: 05 Aug 2009 14:21
Re: Another Daylength patch
I do mean a precompiled windows binary. I promise I have tried to do it. Spent hours trying actually. I just have zero luck (more accurately lack of tech knowlege) on any of the various wiki pages and posts here.
Re: Another Daylength patch
I thought your failure was simply due to the revision difference. But, here it goes...Ottomobeale wrote:I do mean a precompiled windows binary. I promise I have tried to do it. Spent hours trying actually. I just have zero luck (more accurately lack of tech knowlege) on any of the various wiki pages and posts here.
http://dl.dropbox.com/u/4436543/openttd ... r24093.zip
r24093 + this patch and nothing else.
Re: Another Daylength patch
Ohoo, I was stedying myself mentally for a few weeks to get myself to try and compile this updated patch, since I have long deleted all the compiling programs and my internet connection is dodgy at best. Thank you very much for this compile, Now I can play updated OTTD once again.
As promised, I have just made 10 pounds paypal donation for the OTTD comunity. Thank you again.
As promised, I have just made 10 pounds paypal donation for the OTTD comunity. Thank you again.
Re: Another Daylength patch
How much work is it to update the patch to the newest OpenTTD revision?
I opened the 22257 and 24094 files up in notepad++ and unfortunately it seems like you have to update version functions which have changed in the game, as well as some numbers which seem to be changed for no apparent reason for me. And as I know zero about coding, unfortunately its not something I could have a go at
I opened the 22257 and 24094 files up in notepad++ and unfortunately it seems like you have to update version functions which have changed in the game, as well as some numbers which seem to be changed for no apparent reason for me. And as I know zero about coding, unfortunately its not something I could have a go at

Who is online
Users browsing this forum: No registered users and 13 guests