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: Mirror option in MAME?  (Read 3154 times)

0 Members and 1 Guest are viewing this topic.

mimic

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 805
  • Last login:July 20, 2025, 09:41:28 am
  • ...
Mirror option in MAME?
« on: November 20, 2020, 09:59:33 pm »
I have 2 monitor 4 player spinner setup for one game... Warlords.
I use the rotate option in MAME on the 2nd monitor so all players are on the bottom, unfortunately that creates issue of controls being on opposite sides for player 3 & 4.
What would solve that issue would be a mirror option, but I don't think that exists in MAME or am I wrong?
If I am not wrong could anyone ask the MAME team on their forums to add that setting to the video options?
TIA!

DarthMarino

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 567
  • Last login:Today at 07:40:11 am
Re: Mirror option in MAME?
« Reply #1 on: November 20, 2020, 10:23:09 pm »
You should be able do this in a MAME art file using this:

<orientation flipx="yes" />

mimic

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 805
  • Last login:July 20, 2025, 09:41:28 am
  • ...
Re: Mirror option in MAME?
« Reply #2 on: December 05, 2020, 11:40:49 pm »
You should be able do this in a MAME art file using this:

<orientation flipx="yes" />

Won't that flip the orientation on both monitors though?
I only want to specify 1 of the monitors. It's easy to do things right from the built in video menu in MAME (TAB button>Video Options). And I can specify individual monitor, but there is no option there for mirroring only rotation.

Sorry for the late reply.

romshark

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 389
  • Last login:October 16, 2023, 02:50:59 pm
  • Arcade and Robotics enthusiast
Re: Mirror option in MAME?
« Reply #3 on: December 06, 2020, 01:55:11 am »
Maybe it'd be simpler to swap the controls. Just change the p3 controls to p4, and p4 controls to the old p3.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Yesterday at 06:13:49 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Mirror option in MAME?
« Reply #4 on: December 06, 2020, 03:36:03 am »
Also maybe I'm thinking about this wrong, but if you mirrored the screen wouldn't it make the spinners seem like they are working backwards?  Just do what romshark said. 

romshark

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 389
  • Last login:October 16, 2023, 02:50:59 pm
  • Arcade and Robotics enthusiast
Re: Mirror option in MAME?
« Reply #5 on: December 06, 2020, 08:35:47 am »
If mirroring just screen 2 did still actually happen (maybe to help follow the ball from one screen to the other. I don't have that setup so I'm not sure how it plays), it should be an easy fix. Just [TAB], Analog Control, and reverse paddle for 3 and 4.

At least, I think that would fix it. I don't have paddles or spinners myself to try this with.


If Joysticks are being used instead, just reverse the left and controls for the player.
« Last Edit: December 06, 2020, 08:39:35 am by romshark »

mimic

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 805
  • Last login:July 20, 2025, 09:41:28 am
  • ...
Re: Mirror option in MAME?
« Reply #6 on: December 06, 2020, 02:44:47 pm »
Also maybe I'm thinking about this wrong, but if you mirrored the screen wouldn't it make the spinners seem like they are working backwards?  Just do what romshark said. 

Mame has option for reversing direction. That was not an issue

If mirroring just screen 2 did still actually happen (maybe to help follow the ball from one screen to the other. I don't have that setup so I'm not sure how it plays), it should be an easy fix. Just [TAB], Analog Control, and reverse paddle for 3 and 4.

At least, I think that would fix it. I don't have paddles or spinners myself to try this with.


If Joysticks are being used instead, just reverse the left and controls for the player.


