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: why does groovy mame set resolutions twice (smashtv)  (Read 1964 times)

0 Members and 1 Guest are viewing this topic.

billfor

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:November 11, 2017, 12:15:55 pm
why does groovy mame set resolutions twice (smashtv)
« on: May 05, 2014, 11:52:24 pm »
I'm noticing that smashtv is playing in the wrong res on my setup. The log file shows that groovymame picks a good one and switches to it, but then it repeats the process and uses the wrong one.

Thanks.

btw the log looks something like:


SwitchRes: Entering switchres_modeline_setup
SwitchRes: v0.015a:[smashtv] Calculating best video mode for 399x253@54.815170 orientation: normal
.
.

Loading cheats file from cheat

Adjusting target speed to 98.2% (hw=54.00Hz, game=54.71Hz, adjusted=53.72Hz)
SwitchRes: Resolution change from 399x253@54.815170 to 410x256@54.706841
SwitchRes: Resolution change to 410x256@54

SwitchRes: Entering switchres_modeline_setup
SwitchRes: v0.015a:[smashtv] Calculating best video mode for 410x256@54.706841 orientation: normal

SwitchRes: [ 240]x[ 160]_(60=59.9370Hz)  << starts looking again
   rng(0):  out of range
   rng(1):  out of range
.
. [ lots of lines]
.
.SwitchRes: [smashtv] (1) horizontal (410x256@54.71)->(800x600@54.71)
   rng(5):  800 x 600_54.707p 34.192 [fract] scale(1, 2, 1) diff(0.00, 10.72, 0.0000) ratio(1.923, 2.344)
SwitchRes: Modeline "800x600_60 34.19KHz 54.71Hz" 35.01 800 832 944 1024 600 601 605 625   -hsync -vsync

This is the one that finally gets used and obviously the game looks wrong....


« Last Edit: May 05, 2014, 11:59:06 pm by billfor »

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: why does groovy mame set resolutions twice (smashtv)
« Reply #1 on: May 06, 2014, 02:55:17 pm »
Hi billfor,

GM is just doing what the game is asking for. In this case the game requests 410x256. As you don't have this resolution available in your system, GM virtualizes it using the highest resolution available. So either add this mode with VMMaker (using ReslList.txt) or use magic resolutions so all imaginable resolutions will be at GM's disposal. The reason this mode is not created by VMMaker in the first place is because MAME doesn't report it through XML. It reports 399x256 instead, but the game switches the video mode later, as many Midway games do btw.
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

billfor

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 27
  • Last login:November 11, 2017, 12:15:55 pm
Re: why does groovy mame set resolutions twice (smashtv)
« Reply #2 on: May 06, 2014, 09:13:17 pm »
Thanks Calamity!

I was using Dynamic Modes rather than the Magic resolutions.  I added 
410 x 256 @ 54.000000 smashtv

and it works great now.

Thanks again.