Most active commenters
  • michalc(3)
  • (3)
  • BlueTemplar(3)

292 points doener | 97 comments | | HN request time: 1.66s | source | bottom
1. petepete ◴[] No.42314931[source]
I guess the reason it's been posted today is that it was recently Transport Tycoon's 30th birthday.
replies(1): >>42316385 #
2. Refusing23 ◴[] No.42314980[source]
its a great game

and they even added multiplayer, different AI competitors etc.

i still play it every now and again

3. haunter ◴[] No.42315057[source]
What made OpenTTD a great success that it's playable out of the box. Most open source game remakes [0] are engine-only and you still need the graphics, arts, sound, and music assets to make it a 100%, and actual playable experience. OpenTTD started like that too but from the very beginning it was a goal to "detach" the game from the original as quickly as possible. It was released in 2004, the actual graphics replacement project started in 2007 and by 2009 100% of the sprites were finished so the original game files were not needed anymore [1]

And actually there are now 5 different basesets on top of the original TTD one [2]

It also made possible things like releasing the game on Steam and GOG.

0, https://github.com/radek-sprta/awesome-game-remakes

1, https://wiki.openttd.org/en/Archive/Community/Graphics%20Rep...

2, https://bananas.openttd.org/package/base-graphics

replies(4): >>42315560 #>>42315642 #>>42316090 #>>42318242 #
4. aquafox ◴[] No.42315113[source]
In the original Transport Tycoon (but not OpenTTD), if you would build a tunnel from one end of the map to the other, the amout of money to pay gets so large that it triggers a (signed) integer overflow. So you can start your campaign with billions of dollars!
replies(4): >>42315293 #>>42315431 #>>42315977 #>>42316614 #
5. obviyus ◴[] No.42315117[source]
I hosted a multi-player server for my friends and it was a blast. The Docker image makes it so easy: https://github.com/bateau84/openttd
replies(1): >>42315361 #
6. ta12653421 ◴[] No.42315120[source]
one those evergreens which aged very well and which will continue to do so, i guess.
7. ExxKA ◴[] No.42315240[source]
Its an awesome game.

It triggered my entrepreneurial journey as a kid, and one of the first "open world" experiences I had from games. I would spend weeks trying to figure out what the right strategy was for a specific map.

In many ways, an entrepreneur and VC today, I am still playing that same game, and as the technological landscapes changes, so do the strategies I get to dream up.

8. michalc ◴[] No.42315249[source]
I have posted this before, but I’ve been working on a wrapper for OpenTTD to turn it from a game to a (slightly!) more serious system for research/experimentation, especially using its AI system:

https://github.com/michalc/OpenTTDLab

replies(4): >>42315301 #>>42315603 #>>42315610 #>>42316424 #
9. majke ◴[] No.42315293[source]
The original TTD was super stable though. I remember once I was able to crash it by building a very tight loop for a train, that it crashed with its own tail. This was the only time I saw the red font with debugging info.
replies(2): >>42315470 #>>42315871 #
10. teruakohatu ◴[] No.42315301[source]
This is really interesting. Submit it as a Show HN.
replies(1): >>42315316 #
11. michalc ◴[] No.42315316{3}[source]
Ah I did! https://news.ycombinator.com/item?id=39254487

(Feels a bit soon to repost somehow…)

replies(1): >>42316144 #
12. ikiris ◴[] No.42315320[source]
If you're going to mention OpenTTD, you should check out the much deeper Simutrans as well.
13. xaerise ◴[] No.42315331[source]
One of the founders of OpenTTD is Ludvig Strigeus. Creator of uTorrent. One of the key people behind Spotify and also receiver of Polhem Prize
14. finaard ◴[] No.42315361[source]
It's quite nice to see how technology has developed since then. A few years ago I wrote a wrapper around the openttd server to allow easier hosting (as well as putting it in a chroot) - now with docker/podman/... something like this is way more accessible. I've just created a mirror of the old repository on github, in case anybody is interested in that for historical reasons: https://github.com/bwachter/ttd_addons

https://github.com/bwachter/ttd_addons/blob/master/ttdconsol... is another example of progress - if I remember correctly at the time I did this inotify was in development outside the kernel tree. Nowadays solving this would be trivial with inotify on Linux - and other UNIX variants also mostly gained some form of file monitoring API.

