VOGONS


First post, by BladeFireLight

User metadata
Rank Newbie
Rank
Newbie

0.73 consistently hangs on the following in a batch file

config -get "cpu core" >>%redir%
set DosBoxCPU=%CONFIG%
config -get "cpu cycles" >>%redir%
set DosBoxCycles=%CONFIG%
config -set "cpu core=dynamic"
config -set "cpu cycles=max"

it also hangs when a batch file does a call to another batch file. It happens consistently in the files I'm working on but I cant seem to replicate it in a simplified example.

I have tested this against both the release and the today's CVS build.

This worked in 0.72 just fine.

-Blade FireLight

Reply 1 of 10, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Can somebody confirm this ?
It works fine at my place.
(I added a set redir=piet)
but it worked without as well. (Linux 64 bit)

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 10, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

Ran it about 15 times each with 0.73 and 0.74RC1 on Windows 7 64bit Ultimate on my C2DP9600 laptop.

I loaded DOSBox and then launched the .bat inside.

Didn't test launching the .bat using dosbox.exe.

UAC on to full (I always have it on)

Last edited by DosFreak on 2010-01-28, 20:35. Edited 1 time in total.

How To Ask Questions The Smart Way
Make your games work offline

Reply 3 of 10, by collector

User metadata
Rank l33t
Rank
l33t

Ditto here with 0.73 on Windows 7 64-bit Pro OEM. Multiple times each with launching inside, launching DOSBox with and from the autoexec of the conf file. Worked every time with no crashes.

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

Reply 5 of 10, by collector

User metadata
Rank l33t
Rank
l33t
robertmo wrote:

BladeFireLight move your whole dosbox folder from C:\Program Files\DOSBox-0.73\ to C:\DOSBox-0.73\ and tell us whether it helped.

I didn't think of that . Even though it worked for me, it is true that I have my UAC turned off.

Reply 6 of 10, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

redirecting to a write protected directory seems to work fine for me. (or at least doesn't result in hanging)

Water flows down the stream
How to ask questions the smart way!

Reply 7 of 10, by robertmo

User metadata
Rank l33t++
Rank
l33t++

the batch file still works on my win 7 64-bit even if i set User Account Control to the highest protection level. I even added call .bat at the end so it works in a loop.

Qbix btw where is stderr.txt and stdout.txt in win 7 as i don't see them neither in program files nor in data apps when i run dosbox -noconsole

Reply 9 of 10, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

They should go to the Virtualstore if you don't have write permissions to the folder.

If you move the DOSBox folder out of Program Files then the location in the Virtualstore will be different.

How To Ask Questions The Smart Way
Make your games work offline