Page 1 of 37

Integrated Nightly Build

Posted: 26 Apr 2005 06:08
by LKRaider
So, I downloaded MinGW and first thing was, of course, trying to compile OpenTTD. I had this idea of integrating all interesting patches I could find and build a custom version for myself.
And that's exactly what I did.
-------------------------------------------------------------------------------------
EDIT 07/06/2005:

Integrated Build r2424i4 has been delivered! :o

Patches in this build (19 in total):

Code: Select all

[+] Change Intro Screen                               - by Lucaspiller
[+] Clone vehicles v10                                - by Bjarni
[-] Day & Night Patch                                 - by Prissi
[+] Follow Vehicle on Main Screen                     - by Phirox
[+] Landinfo Realtime Patch                           - by Abraxa
[!] NPF Penalties                                     - by Peter1138
[+] Pbs 0.76                                          - by Hackykid
[+] Play Past 2090                                    - by Peter1138
[+] PNG Map Import v6                                 - by ChrisHuebsch / DaleStan / Cccp
[+] Ratings Details                                   - by Wizeman
[+] Remove Signal with Rail                           - by Rusydan
[+] Scheduled on Depot List                           - by Acidd_uk
[+] Smooth Economy Improved                           - by SirkoZ
[+] Signals Gui and Autocompletion                    - by Hackykid
[+] Station Listing                                   - by Rusydan
[+] Stop Receiving Cargo if not picked up             - by Wizeman
[+] Subsidiaries                                      - by LordOfThePigs
[+] Tooltips OnMouseOver                              - by CruDeLioS
[+] Town Ratings                                      - by Nzhook
Those marked by [!] are brand new patches.

-------------------------------------------------------------------------------------
Old Posts:
-------------------------------------------------------------------------------------
EDIT 22/05/2005:
New Integrated Build r2361i3 now avaiable!
Patches in this build (24 in total):
[!] Change Intro Screen - by Lucaspiller
[+] Clone vehicles v10 - by Bjarni
[!] Fairer Ratings - by Acidd_uk
[!] Find Depot Fix - by Glx
[!] Fix Station Long Names - by Ali Akbar
[!] Follow Vehicle on Main Screen - by Phirox
[!] Landinfo Realtime Patch - by Abraxa
[!] Newgrf fixes - by Hackykid
[+] Pbs 0.71 - by Hackykid
[+] Play Past 2090 - by Peter1138
[!] PNG Map Import v5 - by ChrisHuebsch / DaleStan
[+] Ratings Details - by Wizeman
[+] Remove Signal with Rail - by Rusydan
[+] Scheduled on Depot List - by Acidd_uk
[!] Server Pause on no Clients - by Peter1138
[!] Shared Stations - by Hazelrah
[!] Smallmap Zoom - by Lucaspiller
[+] Smooth Economy Improved - by SirkoZ
[+] Signals Gui and Autocompletion - by Hackykid
[+] Station Listing - by Rusydan
[+] Stop Receiving Cargo if not picked up - by Wizeman
[+] Subsidiaries - by LordOfThePigs
[+] Tooltips OnMouseOver - by CruDeLioS
[+] Town Ratings - by Nzhook
-------------------------------------------------------------------------------------
EDIT 03/05/2005:
New Integrated Build r2262i2 is up!
New patches:
+ Coal Mine Disaster Lowers Land
+ Play Past 2090
+ Scheduled vehicle listing for depots
+ Sinking Aircrafts
+ Stop receiving cargo if not picked up for a long time
+ Tooltips OnMouseOver
Enjoy! : D
edit 04/05/2005: Fixed missing feature to move mini-map
-------------------------------------------------------------------------------------
EDIT 27/04/2005:
New version up, wich includes the following patches (plus the previous ones too):
+ Elrail - Now you can build electric rail
+ Signal GUI & Autocompletion
+ Town Ratings
+ Fix Full Load Change
Also, I included a Pentium4 optimized executable (for fun : ) )
edit 28/04/2005: Included elrail.grf on the binary distribution and edited text file to credit patch authors.
-------------------------------------------------------------------------------------
Original Post:
This version contains 7 patches, wich include:
+ Clone Vehicles v9
+ PBS v0.67
+ Remove Rail with Signal
+ Service Rating Details (diff for r2201)
+ Smooth Economy Industries
+ Station Listing (diff for r2154)
+ Subsidiaries Management (based on diff for r2173)
And the cool thing is, it seems to be working ok! : o
So, if you always wanted to try those features together before, this is your chance. Just download the file below and extract it to your OpenTTD folder.

-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------

You can also get the files from here (including full sources and older versions): http://lkraider.eipper.com.br/openttd/

Posted: 26 Apr 2005 06:27
by Beeblebrox
thanks! this is what i needed.

.....if it were in linux binary :|

Posted: 26 Apr 2005 07:37
by LKRaider
You could try applying this diff to the latest nightly, if you want.
I think it should work, but since I am new to this stuff, I can't guarantee it...

