Live data from Hacker News

Reverse Engineering Sid Meier's Railroad Tycoon for DOS from 1990

vogons.org

31–40 of 66 posts

Re: Reverse Engineering Sid Meier's Railroad Tycoon for DOS from 1990

#31

Please fix the integer overflow. Total income over the game was tracked in a 32-bit signed int, so if you earned too much money suddenly the total would turn negative and your stocks would crash.

As described by the posts, the original used 16-bit signed integers. The fix was to switch to 32-bit.

Re: Reverse Engineering Sid Meier's Railroad Tycoon for DOS from 1990

#32
post #29

Earlier quoted context omitted.

OpenXcom adds a whole heap of wonderful conveniences to UFO/X-Com. It's probably my favourite open source game engine clone thing. https://openxcom.org/

Dolls / Girls Frontline 2: Exilium[0][1][2] is a modern take on the XCOM concept. Free (but gacha.) 0. https://gf2exilium.sunborngame.com/main 1. https://gf2.haoplay.com/jp/ 2. https://store.steampowered.com/app/3308670/GIRLS_FRONTLINE_2...

> gacha

Hard pass.

Re: Reverse Engineering Sid Meier's Railroad Tycoon for DOS from 1990

#33
post #28

Please fix the integer overflow. Total income over the game was tracked in a 32-bit signed int, so if you earned too much money suddenly the total would turn negative and your stocks would crash.

I never found the bug in that direction. I discovered it the opposite way: when starting out, selling shares (or was it taking loans?) all the shares you can. Get around 30+ million in the hole and continue to lose money. Eventually an arithmetic overflow will occur and then suddenly you'll have a net worth of like $30-40 million and have the money form selling stock to build to your heart's content.

hahah this was it! make so many debt ur suddenly rich haha. kinda like evil corpos do today no? hahahha

Re: Reverse Engineering Sid Meier's Railroad Tycoon for DOS from 1990

#34
post #20
post #6

Loved that game. And Sid Meier's Colonization.

Not a penny for those heretic swines! No taxation without representation! and Wery well, we shall withdraw our forces! I was really disappointed when the both the remake and the open source versions lost those memorable quotes.

Was "You may kiss our royal pinky ring" in them though?

Re: Reverse Engineering Sid Meier's Railroad Tycoon for DOS from 1990

#35
post #24

I loved this game so much. There was a "deluxe" version with small improvements. I would love to play a modern version of this. Probably true for other strategy classics like Master of Magic, Master of Orion 2, Colonization. Edit: ha, I remember that I used a really good tactic of playing with competitors' stocks, gaining majority, siphoning tons of money from them, and then selling the stocks. More profitable than r…

I have been hooked on Transport Fever for a while now. My only gripe with it is that civilian vehicles will take roads intended for cargo/public transport traffic only. So the most profitable way is to disconnect entire cities by road and then use rail or road with disjunct depots to connect cargo to cities. This way you can force civilians to use public transport.

Using "civilian" to mean "a civilian who's not a cop" was already bad enough, but using it to differentiate private cars from trucks and buses? Public transport is practically the quintessential example of civilian infrastructure, you're really going too far now.

Re: Reverse Engineering Sid Meier's Railroad Tycoon for DOS from 1990

#36

I spent countless hours as a teen on that game. I feel it might be faster to rewrite it from scratch though than reverse engineer it.

It's trickier than you think! Even for the modern era, the railroad tycoon games are surprisingly deep and sophisticated economic simulations. I still haven't found one to equal Railroad Tycoon 3, which has this kind of neat reactive diffusion field pricing engine. The modern equivalents (I'm thinking of Transport Fever 2) while they are fun games just lacks the ability to build and manipulate a real economy by doing…

Would love sth like this. Any modern games (not that boring edutainment one about supply chains) that let you play with the stock market as well as doing something fun like in Railroad Tycoon?

Re: Reverse Engineering Sid Meier's Railroad Tycoon for DOS from 1990

#38
Loved watching my brother play this game growing up, it was a bit too complex for me!

I've played OpenTTD a bit and seems quite similar.

A question I've always had with these reverse engineering projects, can someone build off their work to do a clean room reimplantation if they avoid any code/dissembly ?

Re: Reverse Engineering Sid Meier's Railroad Tycoon for DOS from 1990

#39
post #24

Earlier quoted context omitted.

I have been hooked on Transport Fever for a while now. My only gripe with it is that civilian vehicles will take roads intended for cargo/public transport traffic only. So the most profitable way is to disconnect entire cities by road and then use rail or road with disjunct depots to connect cargo to cities. This way you can force civilians to use public transport.

Using "civilian" to mean "a civilian who's not a cop" was already bad enough, but using it to differentiate private cars from trucks and buses ? Public transport is practically the quintessential example of civilian infrastructure, you're really going too far now.

My apologies, you are right. I maybe should have used the term NPC? Or non-controllable vehicles.

Re: Reverse Engineering Sid Meier's Railroad Tycoon for DOS from 1990

#40

I loved this game so much. There was a "deluxe" version with small improvements. I would love to play a modern version of this. Probably true for other strategy classics like Master of Magic, Master of Orion 2, Colonization. Edit: ha, I remember that I used a really good tactic of playing with competitors' stocks, gaining majority, siphoning tons of money from them, and then selling the stocks. More profitable than r…

There is also a great re-make of Star Control 2 https://sc2.sourceforge.net/
Post reply on HN