PREHISTRYK 2: passwords

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
mariuszp
Member
Member
Posts: 587
Joined: Sat Oct 16, 2010 3:38 pm

PREHISTRYK 2: passwords

Post 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
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: PREHISTRYK 2: passwords

Post 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.
User avatar
Karlosoft
Member
Member
Posts: 277
Joined: Thu Feb 14, 2008 10:46 am
Location: Italy
Contact:

Re: PREHISTRYK 2: passwords

Post by Karlosoft »

@Bluemoon thank you for the info. I was looking for them me too ;)
mariuszp
Member
Member
Posts: 587
Joined: Sat Oct 16, 2010 3:38 pm

Re: PREHISTRYK 2: passwords

Post 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 :)
Post Reply