The most reliable way I know to run an old Duke Nukem game on an XP machine is to use the DOSBox emulator. Without it, getting the game to run properly, or at all, is nearly impossible.
DOSBox also provides Sound Blaster 16 audio. If you somehow get the game running on XP without an emulator, chances are you will have no sound at all.
Download DOSBox and open its configuration file (something like dosbox-0.73.conf). Some helpful settings include:
fullscreen=true
fulldouble=true
fullresolution=original
windowresolution=original
output=surface
autolock=true
priority=highest,normal
usescancodes=true
machine=svga_s3
memsize=8
core=normal
cputype=pentium_slow
cycles=max
sbtype=sb16
sbbase=220
irq=7
dma=1
hdma=5
sbmixer=true
oplmode=auto
xms=true
ems=true
umb=true
keyboardlayout=auto
Note that the CPU type and cycles settings depend on your PC. There is no way to know the ideal values in advance, so use trial and error to find what runs smoothly.
DOSBox only has a command line, like the DOS days, with no graphical interface. It starts on a temporary "Z:" drive. To use your real hard drive, type:
mount c <game folder path>
For example, if Duke Nukem 3D is installed in a folder called "DOS games," you would type:
mount c c:\dosgames
Then type "C:" to switch to that drive. If something does not work, tweak the settings and try again. With a little patience, you should get it running. I did!