Main > Main Forum

What causes mouse/gun offset?

Pages: << < (2/3) > >>

u_rebelscum:

Okay I just tested GunBullet (gunbulet) in plain mame 0.72 and 0.71 without any offset problems.

Couple things you might want to try:

a) Delete the nvram and cfg files.  They might have been corrupted, or become out of date when you updated mame.

b) Since you're using a mouse, enable the mouse in mame, and disable the lightgun input in mame.  
The mouse input method mame uses is more accurate than the lightgun method, and the lightgun method is only needed if you have a physical lightgun.  If this fixes the problem, your windows mouse driver isn't totally compatable with the API mame uses for lightgun inputs.

c) You could try the opposite: disable mouse inputs and enable lightgun inputs.

d) Try point blank (ptblank).  This game uses the same game driver file as gun bullet.  Try other gun games.  List the games that work and those that don't so we can see if there is a pattern.

BobA:

U_rebelsum

Thanks for the hints I will try the items listed and see what occurs.

BobA

BobA:

Thanks the first suggestion worked great.  I deleted the nvram and cfg files and the game (gun bullet)  shoots right on now.

BobA ;D



tangodownNZ:

Re nvram and config.
Where do we delete these files exactly. Why do we delete them, and will this cause any problems.

I’m have calibration issues with opwolf. But I am using a ghost squad arcade gun.

BadMouth:


--- Quote from: tangodownNZ on July 03, 2023, 03:55:56 am ---Re nvram and config.
Where do we delete these files exactly. Why do we delete them, and will this cause any problems.

I’m have calibration issues with opwolf. But I am using a ghost squad arcade gun.

--- End quote ---

There was no calibration on the original machine so there is none in MAME.  There are a few old games like this.  Most notably all the Exidy games.
I'm guessing on the original machine the position of the potentiometers in the gun could be adjusted.

nvram is in the nvram folder in your MAME folder.  Each game nvram exists for will have a folder with the same name as the rom.
nvram is the memory of the original game that stored stuff like high scores and settings.  If you delete it, it will just get recreated with the default values next time you launch the game.

Similarly,  config files are in the cfg folder.  They exist if you have changed the control mapping to something other than the global mappings.
Deleting it will just reset the control mappings.

The ini folder is also relevant.  It contains the same options that are in mame.ini and exists if you've changed options to be specific for that rom.

Not sure any of that helps, but that is how it works.
I haven't fired up operation wolf in a long time, but don't remember having issues with my old guns which showed up as mice.
I can see where a gun that shows up as a joystick (as my current ones do) would be an issue.

Pages: << < (2/3) > >>

Go to full version