15. avhception ◴[] No.42315368[source]
As a kid, I played the TT (non-deluxe) demo over and over again because I couldn't get my hands on a full copy.

When I discovered OpenTTD as an adult, I was absolutely thrilled.

I sunk god knows how many hours into it. And it even builds and runs on ppc64le!

replies(2): >>42315508 #>>42315550 #
16. renewiltord ◴[] No.42315420[source]
Beautiful game. I played the TT and TTD demo for so many hours because it had the best feature of the game: trains. OpenTTD was great fun and I thoroughly enjoyed myself for hours with it and the original sprites (many years had passed and I had money). They’ve since replaced all the graphics. Evergreen game and the modifications they’ve made to it have really done well gameplay wise.
17. dlcarrier ◴[] No.42315431[source]
Windows Solitaire had this two. If you kept dealing without playing, once you'd spent over $32,768, you'd instantly be in the positive nearly that much.
replies(1): >>42315975 #
18. leni536 ◴[] No.42315470{3}[source]
An impressing feat, considering it was written in assembly.
replies(3): >>42315796 #>>42316969 #>>42317156 #
19. RobinL ◴[] No.42315473[source]
My son loves openttd. Fun fact: the original transport tycoon was primarily written in assembly by Chris Sawyer
20. princevegeta89 ◴[] No.42315508[source]
I had access to a full copy of the original Transport Tycoon Deluxe on PC, and I remember finding myself to be the most creative player in that game, and I recall spending hours and hours and days and nights on it. I left it at one point when I started going to college, and after a long time again, I discovered OpenTTD.

I was very thrilled to find that this game has been ported to an open source project and also has an online system and community of players. I immediately signed up on a popular forum of players and played it competitively, discovered a lot of optimizations and had my fun again all the way. It was absolutely a refresh to see this game. I will end up teaching it to my kids when they come up to the right age again.

A timeless legend of a game, this is.

21. chgs ◴[] No.42315550[source]
I bought TT after school and can clearly remember reading the manual on the bus home, top deck, at the front, on the alteincham to flixton bus. It’s funny how 30 years on, some memories stick in your head.
22. DanielHB ◴[] No.42315560[source]
But the original soundtrack is still a banger.
replies(4): >>42315674 #>>42315797 #>>42315833 #>>42316025 #
23. alexey-salmin ◴[] No.42315584[source]
I love this game and I also spent quite some time playing original TTD as kid.

However I do wonder if there are any good modern contenders to it. My kids play games on an Android tablet. Even though OpenTTD runs there it doesn't feel native to the touch UI and overall looses the appeal to modern games (which are regrettably 99% crap but there are real gems too).

Long story short, anyone can recommend a high-quality pleasant-to-play economic strategy game for Android? There are tons of games roughly speaking "cats-n-soup alike" which look nice but lack the essence: it's just "use money to upgrade your economy and get more money", a one-dimensional loop without a need for strategy.

replies(1): >>42316080 #
24. scyzoryk_xyz ◴[] No.42315603[source]
I’ve been an avid OTTD player for over a decade, and always wondered how someone could do exactly this sort of thing.

Some of the addons, like the FIRS industrial economy are quite complex and it can be tricky to assess or estimate optimal routes/investment.

25. rantouan ◴[] No.42315610[source]
very good !
26. hnlmorg ◴[] No.42315635[source]
The original (not even Deluxe version) was one of my all time favourite DOS games.

For a several years (before I had kids), it used to be a Christmas tradition that I replay Transport Tycoon, albeit on modern hardware via this OpenTTD project.

As someone who isn’t personally the biggest fan of this time of year, it did make the Christmas period much more bearable.

replies(1): >>42316603 #
27. Cthulhu_ ◴[] No.42315642[source]
I was about to ask if the proceeds of the Steam version go to the OS project, but I see it's free-to-play. I should get it that way, it's convenient and auto-updates and the like, and they will get good statistics from Steam that way.

But also I have a backlog of games I still need to finish, including ones that scratch a similar itch like Satisfactory and Factorio.

