VOGONS


Problem with mouse in DOSBox

Topic actions

First post, by Force_Phenomenon

User metadata
Rank Newbie
Rank
Newbie

Hello, this is my first time posting and I did attempt to dig through the forum index to find a solution to my problem, but came up with nothing, so please be gentle if I overlooked anything. Here goes.

Back in '07 I picked up DOSBox 0.65 after being hit with a heaping helping of Nostalgia for old dos classics. It suited me perfectly and everything ran fine, even the mouse, which I know for a fact since I played the Riddle of Master Lu and this glitch did not plague me.

Time went on. I noticed Dosbox 0.72 had been released, downloaded it since it boasted bigger compatibility, again, no problems.

After said nostalgia above had been satisfied I took a break for nearly an entire year before picking it up again. I noticed a strange bug. I'd click in the dosbox window to capture my mouse, but when I'd move it.. the game would freezeframe, as would dosbox itself. I first noticed when playing Blake Stone Planetstrike. I figured it was just that game. But when I went to play the Riddle of Master Lu again, the same problem occured, to the point if I moved my mouse too much it would crash the game or dosbox itself. I know it's a problem in my PC, because I switched back to Dosbox 0.65 and the same problem occured. Other than driver upgrades and software upgrades, I cannot think of anything that would cause this. When I play, I have no other active programs running. Here is a list of my hardware specs:

Intel Core2 Duo @ 2Ghz
4GB Ram (only 3 read due to XP)
Twin eVGA GeForce 7950 GT's (Not in SLI and yes I know, old, upgrading soon.)
Creative X-Fi Elite Pro
Windows XP Professional SP3
500 GB and 320 GB internal SATA2 Western Digitals, 200GB and 120GB external USB Segates, and 120GB SATA1 through ESata Segate.

The folder with all the games in it I use to mount is located on the 320GB internal drive.

This might be an information overload for most but I figure, too much rather than too little. If I need to post anything else, ask and you shall recieve. I'm hoping someone can provide an answer for this.

Edit: Forgot to add. Keyboard is Logitech G15 Gaming keyboard (original blue) and Logitech G7 mouse.

Reply 1 of 31, by Force_Phenomenon

User metadata
Rank Newbie
Rank
Newbie

A followup, since I've been able to repeat the bug, and someone out there may be able to understand it. Upon rapidly moving the mouse back and forth, it crashed the game more times than it did dosbox. Here is one produced in Riddle of Master Lu.

dosboxriddlemousecrash.jpg

It's the same result each time, but so far Riddle of Master Lu is the only one to produce an error report, a two second burst of quick movement from the mouse is all it takes to crash dosbox. I am literally running barebones, no background programs whatsoever, not even a virus scanner and the result is still the same.

Reply 2 of 31, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Bugs that can be reproduced are always welcome 😀

Not sure if it will help, but try downloading the latest experimental version of DOSBox: http://builds.tharos-online.de/index.php?dir= … date&order=desc

If you are lucky, something might have changed since 0.72 that fixes this bug.

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 3 of 31, by Force_Phenomenon

User metadata
Rank Newbie
Rank
Newbie

Hello Mini, thank you for the reply. I am willing to try it, but I don't think it will work, because if you read above the bug has also began reproducing in DOSBox 0.65, that I still have installed, only difference is that 0.65 produced no errors, simply crashed upon a swift jerk of the mouse.

Reply 4 of 31, by Force_Phenomenon

User metadata
Rank Newbie
Rank
Newbie

As expected, it didn't, downloaded and extracted and ran as was and it still happened. Used my old .conf file from 0.72 and same thing. I'm stumped.

Reply 6 of 31, by Force_Phenomenon

User metadata
Rank Newbie
Rank
Newbie

All that did was delay the bug, it took me rapidly shaking the mouse for a good 15 seconds this time before the crash appeared. Here's the report in Riddle.

dosboxriddlemousecrash2.jpg[/img]

Reply 7 of 31, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Use some fixed cycles= value, revert the core= setting.

Reply 8 of 31, by Force_Phenomenon

User metadata
Rank Newbie
Rank
Newbie

Core reverted to auto, cycles set to 3000. Neither the game nor dosbox crashed after 60 seconds of shaking the mouse back and forth, but with every moment it made, DOSBox and the game would resume the freezeframing and jerkyness, both visually and through sound. If I had some method of recording I'd attempt to do so.

Reply 9 of 31, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

so try 30000...

1+1=10

Reply 10 of 31, by Force_Phenomenon

User metadata
Rank Newbie
Rank
Newbie

Same thing on 30000, did not crash the game or dosbox, but the game and dosbox still freezeframes visually and in sound with each movement of the mouse.

Reply 11 of 31, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Maybe 30001 ?

Reply 12 of 31, by Force_Phenomenon

User metadata
Rank Newbie
Rank
Newbie

Not very helpful.. 🤣.

Reply 13 of 31, by dvwjr

User metadata
Rank Member
Rank
Member
Force_Phenomenon wrote:

All that did was delay the bug, it took me rapidly shaking the mouse for a good 15 seconds this time before the crash appeared. Here's the report in Riddle.

Sounds like the Dos/4GW mouse bug. Try the alternate DOS extender DOS/32a version 9.12 as a test replacement for your current DOS/4GW version.

What is the DOS/4GW version that came with 'Riddle of Master Lu' that is displaying the Dos/4GW errors that you posted?

Best of luck,

dvwjr

