SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Sub/Naval + Other Games > Classic Subsims
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-25-06, 06:04 PM   #1
AG124
Sea Lord
 
Join Date: Jun 2005
Location: Canada
Posts: 1,878
Downloads: 4
Uploads: 0
Default AOD and DOSBOX 0.63 Command Line - Please Help

I ahve been trying to get AOD running under DOSBOX 0.63, and although I have gotten close, I cannot get it to work. I know how to mount a drive and access the files that are on it; my problem is that I don't understand this command line:

c:\atlantis\atlantis.exe -c "MOUNT D C:\SAVES"

My AOD directory is C:\DYNAMIX\AODCD\. The .exe is AODCD.EXE, and the .bat is AOD.bat. I am running XP pro with SP2, with a 2.4 Ghz processor and 1.5GB of RAM.

Can anybody help at all? Please.
__________________


DOWNLOAD GWX HERE:
http://www.thegreywolves.com/index.html
AG124 is offline   Reply With Quote
Old 03-25-06, 08:23 PM   #2
AG124
Sea Lord
 
Join Date: Jun 2005
Location: Canada
Posts: 1,878
Downloads: 4
Uploads: 0
Default

To be more specific, it is the second part of the command line I do not understand - I can mount a drive or directory and access the .exe fine.

c:\atlantis\atlantis.exe -c "MOUNT D C:\SAVES"

It is the part in bold which I do not know how to change. What should I change it to in order to run the game?
__________________


DOWNLOAD GWX HERE:
http://www.thegreywolves.com/index.html
AG124 is offline   Reply With Quote
Old 03-26-06, 10:55 AM   #3
MarkShot
Ace of the Deep
 
Join Date: Jul 2002
Posts: 1,134
Downloads: 93
Uploads: 0
Default

Here this is from my conf file. I have no idea what "atlantis.exe" is and why you are mounting the directory you are.

Quote:
[autoexec]
# Lines in this section will be run at startup.
mount c e:\games\aod
c:
aod
exit
This simply does:

Defines C: to DosBox as the place where the game resides.
Make the current drive/directory the AOD directory.
Run the game EXE.
When I exit the game, then DosBox shuts down and exits too.

There is not much more that can be explained here. I hope that helps.
__________________
War games, not wars! --- Only a small few profit from war (that should not stand)!
MarkShot is offline   Reply With Quote
Old 03-26-06, 11:20 AM   #4
AG124
Sea Lord
 
Join Date: Jun 2005
Location: Canada
Posts: 1,878
Downloads: 4
Uploads: 0
Default

The 'Atlantis' thing was just an example in the DOSBOX readme.

Alright I'll give this a try.

EDIT: I am now getting a different error:

HMI error: sw_sound 'read_config_file' Failed to open D:\DYNAMIX\AODCD\resource.cfg

This happens whether the directory has been placed under C:\ or D:\. Do I need the CD in the drive, or am I doing something else wrong?

These are the commands which I used (I tried both C and D drives):

mount c c:\DYNAMIX\AODCD

C:

AOD
__________________


DOWNLOAD GWX HERE:
http://www.thegreywolves.com/index.html
AG124 is offline   Reply With Quote
Old 03-26-06, 11:23 AM   #5
MarkShot
Ace of the Deep
 
Join Date: Jul 2002
Posts: 1,134
Downloads: 93
Uploads: 0
Default

Well, make sure you put in YOUR path to the game and YOUR bat or exe file name into the execution; not mine.
__________________
War games, not wars! --- Only a small few profit from war (that should not stand)!
MarkShot is offline   Reply With Quote
Old 03-26-06, 11:41 AM   #6
AG124
Sea Lord
 
Join Date: Jun 2005
Location: Canada
Posts: 1,878
Downloads: 4
Uploads: 0
Default

Actually I made a mistake in the try in that edit, I fixed one thing - I now have used AODCD instead of AOD. This is the error I am getting now, and it is the first one I was getting:

Quote:
aodcd.exe requires a path parameter,
for example "aodcd -Pc:\dynamix\aod\"

The path should indicate the directory where the game
game files have been installed.

There should be a batch file named aod.bat which correctly calls aodcd.
[And yes, in the second part, the word game is used twice]

These are the commands which I used:

mount d d:\DYNAMIX\AODCD

d:

AODCD

And there is indeed a batch file in the AODCD folder titled AOD.BAT.

My question is this I guess - how do I add parameters to correctly direct to this directory and batch file?

Thanks.
__________________


DOWNLOAD GWX HERE:
http://www.thegreywolves.com/index.html
AG124 is offline   Reply With Quote
Old 03-26-06, 11:47 AM   #7
MarkShot
Ace of the Deep
 
Join Date: Jul 2002
Posts: 1,134
Downloads: 93
Uploads: 0
Default

Sorry, I don't know. AOD is the one and only game I have used DosBox for. Check the docs that come with it.

Also, there is something called DFend, DosBox Front End, perhaps you'll find it easier and more friendly to work with.

Sorry.

PS: I am sure that answer to your question will probably be one of trivial punctuation. One approach you can try is write your own little BAT file that has all the parameters needed and call it from DosBox. Then the call from DosBox will not need any parameters.
__________________
War games, not wars! --- Only a small few profit from war (that should not stand)!
MarkShot is offline   Reply With Quote
Old 03-26-06, 11:57 AM   #8
AG124
Sea Lord
 
Join Date: Jun 2005
Location: Canada
Posts: 1,878
Downloads: 4
Uploads: 0
Default

DFend worked! :P

Except it's not full screen. Any idea how I can change that?

Thank you for your help.
__________________


DOWNLOAD GWX HERE:
http://www.thegreywolves.com/index.html
AG124 is offline   Reply With Quote
Old 03-26-06, 12:41 PM   #9
MarkShot
Ace of the Deep
 
Join Date: Jul 2002
Posts: 1,134
Downloads: 93
Uploads: 0
Default

Find the *.conf file that DosBox is using. That's all DFend is doing ... making that file for you.

At the start of the file you'll see an option for full screen. That should do it. Here is an example from mine.

Quote:
[sdl]
# fullscreen -- Start dosbox directly in fullscreen.
# fulldouble -- Use double buffering in fullscreen.
# fullfixed -- Don't resize the screen when in fullscreen.
# fullresolution -- What resolution to use for fullscreen, use together with fullfixed.
# output -- What to use for output: surface,overlay,opengl,openglnb,ddraw.
# hwscale -- Extra scaling of window if the output device supports hardware scaling.
# autolock -- Mouse will automatically lock, if you click on the screen.
# sensitiviy -- Mouse sensitivity.
# waitonerror -- Wait before closing the console if dosbox has an error.
# priority -- Priority levels for dosbox: lower,normal,higher,highest.
# Second entry behind the comma is for when dosbox is not focused/minimized.
# mapperfile -- File used to load/save the key/event mappings from.

fullscreen=true
fulldouble=false
fullfixed=false
fullresolution=1024x768
output=surface
hwscale=1.00
autolock=true
sensitivity=100
waitonerror=true
priority=highest,highest
mapperfile=mapper.txt
__________________
War games, not wars! --- Only a small few profit from war (that should not stand)!
MarkShot is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:20 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.