Minimum files needed to launch a Windows 3.1 game?

Having problems with a specific game or application? Post your problems here!

Minimum files needed to launch a Windows 3.1 game?

Postby Kahenraz » 2019-9-01 @ 19:24

I'm using Windows 3.1 on DOSBox to launch an old game. Has anyone ever gone through and pruned out everything to make Windows run with the bare minimum of files? I don't intent to run it as an OS and only use it to launch the game.
Last edited by Kahenraz on 2019-9-12 @ 18:35, edited 1 time in total.
User avatar
Kahenraz
Oldbie
 
Posts: 565
Joined: 2004-1-22 @ 04:57

Re: Minimum files needed to launch a WIndows 3.1 game?

Postby DosFreak » 2019-9-01 @ 19:53

Back in the day MS released demo versions of their office software with the bare minimum Windows 3.x files.
Windows 9x setup does the same thing
I want to say I saw some Windows 3.x games in the Internet Archive using DOSBox doing the same thing awhile back.


/EDIT From when I looked at it on IA back in 2016 they likely used the same install or copied what ExoDOS did for his Windows 3.x collection:
https://archive.org/details/softwarelib ... collection
http://arstechnica.com/information-tech ... r-browser/

From a network capture:
https://cors.archive.org/cors/emularity_win31/win31.zip
https://cors.archive.org/cors/win3_CasW ... asWin1.zip

Appears to be be a slimmed down copy of Windows like what was used to demo Windows apps back in the day.

Now, Scott and his crew have done it again with the Windows 3.X Showcase—made up of a whopping 1,523 downloads (and counting), all running in a surprisingly robust, browser-based JavaScript emulation of Windows 3.1. You'll recognize offerings like WinRisk and SkiFree, but the vast majority of the collection sticks to a particularly wild world of Windows shareware history, one in which burgeoning developers seemed to throw everything imaginable against 3.1's GUI wall and see what stuck.


It's actually just the javascript port of DOSBox running Windows 3.1.
User avatar
DosFreak
l33t++
 
Posts: 10350
Joined: 2002-6-30 @ 16:35
Location: Your Head

Re: Minimum files needed to launch a WIndows 3.1 game?

Postby Kahenraz » 2019-9-01 @ 22:06

I slimmed this down myself. It uses the S3 Trio video and SB16 audio drivers:

Code: Select all
WINDOWS/
├── INDEO.INI
├── MOUSE.INI
├── PROGMAN.EXE
├── PROGMAN.INI
├── REG.DAT
├── RUNEXIT.EXE
├── SYSTEM
│   ├── COMM.DRV
│   ├── CSPMAN.DLL
│   ├── GDI.EXE
│   ├── IOS.386
│   ├── KEYBOARD.DRV
│   ├── KRNL386.EXE
│   ├── MIDIMAP.DRV
│   ├── MMSOUND.DRV
│   ├── MMSYSTEM.DLL
│   ├── MOUSE.DRV
│   ├── S3TRIO.DRV
│   ├── SB16FM.DRV
│   ├── SB16SND.DRV
│   ├── SHELL.DLL
│   ├── SOUND.DRV
│   ├── SYSTEM.DRV
│   ├── TIMER.DRV
│   ├── TOOLHELP.DLL
│   ├── USER.EXE
│   ├── VDDS3764.386
│   ├── VGA.DRV
│   ├── VGAFIX.FON
│   ├── VGAOEM.FON
│   ├── VGASYS.FON
│   ├── VSBPD.386
│   ├── VTDAPI.386
│   ├── VXDLDR.386
│   ├── WIN386.EXE
│   └── WIN87EM.DLL
├── SYSTEM.INI
├── TEMP/
├── WIN.EXE
├── WIN.INI


WIN.INI:

Code: Select all
[windows]
load=
run=
Beep=no
NullPort=None
CursorBlinkRate=530
DoubleClickSpeed=452
KeyboardDelay=2
KeyboardSpeed=31

[drawdib]
s3trio.drv 800x600x32(BGR 5)=1,0,15,0


SYSTEM.INI:

Code: Select all
[boot]
386grabber=vga_eng.3gr
oemfonts.fon=vgaoem.fon
fixedfon.fon=vgafix.fon
fonts.fon=vgasys.fon
display.drv=s3trio.drv
shell=progman.exe
network.drv=
mouse.drv=mouse.drv
language.dll=
sound.drv=mmsound.drv
comm.drv=comm.drv
keyboard.drv=keyboard.drv
system.drv=system.drv
drivers=mmsystem.dll msmixmgr.dll