Reply 14 of 31, by Force_Phenomenon

User metadata
Rank Newbie
Rank
Newbie
dvwjr wrote:
Sounds like the Dos/4GW mouse bug. Try the alternate DOS extender DOS/32a version 9.12 as a test replacement for your current D […]
Show full quote
Force_Phenomenon wrote:

All that did was delay the bug, it took me rapidly shaking the mouse for a good 15 seconds this time before the crash appeared. Here's the report in Riddle.

Sounds like the Dos/4GW mouse bug. Try the alternate DOS extender DOS/32a version 9.12 as a test replacement for your current DOS/4GW version.

What is the DOS/4GW version that came with 'Riddle of Master Lu' that is displaying the Dos/4GW errors that you posted?

Best of luck,

dvwjr

I don't know what the version is, I assume it would be whatever was current at the time of 1994 and 1995, since that was the game's production and release time period. But, it is not just during any game, the mouse bug affects dosbox itself, anything ran in it experiences the same problem, regardless of what version I am using. I don't know what's been changed to cause this, but I did not have this problem when I first began using DOSBox.

Reply 15 of 31, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

Try core=normal with DOSBox 0.65 and see if that works. IIRC, core=normal is the default for 0.65. Can't really remember. (You can verify by installing it, deleting the dosbox.conf and then typing "config -wc" inside of DOSBox to generate a new DOSBox.conf).

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

Reply 16 of 31, by Force_Phenomenon

User metadata
Rank Newbie
Rank
Newbie
DosFreak wrote:

Try core=normal with DOSBox 0.65 and see if that works. IIRC, core=normal is the default for 0.65. Can't really remember. (You can verify by installing it, deleting the dosbox.conf and then typing "config -wc" inside of DOSBox to generate a new DOSBox.conf).

Normal was already set as the core value in the 0.65 .conf file, but I generated a new one anyway, had the normal value and the same bug continues to repeat, regardless of the version of DOSBox. The first thing that comes to mind is a software confliction, but.. I don't know what would cause it.

Reply 17 of 31, by dvwjr

User metadata
Rank Member
Rank
Member
Force_Phenomenon wrote:

I don't know what the version is, I assume it would be whatever was current at the time of 1994 and 1995, since that was the game's production and release time period.

Try typing DOS4GW.EXE at the DOS prompt in DOSBox v0.72 to get the DOS/4GW version number. Also, check the size of the DOS4GW.EXE file and post that information also to help narrow down the problem.

Force_Phenomenon wrote:

But, it is not just during any game, the mouse bug affects dosbox itself, anything ran in it experiences the same problem, regardless of what version I am using. I don't know what's been changed to cause this, but I did not have this problem when I first began using DOSBox.

Do you have the same mouse problem with a real-mode only game, or only protected mode games in DOSBox? Try the DOS/32a replacement to see if any protected mode game mouse problems are resolved, or not...

I run a BFG nVidia 7950GT with the 91.47 drivers on WinXP (SP2), so I'll have to pick up a copy of the 'Riddle of Master Lu' game to see what is happening. A simple adventure game should not have mouse problems, however the mouse callback code of the game might be marginally coded. 😦

dvwjr

Reply 18 of 31, by Force_Phenomenon

User metadata
Rank Newbie
Rank
Newbie
dvwjr wrote:
Try typing DOS4GW.EXE at the DOS prompt in DOSBox v0.72 to get the DOS/4GW version number. Also, check the size of the DOS4GW.E […]
Show full quote
Force_Phenomenon wrote:

I don't know what the version is, I assume it would be whatever was current at the time of 1994 and 1995, since that was the game's production and release time period.

Try typing DOS4GW.EXE at the DOS prompt in DOSBox v0.72 to get the DOS/4GW version number. Also, check the size of the DOS4GW.EXE file and post that information also to help narrow down the problem.

Force_Phenomenon wrote:

But, it is not just during any game, the mouse bug affects dosbox itself, anything ran in it experiences the same problem, regardless of what version I am using. I don't know what's been changed to cause this, but I did not have this problem when I first began using DOSBox.

Do you have the same mouse problem with a real-mode only game, or only protected mode games in DOSBox? Try the DOS/32a replacement to see if any protected mode game mouse problems are resolved, or not...

I run a BFG nVidia 7950GT with the 91.47 drivers on WinXP (SP2), so I'll have to pick up a copy of the 'Riddle of Master Lu' game to see what is happening. A simple adventure game should not have mouse problems, however the mouse callback code of the game might be marginally coded. 😦

dvwjr

There wasn't an executable in the Riddle of Master Lu folder for DOS4GW. And this problem occurs when starting up dosbox alone, I can capture my mouse while in just the command prompt, and moving my mouse back and forth there causes freezeframing since it causes intermittent interruptions in the blinking in front of the command prompt. This happens in every game I play and every program I run. I've uninstalled both DOSBox's and reinstalled them fresh, both one at a time and back to back, ran them seprately at each time and this bug continued to plague me. As I mentioned before, both DOSBoxes used to run perfectly, I played through Riddle of Master Lu on both until my year long break. During that time a driver or softtware update is the only thing I can think of that would cause this error. I am stumped as to what version of my NVIDIA drivers I'm using, it's the latest set off their site, that's all I know. My Creative X-Fi drivers are up to date as well. I have the latest Logitech Setpoint drivers and software and all the latest G15 drivers and software.

Reply 19 of 31, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Not very helpful..

So you can raise the cycles count on your own now?