Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Mon Feb 20, 2017 1:28 pm

All times are UTC




Post new topic  Reply to topic  [ 780 posts ]  Go to page Previous 133 34 35 36 3739 Next
Author Message
PostPosted: Mon Jul 11, 2011 5:34 pm 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 8995
Location: Sol d
Loiner 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>'?


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 is ;-)

_________________
Image
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


Top
   
PostPosted: Mon Jul 11, 2011 7:08 pm 
Offline
Engineer
Engineer

Joined: Sun Mar 28, 2010 5:48 pm
Posts: 56
OK, I've compiled everything except Libfreetype which couldn't be found - so would I still be able to compile OpenTTD without it?


Top
   
PostPosted: Mon Jul 11, 2011 8:24 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Mon May 21, 2007 11:47 am
Posts: 6559
Location: The Netherlands
You should be able to compile OpenTTD without that, but then you cannot use a custom font setting in openttd.cfg.

_________________
FooBar's Tram Tracks | TransRapid Track Set | Metro Track Set | OpenGFX base graphics set | FIRS Industry Replacement Set
Dutch Tram Set | Dutch Trainset 2 | Dutch Road Furniture


Top
   
PostPosted: Mon Jul 11, 2011 8:27 pm 
Offline
Engineer
Engineer

Joined: Sun Mar 28, 2010 5:48 pm
Posts: 56
OK, no problem. :)

Next step however - How do I go about this?

Code:
cd ~/<path_to_source>
./configure
make


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>'?


Top
   
PostPosted: Mon Jul 11, 2011 8:44 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu Jun 25, 2009 4:42 pm
Posts: 2362
Location: Location, Location
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?

"which can't be found"
?
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


Top
   
PostPosted: Mon Jul 11, 2011 8:53 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Mon May 21, 2007 11:47 am
Posts: 6559
Location: The Netherlands
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:
cd ~/openttd

_________________
FooBar's Tram Tracks | TransRapid Track Set | Metro Track Set | OpenGFX base graphics set | FIRS Industry Replacement Set
Dutch Tram Set | Dutch Trainset 2 | Dutch Road Furniture


Top
   
PostPosted: Mon Jul 11, 2011 9:23 pm 
Offline
Engineer
Engineer

Joined: Sun Mar 28, 2010 5:48 pm
Posts: 56
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:
cd ~/openttd


OK, cheers!

But the next problem is, it tells me to enter this:

Code:
./configure


And when I do, it says 'No such file or directory'.


Top
   
PostPosted: Mon Jul 11, 2011 10:24 pm 
Offline
Tycoon
Tycoon

Joined: Wed Jan 17, 2007 12:14 am
Posts: 6895
what does "ls -l" say? (those are lower case letters L)

_________________
You might not exactly be interested in Ferion, but if you are, have fun :)


Top
   
PostPosted: Mon Jul 11, 2011 11:21 pm 
Offline
Engineer
Engineer

Joined: Sun Mar 28, 2010 5:48 pm
Posts: 56
It says:

Code:
total 61
-rw-r-r--r-- 1 Home Administrators 62150 Jul  8 23:38 openttd-is2-r20009-15820.svn.diff


Does this mean anything significant?


Top
   
PostPosted: Tue Jul 12, 2011 3:03 am 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 8995
Location: Sol d
Loiner wrote:
It says:

Code:
total 61
-rw-r-r--r-- 1 Home Administrators 62150 Jul  8 23:38 openttd-is2-r20009-15820.svn.diff


Does this mean anything significant?

Obviously you then have only the diff in that directory and not OpenTTD's source.

_________________
Image
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


Top
   
PostPosted: Tue Jul 12, 2011 6:50 am 
Offline
OpenTTD Developer
OpenTTD Developer

Joined: Sun Sep 09, 2007 5:03 am
Posts: 4261
Location: home
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)


Top
   
PostPosted: Mon Jul 25, 2011 8:06 pm 
Offline
Engineer
Engineer
User avatar

Joined: Sat Oct 20, 2007 1:41 pm
Posts: 80
Location: IRELAND
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 .


Top
   
PostPosted: Mon Jul 25, 2011 8:12 pm 
Offline
OpenTTD Developer
OpenTTD Developer
User avatar

Joined: Wed Nov 07, 2007 10:44 pm
Posts: 8995
Location: Sol d
Did you already compile an unpatched OpenTTD version so far? If the answer is 'no', please go for that first.

_________________
Image
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


Top
   
PostPosted: Mon Jul 25, 2011 9:03 pm 
Offline
Engineer
Engineer
User avatar

Joined: Sat Oct 20, 2007 1:41 pm
Posts: 80
Location: IRELAND
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 :(


Top
   
PostPosted: Mon Jul 25, 2011 9:18 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Mon May 21, 2007 11:47 am
Posts: 6559
Location: The Netherlands
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

_________________
FooBar's Tram Tracks | TransRapid Track Set | Metro Track Set | OpenGFX base graphics set | FIRS Industry Replacement Set
Dutch Tram Set | Dutch Trainset 2 | Dutch Road Furniture


Top
   
PostPosted: Wed Jul 27, 2011 9:28 pm 
Offline
Engineer
Engineer
User avatar

Joined: Sat Oct 20, 2007 1:41 pm
Posts: 80
Location: IRELAND
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 . :cry:


Top
   
PostPosted: Wed Jul 27, 2011 9:55 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Mon Feb 07, 2011 10:04 pm
Posts: 1183
Location: East Coast, United States
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 . :cry:

No, it is not.

I would seriously suggest you try Chill's Patchpack. Clicky the Linky :D

_________________
Like my avatar? See my screenshot thread
Chill's Patchpack, an awesome collection of OTTD patches


Top
   
PostPosted: Mon Aug 15, 2011 7:09 pm 
Offline
Engineer
Engineer

Joined: Sun Mar 28, 2010 5:48 pm
Posts: 56
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. :cry:


Top
   
PostPosted: Mon Aug 15, 2011 7:53 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Mon Feb 07, 2011 10:04 pm
Posts: 1183
Location: East Coast, United States
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. :cry:

No, go to pg. 85 and look for the post with the word binary. It will have relevant instructions.

_________________
Like my avatar? See my screenshot thread
Chill's Patchpack, an awesome collection of OTTD patches


Top
   
PostPosted: Mon Aug 15, 2011 8:19 pm 
Offline
Engineer
Engineer

Joined: Sun Mar 28, 2010 5:48 pm
Posts: 56
Level Crossing wrote:
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. :cry:

No, go to pg. 85 and look for the post with the word binary. It will have relevant instructions.


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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 780 posts ]  Go to page Previous 133 34 35 36 3739 Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2017 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2017.
Hosted by Zernebok Hosting.