MAME development: lr-mame2003 Updates
-
Thanks Dank for all you've done to whip lr-mame2003 into shape and thanks for an "official" thread to post in. We're going to have to name it lrdc-mame2003 or something! ;)
A quick question. Is it a lot of tweaking to get the left/right analog sticks and the silver center button on a XBOX 360 to work in the TAB setup? It's not a show stopper at all from migrating but it sure is handy for extra configuration flexibility. They do work in mame4all-pi and AdvMAME and I'm so used to using them. Great job with lr-mame2003 your efforts are regal good sir! :)
-
thanks all! honestly i'm having fun messing about with this stuff :)
@mediamogul i had a look into artwork. i'm fairly sure no-one could have gotten it working before as I had to do a code change, but when it was working there was some kind of corruption going on with the image. almost like the image bpp or image format wasn't working properly. i will look into this more but it's not looking great :(
@Riverstorm thanks :) centre button is probably not possible as it's a libretro limitation. libretro sees all controllers as basically a 360 controller, but that doesn't include the centre xbox button. what you could do is rebind your controller through emulation station, and map the centre button to a button it DOES see that you don't otherwise use (eg, the R3/L3 buttons, used when you click in the sticks?). after that, press TAB and change the general inputs so that 'show UI' (or whatever it's called) is your xbox button (which will show up as R3/L3) in addition to TAB. it's a bit of a hack but i'm not sure of any other way :(
-
@dankcushions said in MAME development: lr-mame2003 Updates:
i will look into this more but it's not looking great
Hey, do what you can. I'm just glad you're looking into it.
Thanks!
-
@dankcushions said in MAME development: lr-mame2003 Updates:
@Riverstorm thanks :) centre button is probably not possible as it's a libretro limitation. libretro sees all controllers as basically a 360 controller, but that doesn't include the centre xbox button. what you could do is rebind your controller through emulation station, and map the centre button to a button it DOES see that you don't otherwise use (eg, the R3/L3 buttons, used when you click in the sticks?). after that, press TAB and change the general inputs so that 'show UI' (or whatever it's called) is your xbox button (which will show up as R3/L3) in addition to TAB. it's a bit of a hack but i'm not sure of any other way :(
Thanks Dank that's actually really clever and would have never though of doing it that way. I am not sure what others do but I use the silver button to pull up my MAME TAB menu.
The other key you need to take in account for joysticks is the Escape key (UI Cancel). If you're in Input (General) the TAB key will only enter and exit the specific menu you're on and you can never get back to the "root" TAB menu to the other options until you exit the game and start it again.
Basically the Escape key (UI Cancel) acts as the back key as well as the exit menu key.
-
@Riverstorm said in MAME development: lr-mame2003 Updates:
The other key you need to take in account for joysticks is the Escape key (UI Cancel). If you're in Input (General) the TAB key will only enter and exit the specific menu you're on and you can never get back to the "root" TAB menu to the other options until you exit the game and start it again.
Basically the Escape key (UI Cancel) acts as the back key as well as the exit menu key.I was thinking about this too, but I have just been navigating using the last menu items "return to previous menu" or what ever they say. It's easy to navigate up and down with this, but not as convenient as the UI Cancel.
Here's an idea: I haven't tried this, but couldn't you map the EXIT function in RetroArch to "nul" and allow the ESC key to behave is it normally does in MAME? That way, UI Cancel would work as well as exit, depending on where you are in the emulator. It's the same kind of conflict we see with the PAUSE key.
This, of course, couldn't be a system-wide config. It would have to be per-core and just for lr-mame2003. You could do a test with a per-rom cfg or drop the nul mapping into the appropriate retroarch.cfg, but it would cause a conflict inside the Arcade config folder where you might still need the RetroArch EXIT function for other cores that use it (i.e. lr-fba-next).
-
@caver01 said in MAME development: lr-mame2003 Updates:
Here's an idea: I haven't tried this, but couldn't you map the EXIT function in RetroArch to "nul" and allow the ESC key to behave is it normally does in MAME? That way, UI Cancel would work as well as exit, depending on where you are in the emulator. It's the same kind of conflict we see with the PAUSE key.
I can try it just let me know but I am not quite sure I understand. The Escape key goes back one menu at a time until it gets to the main menu and then it exits the main menu back to the game fine. The keyboard works ok like it should. The challenge I was referring to is getting the joystick to work the same as the keyboard but there's a lot fewer buttons to work with. :)
Thanks for the Return Menu tip that will ease things for sure! I never paid attention to the Return Menu at the bottom as I am usually in the massive (general) list.
Speaking of pause is it by design the screen goes black on pause on lr-mame2003? I think I prefer to see where it's paused like in mame4all-pi. If you leave for a bit you have to guess where you're paused at. It can be a bit confusing coming back to a completely blank TV.
-
@Riverstorm Look Here for the discussion about pause.
I don't see why you couldn't map a joypad key to the UI Cancel function inside the MAME GUI. It just defaults to ESC I think, which is also MAME's EXIT key. On my setup, RetroArch overrides and kills the emulator when I press ESC, so there's no chance to use it in menu navigation. But, if I disable RetroArch EXIT key binding, I can send the ESC to MAME direct (instead of also through the virtual retropad) and it might allow menu nav. Of course, you need EXIT for other emulators--that was my point--so you would need to be selective about where you unbind EXIT in retroarch (per rom or per emu).
-
@caver01 said in MAME development: lr-mame2003 Updates:
On my setup, RetroArch overrides and kills the emulator when I press ESC
Ok, this might be the confusion for me. When I press Escape in lr-mame2003 it works like it should. To exit the emulator I press keyboard keys 1+2 or on the joystick start+select. Pressing Escape in my current setup only backs up one menu or exits the menu when at the main menu but does not kill the emulator. I didn't mean to be confusing. I was just looking for a handy joystick button to go back/exit the TAB menu.
-
@Riverstorm Actually, it's probably my configuration that is unusual because I have hotkeys disabled and I use a keyboard controller (older IPAC4). Your setup with joypad controllers is probably more common.
-
2 players on one dial device is added :) https://github.com/RetroPie/RetroPie-Setup/wiki/lr-mame2003#2-player-dialspinner-devices
-
@dankcushions said in MAME development: lr-mame2003 Updates:
2 players on one dial device is added :) https://github.com/RetroPie/RetroPie-Setup/wiki/lr-mame2003#2-player-dialspinner-devices
Nice work Dank, you're really banging out the updates. Thank you! :)
I'm not sure if this this is a good place to mention a few games that don't work in lr-mame2003. A few that I think would be great additions maybe some day down the road. :)
- Xenophobe which seems to work exclusively in AdvMAME no other emulators has this distinction.
- Skull & Crossbones which works in all emulators but extremely flattened vertically in all emulators. Only AdvMAME seems to get the proper proportions. I use the video setting (672x 480s 1.00x2.00).
- Puzzle Bobble (Bust-A-Move in North America) just drops back to the menu. It's the same in AdvMAME but for some reason mame4all-pi it does work.
-
@Riverstorm Most of the ones that don't work for me (add Rampage and Sarge to the list) have the same symptom: launches, but directly Service Mode and stuck there. I expect that's what others are seeing. It probably warrants another thread.
-
@dankcushions said in MAME development: lr-mame2003 Updates:
2 players on one dial device is added :) https://github.com/RetroPie/RetroPie-Setup/wiki/lr-mame2003#2-player-dialspinner-devices
Nice work!
I can't wait to try this. Over the weekend I'll make some adjustments to the TrackBall/Spinners wiki page I wrote and extoll the virtues (again) of using lr-mame2003 for most games. At this point, only the most complicated spinner/TB setups require AdvanceMAME to map the inputs (and any vector games).
-
@caver01 said in MAME development: lr-mame2003 Updates:
(add Rampage and Sarge to the list)
Oh, no Rampage. My nephew and I play a lot of Rampage. He's a teenager now but seems to like that one.
-
Binaries update - can hardly keep up! great stuff ;-)
-
@dankcushions said in MAME development: lr-mame2003 Updates:
2 players on one dial device is added :) https://github.com/RetroPie/RetroPie-Setup/wiki/lr-mame2003#2-player-dialspinner-devices
I just loaded the new binary and set the core option
mame2003-dialsharexy = "enabled"
It works a treat! I tried 2-player Blasteroids, 2 player Off The Wall (Sente), Championship Sprint, Super Off-Road and of course, they all work great using two spinners. I almost wish we had Pong in this romset! -
Hi all!
I've been making some tests but I haven't been able to use two trackballs, one for player1 and another for player2
I have four mouses connected to the pi, and all of them manage player1.
How can I setup this correctly?
Many thanks in advance!
-
@space-invader said in MAME development: lr-mame2003 Updates:
I've been making some tests but I haven't been able to use two trackballs, one for player1 and another for player2
I think you are going to need AdvanceMAME for that. I believe lr-mame2003 is only going to recognize one mouse input, so all attached mice map to a common x,y axis. Recent updates enabled a setting to split these among player 1 and 2 but that's still just two dimensions on a single mouse.
I have four mouses connected to the pi, and all of them manage player1.
Yep. That's how it works. Try AdavanceMAME. You have all of the flexibility you need with that one.
-
Oh, it's a pity!
Then it is imposible to play super sprint with more than one player? Or marble madness with two players?
I have correctly setup 3 mouses (2 trackballs and a spinner or 3 spinners) in advmame but I'd like to use the crt shaders of mame2003.
Finally could you explain me which is the usage of the last update? Is posible to map x-axis for player one and y-axis to player two??
This way at least could be posible to use two steering wheels...
-
@space-invader yes that's exactly what the last update allows. You need to enable the core config option. Check here for instructions. I have two spinners and it works great in Super Sprint and others. You can still map player three to joystick. No joy for multi trackball Marble Madness or Rampart. Use the spinnners and trackballs wiki I wrote for AdvanceMAME. It does have some screen effects--the rgb triads aren't as good as libretro shaders but it's better than nothing.
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.