VOGONS


Dosbox Serial no:

Topic actions

First post, by boschwakka

User metadata
Rank Newbie
Rank
Newbie

I have a program that ran on windows 98 and dos and the license key looked at the hard drive serial number.
How can i set the serial number in dosbox.
I have tested the progeam and it runs but meeds a license key and the software is discontinued so i cannot get a new license key.
thanks mark

Reply 2 of 3, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

It depends on how the software reads the serial number. If it uses INT 21/440D, you can change the number that DOSBox reports from 1234-0000 to whatever you want. Look for "serial number" in dos_ioctl.cpp, and change the two dword values there. If you're using a disk image (likely for win98), you'll have to hack the serial in the disk image.

Reply 3 of 3, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

If you can compile dosbox yourself, you can add some logging to what your
app checks (dos function 0x69, or the ioctl function ripsaw mentioned).