VOGONS


Quest for Glory IV crash

Topic actions

First post, by Zatos

User metadata
Rank Newbie
Rank
Newbie

Didn't see ANYONE with this problem.

I am using the Quest for Glory 4 CD version. Basically what happens is it keeps crashing randomly. It will crash to "dos" with an error message. It says "DOS/4GW Professional error (2002): Transfer stack overflow on interrupt 08h at 170:0017DBC6" then spews out a bunch of hex addresses and says things like "USE32", "page granular" and at the very bottom "Crash address (unrelocated) = 1:00021BC6". Also when this happens it changes the font of the text so it is wider and its also yellow... which doesn't really mean anything but just to let you know as much as I can. It also causes DOSBox to stop responding.

It seems to happen especially bad in menus or when choosing the icons in the menu bar... and by moving the mouse around too much.

I found there was an error like this but was patched and fixed and shouldn't be present in the CD version. It was related to not having enough extended memory available, but I'm not sure if there's any way to set sizes on that with DOSBox.

The only thing else that I can think of is that it might be some weird problem I have consistenly with DOSBox although it has never caused game crashes before. I've been playing through a lot of the Sierra adventure games and when moving the mouse it always causes the audio to stutter. Only in this game it seems to stutter to a much higher degree and always seems to pause and then crash when I'm moving the mouse. Perhaps that is what is causing this and there is some other issue with why moving the mouse is doing this to the audio?

Help on this would be greatly appreciated! I want to play this game!

Reply 2 of 8, by Zatos

User metadata
Rank Newbie
Rank
Newbie

I've tried a lot.

I dunno about the core... since I'm not sure what the differences are in the options. I tried running DOSBox through another program to limit it to 1 CPU core but no difference. Although I'm sure DOSBox is written to work with multiple cores anyway.

I've tried changing the memory size, mixer rate, mixer blocksize, mixer prebuffer, installing an unofficial patch for QFG4CD... turning up the cycles, slowing it down... tired changing the rendering to opengl and directdraw, also tried the core setting it to dynamic... changed the report rate on my mouse - set it down because its really high, lowered the dpi... I think that's it... oh and also closing out any background programs thinking they might have been taking up too much memory... nada.

Nothing seemed to make any difference whatsoever.

I really think it has something to do with the audio stuttering when I move the mouse. If I avoid moving the mouse real fast it seems to not lock up. If I move the mouse around a lot it starts to stutter bad and usually crashes. Not sure why DOSBox does that but it has been consistent across all the games I've played.

Reply 3 of 8, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

[MOVED]

Intel i7 5960X
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
8 GB GeForce GTX 1070 G1 Gaming (Gigabyte)

Reply 4 of 8, by Zatos

User metadata
Rank Newbie
Rank
Newbie

Woops! Sorry, didn't mean to post in the wrong forum. 🙁

Reply 5 of 8, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Either use a fixed cycles value or a CVS build (hmm I'm repeating myself)

1+1=10

Reply 6 of 8, by MiniMax

User metadata
Rank Moderator
Rank
Moderator
Zatos wrote:

II dunno about the core... since I'm not sure what the differences are in the options. I tried running DOSBox through another program to limit it to 1 CPU core but no difference. Although I'm sure DOSBox is written to work with multiple cores anyway.

No, it is not. DOSBox mostly uses just one physical CPU core. On my Intel Core Duo, this means that DOSBox will never use more than 50% of the physical CPU.

The "core" thing that people keep mentioning here is internal to DOSBox - it is which method it will use when emulating a DOS PC. Some methods ('cores') are slower, some are faster, some are better, some are worse. Sometimes a game work with one 'core' but not with another.

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 8 of 8, by ypokyty

User metadata
Rank Newbie
Rank
Newbie

Don't use EMS. (with D-Fend v2: uncheck the box "enable EMS" )