me: I'm gonna start on hacking another DOS game. Hopefully it won't be another one with horrible memory mapping problems
Ghidra: STRYKER.EXE loaded. 71 CODE segments found
me: WHAT THE FUCK
me: I'm gonna start on hacking another DOS game. Hopefully it won't be another one with horrible memory mapping problems
Ghidra: STRYKER.EXE loaded. 71 CODE segments found
me: WHAT THE FUCK
it was compiled with Turbo-C, either 1.5 or 2.0
@jenesuispasgoth A BIT
these aren't overlays, though, they're loaded all at the same time. but ghidra is really bad at 16-bit addressing so it's going to get so horribly confused
@foone are you saying you dislike segment overlays?
@jenesuispasgoth they would be, if ghidra could handle 16bit addressing properly!
@foone ah, if there's no overlay, then things are so much easier, aren't they? 😬
I'm not sure if this compiler was inline-happy, if the programmer was macro happy, or if they just loved copy-pastin'
Major Stryker and Cosmo's Cosmic Adventure both have a funny bug in their archive format:
they compare 11 characters of the filename when trying to find a named subfile.
That should be fine, right? DOS filenames are 8.3, right?
WRONG, THEY FORGOT THE DOT
so if you have FILENAME.001 and FILENAME.002, the game can't tell them apart
076萌SNS is a social network, courtesy of 076. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All 076萌SNS content and data are available under the Creative Commons Attribution 3.0 license.