VOGONS


DOSBox/DFend Help.

Topic actions

First post, by mccorkled

User metadata
Rank Newbie
Rank
Newbie

I apologize if this is in the wrong place. The game I am starting my collection with is a game called Stonekeep which I use to play on Windows 3.1 but I believe was a DOS game (although it had a Windows launch icon)

I have been setting up my arcade for about 3 years now and I can finally see the end in sight. I save Windows/MS-DOS game for last because I figured it would be a PITA and so far it has been. I am using Hyperspin in combination with DFend and DOSBox to try and make everything work. Stonekeep is a game that needs to have the cd in to play, so here is what I have done so far.

These images are from another game but they are the exact steps I followed. I am also working with an iso.
post-62687-0-42742100-1437244622.jpg

post-62687-0-26862000-1437244639.jpg

post-62687-0-47868800-1437244333.jpg

I then set RocketLauncher UI to point to my conf file for DFend

post-62687-0-72924700-1437244344.jpg

Here is the prof file that was made after the install using DFend.

http://pastebin.com/n6XmGgU2

That didn't work to launch the game... I get two errors. One in DOSBox and one in DFend

xnevky.png

2n99ra8.png

I then made the conf file since that didn't work

2a9nzmg.png

Basically the same error. I have tried for a week or so and I cannot get this to work right which is unfortunate because I have been told that every game needs its own prof or conf file. DOSBox is trying to mount a folder that has nothing to do with what I am trying to do and I cannot figure out why.

I also added ...

MOUNT C "Z:\Hyperspin\Emulators\Microsoft MS-DOS\ROMS"
C:

to the end of my dosbox.conf which does properly mount but does not seem to be helping me here.

Lastly, I can get the game to load using DOSBox by dragging and dropping the stonkeep.iso file over the DOSBox program (it mounts) and then typing sk to load the game.

Any help is appreciated and I hope I made this detailed enough.

Reply 1 of 24, by skitters

User metadata
Rank Member
Rank
Member

I'm not familiar with Hyperspin, and I'm a little confused about what you've done with DOSBox.
For example, I don't understand why STONKEEP.PROF was entered at the DOSBox command line.
But maybe some of what I say below will help.

You need to mount a folder as a C: drive for DOSBox.
You also need to mount a separate D: drive to mount the .iso file you made from the CD.
Since the game needs the CD to run, you'll always need to mount these folders each time you play (or add the lines to mount them in your .conf file for the game)

Something like this to mount the DOSBox folder as a hard drive and the iso file as a D: drive...

MOUNT C C:\DOSgames
IMGMOUNT D C:\Images\stonkeep.iso -t iso

(substitute the names of your folders and the paths to the folders)

More on the MOUNT command here
http://www.dosbox.com/wiki/MOUNT

Before playing, you need to install the game onto the DOSBox C: drive through DOSBox's command line with

D:\setup

or maybe it's
D:\install

or whatever file the game uses for installation.

You can use
DIR D:
from the DOSBox command line to check what the name of the installation file might be. Sometimes "install" is for the DOS version while "setup" is for the Windows version, but it depends on the game.

Once the game is installed, you add whatever commands you need to switch to the game folder on C: and start the game. Maybe something like

C:
cd stonkeep
sk

If those commands don't work when typed into the DOSBox command line, they won't work when added to the end of the dosbox.conf (or Stonkeep.conf) either.

If you use a .conf file other than the default, you have to tell DOSBox to use it). Check the bottom of this page here for a brief description of how to tell DOSBox which .conf file to use
http://www.dosbox.com/wiki/Dosbox.conf

So you might have a shortcut pointing to
C:\path-to-dosbox-folder\DOSBox.exe -conf "C:\path-to-config-file\Stonkeep.conf"

Reply 2 of 24, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
mccorkled wrote:

I have tried for a week or so and I cannot get this to work right which is unfortunate because I have been told that every game needs its own prof or conf file.

Not really. There are various ways to do things.

I can't see most of your images at the moment, but your stonekeep.conf will never work, especially because you're not mounting anything as drive C. A .conf file for DOSBox has to have the complete contents of DOSBox.conf, and extra commands must be added in the [autoexec] section at the end of the file. I don't use D-Fend personally, but you probably shouldn't be manually editing your .conf file at all if you're using D-Fend.

