Mercenaries on DOSBox

Issues with mercs? Post it up here!
Forum rules
Please provide the following when making a support request.
1. OS & Service Pack.
2. Version of Mercenaries that is being used.
3. If you are using 95 Mercs, please provide what method you are using to run it? (ie. Kontza's or Slugs Hook)
4a. If you are using DOS have you read the install guide?
4b. If you are using 95 have you watched the 95 install video?
5. What were the steps that you did after the initial installation? (if applicable)
User avatar
Skyfaller
Clan 1st MechWarrior
Clan 1st MechWarrior
Posts: 1017
Joined: Sat Apr 12, 2008 2:58 am
Location: Germany
Contact:

Re: Mercenaries on DOSBox

Post by Skyfaller »

RL_Nice wrote:You can mount a .bat file? How?
You can put mount commands in .BAT files, like this:

mount ...
C:
cd \mw2
mech2

I meant that mounting several CDs in the autoexec section of dosbox.conf could confuse MW2. Hint: Store your .BAT files in a place like C:\bat, then set a path to that directory for convenience in the autoexec section of dosbox.conf:

path = %path%;c:\bat
RL_Nice
House Steiner Private
House Steiner Private
Posts: 26
Joined: Sun Feb 08, 2009 4:04 pm

Re: Mercenaries on DOSBox

Post by RL_Nice »

That changes a bit. So what, am I supposed to tell the .bat to mount mercs.exe and then run the .bat file from DOSBox, or am I supposed to mount the image in the .bat file and then run that, or am I supposed to do both?

Because I tried, and it still didn't work. I also removed all the auto-execute lines from the config file.
User avatar
Skyfaller
Clan 1st MechWarrior
Clan 1st MechWarrior
Posts: 1017
Joined: Sat Apr 12, 2008 2:58 am
Location: Germany
Contact:

Re: Mercenaries on DOSBox

Post by Skyfaller »

Don't remove all lines in the autoexec section of dosbox.conf, you need some of them. Here's the autoexec section in my dosbox.conf:
# Lines in this section will be run at startup.
@echo off
rem Mount C drive - absolute necessary, otherwise, nothing can be found
mount c d:\dosbox\c
rem Set paths - these are basically shortcuts
path c:\bat;z:\;c:\support
c:
This is the file I use to launch Mercs (c:\bat\mercs.bat):
@echo off
z:\imgmount d "d:\VCDs\mw2-mercs-eng\image.cue" -t iso
c:
cd \mercs
mercs.exe
cd \
So the bat file mounts the image and launches Mercs. If you set path as above, and store mercs.bat in c:\bat, all should have to do is type mercs. Do you still get the "CD not mounted" error when launching into the sim? Have you made sure you created the .CUE file as a copy protected image?
RL_Nice
House Steiner Private
House Steiner Private
Posts: 26
Joined: Sun Feb 08, 2009 4:04 pm

Re: Mercenaries on DOSBox

Post by RL_Nice »

When I try to set a path DOSBox tells me that it's undefined. If I manually navigate to the .bat file and run it, I get an "illegal command: mercs.exe" message, presumably because it can't find the executable, even though I edited the .bat's contents to point to that file. I've tried putting the .bat file back into the same folder as the Mercenaries installation, but that just results in the same old "CD-ROM not mounted" issue.

Perhaps I'm not setting paths correctly? I'm well familiar with mounting, but not with path setting.
User avatar
Sir MMPD Radick
Clan Nova Captain
Clan Nova Captain
Posts: 1625
Joined: Tue Jan 22, 2008 10:07 am

Re: Mercenaries on DOSBox

Post by Sir MMPD Radick »

Could you in

Code: Select all

 tags please post what you have?
James 3:5-10: My Reminder
And the tongue is a fire, a world of iniquity: so is the tongue among our members, that it defileth the whole body. Out of the same mouth proceedeth blessing and cursing. My brethren, these things ought not so to be.
RL_Nice
House Steiner Private
House Steiner Private
Posts: 26
Joined: Sun Feb 08, 2009 4:04 pm

Re: Mercenaries on DOSBox

Post by RL_Nice »

In the DOSBox config file-

Code: Select all

@echo off
mount c c:\mercs
set path c c:\mech2\mercs
c:
In the .bat file-

Code: Select all

@echo off
imgmount d c:\mech2\MECH2_MERCS.cue -t iso
c:
mercs.bat
User avatar
Sir MMPD Radick
Clan Nova Captain
Clan Nova Captain
Posts: 1625
Joined: Tue Jan 22, 2008 10:07 am

Re: Mercenaries on DOSBox

Post by Sir MMPD Radick »

First off you are mounting the mercs directory and making it the C: drive.. that is your first problem..
Second your batch file is trying to access a path which is not mounted... You cannot mount c:\mech2\MECH2_MERCS.cue -t iso while you are in dosbox as it does not exist.
Third while the batch file method works I really believe you would have an easier time running it by hand...

Try it this way using the FAQ's method.

First Make C:\DOSBOX\ like the FAQ says.
Second: Move C:\Mercs into C:\DOSBOX making C:\DOSBOX\mercs\ like the FAQ says.
Third: Use this conf file.
Fourth: After setting the conf file to that in dosbox run Mercs by hand in dosbox, you will already be inside of the mercs dir on startup.

DOSBOX.conf autoexec section

Code: Select all

imgmount D "C:\mech2\MECH2_MERCS.cue" -t iso
mount C C:\DOSBOX\
C:
cd mercs
James 3:5-10: My Reminder
And the tongue is a fire, a world of iniquity: so is the tongue among our members, that it defileth the whole body. Out of the same mouth proceedeth blessing and cursing. My brethren, these things ought not so to be.
RL_Nice
House Steiner Private
House Steiner Private
Posts: 26
Joined: Sun Feb 08, 2009 4:04 pm

Re: Mercenaries on DOSBox

Post by RL_Nice »

All right. Should I put the .bat file with the rest of the files, and what should I put in it?

And when you say "by hand", do you mean directly running the MERCS.EXE?
User avatar
Sir MMPD Radick
Clan Nova Captain
Clan Nova Captain
Posts: 1625
Joined: Tue Jan 22, 2008 10:07 am

Re: Mercenaries on DOSBox

Post by Sir MMPD Radick »

Correct, forget the bat file for now.
Just get the game running.
You will need a bat file for the mouse to be fixed, but lets just get the game working first.

When you have confirmed that mercs works then use this batch file. (In the mercs dir)

Code: Select all

MOUSE2KV.EXE 1024 1200 8 8 mercs.exe
Next download Mouse2kv and put it in the mercs dir.

After which in dosbox open the bat file and your mouse should be normal.
James 3:5-10: My Reminder
And the tongue is a fire, a world of iniquity: so is the tongue among our members, that it defileth the whole body. Out of the same mouth proceedeth blessing and cursing. My brethren, these things ought not so to be.
RL_Nice
House Steiner Private
House Steiner Private
Posts: 26
Joined: Sun Feb 08, 2009 4:04 pm

Re: Mercenaries on DOSBox

Post by RL_Nice »

Well the menu's still work, but the missions still won't launch. I don't know if that's what you mean by "works".
Post Reply