Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: MaLa Autorotate rotates the gui the wrong direction. How do I flip it?  (Read 3572 times)

0 Members and 1 Guest are viewing this topic.

Jakobud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1962
  • Last login:June 30, 2025, 02:20:39 pm
I have a cocktail that also has a control panel on the long end of it.  So I use -norotate when starting Mame so that its automatically doesn't rotate the game screen for vertical orientation games.  I have MaLa set to automatically rotate itself as well after Mame exits, if the orientation happened to flipped.  However, it flips it the wrong way and I don't see an option to flip it.

Example:

1. MaLa is oriented horizontally
2. I pick a vertical game like Pacman
3. Mame starts with the screen oriented vertically toward the Player 1 end of the cocktail (this is due to -norotate)
4. I exit Mame
5. Mala comes back up and immediately auto rotates the gui from horizontal->vertical orientation.  However, the problem is, the game list is rotated toward the Player 2 end of the cabinet and not Player 1 as it should be.

Obviously one simple solution is to Right Click with the mouse and choose "Flip Orientation" that fixes it.... UNTIL you switch back to horizontal orientation.  Then that's flipped as well.

Am I missing something here?  I don't see an option in the Mala options for choosing which direction I want the gui to autorotate.......

Can anyone help?

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Hi

I read your post a few times but probably need a drawing of how your controls are set in relation to the screen.
 ???
Anyway, even thought I don't quite understand what your requirement is try playing with

Use Cocktail mode and in options-controller-copntroller mapping. If you double click the screen in the middle it will rotate

If you need more detail then you are going to have to draw some pics for me  ;D

Anyway here is the code logic:

       // rotate mala with mame
after game quit  
 if using Mame and Rotate mala is selected in config then
if the orientation of the game (from metatdata) does not match mala's orientation then Switch Orientation
            


« Last Edit: July 23, 2010, 09:44:47 pm by loadman »