https://bugs.winehq.org/show_bug.cgi?id=47359
--- Comment #7 from Lantizia s.maddox@lantizia.me.uk --- Translated you just pointed at some code and said... - I don't like it. - There must be a bug there - I don't know where - Make it simpler so we can find the thing I haven't proven yet
But if I ignore how this is meant to be a bug report and treat it as a feature request...
Your request to have 'special configurations conditional' (presumably making the extra commands Wine puts into the DOSBox config optional) undermines the whole point of Wine working with DOSBox altogether.
You should also know DOSBox has received patches to ease Wine using it (such as relocating the default drive Z: that DOSBox uses), you can read about them here... (as well as the real purpose DOSBox serves when Wine is calling it)... https://wiki.winehq.org/DOSBox
Stop using Wine to launch DOS games - just call DOSBox directly!
If you're just after a way of double clicking a DOS EXE in your file manager and having it magically set up DOSBox for you and run it then you could basically do that with something as basic as this (you'll need to turn this into a script, make a launcher & a mime file)...
dosbox -conf $(c=$(mktemp);echo -e "[autoexec]\nmount c $(pwd)\nc:\n$@">>$c;echo $c)
But that isn't really in the scope of Wine, so take this and run with it - it's not really appropriate to talk about that here.