VOGONS

Common searches


First post, by siaunang

User metadata
Rank Newbie
Rank
Newbie

hi every body
i am new with dosbox, i have some problem. i hope someone would like to
help me.i use win xp pro, pentium 4 2,4 hz, Gerforce2, Nvidia,
after i install dosbox, i try to run it, and open 2 window. first, with
Z prompt and second one, just found " config: Loading setting from config
file dosbox.conf. MIdi: opened device:win32.

the problem is when i close the first one (with Z prompt) the second windows still open and error (window pop up with "end now" button )when i try to kill the windows.

the second problem is
i try to create cmd file or *.bat for games
for example, i have games knight of xentar
it run well if i start from dosbox.

i want to make it easy to open it, so i create cmd file or *.bat file
from note pad (i learn it from the one of thread in this forum)

info:
my dos files locate in c:\dosbox-0.6 3\dosbox.exe
my KOX files locate in c:\games\kox\kx.exe

my bat file:

@echo off
cd "c:\games\kox"
%DOSBox-0.63\dosbox.exe" -c "mount C." -c C:kx.exe"

when i run the games from the KOX.bat that i create, it run but soundless
anybody know what is wrong ?

thanks in advance f

Reply 1 of 12, by Kippesoep

User metadata
Rank Oldbie
Rank
Oldbie

Problem 1: Read the README. It tells you to add "-noconsole" to the command you use to start DOSBox.

Problem 2: You batch file seems really off. There's improper quotes, improper commands, improper use of variables etc. Also, if you had read the README you would know that you can simply pass the name of an executable and DOSBox will automatically mount its directory as C: and run the executable. Try something like:

@echo off
c:
cd \dosbox-0.63
dosbox c:\games\kox\kx.exe

My site: Ramblings on mostly tech stuff.

Reply 2 of 12, by Guest

User metadata

thank u for replying my question
i've tried out your suggetion about the creating the bat file
and it works well (the game can run properly). but this time. it opens up
3 windows
1) launch the games
2) midi:openeddevice:win32
3) the system cannot find the path specified.

about the -nonconsole problem, i still confuse
where i can add the -nonconsole to start the dosbox
would you like to give me example for applying
-nonconsole command.

thanks for your help

Reply 3 of 12, by Kippesoep

User metadata
Rank Oldbie
Rank
Oldbie

You should read more properly. I wrote "-noconsole", not "-nonconsole":

@echo off
c:
cd \dosbox-0.63
dosbox -noconsole c:\games\kox\kx.exe

Just copy and paste.

Reply 5 of 12, by Kippesoep

User metadata
Rank Oldbie
Rank
Oldbie

No you haven't. I guarantee that using this batch file properly will only create one window: the DOSBox main window. Show me exactly what your batch file contains and how you are starting it. Perhaps include a screenshot of all three windows open.

My site: Ramblings on mostly tech stuff.

Reply 6 of 12, by Guest

User metadata

there is small changes, i uninstall the dosbox
and install again to
c:\program files\dosbox-0.63\

my batch files:

@echo off c: cd \program files\dosbox-0.63 dosbox c:\games\kox\kx.exe […]
Show full quote

@echo off
c:
cd \program files\dosbox-0.63
dosbox c:\games\kox\kx.exe

it will open up 3 windows like i tell u before.

if i add -noconsole to the batch files, the games do not loading, it just loading the dosbox program with Z prompt and one windows wiht heading

c:\windows\system32\cmd.exe

thanks[/quote][/url]

Reply 7 of 12, by Kippesoep

User metadata
Rank Oldbie
Rank
Oldbie

You would need to do

cd "\Program Files\dosbox-0.63"

with quotes in order to change directory properly.

Also, try putting the "-noconsole" at the end of the line instead of in between. Make sure there's a space in front of it. The cmd.exe window opens for every batch file. If you're using a batch file, that window opens. If you don't want to do that, simply make a shortcut with the appropriate command in it. For example, create a shortcut with the following properties:

Target="C:\Program Files\dosbox-0.63" "c:\games\kox\kx.exe" -noconsole -exit
Start In="C:\Program Files\dosbox-0.63"

include all the quotes with all that.

My site: Ramblings on mostly tech stuff.

Reply 8 of 12, by HunterZ

User metadata
Rank l33t++
Rank
l33t++

Kippesoep: Are you sure the batch file window will close itself? I would think that he would need to use the start command in the batch file to accomplish this:

@echo off
c:
cd \progra~1\dosbox-0.63
start dosbox -noconsole c:\games\kox\kx.exe

If that doesn't work then maybe stick the -noconsole on the end?

start dosbox c:\games\kox\kx.exe -noconsole
Last edited by HunterZ on 2005-07-01, 15:41. Edited 1 time in total.