replies(1): >>42316580 #
28. Cthulhu_ ◴[] No.42315663[source]
Back when (about ~15 years ago now?), OpenTTD added a custom AI player API. I found out about that right about when we had an "AI" class, and since it was pretty freeform I suggested that the teams build competing bots for OpenTTD. It was great, I don't think any of the players were particularly successful and some of them "cheated" by not deferring their heavy processes, locking up the server when it started up to pre-calculate routes and strategies. But it was an interesting endeavour in LUA, optimizing, path calculations, that kinda thing.

I believe at the time they had like a competition or open entry program to select a few community-created bots to include into the base game. I don't believe I ever mentioned our school thing in their community forums, I probably should have.

TL;DR OpenTTD for education purposes!

29. Slartie ◴[] No.42315674{3}[source]
Dab-dab-daaadab-dab-dadadab-dadab-dab-dab-dadab-dadadadaaaab....
replies(1): >>42315902 #
30. urbandw311er ◴[] No.42315796{4}[source]
I don’t understand (or maybe I’m just too used to online sarcasm) are you calling BS on this claim? Or is it actually possible.
replies(3): >>42315843 #>>42315999 #>>42316115 #
31. Rygian ◴[] No.42315797{3}[source]
https://www.youtube.com/watch?v=jSFsrmLhC00

Original soundtrack recorded with live instruments. Grooviest thing I've heard in years.

replies(2): >>42316578 #>>42317006 #
32. AnthonBerg ◴[] No.42315833{3}[source]
I grew up on AdLibs and Soundblasters and I love FM synthesis. For a while I thought that I had just imprinted on the sound signature of the OPL3 chip. Now after crises and tragedies I see the core truth at the inside of reality: FM synthesis is just so good.

The OPL3 modulates frequencies really well!

Here’s the Transport Tycoon soundtrack as performed by an OPL3 chip. This is objectively the original-original soundtrack. Because this is what I grew up on.

https://www.tt-forums.net/viewtopic.php?t=56778

(It’s cool how it was captured through the S/PDIF port of a SoundBlaster AWE32. It’s a nice little turn of commodity entertainment device market events that gave us that possibility, isn’t it?)

replies(1): >>42316921 #
33. lqet ◴[] No.42315843{5}[source]
I don't think that was sarcasm, Chris Sawyer wrote most (all?) of his games in pure assembly since the 80ies. The outworldly quality of this feat is legendary. TTD, and also RCT and RCT 2 were incredibly stable games. I played them for months and months as a kid, and never encountered a crash.
34. lqet ◴[] No.42315855[source]
So many relaxed hours of my life since I was a kid went into RCT, RCT II, OpenRCT, TTD and especially OpenTTD. Thank you, Chris Sawyer and the OpenRCT and OpenTTD teams.
35. majke ◴[] No.42315871{3}[source]
Ah! Now i remember. This was on the flooded tracks! So: tight train loop, and then flood tracks and then the game borked. Probably flooding came before train movement and it caused bad deref.
36. corobo ◴[] No.42315902{4}[source]
I don't remember this being on the transport tycoon soundtrack

https://youtu.be/l_bTTUihfx0?t=20

