Page 1 of 29

Spring 2013 Patch Pack - English Help (Updated 02/23/2017)

Posted: 02 Jul 2013 10:32
by kamnet
I'm starting this discussion topic for individuals who are trying out the OpenTTD Spring 2013 Patch Pack (also an English Translation) created by PI1985 on the TTD Russia forums. I think it might be easier to discuss it in English here rather than clutter up the Russian-speaking forums with requests for help. I'm letting the author know of the thread here, and possibly them or others will be able to assist over here.

The download directory with all previous released versions is here.

Latest Version: 2.4.292 - Released February 23, 2017

Cannot compile v1.6.46 Full source

Posted: 02 Jul 2013 10:38
by kamnet
I wanted to change one setting in the source of OpenTTD Spring 2013 Patchpack v1.6.46 Full, to allow for more than 64 NewGRFs in single player mode. However, I'm hitting a lot of errors when trying to compile, and eventually the whole mess fails. I've included the output from "configure" and "make" here.

For comparison, I was able to successfully compile OpenTTD 1.3.1 and r25549, just to make ensure there was nothing wrong with my setup of MinGW.

If there's anything I can do on my end to fix this, please enlighten me.

Re: OpenTTD Spring 2013 Patch Pack - English Help Topic

Posted: 02 Jul 2013 11:04
by planetmaker
The error should be gone, if you apply an explicit cast where the conversion is being done. Whether that makes sense and is safe... not sure, I did not look and depends on what values are acceptable for the variables.

Re: OpenTTD Spring 2013 Patch Pack - English Help Topic

Posted: 02 Jul 2013 11:25
by TinyMusic
Anyone want to play a multiplayer game with this patch pack? It looks like a more updated version of Chill Patch Pack :)

Re: OpenTTD Spring 2013 Patch Pack - English Help Topic

Posted: 02 Jul 2013 13:40
by Sacro
I noticed in the download I found here that the GPL text (in the COPYING file) was removed, pretty sure that's against the licence.

Cannot compile v1.6.46 Full source

Posted: 02 Jul 2013 18:08
by kamnet
planetmaker wrote:The error should be gone, if you apply an explicit cast where the conversion is being done. Whether that makes sense and is safe... not sure, I did not look and depends on what values are acceptable for the variables.
Sorry, Planetmaker, you lost me... :D

EDIT 2013/07/03 And nevermind. I was notified by PI185 that he has rolled out a new update, including my suggestion to implement Muzzly's Max NewGRFs patch.
Sacro wrote:I noticed in the download I found here that the GPL text (in the COPYING file) was removed, pretty sure that's against the licence.
The current version of the patch pack includes the GPL license and README file.

Re: OpenTTD Spring 2013 Patch Pack - English Help Topic

Posted: 04 Jul 2013 16:24
by Kevo00
Am I right that there is no Mac version, as yet at least?

Re: OpenTTD Spring 2013 Patch Pack - English Help Topic

Posted: 05 Jul 2013 05:09
by pi1985
Few days ago became avaliable new release of my patchpack. Because there was no it's complete description, post it here.

Version 1.7.xx Full based on lase cargodist release avaliable separately from trunk (gf401864b-cd, trunk 25337). Lite version based on clean trunk 25337.
Full and Lite versions are identical except cargodist.
Because cargodist is no longer avaliable separately, new releases will be based on trunk, and Lite version will no longer developed.

Latest release avaliable here.


