Page 1 of 1

PREHISTRYK 2: passwords

Posted: Sat Jun 25, 2011 2:30 pm
by mariuszp
Hello, everyone!

There's a game called PREHISTORYK 2 for DOS (you can find it on the internet). It has this thing called passwords where each level has a password and you can type it in to go to that level. But the passwords are unique on every single PC. You can still enter any level by typing DEAD C0DE F00D (level code in hex). I should add that these code are 16-bit hex.

I wanted to make a quick tool (for DOS) which finds those codes on the given PC. Does anyone how prehistoryk 2 might handel these? P.S. I mean the proper codes, not the "dead code food" thing :).

Maybe there is some way of telling apart computers, which might have been used in the DOS days? Does anyone know of such a thing? One more thing: i could find the method myself if anyone knows of a tool (preferably for Linux), which can disassemble MZ files? By the way, I use FreeDOS under VirtualBox to run prehistoryk 2 :D

Re: PREHISTRYK 2: passwords

Posted: Sat Jun 25, 2011 3:24 pm
by bluemoon
If the passwords are unique on every single PC, there is high chances that the mapping takes drive volume serial# as a parameter, as NIC was not that common back then. I would start by hooking the related DOS function(INT21/6900), or just scan for INT 21 sequence for volume serial#; and reverse-engineer the formula.

Re: PREHISTRYK 2: passwords

Posted: Sun Jun 26, 2011 10:48 am
by Karlosoft
@Bluemoon thank you for the info. I was looking for them me too ;)

Re: PREHISTRYK 2: passwords

Posted: Sun Jun 26, 2011 11:57 am
by mariuszp
Karlosoft wrote:@Bluemoon thank you for the info. I was looking for them me too ;)
But I posted first. So I make the decoder :)