Main > Main Forum
EMS TopGun II Light Guns...?
Cananas:
--- Quote from: Derrick Renaud on April 21, 2009, 07:24:53 pm ---I used to have it set to 0,0 but someone on these forums made a case for it being set to 0,max and changed it.
--- End quote ---
Me. I remember that when I checked the games, at least one game didn't reload with 0,0. Could be Lethal enforces or undercover...?
I will check again all the lightgun games that can reload shooting offscreen when I have some time.
*** EDIT ***
This is the old topic where we discussed it.
http://forum.arcadecontrols.com/index.php?topic=51919.0
Anyway, it would be good an update.
Derrick Renaud:
Thanks for the refresher, Cananas.
Looks like there is a hack in the LE2 code to make Player 1 offscreen_reload work. It converts min,max to min,min.
src\drivers\konamigx.c:
--- Code: ---static READ32_HANDLER( le2_gun_V_r )
{
int p1y = input_port_read(space->machine, "LIGHT0_Y")*224/0xff;
int p2y = input_port_read(space->machine, "LIGHT1_Y")*224/0xff;
// make "off the bottom" reload too
if (p1y >= 0xdf) p1y = 0;
return (p1y<<16)|p2y;
}
--- End code ---
change it to and recompile:
--- Code: ---static READ32_HANDLER( le2_gun_V_r )
{
int p1y = input_port_read(space->machine, "LIGHT0_Y")*224/0xff;
int p2y = input_port_read(space->machine, "LIGHT1_Y")*224/0xff;
// make "off the bottom" reload too
if (p1y >= 0xdf) p1y = 0;
if (p2y >= 0xdf) p2y = 0;
return (p1y<<16)|p2y;
}
--- End code ---
swamprat96:
Thanks Derrick,
I went home to no power yesterday so I'll make the change and try it tonight
swamprat96:
Yep that got it- thanks!
Derrick Renaud:
--- Quote from: swamprat96 on April 23, 2009, 04:34:30 am ---Yep that got it- thanks!
--- End quote ---
It's actually included in the new 0.131 version.
There have also been a lot of other UI fixes that should make selecting the gun in the UI input easier.
The only problem left is a topgun issue where it can flicker out of range and then you get Gun X Gun Y. I just thought of an idea where I will ignore the gun input if it is min/maxed on selection. I'll try it out later.
Please try setting up your guns in 0.131 and let me know if it is easier. Then try the ctrlr way I told you, because that is the easiest setup.
BTW, if you want the crosshairs to match the game colours, check out this post:
http://www.mameworld.info/ubbthreads/showthreaded.php?Cat=&Number=187740&page=0&view=expanded&sb=5&o=&fpart=1&vc=1
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version