replies(1): >>42317787 #
37. DonHopkins ◴[] No.42315975{3}[source]
Leisure Suit Larry in the Land of the Lounge Lizards on the Apple ][ let you bet negative amounts of money in the casino and make money by losing on purpose!
replies(1): >>42317005 #
38. thih9 ◴[] No.42315977[source]
For those looking for something similar in the new version, in OpenTTD sandbox options are supported: https://wiki.openttd.org/en/Manual/Sandbox%20options . Not as fun as the easter egg but still practical. And to be fair, the original had cheats too.
39. Halfwhit ◴[] No.42315999{5}[source]
I don't read it as sarcasm, but more as a genuine achievement
40. RUnconcerned ◴[] No.42316025{3}[source]
It is! Whenever I play OpenTTD, I make sure to fetch the original soundtrack instead of the new one.
41. ◴[] No.42316031[source]
42. pranaycodes ◴[] No.42316064[source]
Fun fact - the OpenTTD project supports building for the web browser via Emscripten. I couldn't find an officially hosted version of it, so I've been using my own at https://openttd.pranay.codes. Pretty usable out of the box, but there are some issues with audio. I've been meaning to add features like cloud saves as well, because right now your games are dependent on the whims of browser storage.
replies(2): >>42316078 #>>42317495 #
43. InvOfSmallC ◴[] No.42316078[source]
very cool!
44. lupusreal ◴[] No.42316080[source]
Factorio with elevated rails doesn't really match the "pleasant-to-play economic strategy game" thing but has been scratching my making-train-networks itch. I think OpenTTD is still overall the top of this field though.
45. Maakuth ◴[] No.42316090[source]
OpenRA – which is open source reimplementation of Red Alert, Dune 2000 and C&C Tiberian Dawn - has solved this by offering to fetch the shareware game and extracting the assets from there. Fully libre distributable assets would offer even better experience, but this is one pretty neat way to handle the seamless start.
replies(4): >>42316365 #>>42316585 #>>42316600 #>>42316637 #
46. Timwi ◴[] No.42316101[source]
I used to play this a lot with a friend. We made a map called “German Reunification” which simulates the separation until 1989 and subsequent reunification. The map is made from real elevation data and city geocoordinates. https://wiki.openttd.org/en/Community/Scenarios/Real%20World...
replies(2): >>42317230 #>>42317716 #
47. npteljes ◴[] No.42316115{5}[source]
This is meant as a compliment. The lower level the language, the easier is to make a mistake in it, leading to instability. The stability of the product, then, is a testament to the ability of its creator.

Chris have indeed written the game in Assembly, however, this is just one aspect of the truth. He actually used a kind of higher level generator or macro system for the game. But, still assembly, at the end of the day. Just not written by hand in Notepad, like how CS students do in class. Or was that just me?

replies(1): >>42316504 #
48. hyperman1 ◴[] No.42316144{4}[source]
I am looking at https://github.com/michalc/OpenTTDLab/blob/main/examples/02-... and wondering if this isn't hyperthreading being enabled.

If you have 4 real cores, with 2 hyperthreads, the system reports 8 CPUs. But that's fake. Hyperthreads share most of their compute and register resources, so they only work well if a core is spending most of its time waiting. 2 hyperthreads both doing full compute will basically work at half speed each, which is close to what your graph is showing.

BTW, you can check on Linux with this command LANG=C lscpu and checking the Thread(s) per core value

replies(1): >>42317519 #
49. Kerbiter ◴[] No.42316365{3}[source]
(It's not a reimplementation, it's a different thing that is asset-compatible with the originals. The gameplay, the balance, the engine are different, and the name of OpenRA is not fairly claimed IMO.)
replies(2): >>42316540 #>>42316779 #
50. peacemaker ◴[] No.42316385[source]
ah great, yet another reason to make me feel old today! :) But seriously, 30 years old game and it still holds up really well. OpenTTD is one of those that I always have installed
51. indigoabstract ◴[] No.42316424[source]
I wish you would have given some concrete examples as I was curious what experiments are possible with your code in OpenTTD.

There was only one I could find: "exploring the performance of trAIns". I looked at the "trAIns" link and cannot understand what it does, other than being GPL licensed.

It's all very cryptic, without any explanations. To me that stands for "if you don't know already, you need not apply". Too bad.

replies(1): >>42316847 #
52. Gud ◴[] No.42316504{6}[source]
Frankly, if two different people had written two similar games, and one had chosen assembler and the other python, I would assume the assembler game to have fewer bugs simply because the much higher skill level.

I program in Python.

53. ◴[] No.42316540{4}[source]
54. hnlmorg ◴[] No.42316578{4}[source]
That’s genuinely the first time I’ve heard it. Unfortunately I could never get TT midi working with my sound card. Sound effects played just fine, but I just couldn’t get midi audio working on TT.

I really don’t miss those days of trying dozens of different autoexec.bat / config.sys configurations for each and every game just to get the basics working.

55. robertlagrant ◴[] No.42316580{3}[source]
If you like Factorio, it's worth trying Dyson Sphere Program as well.
replies(1): >>42318614 #
56. DiabloD3 ◴[] No.42316582[source]
I've been playing OpenTTD on and off for about... oh, about 15 years.