Complete list of patches avaliable in patchpack:
  1. Extra large maps - up to 64k x 32k. For owners of very powerfull PSs. For example, map 16k x 16k uses near 4Gb of ram. But to save it you need 8Gb.
  2. More height levels - as addition to the first patch. Because of changing behavior of TerraGenesis by this patch, original TerraGenesis included (named TerraGenesis original).
  3. Rating in town label with my extension. In label also shown growth speed:
    • red cross - town is not growing;
    • red up arrow - town growing in 199 days and slowly;
    • orange up arrow - town growing in 100 days and slowly;
    • yellow up arrow - town growing in 50 days and slowly;
    • white up arrow - town growing in 10 days and slowly;
    • green up arrow - town growing faster than 10 days.
    Also asterisk shown when any company has exclusively transport rights.
  4. Variable day length.
  5. Departure boards.
  6. Programmable signals.
  7. Infrastructure sharing.
  8. Signals on tunnels and on bridges.
  9. Coefficient for town cargo generation.
  10. Trip history - my own interpretation of this patch.
  11. Airport upgrade.
  12. More conditional orders.
  13. Close adjacent level crossings.
  14. Build and refit.
  15. Minimap screenshot.
  16. Passenger only signals and stations.
  17. Enhanced viewport: zoom out, overlays & tooltips.
  18. Huge airports.
  19. Displaying train length in it's properties window.
  20. Town need goods (goods, water and food if avaliable). Every day town reduced a number of delivered cargo by it's daily consumption rate (each cargo has own rate, towns differentiated on very small, that don't require goods, small, medium and large). Town will grow when each cargo has monthly stock.
  21. Alternative method of delivering goods from station to industry - default method or deliver to all around.
  22. snowline console command to make variable snowline higher than 16 as in snowlinemod.grf.
  23. Long vehicle, station etc names.
  24. Yet another 32bpp anti-aliased blitter.
  25. New build vehicle window.
  26. Exact introduction date of vehicles.
  27. Filter industry by cargo and servicing.
  28. Larger statusbar to fit date with time, long company's name and 12-13 digits caches.
  29. Weight multiplier applies to passengers.
  30. Filter by cargo in all vehicles list.
  31. Minimal distance beetwen towns and industries.
  32. Ingame rivers.
  33. Automatic timetables.
  34. Improved breackdowns.
  35. Loan up to 200k GBP.
  36. Traffic lights.
  37. Grass growth on unused tracks. Because not everyone like this, it may be disabled in Advanced Settings.
  38. Leave orders.
  39. New order for loading - "Wait for cargo". With this order empty vehicle wait for first portion of cargo. Then it enables countdown and if counter become zero, vehicle leave station. If vehicle became full it leave station immediately. If vehicle has a lot of cargo, countdown starts immediately after load starts.
  40. Daily autosave.
  41. Industry station names.
  42. Menu jumping.
  43. Zoning.
  44. Vehicle repair cost.
  45. Basecost multipliers.
  46. Build and maintenance cost multipliers for all types of rails.
  47. Higher prices for construction near major cities
  48. All patch settings grouped in "Patch settings" group in Advanced Settings.
  49. Automatic advertising campaign (test, afrer loading save needs to enable again).
  50. More than 64 NewGRFs in single player.
  51. Station rating: normal or always 100%

Re: OpenTTD Spring 2013 Patch Pack - English Help Topic

Posted: 05 Jul 2013 05:10
by pi1985
Kevo00 wrote:Am I right that there is no Mac version, as yet at least?
There is no version for Mac because I haven't any opportunity to build it.

Re: OpenTTD Spring 2013 Patch Pack - English Help Topic

Posted: 05 Jul 2013 08:05
by 3iff
Is there a windows binary available?

Re: OpenTTD Spring 2013 Patch Pack - English Help Topic

Posted: 05 Jul 2013 08:38
by lugo
Is there a windows binary available?
Kamnet linked to a site in his first post where you can get binaries..


On another note:
pi1985 have you thought about including "reduced tree growth patch"?

edit: link to said patch

Re: OpenTTD Spring 2013 Patch Pack - English Help Topic

Posted: 05 Jul 2013 08:46
by TinyMusic
I tried this patch pack and it crashes within a few minutes from the start, though it's probably NewGRF changing in-game.

Re: OpenTTD Spring 2013 Patch Pack - English Help Topic

Posted: 05 Jul 2013 09:44
by 3iff
Thanks. I opened the Russian page and unsurprisingly didn't understand a word. I didn't notice that the (English Translation) was a different URL.

Downloading now and I'll give it a try.

Testing now. I'm impressed. Thanks to Kamnet for a great find. I'm going to have a busy weekend.
Oh, also thanks to Pi1985 for the patch.

Re: OpenTTD Spring 2013 Patch Pack - English Help Topic