From this quote I gather that you haven't play this game in arcades. It's a single screen 4 player game (I haven't even seen original 4 player arcade cabinet, only 2). Nothing travels between the screens. Imagine 4 player breakout.

I have the game cloned on 2 monitors. It could be played where 2 bottom positions are played by 2 players on one monitor and 2 other top positions, played on 2nd monitor. Then there is no issue. But I rotated the screen (playfield) so all players can be on the bottom so position [3] [4] on top rotated 180 is now [4] [3], but the control panel obviously is not.
Simple mirroring option in MAME video options would solve it. And it wouldn't affect anything because the text is displayed upside down as well.

Another game where screen mirroring would be great would Hot Shot. Me and my buddy both came to conclusion we prefer to be on the left side (although text would get screwed up, but that's non issue for us)
 
Maybe it'd be simpler to swap the controls. Just change the p3 controls to p4, and p4 controls to the old p3.

I have to think about this one. I'm not even sure if my wiring would allow me for easy swapping positions. It would be much easier in software.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9674
  • Last login:Today at 01:08:07 pm
  • Designated spam hunter
Re: Mirror option in MAME?
« Reply #7 on: December 06, 2020, 03:31:07 pm »
It's a single screen 4 player game (I haven't even seen original 4 player arcade cabinet, only 2).
The upright cabinet was 2-player only.

The cocktail cabinet was 4-player.

There's a dip switch setting for cabinet type.

I have the game cloned on 2 monitors. It could be played where 2 bottom positions are played by 2 players on one monitor and 2 other top positions, played on 2nd monitor. Then there is no issue. But I rotated the screen (playfield) so all players can be on the bottom so position [3] [4] on top rotated 180 is now [4] [3], but the control panel obviously is not.
Simple mirroring option in MAME video options would solve it. And it wouldn't affect anything because the text is displayed upside down as well.
If you mirror both the X- and Y-axis of the display, that does the same as rotating the display 180 degrees and the text will be normal.

HOWEVER, if you mirror the display on only one axis, the text will be mirrored.



Maybe it'd be simpler to swap the controls. Just change the p3 controls to p4, and p4 controls to the old p3.
I have to think about this one. I'm not even sure if my wiring would allow me for easy swapping positions. It would be much easier in software.
Don't swap hardware, just rotate the display 180 degrees, remap P3 controls to P4 and P4 controls to P3.   ;D


Scott
« Last Edit: December 06, 2020, 03:42:07 pm by PL1 »

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Yesterday at 06:13:49 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Mirror option in MAME?
« Reply #8 on: December 06, 2020, 04:12:07 pm »
What he said.   No I played it in the arcades a lot..... on a proper cocktail cabinet with one monitor. 

romshark

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 389
  • Last login:October 16, 2023, 02:50:59 pm
  • Arcade and Robotics enthusiast
Re: Mirror option in MAME?
« Reply #9 on: December 06, 2020, 04:19:37 pm »

From this quote I gather that you haven't play this game in arcades. It's a single screen 4 player game (I haven't even seen original 4 player arcade cabinet, only 2). Nothing travels between the screens. Imagine 4 player breakout.

I have the game cloned on 2 monitors. It could be played where 2 bottom positions are played by 2 players on one monitor and 2 other top positions, played on 2nd monitor. Then there is no issue. But I rotated the screen (playfield) so all players can be on the bottom so position [3] [4] on top rotated 180 is now [4] [3], but the control panel obviously is not.
Simple mirroring option in MAME video options would solve it. And it wouldn't affect anything because the text is displayed upside down as well.

Another game where screen mirroring would be great would Hot Shot. Me and my buddy both came to conclusion we prefer to be on the left side (although text would get screwed up, but that's non issue for us)

I've played it on an Atari at home (well, a Colecovision with an Atari adapter). Didn't even know it existed in arcades / MAME until this post.

I meant in your setup, where you've got the game on 2 screens. If a player glanced at the other monitor, would it be more disorienting if the ball were on the same side, mirrored (like in PL1s example), or of the playfield was simply rotated on the other monitor (so the ball is on the left on one screen, and on the right in the other). Maybe I'm overthinking this and players are expected to watch their own screen only.

 
Maybe it'd be simpler to swap the controls. Just change the p3 controls to p4, and p4 controls to the old p3.

I have to think about this one. I'm not even sure if my wiring would allow me for easy swapping positions. It would be much easier in software.

I meant in software, as PL1 said. [TAB], "Input (This Machine)", change the controls for P3 and P4 around.

mimic

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 805
  • Last login:July 20, 2025, 09:41:28 am
  • ...
Re: Mirror option in MAME?
« Reply #10 on: December 06, 2020, 06:20:39 pm »
Well.... DUH! I so got into the mirroring after I have rotated the screen that something as simple as remapping the controls slipped my mind!! Holy geeboos some deep blonde roots bubbled to the surface!
THANKS!

(still as with Hot Shot example I wouldn't mind mirroring option to be added so on 2 monitors 2 players can be on left even if text would've been reversed)