Still an amazing way of preserving Chris Sawyer's genius and naturally expanding on it in a way that isn't insulting to the original, but also keeping it relevant.

57. BlueTemplar ◴[] No.42316585{3}[source]
That's just the typical solution, I would be surprised if OpenTTD didn't used to do this too ?
replies(1): >>42317100 #
58. m000 ◴[] No.42316600{3}[source]
This is similar with how Debian handles Microsoft "core fonts" installation [1]. I.e. they don't redistribute, but automate the download from a publicly available source.

[1] https://tracker.debian.org/pkg/msttcorefonts

replies(1): >>42316888 #
59. BlueTemplar ◴[] No.42316603[source]
Hopefully you can eventually introduce your kids to it ! :D

(Also, has anyone tried to add some kind of multiplayer to it yet ?)

replies(1): >>42317083 #
60. schnable ◴[] No.42316604[source]
Thank you for triggering my every 18 month OpenTTD binge.
replies(1): >>42316626 #
61. icoder ◴[] No.42316614[source]
I remember discovering something like this in the first (?) Sim City. I must have been like 10 years old at the time. For some reason I had built so many police stations that the upkeep (was it 100 per station) was so high my monthly losses overflowed to profits.

It is only in hindsight that I now understand what happened there.

replies(1): >>42317245 #
62. hkt ◴[] No.42316626[source]
Remember to say goodbye to your loved ones and assure them you'll see them in March
63. KeplerBoy ◴[] No.42316637{3}[source]
Doesn't the shareware come with some license agreement which probably say not to do this?
replies(2): >>42316743 #>>42316933 #
64. teo_zero ◴[] No.42316743{4}[source]
Shareware software come with restrictions on redistribution, not use.
replies(1): >>42317106 #
65. ben_ ◴[] No.42316764[source]
Recently played on the yearly Jingle Jam charity stream, great game! https://www.jinglejam.co.uk/
66. Maakuth ◴[] No.42316779{4}[source]
I would imagine OpenTTD also has a number of similar "rule tweaks". The OpenTTD engine AFAIK started as a direct reimplementation, but I think that too has evolved quite a bit.
67. danw1979 ◴[] No.42316790[source]
Hands up all the crossover serial cable crew
68. michalc ◴[] No.42316847{3}[source]
Ah thanks for the suggestion! Will see if I can add examples or otherwise make things clearer
replies(1): >>42319341 #
69. yreg ◴[] No.42316866[source]
I've posted this before; I hope it's fine if I repeat it:

I really miss these building games that used an isometric grid. TTD, RC Tycoon, Zoo Tycoon, Sim City, …

Yes, it's less realistic, but it is so pleasant to work with. Everything you build aligns perfectly and if you want, you can neatly fill the entire map.

In comparison, (even with many mods) my Cities Skylines or Planet Coaster creations never look quite right. Building the roads and paths is always awkward and frustrating.

I wish there was more interest in new "simple-grid-based" games.

