mame2003-plus: hundreds of new games, improved input, features, new bugs - now with runahead support
-
I have no idea what you have and havent done I cant really help you beyond this as I dont have the hardware. The only other option is the device is picking up and analog axis that would show in options->controls if it did you would need to assign this device to user1. The problem is RA has a big learning curve for the input system you would need to start a thread on this device if somebody has it working they could help you out.
-
@grant2258
Pi 3
Canakit Power Supply
Stretch 4.4.8
Built From pre-made image on Retropie
Sandisk 128GB Thumb Drive, 2600-Daptor w/Atari Paddles
Logitech RumblePad 2
MAME emulator
Play 'Tempest' or 'Warlords' in lr-mame2003 w/Atari Paddles. -
Anyone else's dpad/stick stop working? I've even deleted my
retroarch.cfg
so it has that default blue theme, and still nothing. Buttons work. It's been a while since I've last tried it, but I just finished building it from source. They work fine in normal mame2003. I've also deleted/home/pi/RetroPie/roms/mame-libretro/mame2003-plus
-
-
@mitu That's some fast troubleshooting. Working good, thanks!
-
Why does mame2003-plus default to analog as of late? It didn't before, and although many modern game controllers also have additional analog sticks, many simple gamepads and arcade cabinets do not, but all but the very rare pure analog sticks have digital controls. So, wouldn't it be better to default to digital as the lowest common denominator?
-
@Clyde the same reason mame does this directions need to map to analog to work and custom mapping .
Mame also sometimes creates configs that arent default like luner lander if you create the games config in digital mode and swap to anlog its messed up because the custom config it already made. it the same deal with the real mame you need to map your digital buttons that it defaults to analog for directions.
-
Hm … I don't remember MAME (mame2003 and 0.185) not using my digital sticks by default since I came back to emulation approx. two years ago. IMO such problems only started in mame2003-plus recently.
Do I remember correctly? If so, why was it different before?
-
2003 never supported analog controls mame078 needs digital controls mapped defaults to analog cant speak for mame0185 would need to dowload it and check.
juts downloaded mame0185 started pacman uses the analog stick.
This is the mame default way of doing things. I dont really mind if you want the option changed just ask mark. Im only doing mame driver updates and such from now on mark looks after the libretro part of things. There will be more problems doing it the other way round but it can be explained to users how to fix it.
-
@grant2258 I didn't have to do this to the pi mame .20x build I tried a few weeks ago. I never checked what the default was but my pad and stick worked out of the box.
At least have a warning about it or something at the github and/or here.
-
mame2003 supported analog controls for analog games. retroarch has a configurable ability to bind digital joystick to analog stick controls.
-
@Darksavior https://github.com/libretro/mame2003-plus-libretro/pull/644
@dankcushions mame2003 is a hard coded hack that only works for some games if they use standard up down left right you would be ok
-
This question of digital-analog defaults seems squarely in my wheelhouse as a bridge of collaboration between the core and libretro/retroarch. When that dynamic is working well, sometimes both the core and RetroArch wind up making advancement.
That being said I'm mostly only posting by phone for a while. In the meantime, this is the most advanced MAME core in terms of analog support. That happens to mean that we're right on the rough cutting edge.
That's my sense of the situation.
-
@grant2258 or @markwkidd - Can you explain the difference between digital only and analog and digital. The latter doesn't do both as in use the same settings for an arcade cab and/or analog stick that may have both types of controls. Some of those arcade panels cover the gambit of types of controls. I've been using a keyboard and a XBOX controller with the digital and analog setting and both seem to be working ok so I don't quite understand the difference between the two settings.
-
@Riverstorm there is a lot of things going on in the code and reason the way it is. Im not going to going in great detail here it beyond the scope of this thread.
Basically it comes down this analog mode sends the analog controls (retropad mappings) to and digital mappings lstick
digital mode sends the analog controls (retropad mappings) to and digital hat mappings to dpad
if you want to change this default behavior in goto input general in analog mode and change your up/down/left/right. Be aware doing this can screw with some games that dont map standard and it will make you have to set inputs up for some games if you do this.
keyboard is a completely separate input from retropad if your using keyboard only or sim input mode.
-
only last words of advice on this mark is tag the code where its working. chaging the quick options menu will be fine but if you start messing with the defaults be careful what your doing when none standard games map. Again not too fussed with what you decide to do just tag a point where it is working so you can go back to it.
-
@grant2258 - Thanks for explaining. I don't fully understand everything you wrote as there seems like a lot of hardware combo's to cover. I'll keep playing around as it's been working well so far with the "analog and digital" option.
I haven't flipped over to "digital" only as I figured I would need to wipe all cfg files to switch. Since it seems any custom game cfg files would get "orphaned" potentially depending on the settings used.
-
@Riverstorm thats not how mame works if something in input this game is changed it does not use the settings in input->general else it does so any changes you make to input->this game (none standard will highlight white) will stick no matter what you set input general too.
ok let me show by example why I dont want to confuse people (and its why its out of the scope of this thead users shouldnt need to understand anything below this comment).
I dont know if you remember the problem we used to gave with luner lander not mapping right well this is because mame driver maps analog none standard to a hard coded direction to a digital direction.
This reminds me i need to fix that driver up. So what you need to do is load luner lander up goto input->this game youll see the paddle is highlighed white none standard input so no matter what you do input general it wont change.
The fix for this driver is easy though it just used the wrong dial setting that done the driver and hard coded a joystick direction to it.
the driver code just needs changed from this
PORT_ANALOGX( 0xff, 0x00, IPT_PADDLE|IPF_REVERSE, 100, 10, 0, 255, KEYCODE_UP, KEYCODE_DOWN, JOYCODE_1_UP, JOYCODE_1_DOWN )
to this.
PORT_ANALOG( 0xff, 0x00, IPT_PADDLE_V|IPF_REVERSE, 100, 10, 0, 255 )mame078 never had a digital mode so some drivers(very few) will need this hard coding error fixed but its best just reporting it and not pondering on how it works. I dont mean to dismissive but it can get complicated its best describing input probs and me mark and arcadez can work out the issue because we know how it works from the the core to ra getting it.
-
Ideally the libretro frontend can and will automatically try to map whatever physical controller the user has to the original analog or digital input on the emulated game. That wouldn't guarantee things work right for all games out of the box, but it would go a long way in that direction
Because of Grant's work, the core is now able to 'speak' analog libretro inputs but, for example, RetroArch doesn't come set up with default analog to digital maps, so the integration doesn't feel polished yet.
-
Grant is the expert on this topic though. What you're hearing from me is my thoughts on what my work needs to be on these inputs.
I was on the previous page of the thread and hadn't seen the latest messages.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.