Code: Select all
[Doom.AutoExec]
Path=autoexec.cfgCode: Select all
[Doom.AutoExec]
Path=C:\anincrediblylongpathname\autoexec.cfgHowever, the current behaviour can cause problems. If you rename or move your Zdoom directory, and forget/don't realise you need to edit the ini to reflect the new autoexec location, your autoexec settings "disappear" as far as the game is concerned. Similarly, if you copy your Zdoom directory to another location for testing purposes of some sort, the new copy of Zdoom will look in the old directory for your autoexec because that's where the ini says it is.
Defaulting to just the autoexec file name with no path, but still supporting full path info would do the trick. Or perhaps there should be 2 parameters: 1 for the path (which can be blank to look in the current directory) and 1 for the file name. Or perhaps that's overkill.
Or perhaps "Overkill" is a song by Motörhead!
