Build Your Own Arcade Controls Forum

Software Support => GroovyMAME => Topic started by: ArcadeAction on July 27, 2018, 02:52:26 pm

Title: MAME Sound Distorts When Rotating PC Desktop in Settings
Post by: ArcadeAction on July 27, 2018, 02:52:26 pm
I need to rotate my Windows display 180 degrees so that it aligns with player 1 on my CRT cocktail cabinet. When I do rotate it with Windows 7 or 10 (tried it on both OS), the sound in GroovyMAME (and MAME) is then distorted. It all sounds out of tune. Why would that be?

I realize I can rotate MAME 180 degrees to offset this and avoid rotating my desktop, but my front end is not readily rotatable so my menu would then be upside down.

Any workarounds you can think of? I've tried changing my yoke connectors and that works but then my monitor picture is horizontally centered too far off the screen and I've tried every adjustment it has. Last result would be to actually rotate the tube itself in the chassis frame (which seems ridiculous that I should have to do such a thing). The anode cup would be very close to the chassis which probably isn't good.

Another method might be to somehow call a script so that when my front end (Hyperspin) loads it rotates my desktop 180, and then rotates it back when it launches a game. Not sure if that is feasible though. Otherwise perhaps I could make all of my front end artwork rotated 180...

Looking for a solution to stop MAME from distorting sound when the desktop is flipped.

Any thoughts?

-----------------

Attached is a GroovyMAME log file on the Win7 PC I was using if that helps.

Thanks
Title: Updated above
Post by: ArcadeAction on July 27, 2018, 06:26:44 pm
I just updated the post above with more info.
Title: Re: MAME Sound Distorts When Rotating PC Desktop in Settings
Post by: krick on July 28, 2018, 01:21:33 pm
I need to rotate my Windows display 180 degrees so that it aligns with player 1 on my CRT cocktail cabinet.

Maybe I'm missing something but why can't you just rotate the physical monitor in the cabinet?

If that's not possible, I'm pretty sure I recall there being some way to swap wires on the monitor (neckboard?) to flip+mirror the image which is the same as rotating 180%.
Title: Re: MAME Sound Distorts When Rotating PC Desktop in Settings
Post by: ArcadeAction on July 28, 2018, 04:43:26 pm
I need to rotate my Windows display 180 degrees so that it aligns with player 1 on my CRT cocktail cabinet.

Maybe I'm missing something but why can't you just rotate the physical monitor in the cabinet?

If that's not possible, I'm pretty sure I recall there being some way to swap wires on the monitor (neckboard?) to flip+mirror the image which is the same as rotating 180%.

It is a Midway cocktail so the monitor can’t be rotated. I already tried swapping yoke wires but the image doesn’t center then unfortunately... I could potentially flip the tube around inside the frame itself but the anode cup would be too close to the chassis.

Currently I am reprogramming my Hyperspin front end rotating all the graphics. It is a ridiculous solution but I’m not going to loose this fight! :-) have most of it done now. 

Just can believe rotating the windows desktop 180 affects Mame sound. Try it yourself to see if it affects yours.
Title: Re: MAME Sound Distorts When Rotating PC Desktop in Settings
Post by: Sledge on July 28, 2018, 07:19:53 pm
did you try iRotate?
https://www.entechtaiwan.com/util/irotate.shtm (https://www.entechtaiwan.com/util/irotate.shtm)
don't know if it works different to windows settings, but worth a shot?
I use it to rotate 90, no issue
Title: Re: MAME Sound Distorts When Rotating PC Desktop in Settings
Post by: ArcadeAction on July 31, 2018, 08:18:59 pm
did you try iRotate?
https://www.entechtaiwan.com/util/irotate.shtm (https://www.entechtaiwan.com/util/irotate.shtm)
don't know if it works different to windows settings, but worth a shot?
I use it to rotate 90, no issue

Thanks for the suggestion, and I will try that software out.

Currently, I have finished rotating my HyperSpin interface 180 degrees and that is working ok so far, was just a bit of an extra step.
Title: Re: MAME Sound Distorts When Rotating PC Desktop in Settings
Post by: Dacasks on August 01, 2018, 12:56:36 pm
Try too create a ini file per game (ini folder) with the specified resolution of the game on it or just add "-R <resolution of the game>" on the command line when running Gmame.

It'll force the emulator to stick with that resolution even if the image is not rotated (like, with side borders in order to display it on a non-rotated monitor)

Don't forget to enable rotating under the mame ini files.

Example:
19xx.ini > resolution 2560x224 (The emu will run even the nag/info screen on that res, so it won't switch things mid-game causing the sound distortion)