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: Switchres vs. Spinner/Trackball  (Read 2073 times)

0 Members and 1 Guest are viewing this topic.

nilfisk

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:April 24, 2017, 01:55:46 pm
  • I want to build my own arcade controls!
Switchres vs. Spinner/Trackball
« on: February 21, 2014, 09:34:11 am »
Dear BOYAC BYOAC forum members,

I am currently setting up GroovyMame on XP32 in my Jumbo Quadro cab,
and am stuck trying to get my spinner to work. The problems are
obviously connected to SwitchRes, as I can observe the following:

1. Spinner games (e.g. Arkanoid) are working flawlessly when being
played on horizontal orientation. The spinner is reactive as expected.

2. When rotating the games (i.e. by using -autorol), the spinner gets
very laggy, even though I am using the exactly same settings (mame.ini etc.) as in 1.

3. However, once I disable switchres in the mame.ini, I can rotate the
games with the spinner fully working again (but, obviously, losing the
"perfect" resolution)

4. The "Wait Vsync", "Multithreading" and "Triplebuffer" options are
all disabled (set to 0) in the mame.ini. However, the game specific
XML autogenerated for Arkanoid shows "-vsync -hsync" as options for
the game. I can, however, not alter these, as the file is immediately
overwritten once I start mame.

I suppose I have to switch VMMAKER to generate game specific .inis to
be able to disable vsync for the spinner games? Or is there any way to
improve this with options in the mame.ini?

Any hint is appreciated!

Cheers,
Martin
« Last Edit: February 21, 2014, 02:46:46 pm by nilfisk »

lcmgadgets

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 471
  • Last login:July 31, 2023, 01:46:12 pm
  • Can u guess what game this image is from?
Re: Switchres vs. Spinner/Trackball
« Reply #1 on: February 21, 2014, 10:15:43 am »
Can't help u with your problem, just wanted to say welcome to the Buy Out Your Aunt's Company forum.  ;D
"Godzilla is a warning. A warning to each and every one of us. When mankind falls into conflict with nature, monsters are born."
Professor Hayashida

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Switchres vs. Spinner/Trackball
« Reply #2 on: February 21, 2014, 05:01:30 pm »
Hi nilfisk,

When you say horizontal orientation, I'm not sure if you mean:

- Vertical game rotated with monitor on horizontal position.
- Vertical game displayed unrotated on its native orientation (vertical monitor).

With GroovyMAME, you leave the rotation options in mame.ini unmodified, and select the orientation of the monitor by using the -orientation option, with its different values: horizontal/vertical/rotate/rotate_r/rotate_l. This option manages the rotation for you.

Anyway, there's a known issue with spinners and trackballs affecting current version of GM. Check this thread: http://forum.arcadecontrols.com/index.php/topic,136443.0.html

Fortunately, a fix was found and will be applied in next version.

Regarding -hsync/-vsync, you're mistaking these params that refer to sync polarities associated to a modeline, with the actual wait for vsync feature that has nothing to do with that.

The values of -waitvsync, -syncrefresh and -triplebuffer, when set to zero in mame.ini, allow GM to decide when to activate each of them, automatically, depending on each particular case.
« Last Edit: February 21, 2014, 05:04:10 pm by Calamity »
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

nilfisk

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:April 24, 2017, 01:55:46 pm
  • I want to build my own arcade controls!
Re: Switchres vs. Spinner/Trackball
« Reply #3 on: February 22, 2014, 12:26:48 am »
Hello Calamity,

Thanks for your reply!

With "horizontal orientation", i am indeed referring to vertical games rotated with monitor on horizontal position. In this mode/position, spinners and trackballs work as expected. Once I rotate the screen using "-autorol", the analog controlls start to lag/stutter. However, if I set switchres to 0 and use "-autorol" again, things are smooth again. I was also using Arkanoid as a test candidate, as in the thread you mentioned.

From reading it, I understand that I can either try to recompile MAME, with the codeblock in windows_osd_interface::update(bool skip_redraw) removed/commented out, or wait for the next version of GM. I've never compiled MAME, but I think I'll give this a shot :)

Thanks again for your efforts, and your excellent support!

Martin

nilfisk

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:April 24, 2017, 01:55:46 pm
  • I want to build my own arcade controls!
Re: Switchres vs. Spinner/Trackball
« Reply #4 on: February 24, 2014, 12:47:43 am »
Hello,

As an update: the problem disappeared when I changed the monitor type in mame.ini from Generic CGA/15khz to "H9110" (I am indeed using a Hantarex monitor). I had done this in vmaker.ini already and therefore had the correct modelines generated, but it seems the mismatch towards Mame was causing the problem with analog controls.

Thanks again for your help!

Martin