Integrated Nightly Build

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Post Reply
User avatar
LKRaider
Transport Coordinator
Transport Coordinator
Posts: 360
Joined: 23 Mar 2005 04:05
Location: Brasil
Contact:

Integrated Nightly Build

Post 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/
Attachments
Integrated r2424i4_win32_binary.rar
Latest Integrated Build (i4)
(1.78 MiB) Downloaded 2093 times
2424to2424i4.diff.rar
Diff against SVN r2424
(222.87 KiB) Downloaded 632 times
Integrated r2424i4_sources.7z
Integrated Build (i4) Sources
(1.94 MiB) Downloaded 740 times
Last edited by LKRaider on 08 Jun 2005 05:04, edited 14 times in total.
Beeblebrox
Engineer
Engineer
Posts: 56
Joined: 03 Dec 2004 13:53

Post by Beeblebrox »

thanks! this is what i needed.

.....if it were in linux binary :|
User avatar
LKRaider
Transport Coordinator
Transport Coordinator
Posts: 360
Joined: 23 Mar 2005 04:05
Location: Brasil
Contact:

Post 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).
Attachments
r2233.diff
Integrated r2233 diff file
(223.46 KiB) Downloaded 635 times
Horse
Transport Coordinator
Transport Coordinator
Posts: 325
Joined: 10 Sep 2004 20:25

Post by Horse »

Thatis a great distribution.

why is Passengers destination not included?
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: Integrated Nightly Build

Post 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)
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
peter1138
OpenTTD Developer
OpenTTD Developer
Posts: 1732
Joined: 30 Mar 2005 09:43

Post 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]
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

When are these patches going to be applied to OTTD (nightly, please)?
peter1138
OpenTTD Developer
OpenTTD Developer
Posts: 1732
Joined: 30 Mar 2005 09:43

Post 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...
User avatar
Hackykid
Traffic Manager
Traffic Manager
Posts: 157
Joined: 22 Nov 2004 16:04
Location: Eindhoven de Gekste!!! (ongeveer ;P)
Contact:

Re: Integrated Nightly Build

Post 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
DopeFish Lives!!!
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post 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
User avatar
Dextro
Chief Executive
Chief Executive
Posts: 701
Joined: 12 Jan 2005 21:56
Location: Lisboa, Portugal
Contact:

Re: Integrated Nightly Build

Post 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:
Uncle Dex Says: Follow the KISS Principle!
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: Integrated Nightly Build

Post 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.)
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
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

You're right, passenger destination is a must in next version.
Also, the bug (see three posts above) must be fixed
User avatar
Dextro
Chief Executive
Chief Executive
Posts: 701
Joined: 12 Jan 2005 21:56
Location: Lisboa, Portugal
Contact:

Post 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 :?
Uncle Dex Says: Follow the KISS Principle!
MeusH
Tycoon
Tycoon
Posts: 4349
Joined: 25 Oct 2004 15:39
Location: Mississauga

Post by MeusH »

Very strange. Just try moving the map on the window.
First, resize it up, then change tab to "industries"
User avatar
Dextro
Chief Executive
Chief Executive
Posts: 701
Joined: 12 Jan 2005 21:56
Location: Lisboa, Portugal
Contact:

Post 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:
Uncle Dex Says: Follow the KISS Principle!
User avatar
LKRaider
Transport Coordinator
Transport Coordinator
Posts: 360
Joined: 23 Mar 2005 04:05
Location: Brasil
Contact:

Post 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 :?
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post 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.
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
User avatar
LKRaider
Transport Coordinator
Transport Coordinator
Posts: 360
Joined: 23 Mar 2005 04:05
Location: Brasil
Contact:

Post 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.
Attachments
Integrated r2233_sources.rar
(1.87 MiB) Downloaded 562 times
User avatar
Dextro
Chief Executive
Chief Executive
Posts: 701
Joined: 12 Jan 2005 21:56
Location: Lisboa, Portugal
Contact:

Post 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:
Uncle Dex Says: Follow the KISS Principle!
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 25 guests