Also, if I knew how to cross compile, I could try it. But since you are running linux, it would be easier to do it yourself actually (I'm stuck with WinXP here).

Posted: 26 Apr 2005 08:21
by Horse
Thatis a great distribution.

why is Passengers destination not included?

Re: Integrated Nightly Build

Posted: 26 Apr 2005 08:36
by DaleStan
LKRaider wrote:[OpenTTD exe]
I want the source.

And, before you try to tell me that you did post the source, a diff is not sufficient. (added to .sig; I say it often enough)

Posted: 26 Apr 2005 08:57
by peter1138
DaleStan, as the patch is for the current SVN, why don't you apply the patch yourself and then post the source?[/b]

Posted: 26 Apr 2005 09:54
by MeusH
When are these patches going to be applied to OTTD (nightly, please)?

Posted: 26 Apr 2005 10:04
by peter1138
You can apply them whenever you like.

If you mean merged into the SVN tree, then after 0.4 is released, if at all...

Re: Integrated Nightly Build

Posted: 26 Apr 2005 10:10
by Hackykid
DaleStan wrote:
LKRaider wrote:[OpenTTD exe]
I want the source.

And, before you try to tell me that you did post the source, a diff is not sufficient. (added to .sig; I say it often enough)
Actually, a .diff *is* sufficient, and the argument they make on that site you link to doesnt hold, because we use svn, older sources are always available.

edit: hmm wait, besides the diff, you should also note which revision it should be applied to, in order to build the binary :-P

Posted: 26 Apr 2005 11:32
by MeusH
I've found a bug.

Start a new game
Open the "world map" window (it should be in the left top corner)
Change tab to "industries"
Resize the window up (drag the bottom-right corner to the bottom right)
Move whole window to the bottom right
See game crashing

What's that? It wasn't happening in previous nightly

Re: Integrated Nightly Build

Posted: 26 Apr 2005 13:41
by Dextro
LKRaider wrote:So, I downloaded MinGW and first thing was, of course, trying to compile OpenTTD. I had this idea of integrating all interesting patches I could find and build a custom version for myself.
And that's exactly what I did.

This version contains 7 patches, wich include:

Code: Select all

+ Clone Vehicles v9
+ PBS v0.67
+ Remove Rail with Signal
+ Service Rating Details (diff for r2201)
+ Smooth Economy Industries
+ Station Listing (diff for r2154)
+ Subsidiaries Management (based on diff for r2173)
And the cool thing is, it seems to be working ok! :o
So, if you always wanted to try those features together before, this is your chance. Just download the file below and extract it to your OpenTTD folder.
BEAUTIFULL!!! :shock:

Get Passenger Destinations in there and you have a sure winner :mrgreen:

Re: Integrated Nightly Build

Posted: 26 Apr 2005 14:23
by DaleStan
Hackykid wrote:Actually, a .diff *is* sufficient, and the argument they make on that site you link to doesnt hold, because we use svn, older sources are always available.
At least, they are available until the SVN server crashes. (Which is not unprecedented.)

Posted: 26 Apr 2005 14:41
by MeusH
You're right, passenger destination is a must in next version.
Also, the bug (see three posts above) must be fixed

Posted: 26 Apr 2005 14:47
by Dextro
MeusH wrote:I've found a bug.

Start a new game
Open the "world map" window (it should be in the left top corner)
Change tab to "industries"
Resize the window up (drag the bottom-right corner to the bottom right)
Move whole window to the bottom right
See game crashing

What's that? It wasn't happening in previous nightly
Doesn't happen in mine :?

Posted: 26 Apr 2005 14:49
by MeusH
Very strange. Just try moving the map on the window.
First, resize it up, then change tab to "industries"

Posted: 26 Apr 2005 14:51
by Dextro
MeusH wrote:Very strange. Just try moving the map on the window.
First, resize it up, then change tab to "industries"
nope, can't reproduce :? Maybe somebody else can? :roll:

Posted: 26 Apr 2005 16:46
by LKRaider
The crash happens here aswell. Just make the map screen big enough, change the map display (can be industries, vehicles, routes, vegetation, owners) then move it down the main screen, and game closes, without any error.
Unfortunatelly I don't know how to fix it, as I don't program in C.

About the sources: How would you prefer it posted? Just the changed files, packed in a rar archive would be ok?


Also, about the passenger destinations, I thought it was too crude still, and didn't want to venture adding it at my first try :?

Posted: 26 Apr 2005 17:27
by DaleStan
LKRaider wrote:About the sources: How would you prefer it posted? Just the changed files, packed in a rar archive would be ok?
No.

"Full source" is something that can be downloaded, decompressed, and compiled. Assuming I did everything correctly, this would be the full source.

I'll grant that full source is currently pretty useless; using SVN to get r2233 is much more efficient, at least if you already have a recent version checked out, but what happens when the SVN server goes down?

Another point about the SVN vs HTTP:
the GPL wrote:If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code
It take a mighty big stretch of the imagination to define svn://svn.openttd.org and http://www.tt-forums.net as the "same place".

The bug:
Can it be reproduced in r2233? If so, report it to the devs.
Can it be reproduced with only one patch applied? if so, report it to developer of that patch.

Posted: 26 Apr 2005 18:21
by LKRaider
Thanks for the trunk archive.

Here are the sources needed to compile the Integrated Build. I included the Makefile.config I used, so you would just need to run 'make' to build it, assuming you are using MinGW with zlib and pnglib libraries installed, and are targeting a win32 binary.

Posted: 26 Apr 2005 18:33
by Dextro
LKRaider wrote:Thanks for the trunk archive.

Here are the sources needed to compile the Integrated Build. I included the Makefile.config I used, so you would just need to run 'make' to build it, assuming you are using MinGW with zlib and pnglib libraries installed, and are targeting a win32 binary.
btw can you post what you did to get this compiled? or what link you used to get the rig up? I tried it wonce and couldn't do it :oops: