VOGONS


First post, by cdelse

User metadata
Rank Newbie
Rank
Newbie

Just got DOS Box to run Dark Forces after having problems with VDM sound. By default DOS Box ran DF realllly slow, so I took it upon myself to mess with the config file. I've tried everything, changing the core, cycles, mixer blocksize, etc. but can't seem to get a good config that works well. Right now I'm using the following config:

language=
machine=vga
captures=capture
memsize=128

core=full
cycles=11500
cycleup=500
cycledown=20

nosound=false
rate=22050
blocksize=2048
prebuffer=10

11500 seems on a full core seems to be my best bet right now. Anything lower than that, and the sound plays fine as well as the cutscenes in the game, but the actual game runs very slow. If I turn it higher than the, the sound starts to cut in and out and the game runs ALOT worse, which makes no sense to me by turning up that number. Any help would be appreciated to get the game running as smooth as possible. My system specs are as follows:

CPU: AMD Athlon 64 3000+
Memory: 1GB (2x512) PC3200
GPU: Asus Radeon 9600XT 128MB
Motherboard: Gigabyte GA-K8NS Pro
OS: Windows XP Professional SP2

Reply 1 of 14, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Normally, the Dynamic core should be the most efficient, giving you the most headroom to increase the CPU cycles. But remember, that even though you have pretty impressive rig there, if you ask DOSBox to use all the juice in that A64 for CPU emulation, something will have to suffer - and that is sound emulation.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 2 of 14, by cdelse

User metadata
Rank Newbie
Rank
Newbie

I actually tried messing with dynamic a bit. And while the cutscenes played perfectly, when I entered in game I noticed the sound cutting out very sporadically, and noticed the game was moving very slow. Not as in low framerate, but almost like everything was moving in slow motion, and the controls were delayed. It was all very random, as one moment I'd be walking smooth, then the next I would be going extremely slow with the sound jumping in and out.

Reply 3 of 14, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

You could try DOS32A, since DOS4GW is external for Dark Forces all you have to do is place the DOS32A.EXE in the Dark Forces directory and execute Dark Forces with DOS32A "Whatever the Dark Forces.exe is".

Then try dyanmic mode again and see if it works better.

IIRC, isn't there a mod or something for Jedi Academy that includes the Dark Forces levels? It's probably nowhere near a replacement for Dark Forces but it did look interesting last time I tried it.

Finally, what problems were you having with VDMSound?

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

Reply 4 of 14, by gulikoza

User metadata
Rank Oldbie
Rank
Oldbie

woot! 😳 How could I miss DF mod for JA. DF (actually entire DF series) is one of my favourite games...and yes it unfortunately runs too slow in dosbox. I guess the code is doing something strange, so that the dynamic core does not help much...

Checking the mod now....I understand it's not finished yet but it must look good. Thanks for the tip DosFreak 😁

Reply 10 of 14, by swaaye

User metadata
Rank l33t++
Rank
l33t++

DOS32A 7.33 crashes Dark Forces. It will run for about 5 mins but eventually a bunch of illegal reads will show up and lock it up. And Dynamic core causes cutscene problems and strange jitters in gameplay. I just use DF's original dos4gw.exe (sadly) and normal core and it works perfectly. On my A64 3000+, and Gulikoza's dosbox build with timesync and D3D, I sit at around 15k-18k cycles.

BTW, Gulikoza, your timesync patch is awesome! I love having it balance cycles automatically for me 😀 It causes serious problems with X-Wing CD though (both normal and dynamic core). The game runs slowmo although cycles say 20,000 or more.

Reply 11 of 14, by ASM

User metadata
Rank Newbie
Rank
Newbie

BTW, Gulikoza, your timesync patch is awesome! I love having it balance cycles automatically for me Happy It causes serious problems with X-Wing CD though (both normal and dynamic core). The game runs slowmo although cycles say 20,000 or more.

The cycles chosen by the timesynch code are too much. You should try to lower the cycle limit using CTRL-F11.

Reply 13 of 14, by ASM

User metadata
Rank Newbie
Rank
Newbie

The timesynch seems to work best with resource demanding games like BLOOD or Shadow Warrior. I only noticed problems with "non-demanding" games like Wolfenstein 3D. The problem is that the timesynch code increases the cylces until 9x% CPU usage is reached even if it is not necessary for the program/game.
I set the upper cycle limit to 60.000 cycles. When I ran SoD the timesynch code made dosbox run with > 10.000 cycles (15.000 or sth) and this was way too much so SoD ran quite slowly. When I decreased the cycle limit to 10.000 cycles the timesynch code made dosbox run with 7.000 cycles and SoD ran very well.

Anyways I like the timesynch code and I don't care if I have to adjust the cycles for certain programs/games. 😉

Reply 14 of 14, by red_avatar

User metadata
Rank Oldbie
Rank
Oldbie

I got my new rig today, and while 15000 cycles was most I was able to use on my old AMD 2500+, my new AMD 64 3000+ can go to 20000 cycles easily without sound chopping. Shadow Warrior now runs perfectly with only a bit of slow down when explosions appear. That's 25% power increase - not bad.