I can also tell you that your D-Fend profile will also probably never work. According to what you say about dragging and dropping, SK.BAT is a file stored internally within stonkeep.iso . Thus, the file Z:\Hyperspin\Emulators\Microsoft MS-DOS\ROMS\STONKEEP\SK.BAT is a nonexistent file that D-Fend cannot access. From the looks of things, you should probably be using D:\SK.BAT .

You should probably take a look at the 60 Seconds Guide in the Guides subforum. Get the game running without dragging and dropping, and without using RocketLauncher (whatever that is) or D-Fend; worry about the rest later.

Reply 3 of 24, by mccorkled

User metadata
Rank Newbie
Rank
Newbie
skitters wrote:
I'm not familiar with Hyperspin, and I'm a little confused about what you've done with DOSBox. For example, I don't understand w […]
Show full quote

I'm not familiar with Hyperspin, and I'm a little confused about what you've done with DOSBox.
For example, I don't understand why STONKEEP.PROF was entered at the DOSBox command line.
But maybe some of what I say below will help.

You need to mount a folder as a C: drive for DOSBox.
You also need to mount a separate D: drive to mount the .iso file you made from the CD.
Since the game needs the CD to run, you'll always need to mount these folders each time you play (or add the lines to mount them in your .conf file for the game)

Something like this to mount the DOSBox folder as a hard drive and the iso file as a D: drive...

MOUNT C C:\DOSgames
IMGMOUNT D C:\Images\stonkeep.iso -t iso

(substitute the names of your folders and the paths to the folders)

More on the MOUNT command here
http://www.dosbox.com/wiki/MOUNT

Before playing, you need to install the game onto the DOSBox C: drive through DOSBox's command line with

D:\setup

or maybe it's
D:\install

or whatever file the game uses for installation.

You can use
DIR D:
from the DOSBox command line to check what the name of the installation file might be. Sometimes "install" is for the DOS version while "setup" is for the Windows version, but it depends on the game.

Once the game is installed, you add whatever commands you need to switch to the game folder on C: and start the game. Maybe something like

C:
cd stonkeep
sk

If those commands don't work when typed into the DOSBox command line, they won't work when added to the end of the dosbox.conf (or Stonkeep.conf) either.

If you use a .conf file other than the default, you have to tell DOSBox to use it). Check the bottom of this page here for a brief description of how to tell DOSBox which .conf file to use
http://www.dosbox.com/wiki/Dosbox.conf

So you might have a shortcut pointing to
C:\path-to-dosbox-folder\DOSBox.exe -conf "C:\path-to-config-file\Stonkeep.conf"

I had in the part to mount the C drive in the conf previously. It still tries to mount the conf folder. Does each section of the path need to be 8 characters of less or only the file name?

Jorpho wrote:
Not really. There are various ways to do things. […]
Show full quote
mccorkled wrote:

I have tried for a week or so and I cannot get this to work right which is unfortunate because I have been told that every game needs its own prof or conf file.

Not really. There are various ways to do things.

I can't see most of your images at the moment, but your stonekeep.conf will never work, especially because you're not mounting anything as drive C. A .conf file for DOSBox has to have the complete contents of DOSBox.conf, and extra commands must be added in the [autoexec] section at the end of the file. I don't use D-Fend personally, but you probably shouldn't be manually editing your .conf file at all if you're using D-Fend.

I can also tell you that your D-Fend profile will also probably never work. According to what you say about dragging and dropping, SK.BAT is a file stored internally within stonkeep.iso . Thus, the file Z:\Hyperspin\Emulators\Microsoft MS-DOS\ROMS\STONKEEP\SK.BAT is a nonexistent file that D-Fend cannot access. From the looks of things, you should probably be using D:\SK.BAT .

You should probably take a look at the 60 Seconds Guide in the Guides subforum. Get the game running without dragging and dropping, and without using RocketLauncher (whatever that is) or D-Fend; worry about the rest later.

When I installed stonkeep.iso it unpacked a bunch of files to the installation folder. One of them was sk.bat which is the command used to run the game after the cd is in. Basically the .exe file of any modern game.

Reply 4 of 24, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
mccorkled wrote:

When I installed stonkeep.iso it unpacked a bunch of files to the installation folder. One of them was sk.bat which is the command used to run the game after the cd is in. Basically the .exe file of any modern game.

Thank you, I am well aware of what a .bat file is. 😒 (Most "modern games" do not use them at all.)

mccorkled wrote:

I had in the part to mount the C drive in the conf previously. It still tries to mount the conf folder. Does each section of the path need to be 8 characters of less or only the file name?

As per your screenshot, you do not have to use 8-character names when mounting a folder.

