Page 12 of 40
Re: Howto apply a patch/diff file
Posted: 23 Mar 2008 08:01
by leno4
TGVfan wrote:Starting to get angry and it won't take long begore this PC will get some flying lessons.
I have no clue what I'm doing wrong.
Downloaded the sourcefiles, and the tortoise SVN , but what then? I'm quite new to this and I start to understand that I don't understand anything of it at all.....
What I have now:
Map with OTTD
Map with sourcefile
some patches... like the yapp/PBS
Please tell me how to get things working as I start to get mad.
Im with you mate i apply patches using SVN but can never compile using programs get too many erroros which are because of mistakes in the patch code which i cant fix.
Re: Howto apply a patch/diff file
Posted: 23 Mar 2008 13:23
by Yexo
leno4 wrote:TGVfan wrote:Starting to get angry and it won't take long begore this PC will get some flying lessons.
I have no clue what I'm doing wrong.
Downloaded the sourcefiles, and the tortoise SVN , but what then? I'm quite new to this and I start to understand that I don't understand anything of it at all.....
What I have now:
Map with OTTD
Map with sourcefile
some patches... like the yapp/PBS
Please tell me how to get things working as I start to get mad.
Im with you mate i apply patches using SVN but can never compile using programs get too many erroros which are because of mistakes in the patch code which i cant fix.
We can only help you if you post what errors you are getting and what the
exact stept are you've been following.
Re: Howto apply a patch/diff file
Posted: 26 Apr 2008 07:00
by Wasila
I've SVN Checkouted OpenTTD and attempted to apply numerous patches, all failed (including Gonozal, extralarge patchpack 256k and 1M, found a town, filter by cargo and town growth needs goods). Attempted both with version 0.6 and the latest nightly. Could I be doing something wrong?
Thanks in advance.
Re: Howto apply a patch/diff file
Posted: 26 Apr 2008 08:17
by Yexo
Wasila wrote:I've SVN Checkouted OpenTTD and attempted to apply numerous patches, all failed (including Gonozal, extralarge patchpack 256k and 1M, found a town, filter by cargo and town growth needs goods). Attempted both with version 0.6 and the latest nightly. Could I be doing something wrong?
Thanks in advance.
If every patch fails, obviously something is going wrong. That could be you using vista (which is not supported by BOTTD). Have you tried setting the checkbox "force revision to match patch"?
Re: Howto apply a patch/diff file
Posted: 26 Apr 2008 08:55
by Wasila
I am using XP SP2. A while ago I tried to use BuildOTTD and it didn't work so I'm using TortoiseSVN.
Re: Howto apply a patch/diff file
Posted: 26 Apr 2008 09:06
by Trond
Wasila wrote:I am using XP SP2. A while ago I tried to use BuildOTTD and it didn't work so I'm using TortoiseSVN.
So do I, and I use BOTTD almost every day... Together with tortoise...
Re: Howto apply a patch/diff file
Posted: 26 Apr 2008 10:49
by Wasila
I reinstalled BuildOTTD and got it working but I would like to apply multiple patches so the problem still stands.
Re: Howto apply a patch/diff file
Posted: 26 Apr 2008 11:29
by Trond
Apply multiple patches in TortoiseSVN, make a patch of those with Tortoise, and use BOTTD to make a build.
Re: Howto apply a patch/diff file
Posted: 26 Apr 2008 12:07
by Wasila
Wasila wrote:I've SVN Checkouted OpenTTD and attempted to apply numerous patches, all failed (including Gonozal, extralarge patchpack 256k and 1M, found a town, filter by cargo and town growth needs goods). Attempted both with version 0.6 and the latest nightly. Could I be doing something wrong?
Thanks in advance.
Tortoise SVN doesn't work. I managed to patch through cygwin but I'm getting the same problems (even tried Roest's and it corrupted four folders). Could it be because the patches aren't updated to latest trunk?
Re: Howto apply a patch/diff file
Posted: 27 Apr 2008 10:36
by Yexo
Wasila wrote:Wasila wrote:I've SVN Checkouted OpenTTD and attempted to apply numerous patches, all failed (including Gonozal, extralarge patchpack 256k and 1M, found a town, filter by cargo and town growth needs goods). Attempted both with version 0.6 and the latest nightly. Could I be doing something wrong?
Thanks in advance.
Tortoise SVN doesn't work. I managed to patch through cygwin but I'm getting the same problems (even tried Roest's and it corrupted four folders). Could it be because the patches aren't updated to latest trunk?
That could be, and it can also be that those patches you try aren't compatible or need some manual fixing. Needing manual fixing is exactly the reason bottd will never support multiple patches.
Re: Howto apply a patch/diff file
Posted: 27 Apr 2008 12:13
by Wasila
I managed to get it working using a different compiler. Thanks for the help anyway.
Re: Howto apply a patch/diff file
Posted: 29 Jun 2008 13:53
by iranair777
I have just downloaded a few things in the list below but I'm stuck as in how to install them into OpenTTD. Any help wil be appriciated
- airport-close-v6-r13374.patch
- airport-close-v6-0.6.1.patch
- airport-close-v6-0.6.0.patch
- r13031_infrastructure_sharing_v0.3.patch
- r13031IS0.3m.diff
- dd_buy_land_r12684.diff
- trafficlights_v3_r12951.diff
- trafficlights.diff
- yapp_r13612_v8_1.patch
Thanks!
P.s. I am a complete beginniner in .patch and .diff and have downloaded and installed BuildOTTD
Re: Howto apply a patch/diff file
Posted: 29 Jun 2008 14:00
by Alberth
Start simple by applying only one patch first, the first post in the thread explains how.
Re: Howto apply a patch/diff file
Posted: 29 Jun 2008 14:27
by iranair777
Alberth wrote:Start simple by applying only one patch first, the first post in the thread explains how.
Thats the problem as well, I dont understand the first post and I dont know where to put these patches.
Also are these patches for the originals as I'm worried that I may not have the originals
Re: Howto apply a patch/diff file
Posted: 29 Jun 2008 14:37
by Yexo
iranair777 wrote:Alberth wrote:Start simple by applying only one patch first, the first post in the thread explains how.
Thats the problem as well, I dont understand the first post and I dont know where to put these patches.
Also are these patches for the originals as I'm worried that I may not have the originals
As I said you earlier, read
http://www.tt-forums.net/viewtopic.php?f=33&t=31823
If you don't understand that either, post in that thread and post the steps you don't understand.
Re: Howto apply a patch/diff file
Posted: 04 Jul 2008 13:36
by TommyGun
Is it possible to uninstall a patch? (Linux). Without having to compile the game over again
Re: Howto apply a patch/diff file
Posted: 04 Jul 2008 13:46
by CommanderZ
If you have only one patch applied and you want to remove it, just download OTTD again and extract it

Re: Howto apply a patch/diff file
Posted: 04 Jul 2008 13:50
by belugas
TommyGun wrote:Is it possible to uninstall a patch? (Linux). Without having to compile the game over again
No matter the OS you are using, you cannot uninstall a patch withouth recompiling the game.
The patch is incorporated in it.
A patch it nothing more than a difference between two source code. Therefor...
IT can be switched on or off, if the possibility is given, but it's stillpart of the application
Re: Howto apply a patch/diff file
Posted: 20 Jul 2008 14:50
by amirtaheri
I'm trying to install the passenger destination patch and it all went swimmingly until it came to compiling the source code. When I type in the "Make" command, I get this error, but I have no idea why.
Macbook:/users/amirtaheri/openttd amirtaheri$ make build
make -C /users/amirtaheri/openttd/objs/lang strgen
make[2]: *** No rule to make target `/users/amirtaheri/openttd/src/core/alloc_func.cpp', needed by `alloc_func.o'. Stop.
make[1]: *** [/users/amirtaheri/openttd/objs/lang/strgen] Error 2
make: *** [build.o] Error 2
Macbook:/users/amirtaheri/openttd amirtaheri$
Re: Howto apply a patch/diff file
Posted: 20 Jul 2008 14:54
by Yexo
amirtaheri wrote:I'm trying to install the passenger destination patch and it all went swimmingly until it came to compiling the source code. When I type in the "Make" command, I get this error, but I have no idea why.
Macbook:/users/amirtaheri/openttd amirtaheri$ make build
make -C /users/amirtaheri/openttd/objs/lang strgen
make[2]: *** No rule to make target `/users/amirtaheri/openttd/src/core/alloc_func.cpp', needed by `alloc_func.o'. Stop.
make[1]: *** [/users/amirtaheri/openttd/objs/lang/strgen] Error 2
make: *** [build.o] Error 2
Macbook:/users/amirtaheri/openttd amirtaheri$
Don't use a path with spaces in it. Btw, "make" should do, instead of "make build"