Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

AOD and DOSBOX 0.63 Command Line - Please Help

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> Silent Hunter II, Destroyer Command & Classic Subsims
View previous topic :: View next topic  
Author Message
AG124



Joined: 28 Jun 2005
Posts: 770
Location: Canada

PostPosted: Sat Mar 25, 2006 6:04 pm    Post subject: AOD and DOSBOX 0.63 Command Line - Please Help Reply with quote

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.


Last edited by AG124 on Sun Mar 26, 2006 9:10 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
AG124



Joined: 28 Jun 2005
Posts: 770
Location: Canada

PostPosted: Sat Mar 25, 2006 8:23 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message Visit poster's website
MarkShot



Joined: 07 Jul 2002
Posts: 491

PostPosted: Sun Mar 26, 2006 10:55 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
AG124



Joined: 28 Jun 2005
Posts: 770
Location: Canada

PostPosted: Sun Mar 26, 2006 11:20 am    Post subject: Reply with quote

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


Last edited by AG124 on Sun Mar 26, 2006 11:30 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
MarkShot



Joined: 07 Jul 2002
Posts: 491

PostPosted: Sun Mar 26, 2006 11:23 am    Post subject: Reply with quote

Well, make sure you put in YOUR path to the game and YOUR bat or exe file name into the execution; not mine.
Back to top
View user's profile Send private message Send e-mail
AG124



Joined: 28 Jun 2005
Posts: 770
Location: Canada

PostPosted: Sun Mar 26, 2006 11:41 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
MarkShot



Joined: 07 Jul 2002
Posts: 491

PostPosted: Sun Mar 26, 2006 11:47 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
AG124



Joined: 28 Jun 2005
Posts: 770
Location: Canada

PostPosted: Sun Mar 26, 2006 11:57 am    Post subject: Reply with quote

DFend worked! Razz Thumbs Up

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

Thank you for your help.
Back to top
View user's profile Send private message Visit poster's website
MarkShot



Joined: 07 Jul 2002
Posts: 491

PostPosted: Sun Mar 26, 2006 12:41 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> Silent Hunter II, Destroyer Command & Classic Subsims All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group