I don't understand what you mean when you say "it still tries to mount the conf folder". Are you launching DOSBox from within D-Fend, or from a Windows shortcut?

Reply 5 of 24, by skitters

User metadata
Rank Member
Rank
Member
mccorkled wrote:

I had in the part to mount the C drive in the conf previously. It still tries to mount the conf folder. Does each section of the path need to be 8 characters of less or only the file name?

There's no 8 character limit.

What do you have in your Stonkeep.conf file after these lines...

[autoexec]
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.

Also how are you telling DOSBox which .conf file to use for the game?
By default it uses the dosbox-0.74.conf file in the AppData folder...
C:\Users\your-username\AppData\Local\DOSBox\dosbox-0.74.conf

So unless you tell DOSBox which .conf file to use (usually through a Desktop shortcut), it will use the dosbox-0.74.conf file that you haven't put the MOUNT lines in.

Reply 6 of 24, by mccorkled

User metadata
Rank Newbie
Rank
Newbie
Jorpho wrote:
Thank you, I am well aware of what a .bat file is. :blah: (Most "modern games" do not use them at all.) […]
Show full quote
mccorkled wrote:

When I installed stonkeep.iso it unpacked a bunch of files to the installation folder. One of them was sk.bat which is the command used to run the game after the cd is in. Basically the .exe file of any modern game.

Thank you, I am well aware of what a .bat file is. 😒 (Most "modern games" do not use them at all.)

mccorkled wrote:

I had in the part to mount the C drive in the conf previously. It still tries to mount the conf folder. Does each section of the path need to be 8 characters of less or only the file name?

As per your screenshot, you do not have to use 8-character names when mounting a folder.

I don't understand what you mean when you say "it still tries to mount the conf folder". Are you launching DOSBox from within D-Fend, or from a Windows shortcut?

Every modern game uses an exe...

The screen shot shows what I mean. I double click the Stonkeep.prof to launch the game and that screen shot is what comes up.

skitters wrote:
There's no 8 character limit. […]
Show full quote
mccorkled wrote:

I had in the part to mount the C drive in the conf previously. It still tries to mount the conf folder. Does each section of the path need to be 8 characters of less or only the file name?

There's no 8 character limit.

What do you have in your Stonkeep.conf file after these lines...

[autoexec]
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.

Also how are you telling DOSBox which .conf file to use for the game?
By default it uses the dosbox-0.74.conf file in the AppData folder...
C:\Users\your-username\AppData\Local\DOSBox\dosbox-0.74.conf

So unless you tell DOSBox which .conf file to use (usually through a Desktop shortcut), it will use the dosbox-0.74.conf file that you haven't put the MOUNT lines in.

I double click the Stonkeep.prof file located in Z:\Hyperspin\Emulators\Microsoft MS-DOS\Confs and the Dosbox window open with that screen shot I posted earlier.

xnevky.png

Here is my .prof file
http://pastebin.com/DZzS0NKH

I even installed another game that does not require a cd (Abuse) and when I click the prof file, it is still trying to load this other directory... But when I double click it through DFend it loads the game...

x6d283.png

Reply 7 of 24, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
mccorkled wrote:

The screen shot shows what I mean. I double click the Stonkeep.prof to launch the game and that screen shot is what comes up.

Now I understand. It looks like your .prof files have become associated with DOSBox – when you double click a .prof file, DOSBox acts as if you dragged and dropped the .prof file on the DOSBox window. Since DOSBox itself has no idea what to do with a .prof file (those are purely a D-Fend thing), you get an error message.

In other words, you're not supposed to start DOSBox by double-clicking a .prof file, ever. Somewhere along the way you probably double-clicked a .prof file and told Windows you wanted to open .prof files with DOSBox. That won't work.

If you want to make a shortcut using Hyperspin, you will have to use a different method. It looks like if you have a profile in D-Fend named "Stonekeep", then you can make a shortcut to "DFend.exe Stonekeep" (not Stonekeep.prof). Alternatively, you can make a .conf file (a complete .conf file, with an [autoexec] section at the end) and make a shortcut that launches DOSBox.exe -conf "whatever.conf".

Reply 9 of 24, by mccorkled

User metadata
Rank Newbie
Rank
Newbie
Jorpho wrote:
Now I understand. It looks like your .prof files have become associated with DOSBox – when you double click a .prof file, DOSBo […]
Show full quote
mccorkled wrote:

The screen shot shows what I mean. I double click the Stonkeep.prof to launch the game and that screen shot is what comes up.

