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: Rotateing Vertical Games to all be "Right Side Up"  (Read 3560 times)

0 Members and 1 Guest are viewing this topic.

atomikbohm

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 198
  • Last login:January 22, 2018, 11:33:35 am
Rotateing Vertical Games to all be "Right Side Up"
« on: November 03, 2009, 10:56:03 am »
I wasn't able to find this anywhere else so, sorry if I'm asking a question that has already been answered.

I'm setting up a vertical cab with a PC monitor.

System Specs:
AMD Athlon XP 2100
768 Mb RAM
BFG Nvidia 5 series video card
ASUS A7N8X-e Deluxe Motherboard
Front End - Mala 1.05
MAME .134

I've already put most of it together physically (i.e. the monitor is mounted vertically and the controls are more or less in place) but I'm having a heck of a time getting all of the vertical games to orient correctly. 

I've already gone in to the MAME.ini file and played with the rotation settings. But depending on the game, some are displaying correctly and some are rotated counter clock wise 90 degrees (most of the 1941 series for example).  If I change my settings so these game are correct all of the others are rotated 90 degrees out of position.  :banghead:

There has to be a way to get all of my games to show "right side up" without going into each game and rotating it manually... right?  :dunno

Any suggestions are appreciated.



rfancella

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:May 06, 2022, 06:02:34 pm
    • www.rfancella.com
Re: Rotateing Vertical Games to all be "Right Side Up"
« Reply #1 on: November 03, 2009, 07:19:37 pm »
My MAME works just fine...  I have this in my mame.ini file.

#
# CORE ROTATION OPTIONS
#
rotate                    1
ror                       0
rol                       0
autoror                   0
autorol                   0
flipx                     0
flipy                     0


u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Rotateing Vertical Games to all be "Right Side Up"
« Reply #2 on: November 04, 2009, 02:28:16 pm »
Is windows vertical, too?  If so, do like rfencella.

If not, you can look into mame's listxml output.  Use romlister to search for rotate=90 and rotate=270.  The two lists you'll get are which rotate "right" and which rotate "left" (the split is about 405 to 435, parents only).
Robin
Knowledge is Power

atomikbohm

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 198
  • Last login:January 22, 2018, 11:33:35 am
Re: Rotateing Vertical Games to all be "Right Side Up"
« Reply #3 on: November 04, 2009, 03:57:15 pm »
My MAME works just fine...  I have this in my mame.ini file.

#
# CORE ROTATION OPTIONS
#
rotate                    1
...
I have the same options enabled in my mame.ini file.  Though some are right side up and some are rotated 90 degrees counter clockwise.

Is windows vertical, too?  If so, do like rfencella.

If not, you can look into mame's listxml output.  Use romlister to search for rotate=90 and rotate=270.  The two lists you'll get are which rotate "right" and which rotate "left" (the split is about 405 to 435, parents only).

My Windows (XP) is rotated via the Nvidia thingy down by my clock.  (90 degrees)

I didn’t know that I could search by rotation in romlister, SWEET!!! That has got to be one of the most useful MAME tools that I’ve come across yet. 

… and once I have a list of vertical games by degrees rotated how do I get MAME to rotate each list differently?

Thanks for the help

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Rotateing Vertical Games to all be "Right Side Up"
« Reply #4 on: November 04, 2009, 05:38:08 pm »
My MAME works just fine...  I have this in my mame.ini file.

#
# CORE ROTATION OPTIONS
#
rotate                    1
...
I have the same options enabled in my mame.ini file.  Though some are right side up and some are rotated 90 degrees counter clockwise.

So some are seen upside down on your monitor?  Or  are they sideways?

I don't think either would happen.  Hmm... Maybe.. Are you making mame switching resolutions?  Or aspect?
Robin
Knowledge is Power

atomikbohm

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 198
  • Last login:January 22, 2018, 11:33:35 am
Re: Rotateing Vertical Games to all be "Right Side Up"
« Reply #5 on: November 04, 2009, 07:48:26 pm »
With rotate = 1 and all other rotate options = 0 I have roms either appear correct (i.e. up is up) or rotated 90 degrees counter clock wise (i.e. up is on the left side of the monitor).  So far these are the only 2 orientations that I've discovered.

Other than that I haven't changed any of the default settings in the MAME.ini file.  Tonight I'll play around with the resolutions and aspect switches and see what happens.

Thanks for the help and I'll keep posting my results.




u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Rotateing Vertical Games to all be "Right Side Up"
« Reply #6 on: November 05, 2009, 12:12:56 pm »
If -switchres is disabled, mame should be seeing that the monitor is rotated, and rotate correctly.  "should"

Could you run mame from the commandline, with the "-v" option (or enable verbose in mame.ini)?  Run it for both a correct oriented and a sideways game, and post the outputs here.  (if you're using mameUI, you'll have to redirect the output to a file: "mameUI32 1943 -v > textfilename.txt", including the greater than sign that didn't bold very well on my browser.)


FWIW, mame had a simular problem with Intel on board video chips, where the video driver would automatically "rotate" the screen, so some games were sideways.  I never heard it for an nvidia card, though.  Which is why I'd like to see the verbose output to see if it's the same.
Robin
Knowledge is Power

atomikbohm

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 198
  • Last login:January 22, 2018, 11:33:35 am
Re: Rotateing Vertical Games to all be "Right Side Up"
« Reply #7 on: November 06, 2009, 11:33:13 am »
Tonight I'm going to delete my mame.ini file and have mame create another (-cc argument from command line) just incase I put a '1' instead of a '0' someplace. 

If -switchres is disabled, mame should be seeing that the monitor is rotated, and rotate correctly.  "should"

Could you run mame from the commandline, with the "-v" option (or enable verbose in mame.ini)?  Run it for both a correct oriented and a sideways game, and post the outputs here.  (if you're using mameUI, you'll have to redirect the output to a file: "mameUI32 1943 -v > textfilename.txt", including the greater than sign that didn't bold very well on my browser.)


FWIW, mame had a simular problem with Intel on board video chips, where the video driver would automatically "rotate" the screen, so some games were sideways.  I never heard it for an nvidia card, though.  Which is why I'd like to see the verbose output to see if it's the same.

If deleteing my mame.ini file dosn't work I'll run the -v command line argument & post the results tonight.

Thanks again for the help.

atomikbohm

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 198
  • Last login:January 22, 2018, 11:33:35 am
Re: Rotateing Vertical Games to all be "Right Side Up"
« Reply #8 on: November 11, 2009, 12:09:03 pm »
Sorry crazy weekend.  I'll refresh my mame.ini file tonight and if that doesn't produce the desired results I'll post that verbose report later tonight.

thanks again for all of the help

atomikbohm

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 198
  • Last login:January 22, 2018, 11:33:35 am
Re: Rotateing Vertical Games to all be "Right Side Up"
« Reply #9 on: November 18, 2009, 03:27:32 pm »
Sorry for the lapse in response.  After deleting my mame.ini and running mame -cc to create another my rotation problems were fixed.  I forgot to keep the mame.ini that was causing the problems so I have no idea what the issue was but it's now fixed. 

Thank guys for all of the help!!!   :cheers: