Main > Main Forum

Area51 RELOAD help needed

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

reko19:

how did you get 1st player reload to work?

ahofle:

It was several MAME versions back that it worked, and even then it was only working for the first player.  I have the same problem as you with the current MAME.

u_rebelscum:


--- Quote from: ahofle on January 26, 2007, 03:19:04 pm ---Just curious, why does it convert offscreen shots to 0,maxY instead of something more static like -1,-1 (or 0,0 if negatives aren't allowed)?

--- End quote ---

It started with 0,0 but this didn't work on some games (lethal enforcers 2, mostly, IIRC).  The change happened in, err... clip from whatsnew:


--- Quote ---0.106u12
...
Changed the coordinates where for offscreen lightgun reloading, moving
it from the upper-left to the upper-right for better compatibility.
--- End quote ---

Funny thing is the source (current, 0.107, & 0.106u12) set it to lower-left (actually "minX, maxY"), and the documentation matches when it says "0, maxY".  [shrug]  Hmm... I guess the whatsnew was wrong.  I wonder if the maxX, minY that matches the whatsnew is "better"?

Mame could send "-1,-1" but that's probably less compatible with more games, and might crash some.


Skimming the source, I see maybe why current mame reload has problems: looks like mame's reload option only works on mouse 1, while most lightguns, with mame's multiple mouse & multiple lightgun support, are not mouse 1.  But there's a lot going on, so I'll have to do some coding and testing to be sure.

ahofle:

I'm not sure if this will help you any, but I am finding several lightgun issues in other games (not sure if they are related).  There seems to be some problems with the gun tracking depending on what resolution/video settings you are using.  For example, Vs Hogan's Alley and Vs Duck Hunt do not track properly at 640x480 with ddraw (the crosshairs never go past the right 3/4 of the screen), but work perfectly at 800x600 with d3d for whatever reason.  It's as though something is incorrectly hardcoded somewhere.  In Zombie Raid, the guns seem to be all over the place.  Again, not sure if any of this is related or if any of this lightgun code is common/reused for all drivers.

reko19:

I kinda gave up Yesterday and went with the cheats.  I assigned a short cut key under the cheat menu for unlimited ammo, but it doesn't stay assigned from one game to another. Is there any way to make it "stick" so I don't have to go to the cheat menu every time I start the game?

Also, on a different note, F12 now creates a subfolder within the "snap" folder. So I have to manually rename and move the file in order for it to work properly. Any idea why this was changed, it was working perfectly before?

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

Go to full version