Now I understand. It looks like your .prof files have become associated with DOSBox – when you double click a .prof file, DOSBox acts as if you dragged and dropped the .prof file on the DOSBox window. Since DOSBox itself has no idea what to do with a .prof file (those are purely a D-Fend thing), you get an error message.

In other words, you're not supposed to start DOSBox by double-clicking a .prof file, ever. Somewhere along the way you probably double-clicked a .prof file and told Windows you wanted to open .prof files with DOSBox. That won't work.

If you want to make a shortcut using Hyperspin, you will have to use a different method. It looks like if you have a profile in D-Fend named "Stonekeep", then you can make a shortcut to "DFend.exe Stonekeep" (not Stonekeep.prof). Alternatively, you can make a .conf file (a complete .conf file, with an [autoexec] section at the end) and make a shortcut that launches DOSBox.exe -conf "whatever.conf".

Finally some progress! I though .prof was for DOSBox (obviously) and changed it to DFend. When I click the .prof file now DFend opens and I get this...

34fxhqu.png

I also made a shortcut "Z:\Hyperspin\Emulators\Microsoft MS-DOS\DFend.exe" Abuse
When I double click it DFend opens and nothing else happens. Can you tell me or show me how to make a .conf file?

Reply 10 of 24, by collector

User metadata
Rank l33t
Rank
l33t

As I said, it has been years since the last I looked at defend, but I believe that the profile files are nothing more than settings for setting up a game within defend. Use it for importing the game You still have to point it to the game files. Remember you still have to provide the game yourself.

Edit: Also, I noticed that you have this from a "crack.com". Know that this forum gives not support for abandonware or other illegal downloads.

The Sierra Help Pages -- New Sierra Game Installers -- Sierra Game Patches -- New Non-Sierra Game Installers

Reply 11 of 24, by mccorkled

User metadata
Rank Newbie
Rank
Newbie
collector wrote:

As I said, it has been years since the last I looked at defend, but I believe that the profile files are nothing more than settings for setting up a game within defend. Use it for importing the game You still have to point it to the game files. Remember you still have to provide the game yourself.

Edit: Also, I noticed that you have this from a "crack.com". Know that this forum gives not support for abandonware or other illegal downloads.

https://www.google.com/search?q=who+made+the+ … =utf-8&oe=utf-8

That was the actual developer haha.

Anyways... the profile works to load the game if DFend is already open.

Reply 12 of 24, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
mccorkled wrote:

Finally some progress! I though .prof was for DOSBox (obviously) and changed it to DFend.

NO. You are not supposed to start ANYTHING by double-clicking on a .prof file. Those files are not intended to be double-clicked on and that is why D-Fend is also giving you an error message. And just to be clear, .conf files are not supposed to be double-clicked on either (except maybe to open them in Notepad).

mccorkled wrote:

I also made a shortcut "Z:\Hyperspin\Emulators\Microsoft MS-DOS\DFend.exe" Abuse

That works for me. Is this a Windows shortcut, or some kind of shortcut in Hyperspin?

Can you tell me or show me how to make a .conf file?

This is discussed near the end of the 60 Seconds Guide I mentioned earlier.

Reply 13 of 24, by mccorkled

User metadata
Rank Newbie
Rank
Newbie

I added,

imgmount D "Z:\Hyperspin\Emulators\Microsoft MS-DOS\ROMS\Stonekeep\Stonekeep.iso" -t cdrom
mount C "Z:\Hyperspin\Emulators\Microsoft MS-DOS\ROMS\Stonekeep"
c:
sk

To the end of my .conf file and everything is working now. The problem was I installed DOSBox/Dfend in portable mode but it was still hiding the .conf files in User\Appdata\Local

Edit: When I renamed the .conf file to Stonekeep.conf it is not working anymore.

Reply 14 of 24, by skitters

User metadata
Rank Member
Rank
Member
mccorkled wrote:
I added, […]
Show full quote

I added,

imgmount D "Z:\Hyperspin\Emulators\Microsoft MS-DOS\ROMS\Stonekeep\Stonekeep.iso" -t cdrom
mount C "Z:\Hyperspin\Emulators\Microsoft MS-DOS\ROMS\Stonekeep"
c:
sk

To the end of my .conf file and everything is working now. The problem was I installed DOSBox/Dfend in portable mode but it was still hiding the .conf files in User\Appdata\Local

Edit: When I renamed the .conf file to Stonekeep.conf it is not working anymore.

Well that is progress.

