Hacker Newsnew | past | comments | ask | show | jobs | submit | butz's commentslogin

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?

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.

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.


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


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.

LLMs are actually great for reverse engineering small chunks of code now.

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.


Interesting article. It would be really useful if you have added a full article title to the page meta data, so it would get bookmarked with title. I assume one does not require GPU to try out simple examples provided?

Hi! Yes, I’ll add all the info very soon. No GPU required. I did everything on a MacBook Air.

I don't see hardware requirements anywhere. Does this run on a simple CPU, or is a decent GPU required?


Firefox should just spin up a separate "Firefox Lite" without all the "features".


Great, yet another image format that cannot be controlled by browsers "disable autoplay" setting.


Good job! You should consider contributing to a similar small browser - Dillo @ https://dillo-browser.org/ , and help to build a complete tiny browser.


Wait a minute. If a website is using Cloudflare and is asking your audit tool, if it is a robot, are you validating Cloudflare bot gate website?


Nice to see tinyapps.org is still alive.


Game is great! A bit annoying is the use of fake names, but knowing "Neeentendo" an their lawyering practices, this is probably safest route. And it would be amazing if there would be a setting to disable all emojis. They are really overused.


I miss Android Holo design, IMHO it was peak for simplicity and usability on Android.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: