VOGONS

Common searches


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 1 of 3, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

hmm, I encountered this as well at some point... I don't think you can set this unfortunately...

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

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.