In the D-Fend config is:
C:\ = C:\tools\dosbox\spiele […]
Show full quote
In the D-Fend config is:
C:\ = C:\tools\dosbox\spiele
In the imported file
C:\ = C:\
This is one of D-Fends tricks, it will do this :
mount C "C:\tools\dosbox\spiele"
cd\
startexe.exe
exit […]
Show full quote
mount C "C:\tools\dosbox\spiele"
cd\
startexe.exe
exit
my application will do this, because if you look at the imported prof file as a txt then is C:\ mounted as C:\ and not the exe's path (or look at the mounting tab in DFend if you have 30sec or more of spare time 😐 ) :
mount C "C:\"
cd\
cd tools\dosbox\spiele\
startexe.exe
exit […]
Show full quote
mount C "C:\"
cd\
cd tools\dosbox\spiele\
startexe.exe
exit
For the CDRom problem i noticed that my current routine works also backwards. It sometimes spews out something like this : cd ..\
This kind of works, but it results in bad setups if your CDROM is one of the subdirectories of a HD. Now if it tries to take that path, then it will be ignored. Happened with Synergist.
[autoexec]
mount c "c:\tools\dosbox\spiele" -label c
mount d "c:\tools\dosbox\spiele\synnergi\cd" -t cdrom -label synnergist
D:
[…]
Show full quote
[autoexec]
mount c "c:\tools\dosbox\spiele" -label c
mount d "c:\tools\dosbox\spiele\synnergi\cd" -t cdrom -label synnergist
D:
cd\
cd ..\
synn.exe
My current start exe routine does this to be exact :
1 : Search if a drive (doesn't matter if it is a HD or CD or whatever) has a path relative to the path of the exe.
2 : Return the virtual drive with the shortest relative path to the exe (this is the problem at times)
3 : Open drive
4 : cd your way to the exe
5 : start the exe
6 : If no drive is available mount a HD with the path of the exe and just open it and start the EXE
The return shortest path results in some bogus conf files with some of your game profiles at the moment, because I saw ones something like this with Aliens - A Comic Book Adventure [Deutsch]:
[autoexec]
mount c "c:\tools\dosbox\spiele\aliens" -label c
mount g "c:\tools\dosbox\spiele\aliens\cd" -t cdrom -label disk
G:
c […]
Show full quote
[autoexec]
mount c "c:\tools\dosbox\spiele\aliens" -label c
mount g "c:\tools\dosbox\spiele\aliens\cd" -t cdrom -label disk
G:
cd\
cd aliens\
aliens.exe
exit
DFend conf looks like this before the DFend profile conversion at startup :
[autoexec]
mount C "C:\Tools\DOSBox\spiele\aliens" -label C
mount G "C:\Tools\DOSBox\spiele\aliens\cd" -t cdrom -label DISK […]
Show full quote
[autoexec]
mount C "C:\Tools\DOSBox\spiele\aliens" -label C
mount G "C:\Tools\DOSBox\spiele\aliens\cd" -t cdrom -label DISK
C:
cd\
cd \cd\aliens\
aliens.exe
exit
G:
cd\
cd \aliens\
aliens.exe
exit
afther conversion (maybe because the dir doesn't exist on my drive) :
[autoexec]
mount C "C:\Tools\DOSBox\spiele\aliens" -label C
mount G "C:\Tools\DOSBox\spiele\aliens\cd" -t cdrom -label DISK […]
Show full quote
[autoexec]
mount C "C:\Tools\DOSBox\spiele\aliens" -label C
mount G "C:\Tools\DOSBox\spiele\aliens\cd" -t cdrom -label DISK
C:
cd\
cd
exit
G:
cd\
cd
exit
With the exe being : "c:\tools\dosbox\spiele\aliens\cd\aliens\aliens.exe"
What I don't get is the two startups? Why is that? Where is it configured in D-Fend? I'm using the D-Fend that you posted together with the profiles. 😕
Oh and btw, I get the feeling how you must have felt the copple of years using D-Fend, every time I just press a button my jaw just drops to the floor whilest looking the items once again going away before my very eyes.
The current version of D.O.G. (Not yet posted), has gotten a little faster in editing, creating profiles. No more little hangups of the program if you press OK in the profile manager or toggle favorite. This next version will be posted as soon as the hickups with the exe starter are solved.
Erik.