The NEW Build Your Own Arcade Controls
Main => Lightguns => Topic started by: tangodownNZ on July 14, 2023, 04:50:19 pm
-
I see there is lots of thread on editing MAME crosshairs. But I can not find a crosshair folder in my MAME directory anywhere.
I checked the MAME .ini file. Under core search path options I have crosshairpath crosshair. I can not see how to find where the crosshairs are located. I checked in the artwork folder, nothing.
Do I need to create my own crosshair folder in the mame directory and put custom crosshair .png files in that folder. But then, out of curiosity, where is MAME looking at the default crosshairs?
Thank you to the guys who always help with these questions. I am running MAME .226
-
I created my own crosshair folder in the MAME directory and got it to work in MAME .226
However, when I try the same thing in .220 I only have the default crosshairs available in OPWOLF
-
I created my own crosshair folder in the MAME directory and got it to work in MAME .226
However, when I try the same thing in .220 I only have the default crosshairs available in OPWOLF
/crosshair not /crosshairs!
solved
Why do we need to add a custom crosshair folder. And where are the default crosshairs and where does mame find them. Just out of interest
-
Why do we need to add a custom crosshair folder.
So you can add custom crosshairs or change which crosshair color is assigned to a player. ;)
And where are the default crosshairs and where does mame find them. Just out of interest
Looks like MAME's default "Built-In" diagonal crosshairs are embedded in the UI video code -- no separate crosshair .PNG files needed unless you want to use custom crosshairs or change crosshair colors from the defaults.
Nathan Woods added a concept of a "crosshair screen mask" internal to video.c and created a static call to retrieve the mask.
https://wiki.mamedev.org/index.php/MAME_0.114u2 (https://wiki.mamedev.org/index.php/MAME_0.114u2)
Tried Terminator 2 in MAME v0.254 with no "..\crosshair\" directory and the game showed both the game's default vertical/horizontal crosshairs (see 6:00 in the video below) and MAME's default diagonal crosshairs.
- As expected, when you switch off the MAME crosshairs, you still see the game crosshairs.
- When you add the "..\crosshair\" directory and .PNGs, you can select crosshairs/colors other than "Built-In".
https://www.youtube.com/watch?v=hy86CYUm6aI
Scott
-
Way back when we made some crosshairs for Howard Casto's Troubleshooter 2 (http://dragonking.arcadecontrols.com/static.php?page=aboutTS2).
See attached...
Been a long time, but I assume they are still compatible with MAME.
-
Way back when we made some crosshairs for Howard Casto's Troubleshooter 2 (http://dragonking.arcadecontrols.com/static.php?page=aboutTS2).
See attached...
Been a long time, but I assume they are still compatible with MAME.
Cool designs. Confirmed working with T2 and Shooting Gallery in MAME v0.254.
Sometimes right after you change crosshairs in MAMEUIFX v0.152, the crosshairs will swap between two different colors/designs as you move around the screen. :dizzy:
- Exiting/relaunching the game seems to fix it.
Scott