I do not have access to Win7 to debug these kind of things.
There have been significant changes in this area with DoomLegacy 1.44.
DoomLegacy 1.43 did have significant problems with directories in windows. Please check with version you have, and change to DoomLegacy 1.44 alpha4 as that has several hundred patches, including major bug fixes to 1.43 problems. These are the kind of problems that we have been try to fix in the alpha releases and we would like to know if it has fixed them.
This is text from legacy.html of the 1.44 alpha4 docs, which come with the DoomLegacy download.
It is important to change to the directory where doomlegacy resides. Support files, like wads, legacy.wad, autoexec.cfg, and config.cfg, need to be found by DoomLegacy and it looks in the current directory as last resort.
Put your wad files in directory "\doomwads", or "\games\doomwads", or in the current directory. DoomLegacy will use the first that exists as the doomwaddir. Set DOOMWADDIR in a batch file to specify a different wad directory.
A "legacy" directory will be created in your home directory for savegames and saved config files. Set the environment variable "HOME" in a batch file, or use the -home switch when starting DoomLegacy. Otherwise, it will check if the default home directory exists, "\legacyhome". If none are present, then it will use the current directory for home, but only if it is not root, "c:\".
Overriding by using the -home and -config switches, examples:
> doomlegacy -home c:\games\doomsave -game plutonia
> doomlegacy -home c:\games\doomsave -config c:\games\plutconfig.cfg -game plutonia
Use the verbose switch -v, and DoomLegacy will print to stderr the directory names that it used. On Win98 this becomes a file named stderr. The use of directory names with spaces may fail.
It is difficult to start a program under windows and set command line switches. Most of the settings that the launcher supported can now be set from menus and the console. However the -game, -file, and -config must be set from command line switches.
One way is to create shortcuts to doomlegacy. Specify in the shortcut the command line and change starting directory to where the doomlegacy program resides.
Example shortcut for DoomLegacy with plutonia2 wad:
command: doomlegacy -game plutonia -file c:\games\pl2\PL2.WAD
current directory: c:\games\legacydir
Another way is to create a batch file for each combination of switches, and run the batch file to start doomlegacy. Batch file examples (where legacydir, homedir, configdir, and waddir stand for directories that you specify).
doomlegacy -game doom2
doomlegacy -iwad waddir\doom2.wad -home c:\homedir\ -config c:\homedir\config8.cfg
doomlegacy -game doom2 -file levl9.wad mod2.deh mod8.bex
Windows with launcher
The launcher is no longer actively supported, but older launchers will still work. Most of the settings that the launcher supports can now be set from the console.
The launcher has some problems with setting home and config directories. You will likely have to include
"-config mydir\config.cfg", and/or "-home homedir" in options.
Unpack the archive to a suitable program directory, like C:\legacy
Start the Launcher
Fill in required information about WAD locations and hardware options
Launch the game!
You can set the following environment variables to have additional control over Legacy behavior. None of them are required.
The environment variable DOOMWADDIR defines the path where the wad files are located. This way you can easily share your wad files between different programs. If it is not defined a default wad directory will be checked for existing, and then an alternate directory. If none exist, then by default, Legacy looks for wad files in the current directory.
The variable USER, containing your username, is used as the default value for your player name in multiplayer games.
Your home directory is defined by the variable HOME. In the home directory DoomLegacy will create a legacy directory to store your config and savegame files. If this variable is not defined, a default legacy home directory will be checked for existing. If none exist, then by default the current directory will be used for home.
Last edited by wesleyjohnson on Sep 20 2013 at 04:22