Howto apply a patch/diff file
Moderator: OpenTTD Developers
- Sensation Lover
- Transport Coordinator
- Posts: 338
- Joined: 26 Feb 2009 09:17
- Skype: Aron Bogdan Silviu
- Location: Torino, Italy
- Contact:
Re: Howto apply a patch/diff file
I have 2 .patch files: "chunnelv10_r16237" and "signaltunnel_V19_r16312" . i want to play with this patches but i did't find the right informations on how to apply this patches. I use Tortoise SVN. i ve create a new folder, i ve made the svncheckout, i applied the patches, and now? what's next? there is no .exe. there is full of files and folder and i don t know what to do with... please help me!
I was in:
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Howto apply a patch/diff file
You compile it.
See the wiki for details
See the wiki for details
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
- Sensation Lover
- Transport Coordinator
- Posts: 338
- Joined: 26 Feb 2009 09:17
- Skype: Aron Bogdan Silviu
- Location: Torino, Italy
- Contact:
Re: Howto apply a patch/diff file
can you give me an URL please.planetmaker wrote:You compile it.
See the wiki for details
I was in:
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
- Sensation Lover
- Transport Coordinator
- Posts: 338
- Joined: 26 Feb 2009 09:17
- Skype: Aron Bogdan Silviu
- Location: Torino, Italy
- Contact:
Re: Howto apply a patch/diff file
i'll give it a look... hope to understand something...
Thanks
Thanks
I was in:
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
- Sensation Lover
- Transport Coordinator
- Posts: 338
- Joined: 26 Feb 2009 09:17
- Skype: Aron Bogdan Silviu
- Location: Torino, Italy
- Contact:
Re: Howto apply a patch/diff file
I don t have linux, or c++ or another compiling software. cuz i don t know how to do this. for thouse like me that don't know nothing more than playing the game. is there an easyer way to apply patches? why there is no .zip containing the openttd folder with everything already modified? OpenTTD is played even by idiot people like me. how can we adjust this?
I was in:
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
Re: Howto apply a patch/diff file
The easiest way to apply ONE (and only ONE) patch *was* using BuildOTTD. Due to it using some unofficial method to figure out what the latest nightly was it does not work anymore. Even then, it only worked when you wanted to make 32 bits Windows binaries and another lists of requirements. Feel free to fix it, however... given the countless other people that want to use it but have not fixed it it is likely that you won't fix it either. It should be relatively trivial IF you've got the right tools and skills (I don't have them).Sensation Lover wrote:I don t have linux, or c++ or another compiling software. cuz i don t know how to do this. for thouse like me that don't know nothing more than playing the game. is there an easyer way to apply patches? why there is no .zip containing the openttd folder with everything already modified? OpenTTD is played even by idiot people like me. how can we adjust this?
The reason why there is no '.zip' containing everything you need is the fact that such a '.zip' would need to be made. You ASSUME that the '.zip' will then contain something that YOUR OS and computer can work with. I'll gladly make you a '.zip' containing everything you need that just DOES NOT work on YOUR OS and/or computer.
You also ASSUME that ANYONE can make a '.zip' that works FOR YOU. The thing is, most people that are writing patches and such CANNOT make a '.zip' that works FOR YOU. YOU should be glad that there are people that MAKE a '.zip' FOR YOU. If they do not and you still WANT IT, DO IT YOURSELF.
The people that are writing patches have learned to compile OpenTTD themselves too, so WHY should YOU be ABLE to do so? There are enough manuals which IF FOLLOWED TO THE LETTER work fine.
So, either be grateful that there is SOMEONE making a '.zip' FOR YOU or LEARN how to do it YOURSELF.
- Sensation Lover
- Transport Coordinator
- Posts: 338
- Joined: 26 Feb 2009 09:17
- Skype: Aron Bogdan Silviu
- Location: Torino, Italy
- Contact:
Re: Howto apply a patch/diff file
90% of the manuals are written in a "language" understandable only for thouse that know specific terms and operations of codding. i only see strange things in thouse manuals. so the point is: "If you are a programmer you can do it, if not, GOD will help you!". and by the way, .zips always work, if you zip the right files in the right way (even i know how to zip a folder -with winzip-). ok. thanks to all! i had my answers! hope the patches get in trunk
Nice week-end to everybody! I m going to seaside

Nice week-end to everybody! I m going to seaside

I was in:
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
Re: Howto apply a patch/diff file
So you claim you can run ALL of the following on your computer? I really urge you to try. Just so you 'know' it; all these .zips work on at least one platform.Sensation Lover wrote:and by the way, .zips always work, if you zip the right files in the right way (even i know how to zip a folder -with winzip-)
- http://binaries.openttd.org/releases/0. ... -amd64.zip
- http://binaries.openttd.org/releases/0. ... c-i686.zip
- http://binaries.openttd.org/releases/0. ... versal.zip
- http://binaries.openttd.org/releases/0. ... .0-os2.zip
- http://binaries.openttd.org/releases/0. ... -win32.zip
- http://binaries.openttd.org/releases/0. ... -win64.zip
- http://binaries.openttd.org/releases/0. ... -win9x.zip
- Sensation Lover
- Transport Coordinator
- Posts: 338
- Joined: 26 Feb 2009 09:17
- Skype: Aron Bogdan Silviu
- Location: Torino, Italy
- Contact:
Re: Howto apply a patch/diff file
i ve specify winzip... however, i can unzip all of them
I was in:
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Howto apply a patch/diff file
There's a slight difference between "unpacking an archive" and "running an executable contained within an archive"...
Namely try to get openttd running using e.g. only the 1st zip file...
Let me quote from a signature of another person around here: "If you are not ready to work a bit for your ideas, it means they don't count much for you."
Namely try to get openttd running using e.g. only the 1st zip file...
Let me quote from a signature of another person around here: "If you are not ready to work a bit for your ideas, it means they don't count much for you."
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
- Sensation Lover
- Transport Coordinator
- Posts: 338
- Joined: 26 Feb 2009 09:17
- Skype: Aron Bogdan Silviu
- Location: Torino, Italy
- Contact:
Re: Howto apply a patch/diff file
it doesn t mach with the topic... i didn t posted any ideasplanetmaker wrote:"If you are not ready to work a bit for your ideas, it means they don't count much for you."
I was in:
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
- Sensation Lover
- Transport Coordinator
- Posts: 338
- Joined: 26 Feb 2009 09:17
- Skype: Aron Bogdan Silviu
- Location: Torino, Italy
- Contact:
Re: Howto apply a patch/diff file
http://www.tt-forums.net/viewtopic.php? ... 58#p790558
by the way i had what i was asking for...thank you all that spent time trying to make things more clear for me...it's only that some things are too complicated for me, and i must learn the basis. thank you all however!
by the way i had what i was asking for...thank you all that spent time trying to make things more clear for me...it's only that some things are too complicated for me, and i must learn the basis. thank you all however!
I was in:
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
Re: Howto apply a patch/diff file
Here, I've compiled OpenTTD specially for you with the chunnel and signaltunnel patches. It is in a '.zip' so you should be able to extract it with Winzip. Happy playing with it!Sensation Lover wrote:i ve specify winzip... however, i can unzip all of them
http://devs.openttd.org/~rubidium/opent ... r-only.zip
- Sensation Lover
- Transport Coordinator
- Posts: 338
- Joined: 26 Feb 2009 09:17
- Skype: Aron Bogdan Silviu
- Location: Torino, Italy
- Contact:
Re: Howto apply a patch/diff file


I was in:
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
Austria,Belgium,Brazil,China,France,Germany,Hungary,Indonesia,Italy,Luxemburg,Malaysia,Mexico,Netherlands,Norway,Panamà,Poland,Romania,
Saudi Arabia,Singapore,Slovenia,Spain,Switzerland,Thailand,U.K.,Ukraine,U.S.A.
Re: Howto apply a patch/diff file
I wonder when it's going to notice.
Also, aren't we way off topic here?
Also, aren't we way off topic here?
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
-
- Tycoon
- Posts: 1534
- Joined: 14 Mar 2006 12:46
- Location: Netherlands
Re: Howto apply a patch/diff file
Sensation Lover wrote:I have 2 .patch files: "chunnelv10_r16237" and "signaltunnel_V19_r16312" . i want to play with this patches but i did't find the right informations on how to apply this patches. I use Tortoise SVN. i ve create a new folder, i ve made the svncheckout, i applied the patches, and now? what's next? there is no .exe. there is full of files and folder and i don t know what to do with... please help me!
same problem for me, how do i complile and why isnt there a step-by step guide on the wiki, its like:
get SVN, and figure it out from there, it REALLY needs more step-by-step info and more images (visualisations) of what to do....
Re: Howto apply a patch/diff file
For the same reason there is no good newbie OpenTTD manual.ZxBiohazardZx wrote:why isnt there a step-by step guide on the wiki, its like:
get SVN, and figure it out from there, it REALLY needs more step-by-step info and more images (visualisations) of what to do....
People that understand what is missing don't know what to add, people that know what to add don't understand what is missing for new users.
For example, I only needed the wiki for SVN url, I knew already all the other stuff. So for me the page was too long. For you the page is too short, but I don't know what information you need. Also, I don't have a Windows system, and eg do not use TortoiseSVN, so almost all problems you experience, I don't even realize they exist.
I believe the only way out of it is when some newbie also updates the wiki pages. Unfortunately, that never happens.
Re: Howto apply a patch/diff file
How much more step-by-step do you want?ZxBiohazardZx wrote:same problem for me, how do i complile and why isnt there a step-by step guide on the wiki, its like:
- Turn on your computer
- Login (if needed)
- Press "Start" ... hmm, oh bah... there's no "Start" button on Vista? How to describe in simple steps that you need to start a browser?
Are you that computer illiterate that you the MS Visual C++ 2008 Express install instructions?
Do you really need to be shown how to download a file, find it back on you hard disk and then how to follow an installer?
Or is it an inability to find the install instructions? Hmm... wiki -> Development -> Coding tools (to build and debug OpenTTD) -> long list of install instructions; select one for your OS? (several don't work, but that is pretty clear from those pages). Or wiki -> "For those new to development, the FAQ should answer any questions you have" (i.e. the development FAQ) -> Lots of questions with, amongst others, "Now I have got the source code how can I compile it?" which lists links to the install instructions.
In my opinion that should be fairly trivial to find by just intelligently browsing the wiki.
Now about patching stuff and making a manual for that. That's a completely different thing. I could compare it with you making an instruction how I can flawlessly write German (I can read and understand most of it). This is basically what you ask. You ask us for an instruction how to fix any errors the patching process throws at you, which is vastly more complex and requires some basic understanding of coding. That's not something that can be written in a single page; it requires a lot of effort and trial'n'error.
Again... in the development FAQ there's a short explanation how to patch the source, which is sufficient if you apply ONE patch. With multiple patches you'll quickly end up in the situation where you need to know how to code or at least understand it enough to fix the collisions.
Re: Howto apply a patch/diff file
I was able to compile it without any knowledge about coding nor compiling, I used this step-by-step guide and common sense.ZxBiohazardZx wrote:same problem for me, how do i complile and why isnt there a step-by step guide on the wiki, its like:
get SVN, and figure it out from there, it REALLY needs more step-by-step info and more images (visualisations) of what to do....
I doubt it is that hard, when even I was able to apply two patches and compile it (I guess the fact that there was no conflict between these two patches helped tremendously).
Who is online
Users browsing this forum: Semrush [Bot] and 13 guests