Howto apply a patch/diff file
Moderator: OpenTTD Developers
Re: Howto apply a patch/diff file
did you read ANY of the information in this thread?
Re: Howto apply a patch/diff file
Sup guys,
i have a little question:
Can i compile (with new patchs) a windows OTTD version in Linux and then run it on Windows?
I understand the doubts of the guys about compiling...
Its kinda hard to get even what compile is, imagine so how to do that...
Anyway, thanks A LOT guys for helping!
i have a little question:
Can i compile (with new patchs) a windows OTTD version in Linux and then run it on Windows?
I understand the doubts of the guys about compiling...
Its kinda hard to get even what compile is, imagine so how to do that...
Anyway, thanks A LOT guys for helping!
Re: Howto apply a patch/diff file
That's possible if you set up a crosscompiler on linux to compile or windows. For more information on how to do so, just search the web.
Re: Howto apply a patch/diff file
Thats right 
thx A LOT

thx A LOT

- technosnorunt58
- Engineer
- Posts: 79
- Joined: 09 Nov 2008 00:59
Re: Howto apply a patch/diff file
Help.
I don't know a tling about programing, Ive downloaded Tortouse SVN. Done SVN Checkout to match the patch revision. Patched the SVN. Now I want to play my patch. So now what.
I also use BuildOTTD But when that works I get a blank command prompt. GAA.
I don't know a tling about programing, Ive downloaded Tortouse SVN. Done SVN Checkout to match the patch revision. Patched the SVN. Now I want to play my patch. So now what.

I also use BuildOTTD But when that works I get a blank command prompt. GAA.

Re: Howto apply a patch/diff file
What does the next step say to do? Have you done that?technosnorunt58 wrote:I don't know a tling about programing, Ive downloaded Tortouse SVN. Done SVN Checkout to match the patch revision. Patched the SVN.
...
So now what.
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
- technosnorunt58
- Engineer
- Posts: 79
- Joined: 09 Nov 2008 00:59
Re: Howto apply a patch/diff file
What is the next step?
Last edited by technosnorunt58 on 27 Jun 2009 22:01, edited 1 time in total.
Re: Howto apply a patch/diff file
euhm, compile the source code to a binary program with a C++ compiler?
- technosnorunt58
- Engineer
- Posts: 79
- Joined: 09 Nov 2008 00:59
-
- Transport Coordinator
- Posts: 305
- Joined: 20 Apr 2006 19:11
- Location: Oldenzaal, the Netherlands, gateway to Germany
Re: Howto apply a patch/diff file
Look for a manual on compiling a game somewhere.
Using the correct searchterms it's the first link in Google. Well, the second, really, but it's a subpage.
Using the correct searchterms it's the first link in Google. Well, the second, really, but it's a subpage.
Re: Howto apply a patch/diff file
ah, you mean FAQ section 2.7.
http://wiki.openttd.org/FAQ_development ... pile_it.3F
http://wiki.openttd.org/FAQ_development ... pile_it.3F
-
- Transport Coordinator
- Posts: 305
- Joined: 20 Apr 2006 19:11
- Location: Oldenzaal, the Netherlands, gateway to Germany
Re: Howto apply a patch/diff file
Well... really, Alberth.
It's mighty nice of you to help, but google is so easy, runt should have been able to find it him/herself.
It's mighty nice of you to help, but google is so easy, runt should have been able to find it him/herself.

Re: Howto apply a patch/diff file
Yeah, I was in a VERY good mood.Melfice wrote:Well... really, Alberth.
It's mighty nice of you to help, but google is so easy, runt should have been able to find it him/herself.

But fear not, I trust he/she will be back. If finding a web-page with a description of steps to compile OpenTTD yourself at our wiki was already too difficult, understanding how to compile, and/or how to run the result, and/or deciding what to do when the compile fails, will be way too complicated.
Chances are I am in a less good mood then

Re: Howto apply a patch/diff file
Hi.
I can't add diff patch to TartoiseSVN. I download sources and I do like writing but it doesnt work.
I click apply patch and I select patch but i have only TartoiseMerge thats all and nothing happens. I hope someone understand me.
Know somebody what is wrong?
I can't add diff patch to TartoiseSVN. I download sources and I do like writing but it doesnt work.
I click apply patch and I select patch but i have only TartoiseMerge thats all and nothing happens. I hope someone understand me.
Know somebody what is wrong?
Re: Howto apply a patch/diff file
I can only guess what the problem is. If you had shown a screenshot of your problem it would be easier to help you.
My guess: TurtoiseMerge opens and you don't know how to proceed.
Solution: When TurtoiseMerge opens, a list of files that changes are to be done in is displayed. Right click in that list and click on "Patch all". Then continue normally.
My guess: TurtoiseMerge opens and you don't know how to proceed.
Solution: When TurtoiseMerge opens, a list of files that changes are to be done in is displayed. Right click in that list and click on "Patch all". Then continue normally.
- technosnorunt58
- Engineer
- Posts: 79
- Joined: 09 Nov 2008 00:59
Re: Howto apply a patch/diff file
Ok I compiled it, now how do I play it? Or add another patch?
Re: Howto apply a patch/diff file
Euhm, start the created openttd.exe file by double-clicking it (or whatever you do to start a program at a Windows system)?technosnorunt58 wrote:Ok I compiled it, now how do I play it?
It should be in the 'bin' directory. If you cannot find it, let the computer search for it in all folders where you put the source code.
You cannot 'add patches' in the general sense. Each patch is developed seperately of all other patches, and cannot be combined with another patch without risk that the program cannot compile, or does not run, or does not crash.technosnorunt58 wrote:Or add another patch?
To 'add patches', you need to have an understanding of C++, the OpenTTD program, and patches.
- technosnorunt58
- Engineer
- Posts: 79
- Joined: 09 Nov 2008 00:59
Re: Howto apply a patch/diff file
Can't find it.
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Howto apply a patch/diff file
Me neither. But I'm talking about your verbose error description and a detailed step-by-step guide on how you got there.technosnorunt58 wrote:Can't find it.
OpenTTD: manual | online content | translations | Wanted contributions and patches
#openttdcoop: blog | wiki | public server | DevZone | NewGRF web translator
DevZone - home of the free NewGRFs: OpenSFX | OpenMSX | OpenGFX | Swedish Rails | OpenGFX+ Trains|RV|Industries|Airports|Landscape | NML
- technosnorunt58
- Engineer
- Posts: 79
- Joined: 09 Nov 2008 00:59
Re: Howto apply a patch/diff file
Ok.
I use SVN checkout. Apply the patch. Compile on C++ using VS_80 NOT 90 because it doesn't exsist. Copy the data folder to Relece/Debug. But I can't find OpenTTD.exe anywere in the folder!
I use SVN checkout. Apply the patch. Compile on C++ using VS_80 NOT 90 because it doesn't exsist. Copy the data folder to Relece/Debug. But I can't find OpenTTD.exe anywere in the folder!

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