If you've never done one of the preceeding steps, you'll have to complete each step, i.e. install a complete development environment and all the dependencies which OpenTTD needs installed in order to compile successfully. Guess why that page is named as it isLoiner wrote:So if I used this method:
http://wiki.openttd.org/Compiler_sur_MinGW/Fr
Would I have to do everything mentioned or just the part under 'Compiling OTTD'?
Also, is there something I should put where it says 'cd ~/<path_to_source>'?
Howto apply a patch/diff file
Moderator: OpenTTD Developers
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Howto apply a patch/diff file
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
Re: Howto apply a patch/diff file
OK, I've compiled everything except Libfreetype which couldn't be found - so would I still be able to compile OpenTTD without it?
Re: Howto apply a patch/diff file
You should be able to compile OpenTTD without that, but then you cannot use a custom font setting in openttd.cfg.
Re: Howto apply a patch/diff file
OK, no problem.
Next step however - How do I go about this?
Like I say this is all new to me but I assume I'll have to enter something where it says 'cd ~/<path_to_source>'?
Next step however - How do I go about this?
Code: Select all
cd ~/<path_to_source>
./configure
make
Re: Howto apply a patch/diff file
"which can't be found"Loiner wrote:OK, I've compiled everything except Libfreetype which couldn't be found - so would I still be able to compile OpenTTD without it?
?
works for me
AroAI - A really feeble attempt at an AI
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. --Edsger Dijkstra
Re: Howto apply a patch/diff file
First make sure you actually have the source. It's easiest if you place it in (a subdirectory of ) C:\MinGW\msys\1.0\home\<user_name>
Then replace <path_to_source> with the actual path to the source, counting from C:\MinGW\msys\1.0\home\<user_name>. Say that the source is in C:\MinGW\msys\1.0\home\<user_name>\openttd, the command becomes:
Then replace <path_to_source> with the actual path to the source, counting from C:\MinGW\msys\1.0\home\<user_name>. Say that the source is in C:\MinGW\msys\1.0\home\<user_name>\openttd, the command becomes:
Code: Select all
cd ~/openttd
Re: Howto apply a patch/diff file
OK, cheers!FooBar wrote:First make sure you actually have the source. It's easiest if you place it in (a subdirectory of ) C:\MinGW\msys\1.0\home\<user_name>
Then replace <path_to_source> with the actual path to the source, counting from C:\MinGW\msys\1.0\home\<user_name>. Say that the source is in C:\MinGW\msys\1.0\home\<user_name>\openttd, the command becomes:Code: Select all
cd ~/openttd
But the next problem is, it tells me to enter this:
Code: Select all
./configure
Re: Howto apply a patch/diff file
what does "ls -l" say? (those are lower case letters L)
Re: Howto apply a patch/diff file
It says:
Does this mean anything significant?
Code: Select all
total 61
-rw-r-r--r-- 1 Home Administrators 62150 Jul 8 23:38 openttd-is2-r20009-15820.svn.diff
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Howto apply a patch/diff file
Obviously you then have only the diff in that directory and not OpenTTD's source.Loiner wrote:It says:
Does this mean anything significant?Code: Select all
total 61 -rw-r-r--r-- 1 Home Administrators 62150 Jul 8 23:38 openttd-is2-r20009-15820.svn.diff
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
Re: Howto apply a patch/diff file
You have to do the steps under 'getting the source code' to get all source files in that directory.
A .diff or .patch file is just a set of instructions of how to modify the source code to add the functionality of the patch.
In your case, it looks like you want to get revision 20009 of the source code as the patch has been written against that version.
(svn checkout -r20009 svn://svn.openttd.org/trunk)
A .diff or .patch file is just a set of instructions of how to modify the source code to add the functionality of the patch.
In your case, it looks like you want to get revision 20009 of the source code as the patch has been written against that version.
(svn checkout -r20009 svn://svn.openttd.org/trunk)
How to apply a patch ( idiots guide )
Hi there ,
After several unsuccessfull attempts to apply a patch , I have failed . Is there anywhere you have an ( idiots guide ) for doing this . I am trying to apply infrstructure sharing to the latest working version of open ttd . Could anyone explain this for me line by line , For example , i dont know what to open , where or how and would greatly apreciate a complete , simple set of instructions . Looking at ( how to apply a patch diff ) is a complete mystery to me as it does not tell what to open and where .
Thanks .
After several unsuccessfull attempts to apply a patch , I have failed . Is there anywhere you have an ( idiots guide ) for doing this . I am trying to apply infrstructure sharing to the latest working version of open ttd . Could anyone explain this for me line by line , For example , i dont know what to open , where or how and would greatly apreciate a complete , simple set of instructions . Looking at ( how to apply a patch diff ) is a complete mystery to me as it does not tell what to open and where .
Thanks .
- planetmaker
- OpenTTD Developer
- Posts: 9432
- Joined: 07 Nov 2007 22:44
- Location: Sol d
Re: Howto apply a patch/diff file
Did you already compile an unpatched OpenTTD version so far? If the answer is 'no', please go for that first.
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
Re: Howto apply a patch/diff file
Thanks for the reply.
To be brutaly honest , i am hopeless at compling anything except my sandwiches in the moprning before i trudge out to work . So heres my request . Since i will probably never , ever be able to do this , would it be possible for you to just comple it for me . What i want to do is be able to play the latest working version and have infrastructure sharing enabled . Would be forever grateful if you could as i would love to have all the latest featueres and be able to play with sharing as it forms the core part of how i play the game . If you can my e-mail addres is sphelanjml@eircom.net . If you cant or wont then you cant or wont
To be brutaly honest , i am hopeless at compling anything except my sandwiches in the moprning before i trudge out to work . So heres my request . Since i will probably never , ever be able to do this , would it be possible for you to just comple it for me . What i want to do is be able to play the latest working version and have infrastructure sharing enabled . Would be forever grateful if you could as i would love to have all the latest featueres and be able to play with sharing as it forms the core part of how i play the game . If you can my e-mail addres is sphelanjml@eircom.net . If you cant or wont then you cant or wont
Re: Howto apply a patch/diff file
I woudn't disclose my e-mail address like that... Unless you're interested in a boatload of spam.
Maybe you should take a look at "Chill's Patch Pack". I believe that includes infrastructure sharing (and a lot more), with precompiled Windows binaries available in the thread.
The "idiots guide" on compiling that you are looking for is this: http://wiki.openttd.org/Compiling_on_MinGW
Maybe you should take a look at "Chill's Patch Pack". I believe that includes infrastructure sharing (and a lot more), with precompiled Windows binaries available in the thread.
The "idiots guide" on compiling that you are looking for is this: http://wiki.openttd.org/Compiling_on_MinGW
Re: Howto apply a patch/diff file
Well , thnks for any help but after a frustrating night to be honest its all far too technical for me and i dont have a hope of compiling anything ,myself . So as a last desperate question . Is it possible to use the console window to apply an infrastructure sharing patch file . If not then i will have to give up i guess .
- Level Crossing
- Tycoon
- Posts: 1187
- Joined: 07 Feb 2011 22:04
- Location: East Coast, United States
Re: Howto apply a patch/diff file
No, it is not.REDBOOK7 wrote:Well , thnks for any help but after a frustrating night to be honest its all far too technical for me and i dont have a hope of compiling anything ,myself . So as a last desperate question . Is it possible to use the console window to apply an infrastructure sharing patch file . If not then i will have to give up i guess .
I would seriously suggest you try Chill's Patchpack. Clicky the Linky
Like my avatar? See my screenshot thread
Re: Howto apply a patch/diff file
Would I need to download all those patches that Chilli has put up?
I'm also a very un-technical guy. I've done everything the Wiki says, so what would I need to do from there?
Really want to use the infrastructure sharing thing, I have great plans to be used with it.
I'm also a very un-technical guy. I've done everything the Wiki says, so what would I need to do from there?
Really want to use the infrastructure sharing thing, I have great plans to be used with it.
- Level Crossing
- Tycoon
- Posts: 1187
- Joined: 07 Feb 2011 22:04
- Location: East Coast, United States
Re: Howto apply a patch/diff file
No, go to pg. 85 and look for the post with the word binary. It will have relevant instructions.Loiner wrote:Would I need to download all those patches that Chilli has put up?
I'm also a very un-technical guy. I've done everything the Wiki says, so what would I need to do from there?
Really want to use the infrastructure sharing thing, I have great plans to be used with it.
Like my avatar? See my screenshot thread
Re: Howto apply a patch/diff file
I really am coming across as naive and feel like I've skipped something, but the files related to binaries on that page just seem to link to the download of OTTD.Level Crossing wrote:No, go to pg. 85 and look for the post with the word binary. It will have relevant instructions.Loiner wrote:Would I need to download all those patches that Chilli has put up?
I'm also a very un-technical guy. I've done everything the Wiki says, so what would I need to do from there?
Really want to use the infrastructure sharing thing, I have great plans to be used with it.
Who is online
Users browsing this forum: No registered users and 41 guests