But by default, DOSBox version 0.74 looks specifically for the .conf file named "dosbox-0.74.conf" that's in the \AppData\Local\DOSBox folder

If you rename that dosbox-0.74.conf file, DOSBox won't be able to find it.
DOSBox may create a new "dosbox-0.74.conf" file in the \AppData\Local\DOSBox folder, but it won't have the mount lines you added to the one you renamed.

If you want to rename the .conf file, you have to point DOSBox at it.
For example you could make a Desktop shortcut and point it at your DOSBox.exe file (right-click your desktop where there is no icon, choose New from the menu, then Shortcut, browse to your dosbox.exe file, etc.)
Once the shortcut is made, right-click it, choose Properties from the menu, and edit the target line so it says
"C:\path-to-dosbox.exe\dosbox.exe" -conf "C:\Users\your-username\AppData\Local\DOSBox\Stonekeep.conf"

If you move the Stonkeep.conf file, you need to edit the -conf path to point to the new location.

Once you have a working desktop shortcut, you may be able to add the line
"C:\path-to-dosbox.exe\dosbox.exe" -conf "C:\Users\your-username\AppData\Local\DOSBox\Stonekeep.conf"
to Hyperspin or Rocket Launcher.

Reply 15 of 24, by mccorkled

User metadata
Rank Newbie
Rank
Newbie

Yes that works! Thanks. The people on the hyperspin forum said that you can point rocketlauncher to the .conf or .prof files to load the games and apparently there were a few people using this method. Since I cannot figure that method out, I will just make a shortcut for each game I guess.

Is that what people typically do for their DOS games?

Reply 16 of 24, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
mccorkled wrote:

apparently there were a few people using this method.

Maybe you should be talking to them..?

I can think of a way that it might be possible to configure Windows to launch DOSBox by double-clicking on a .conf file, but it would definitely be nonstandard and I don't think anyone here has mentioned doing it before.

Is that what people typically do for their DOS games?

No one has ever mentioned Rockerlauncher on these forums before, and practically no one has mentioned Hyperspin.

Reply 17 of 24, by skitters

User metadata
Rank Member
Rank
Member
mccorkled wrote:

Yes that works! Thanks. The people on the hyperspin forum said that you can point rocketlauncher to the .conf or .prof files to load the games and apparently there were a few people using this method. Since I cannot figure that method out, I will just make a shortcut for each game I guess.

Is that what people typically do for their DOS games?

I would guess most people use a desktop shortcut for their DOS games -- not because they configured it themselves, but because they bought the GOG.com version of the game -- and GOG makes a desktop shortcut and integrates dosbox into the installation.

Reply 18 of 24, by mccorkled

User metadata
Rank Newbie
Rank
Newbie
Jorpho wrote:
Maybe you should be talking to them..? […]
Show full quote
mccorkled wrote:

apparently there were a few people using this method.

Maybe you should be talking to them..?

I can think of a way that it might be possible to configure Windows to launch DOSBox by double-clicking on a .conf file, but it would definitely be nonstandard and I don't think anyone here has mentioned doing it before.

Is that what people typically do for their DOS games?

No one has ever mentioned Rockerlauncher on these forums before, and practically no one has mentioned Hyperspin.

Have been for a while now...
http://www.hyperspin-fe.com/topic/10487-dosbox-help/page-4
I came here because I need more help.

skitters wrote:
mccorkled wrote:

Yes that works! Thanks. The people on the hyperspin forum said that you can point rocketlauncher to the .conf or .prof files to load the games and apparently there were a few people using this method. Since I cannot figure that method out, I will just make a shortcut for each game I guess.

Is that what people typically do for their DOS games?

I would guess most people use a desktop shortcut for their DOS games -- not because they configured it themselves, but because they bought the GOG.com version of the game -- and GOG makes a desktop shortcut and integrates dosbox into the installation.

Interesting. I only have 10 or so old cd games from the 90's

Reply 19 of 24, by ripa

User metadata
Rank Oldbie
Rank
Oldbie

I can think of a way that it might be possible to configure Windows to launch DOSBox by double-clicking on a .conf file, but it would definitely be nonstandard and I don't think anyone here has mentioned doing it before.

I used to have that. On Windows XP, Tools -> Folder Options -> File Types tab -> find the entry for CONF file type -> Advanced -> edit the 'open' action -> set 'application used to perform action' path to dosbox.exe and add -conf "%1" to it. Alternatively you can add a context menu entry 'launch in dosbox' instead of the default double-click 'open' action.