Posted: 05 Jul 2013 11:06
by kamnet
3iff wrote:Thanks. I opened the Russian page and unsurprisingly didn't understand a word. I didn't notice that the (English Translation) was a different URL.
It's just the TTD Russia forums ran through Microsoft Translator. Google Translator was having issues with the page layout.
3iff wrote:Testing now. I'm impressed. Thanks to Kamnet for a great find. I'm going to have a busy weekend.
I can't take any credit, it was STD who posted it first, based on the response I figure it has a good chance to become popular, at least until ChillCore can get back into the game. ;-)

Re: OpenTTD Spring 2013 Patch Pack - English Help Topic

Posted: 05 Jul 2013 11:52
by 3iff
Kamnet: Well it was better than me trying to read Russian and you made the effort to provide a translation link...
I didn't know if someone else had found it first so I thanked the first one I knew about. As always though, OTTD is a group effort, so thanks to everyone associated with this.

It does appear to be an updated version of the Chill patchpack with all the important bits left in. I wanted the daylength patch included so I'm happy. I'm now letting 14 AI rampage over a map while I get to grips with the new features. There are a lot!

Re: OpenTTD Spring 2013 Patch Pack - English Help Topic

Posted: 05 Jul 2013 12:05
by 3iff
I'm presuming we can post bugs or problems here?

A graphics glitch on the vehicle history window. The text doesn't properly match the grid. Essentially harmless but something that would be nice to have fixed. BTW, the history record looks extremely useful.
Image1.png
Image1.png (9.19 KiB) Viewed 62854 times

Re: OpenTTD Spring 2013 Patch Pack - English Help Topic

Posted: 10 Jul 2013 20:25
by Sacro

Code: Select all

[SRC] Compiling road_gui.cpp
In file included from /srv/openttd/build/OpenTTDSpring2013Patchpack.1.7.55/src/road_gui.cpp:17:0:
/srv/openttd/build/OpenTTDSpring2013Patchpack.1.7.55/src/viewport_func.h:110:48: warning: redundant redeclaration of ‘void ShowExtraViewPortWindowForTileUnderCursor()’ in same scope [-Wredundant-decls]
/srv/openttd/build/OpenTTDSpring2013Patchpack.1.7.55/src/gui.h:58:6: warning: previous declaration of ‘void ShowExtraViewPortWindowForTileUnderCursor()’ [-Wredundant-decls]
/srv/openttd/build/OpenTTDSpring2013Patchpack.1.7.55/src/road_gui.cpp: In function ‘void PlaceRoadStop(TileIndex, TileIndex, uint64, uint64)’:
/srv/openttd/build/OpenTTDSpring2013Patchpack.1.7.55/src/road_gui.cpp:250:82: error: narrowing conversion of ‘cmd’ from ‘uint64 {aka long long unsigned int}’ to ‘uint32 {aka unsigned int}’ inside { } [-fpermissive]
make[1]: *** [road_gui.o] Error 1
Attempting to compile on Ubuntu 12.04 x64

Also in future could you possibly provide a diff against SVN or GIT, makes it much easier to apply.

Re: OpenTTD Spring 2013 Patch Pack - English Help Topic

Posted: 11 Jul 2013 06:08
by pi1985
Sacro wrote:Also in future could you possibly provide a diff against SVN or GIT, makes it much easier to apply.
No SVN or GIT used. I made diff by command

Code: Select all

diff -Naur original_OTTD/ patched_OTTD/ > diff
And allways apply it by command

Code: Select all

patch -p1 -i diff
About compiling error, change the header of the PlaceRoadStop function like this (last parameter changed to uint32).

Code: Select all

static void PlaceRoadStop(TileIndex start_tile, TileIndex end_tile, uint64 p2, uint32 cmd)

Re: OpenTTD Spring 2013 Patch Pack - English Help Topic

Posted: 11 Jul 2013 06:10
by planetmaker
Start using mercurial or git. You won't regret it. You'll start to feel that you're not able to work without ;-) It will also tremendously help in and simplify updating your patch pack

Re: OpenTTD Spring 2013 Patch Pack - English Help Topic

Posted: 15 Jul 2013 09:30
by alexanderweiss
pi1985 wrote:
Kevo00 wrote:Am I right that there is no Mac version, as yet at least?
There is no version for Mac because I haven't any opportunity to build it.
Here's a Mac build. I haven't tried much apart from quickly looking at the new features though…
https://portal.bitcasa.com/send/034cc64 ... 0b8010dc1f