On Thu, 14 Feb 2019 16:36:45 -0000 (UTC), "Mark P. Nelson"
Post by Mark P. NelsonAgreed, but I did it on my 386SX back in the day ;)
Post by Mike S.I also have no idea why GOG insists on not including the installers
with some (many?) of their games so I can change the sound options.
Instead I have to google it and then insert archaic commands into
*.cfg files. Fun.
Can you tell us what you did so we don't have to repeat your efforts, please?
(I'm doing this from memory so pardon any minor mistakes ;-)
GOG uses DOSBox for almost all of its DOS games, including the older
Wing Commander games (Privateer 2 and Wing Commander 4 are the
exceptions that use Windows excutables, although they also offer WC4
with DOSBox as one of the extras). They usually do include the
original installers/setup programs, but do not make them easily
accessible. Unlike modern games, you cannot modify the settings from
within the game itself. The problem is that you need to launch the
setup programs seperately from the games and GOG doesn't let you drop
down to a DOS prompt to launch the program (if you quit the game, it
just closes the DOSBox window). So to get access to the DOS prompt -
and the setup program - you need to tweak the DOSBox configuration.
DOSBox stores its configuration in special files. In default, these
are usually .CFG files, but GOG uses the .CONF extension instead.
These files are found in the game's installation directory. Usually
the one you edit is named dosbox[something]_single.conf (where
[something] usually is the game's name). So for Wing Commander, the
name of the file you want to edit might be
dosboxWINGCOMMANDER_single.conf
The contents of this file varies. DOSBox .CFG (.conf) files can store
settings on the virtual machine itself (how much and what type of
memory, what soundcards, speed of the processor, type of joystick,
network, etc) and you usually shouldn't mess with these bits. However,
there is also a section at the bottom called [autoexec] which
replicates the functionality of the old DOS autoexec.bat file; usually
it is used to switch to the game's directory and launch the game with
the correct variables. If you have ever used DOS, it should look very
familiar and is easy to use.
The quickest way to get to the install program is this:
1) edit the appropriate *_single.conf file, scroll to the bottom of
the file
2) delete the very last line that reads "exit" (this is the command
that tells the DOSBox window to close after the game quits)
3) save file. Launch game.
4) Exit game. How you do this can vary between games. Origin
frequently used ALT-X to exit to DOS, but other games used ALT-D,
CTRL-X, CTRL-D, or any of a host of other commands (some older games
didn't even have a way to exit back to DOS!). See included
documentation to figure out what command to use. Whatever keys you
press, you'll find that instead of closing the window, the game will
drop you to a DOSBox prompt.
5) Now you can launch the set-up program just as if you were in a real
DOS. In Origin games, they almost invariably used INSTALL.EXE as their
setup program, so type that in and DOSBox launches the program where
you can change various settings (usually install directory - don't
change this - and sound card settings). Other publishers - such as
Microprose - used SETUP.EXE, while yet others had no fixed standard at
all. Heck, some games didn't even have a setup program and needed you
to type in specific variables when launching the game. Fun times ;-)
6) When you are done, exit the setup program then close the DOSBox
window. If you want the game to automatically close the DOSBox window
after you finish playing, just re-open the appropriate .CONF file and
type in EXIT on the very last line.
Again, it's all fairly straight forward if you've ever used DOS and
since most people who are playing these older games on GOG probably
first did so on a DOS machine, that's probably not much of a stretch.
I do pretty much the same thing on all my GOG games that use DOSBox
(hence why I can write this from memory) since I like to have the
music piped through the Gravis Ultrasound emulator rather than the
Soundblaster's FM synthesis. Thus, I need to get to the game's setup
program to change the music device (getting DOSBox to emulate the GUS
takes a few more steps but its worth it :-)
I should note that if you install the game through GOG's Galaxy
client, there is sometimes an option to change the game's settings
through the client itself (it basically just launches the settings
program for you) but this option isn't always available. Anyway, the
above procedure is pretty simple; besides, half the fun of playing DOS
games was mucking around with DOS ;-)