First you need a copy of the Win 3.1/3.11 disks. I can't get them for you as that's illegal. Believe it or not Microsoft was still actively supporting Wind 3.11 up until a few weeks ago, as I understand it. Still doesn't make it ok to distribute it. So if you don't have a copy you'll have to find it yourself somehow. I'm lucky enough to have the old disks still.
A very detailed explanation of what to do can be found here at the VOGONS forums
http://vogons.zetafleet.com/viewtopic.php?t=9405, but I'll try to give a quick and easy run-down myself.
Here is what you do:
1) Copy all the contents of your Win 3.1/3.11 disks into one directory on your hard drive. Let's say "c:\dosbox\doswin\win311".
2) Run DOSBox and mount whatever directory you use as your drive C in DOSBox as C and then mount "c:\dosbox\doswin\win311" (or whatever directory your Win 3.1/3.11 disks were copied to) as drive D or something. For example, I would do this upon starting DOSBox:
Code: Select all
mount c c:\games
mount d c:\dosbox\doswin
3) Go to the Win 3.1/3.11 folder and type "setup."
4) Go through the steps of installing Windows and when it's finally done it'll say it's modified your config.sys and autoexec.bat files. Close DOSBox and open your DOSBox config file. Since DOSBox doesn't use actual config.sys or autoexec.bat files you'll have to copy the contents of autoexec.bat that was created into the very end of your dosbox.conf file. For me the Win 3.1 created autoexec.bat would be located in "c:\games" and my dosbox.conf file would be located in "c:\dosbox".
5) Download the S3 video drivers for Windows 3.1 at
http://www.si-gamer.net/gulikoza/win/s3drivers.zip and unzip them to a folder you can access within DOSBox. Such as "c:\games\drivers\video".
6) Download the Sound Blaster 16 DOS drivers at
http://www.si-gamer.net/gulikoza/win/SB16W3x.zip and unzip them into the same driver directory. Such as "c:\games\drivers\sound'.
7) You can also download these enhancements for Win 3.11 that some games need. Most of the time they come with the game that needs them anyway, though.
Win32
http://www.si-gamer.net/gulikoza/win/Win32s.zip
Video for Windows
http://www.si-gamer.net/gulikoza/win/VFW11E.zip
WinG
http://www.si-gamer.net/gulikoza/win/WinG.zip
There's also a whole bunch of extra Win 3.1/3.11 goodies
for download at this site.
DISPLAY DRIVER
8) Run DOSBox again. The new autoexec information that Windows added might give some errors in DOSBox but that's ok it won't matter. It'll still work. Mount your drives again:
Code: Select all
mount c c:\games
mount d c:\dosbox\doswin
Go to your C drive and into your Windows directory this time and type "setup".
It'll show a screen where you can select different drivers for various things. Highlight the driver next to "Display" and press enter. Scroll down the list that appears to the entry at the very bottom named "Other (Requires disk provided by hardware manufacturer)" and press enter. It'll ask for the directory your video card drivers are in. Type in "d:\drivers\video" and press enter. That should bring up a new list of extra drivers you can add. Select the one that has 640x480 and 256 colors in it and press enter. This should install your new video drivers for Windows.
9) After it's done quit the setup and launch Windows by typing "win" and you should see something like the first screenshot I posted in this thread. Note: You can't change resolutions within Windows. You have to run setup again (or run the Windows Setup application shortcut in Windows in the Accessories window in Program Manager) and select another driver from "d:\drivers\video". Most games only need 640x480, though, so you should be fine.
SOUND DRIVER
10) Quit Windows and go to your sound driver folder. For me it would be in "d:\drivers\sound". Then type "install".
The program will start and will ask you what to install. a) Since the drivers link I provided is only one of the 2 disks you'll have to select a custom installation. b) A window will pop up asking you a yes or no question. Answer "No". c) The next section will show 3 different paths. They should all be correct except for the middle one which is the Windows path. Change that to "c:\windows". d) Another section comes listing specific details for your sound card. The only one you'll need to change is the interrupt which reads "5". You should change this to "7". e) Another window will come up asking you to "Backup", "Skip", or "Proceed". Choose "Proceed".
That should be it for drivers. Run Windows again and you should have sound!
NOTE: If you can't control your mouse in Windows run the windows setup program again and choose a different mouse driver, save it quit the program and then run setup again and change it back to "Microsoft, or IBM PS/2". This worked for me.
If you have problems go to the link I mentioned earlier at the VOGONS forums which has a much more detailed set of instructions with screenshots to help you on how to get Win 3.11 working in DOSBox.
http://vogons.zetafleet.com/viewtopic.php?t=9405