[386Enh]
display=vdds3764.386
mouse=*vmd
ebios=*ebios
woafont=dosapp.fon
keyboard=*vkd
netheapsize=16
device=*vpicd
device=*vtd
device=*vdmad
device=*v86mmgr
device=*dosmgr
device=*wshell
device=*biosxlat
device=vtdapi.386
local=CON
FileSysChange=off
COM3Irq=4
COM3Base=03E8
COM4Irq=3
COM4Base=02E8
PagingFile=C:\WINDOWS\WIN386.SWP
MaxPagingFileSize=123552
device=vsbpd.386
device=MONOUMB.386
MaxBPs=768

[vcache]
minfilecache=512

[drivers]
timer=timer.drv
midimapper=midimap.drv
Midi=sb16fm.drv
Midi1=sb16snd.drv
Wave=sb16snd.drv
Aux=sb16snd.drv
Mixer=sb16snd.drv

[DISPLAY]
dpi=96
color-format=8
screen-size=640
fastmmio=on
textrmw=0
scache=on
ellipse-support=on
polygon-support=on
dac-type=nbt

[sndblst.drv]
Port=220
Int=7
DmaChannel=1
MidiPort=330
HDmaChannel=5
FDMAPlayBack=1
FDMARecording=1
FullDuplex=1
VoiceVolume=31, 31
FMVolume=31, 31
CDVolume=31, 31
LineVolume=31, 31
MicVolume=31
MasterVolume=31, 31
SpeakerVolume=31
AuxVolume=0, 0
InputMasterVolume=31, 31
MuteVirtual=10
OutputMixerSwitch=6
BassTone=31, 31
TrebleTone=31, 31
RecordGain=1, 1
OutputGain=1, 1
AGC=0
Mux_WaveIn=1e
SaveOnExit=0


I launch my game with:

Code: Select all
win runexit.exe c:\path\game.exe


This works fine for my use case but other games may need some of the removed components. For example, I removed all of the drivers necessary for networking.
User avatar
Kahenraz
Oldbie
 
Posts: 565
Joined: 2004-1-22 @ 04:57

Re: Minimum files needed to launch a WIndows 3.1 game?

Postby keropi » 2019-9-02 @ 05:47

^ thanks for sharing this info, should come handy! I never thought of doing that tbh but it is a very interesting concept :)
User avatar
keropi
l33t++
 
Posts: 7198
Joined: 2003-9-08 @ 06:45
Location: Greece

Re: Minimum files needed to launch a WIndows 3.1 game?

Postby Kahenraz » 2019-9-02 @ 10:09

I'm creating a private repository of DOS games for my nephew so that I can push new games for him that he can download without my having to do it in person.

This is for a small netbook running a very old processor. Some games run fine like The Oregon Trail Deluxe (1992) but some games get taxed too heavily if the emulation gets layered too thick. I'm trying to see if I can get it to run Yobi's Basic Spelling Tricks but it's struggling with Linux > DOSBox > DOS > Win 3.1 > Game.

The miniaturized Windows is to make a separate package for the OS dependency so that I don't have to duplicate it for every game that needs it.
User avatar
Kahenraz
Oldbie
 
Posts: 565
Joined: 2004-1-22 @ 04:57

Re: Minimum files needed to launch a WIndows 3.1 game?

Postby Jo22 » 2019-9-11 @ 19:49

Hi, that sounds great! I always feel happy when old classics are re-discovered by young people. :)
- By the way, you can also try WineVDM (OTVDM) and BoxedWine, too, for those games that are troublesome.
But yeah, the real thing (Windows 2.x/3.x) is nicer, since it provides the authentic atmosphere of an era.
"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//
User avatar
Jo22
l33t
 
Posts: 3778
Joined: 2009-12-13 @ 07:06
Location: Europe

Re: Minimum files needed to launch a WIndows 3.1 game?

Postby Kahenraz » 2019-9-13 @ 00:11

Jo22 wrote:Hi, that sounds great! I always feel happy when old classics are re-discovered by young people. :)
- By the way, you can also try WineVDM (OTVDM) and BoxedWine, too, for those games that are troublesome.
But yeah, the real thing (Windows 2.x/3.x) is nicer, since it provides the authentic atmosphere of an era.


I've been unable to get this game to run under Wine due to it requiring an 8-bit X server. See here for a more detailed summary:

https://unix.stackexchange.com/questions/538502/
User avatar
Kahenraz
Oldbie
 
Posts: 565
Joined: 2004-1-22 @ 04:57


Return to DOSBox Games/Apps

Who is online

Users browsing this forum: No registered users and 1 guest