Re:Reverse Engineering Sid Meier's Railroad Tycoon for DOS f...
by butz on Wednesday February 18, 2026 @10:20AM
(#47061953)
Could someone refer to any good entry level DOS games reverse engineering materials? I dabbled a bit with NES hacking, but I'm finding it hard to get into DOS reverse engineering. What debugger to use? Any gotchas I should know in advance?
[ Parent
| on HN ]
Re:Reverse Engineering Sid Meier's Railroad Tycoon for DOS f...
by zabzonk on Wednesday February 18, 2026 @11:04AM
(#47062490)
Borland's debugger (came with Borland C++) was very good, if you can get hold of it. I removed copy protection from several games I owned using it, and actually fixed mouse support for another game.
Re:Reverse Engineering Sid Meier's Railroad Tycoon for DOS f...
by LowLevelMahn on Wednesday February 18, 2026 @10:52AM
(#47062321)
Tools:
IDA Pro 5 (Freeware) is the last Freeware version able to handle DOS executeables (official available by the ScummVM devs https://www.scummvm.org/news/20180331/) - IDA Pro still supports DOS-stuff with latest release - but not the freeware
or Ghidra - but the DOS/16bit support is sometimes lacky - but the decompiler is builtin
here is a list of articles to read: https://forum.stunts.hu/index.php?topic=4287.0
Re:Reverse Engineering Sid Meier's Railroad Tycoon for DOS f...
by trollbridge on Wednesday February 18, 2026 @10:29AM
(#47062074)
LLMs are actually great for reverse engineering small chunks of code now.
Re:Reverse Engineering Sid Meier's Railroad Tycoon for DOS f...
by sevensor on Wednesday February 18, 2026 @12:25PM
(#47063548)
Gotcha: once you get into it, hacking the game gets to be way more fun than actually playing it. Way back in the day I used the DOS debug utility to edit my Bard’s Tale savegames. But once everybody has 127 hit points and -10 AC, the game gets way less interesting.
Re:Reverse Engineering Sid Meier's Railroad Tycoon for DOS f...
by Rayosay on Thursday February 19, 2026 @12:24AM
(#47070239)
Spice86 has a pretty good built-in debugger. I found it much easier to work with than DosBox's debugger. Spice86's DOS emulation isn't as good as DosBox's yet, but it's getting better all the time. https://github.com/OpenRakis/Spice86
I second LowLevelMahn's recommendation for IDA 5 Free. It's a good disassembler for DOS applications and helps me navigate what I'm looking at in the Spice86 debugger. It also runs very well in Wine.
Re:Reverse Engineering Sid Meier's Railroad Tycoon for DOS f...
by colinmb on Friday February 20, 2026 @09:15AM
(#47088324)
I'll add another recommendation for the freeware version of IDA 5, a copy of which the ScummVM project has permission to host. Although it's Windows-only and its UI feels a bit clunky today, the keyboard shortcuts allow an experienced user to be pretty efficient in navigating code, assigning data types, changing symbol names, etc.
I was especially pleased with IDA 5's ability to find and organize all the segments in just about any MZ EXE I've used it to reverse. It was even able to deal with the overlay segments in a Borland VROOMM / FBOV executable, and that was a pretty short-lived endeavor that faded to obscurity as soon as DOS/4G was on the scene.