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: Mame Arcade Cab - some but not all games upside down  (Read 3655 times)

0 Members and 1 Guest are viewing this topic.

robotgreg

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:September 28, 2020, 04:00:10 pm
  • I want to build my own arcade controls!
Mame Arcade Cab - some but not all games upside down
« on: September 09, 2020, 05:16:47 am »
HI

I'm almost finished setting up mame on an arcade cab using groovymame as the starting point and then mamewah as the front end.

All roms are there and seem to load fine but some are upside down. Checked the vertical ones and seems to be around half. Not checked many horizontal games but have found at least one which is upside down and would expect many more.

I've got the vertical games to display full screen rather than with a border so in mame.ini have norotate set to 1. (ie I physically rotate the monitor when I want to play vertical games).

Looking on line it seems like the solution is to add a game.zip.cfg file for the games which need flipping back right way up ie by 180 degrees with the text:

video_rotation = 1

But this doesn't change anything.

I don't understand why some games are fine and some upside down and seems to be no common factor but assume something must be driving this.

Regardless of what's causing it, I'm happy to add a file for each game that's upside down to correct it, so wondering what am I doing wrong please and how can I get these games to display the correct way up.

A global solution would also be ideal but I guess in order for it to work it needs to only apply to some of the games not all and can't see how that could work until I could find out what's causing it in the first place.

Any help and advice very much appreciated.

MartyKong

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 193
  • Last login:Yesterday at 05:31:48 pm
  • I want to build my own arcade controls!
Re: Mame Arcade Cab - some but not all games upside down
« Reply #1 on: September 11, 2020, 05:15:48 pm »
Not sure I can be of much help since I never had this problem. So, just throwing it out there. When these problem games are launched from the Mame emulator directly are they oriented correctly. This would point to a front end problem. If showing from Mame launch you could tab in game and look under video options to try to change. Just spitballing ideas until a more knowledgable answer shows up. :dizzy:

Haze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1296
  • Last login:October 04, 2023, 08:30:02 am
  • I want to build my own arcade controls!
    • MAME Development Blog
Re: Mame Arcade Cab - some but not all games upside down
« Reply #2 on: September 12, 2020, 12:33:41 pm »
the problem is he's turning off MAME's automatic rotation, which is the feature that causes rotation to orientate to the desktop and instead saying "I want to do it manually"

Some games with vertical monitors had them rotated 90 degrees, some had them rotated 270 degrees.  One of things that contributed towards Billy Mitchell's videos being conclusively worked out as emulation based is that older versions of MAME actually got that wrong, treating it as a game with 90 degree rotation rather than a 270 degree rotation, thus meaning the video scan traveled in the opposite direction and different parts of the image drew at different times.

Once you turn the option to adjust to screen off, you're on your own, either you have to manually specify the rotation you want for each game, or you have to make it possible for your monitor to rotate in either direction. 

MAME is doing what you're asking it to, but since you have an exotic config, where your physical monitor is rotating (MAME has no way to know this - your monitor does not report back that it has been rotated) you end up on your own.

FWIW A small handful of games (usually gun ones) even used a mirrored display, with the natural rendering being y flipped even on a horizontal screen.

« Last Edit: September 12, 2020, 12:36:22 pm by Haze »

themadsinger

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:September 28, 2020, 02:52:50 pm
  • I want to build my own arcade controls!
Re: Mame Arcade Cab - some but not all games upside down
« Reply #3 on: September 12, 2020, 02:03:01 pm »
This is sorted now.  There was a setting in mame.ini for mame which corrected it.  Some games were defualt to right rotation and some to left but mame knew which was which and with the right setting rotated the all to be the correct way round