70. Gormo ◴[] No.42316888{4}[source]
Most Linux distros do that. The AUR, for example, has packages for MS fonts, Apple fonts, and many others, all of which extract the fonts from public redistributable packages.
71. Gormo ◴[] No.42316921{4}[source]
There are open-source libraries like AdPlug (https://adplug.github.io/) that offer really good OPL3 emulation. If you have the MIDI assets from the original game, it might be possible to get the original AdLib soundtrack working with OpenTTD!
72. itscrush ◴[] No.42316933{4}[source]
It was released as freeware back when by EA originally, which is what openRA relies on. Later the source was released under GPL[1] during the CNC remastered collection from EA.

[1]https://github.com/electronicarts/CnC_Remastered_Collection/...

73. ascagnel_ ◴[] No.42316969{4}[source]
It makes me wonder, is it possible to write something this complex in assembly today, given modern security features.

Not that you'd want to, given that OpenTTD has networked features and you'd want something that makes it easy to validate/isolate remote payloads.

74. ptspts ◴[] No.42317005{4}[source]
Then you have to bet carefully, to avoid winning by accident.
75. DanielHB ◴[] No.42317006{4}[source]
Man, TTD music was the only management game that made me HYPE to get down to managing.

Like I vividly remember Sim City 3000 music as well, but that game was more chill, like a sunny winter day.

TTD was like a spring day where you plan you call the pinkertons to bust some unions while smoking a cigar.

replies(1): >>42319138 #
76. afavour ◴[] No.42317033[source]
Such deep nostalgia for this game. But also deep nostalgia for the days when I had time to play this game. OpenTTD LAN party in the retirement home in a few decades, anyone?
replies(1): >>42317042 #
77. qmarchi ◴[] No.42317042[source]
If you can make it, checkout Super MAGFest. They host a OpenTTD tournament every year.
78. Toutouxc ◴[] No.42317083{3}[source]
OpenTTD has multiplayer.
79. dfox ◴[] No.42317100{4}[source]
IIRC there never was any kind of shareware version of TTD much less at any kind of stable URL that OpenTTD could automaticaly download. Also OpenTTD needed assets from particular version of TTD (different one than what I have as a boxed copy).
replies(1): >>42317444 #
80. notpushkin ◴[] No.42317106{5}[source]
Does it? I thought it was vice versa.
replies(1): >>42317432 #
81. ◴[] No.42317145[source]
82. mickeyp ◴[] No.42317156{4}[source]
Most assemblers have higher-level features like macros built in to make it easier to write. Once you start building abstractions (as Chris surely would've done) it becomes more manageable, but of course, still more work than writing C.

Instead of talking about that, spare a thought for the awful x86 memory segmentation mode[1] --- now that sucked.

[1] https://en.wikipedia.org/wiki/X86_memory_segmentation

83. MK2k ◴[] No.42317230[source]
That map idea is super cool, thanks for sharing!
84. throwup238 ◴[] No.42317245{3}[source]
In my headcanon it’s not a bug but a feature. Once you have that many police officers most of them have nothing to do but terrorize the civilian population with civil forfeiture to the benefit of the budget.
85. abofh ◴[] No.42317432{6}[source]
I think you're right - it encouraged sharing, but usually limited functionality (use) unless you knew the secret code "TIASP1814" - sorry scorched earth 1.2, you didn't give me a free upgrade 20 years ago, and I've been holding that grudge forever.
86. BlueTemplar ◴[] No.42317444{5}[source]
Ah, I actually meant in the more vague sense of «to use the open source version with the original graphics/sounds, you have to get those media files from the disk of the game you bought».
87. Abimelex ◴[] No.42317495[source]
make that multiplayer work and take my money!
88. MoreMoore ◴[] No.42317519{5}[source]
I wonder if the plot would look similar if you disabled hyperthreading but kept the same number of workers.
89. ohthehugemanate ◴[] No.42317716[source]
This is awesome, but I don't understand the mechanism for simulating partition. Water comes flowing in slowly... Flowing from where? To where?
90. corobo ◴[] No.42317787{5}[source]
Downvotes are fair, in my defence I was tired haha

Dumbass comment lmao

91. kissgyorgy ◴[] No.42318223[source]
Be aware it can be very addictive, you can sink a lot of time before you notice! It's very good
92. mtlynch ◴[] No.42318242[source]
I was curious how this worked without violating the copyright of the originals. I was imagining something akin to tracing over the original game assets and calling it a libre replacement, but it seems like they actually did it in a reasonable way:

>New art is being drawn in the style of the original game, using the original 8bpp palette. The graphics should be a similar but distinct version of the object in question - no graphics may be copied at all from the original. The new sprites do not have to be the same size as the original, but need to be similar so as to fit into the game as expected.

https://wiki.openttd.org/en/Archive/Community/Graphics%20Rep...

93. grey_earthling ◴[] No.42318614{4}[source]
And Mindustry (which is free on Flathub).
94. salzig ◴[] No.42318661[source]
If you like transportation games, maybe https://www.simutrans.com/en/ is also for you. ;)
95. schlauerfox ◴[] No.42319138{5}[source]
My mother's favorite game was Sim City 3000, and that soundtrack is still one of the best and my favorites. Such a groovy Jazz with variety. I'd love to find other artists like Jerry Martin did that soundtrack, most smooth jazz is too cheesy for me.
96. indigoabstract ◴[] No.42319341{4}[source]
Thanks!