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: GroovyMAME 0.171 - SwitchRes v0.015m  (Read 228924 times)

0 Members and 1 Guest are viewing this topic.

Dr.Venom

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 270
  • Last login:May 08, 2018, 05:06:54 am
  • I want to build my own arcade controls!
Re: GroovyMAME/GroovyUME 0.152 - SwitchRes v0.015
« Reply #120 on: April 08, 2014, 01:46:46 pm »
Have you tried running it in a fresh folder (no .cfgs)?

I've just tested it in a fresh folder, with only groovyume and ume.ini in there and then the error doesn't occur. Going back to my original folder, I disabled the subfolders one by one, and the culprit is the "hi" folder. If it's there, then the error occurs, if it's not, then there's no error.

Digging deeper it shows that the "highscore.dat" in the "hi" folder is causing the issue. Without that file there's no error.

Does your Win 7 setup include a "hi" folder with a "highscore.dat" in there? 

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.152 - SwitchRes v0.015
« Reply #121 on: April 08, 2014, 01:58:42 pm »
Ah, that makes sense. I don't have the hiscore folder here. Maybe the problem is in the hiscore patch at the end of a session. I just ported the hiscore patch to v0.153 without actually testing the functionality because the GM diff (unfortunately for me) is built on top of it so I need that patch before actually creating my diff. Let's wait until the official hiscore patch is released.
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

Dr.Venom

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 270
  • Last login:May 08, 2018, 05:06:54 am
  • I want to build my own arcade controls!
Re: GroovyMAME/GroovyUME 0.152 - SwitchRes v0.015
« Reply #122 on: April 08, 2014, 02:32:46 pm »
OK, that would explain it. Let's await MKChamp's release then.

As a sidenote, too bad about the dependancy (for the obvious reasons). Is there maybe a future path in which they could be untangled as seperate non-dependant patches?

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.152 - SwitchRes v0.015
« Reply #123 on: April 08, 2014, 07:25:23 pm »
Ok I think I found the problem, I've uploaded the fixed files here: http://forum.arcadecontrols.com/index.php/topic,135823.msg1432055.html#msg1432055

It seems the hiscore.c file works if I change the 'global_free' calls for 'global_free_array'.
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

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: GroovyMAME/GroovyUME 0.152 - SwitchRes v0.015
« Reply #124 on: April 10, 2014, 06:51:40 am »
I added eldiau's changes to latest groovymame patch and bumped version to 015a.
I also attach the diff between previous patch (015) and new patch (015a).
Earth could be the hell of another world

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.152 - SwitchRes v0.015
« Reply #125 on: April 10, 2014, 07:52:38 am »
Thanks Ansa!

Just as an auto-reminder, I'm posting here some fixes that need to go in the new 015a patch:

http://forum.arcadecontrols.com/index.php/topic,135980.msg1405915.html#msg1405915
http://forum.arcadecontrols.com/index.php/topic,136443.msg1415103.html#msg1415103
http://forum.arcadecontrols.com/index.php/topic,132353.msg1411705.html#msg1411705

And also a couple of elusive errors with W7 that I hope to fix this weekend.

Once all that is fixed I'll post the binaries as usual. BTW the google code site does not allow to create any new downloads anymore, that's why I'm not uploading the diffs there, we'll need to use google drive or something else from now on.

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

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: GroovyMAME/GroovyUME 0.152 - SwitchRes v0.015
« Reply #126 on: April 10, 2014, 08:13:02 am »
Once all that is fixed I'll post the binaries as usual.
Hope to see posted also the patch :) .


google code site does not allow to create any new downloads anymore
What a shame.
Earth could be the hell of another world

Dr.Venom

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 270
  • Last login:May 08, 2018, 05:06:54 am
  • I want to build my own arcade controls!
Re: GroovyMAME/GroovyUME 0.152 - SwitchRes v0.015
« Reply #127 on: April 10, 2014, 05:50:04 pm »
Ok I think I found the problem, I've uploaded the fixed files here: http://forum.arcadecontrols.com/index.php/topic,135823.msg1432055.html#msg1432055

It seems the hiscore.c file works if I change the 'global_free' calls for 'global_free_array'.

Thanks, the error is gone and highscore saving is working.

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2006
  • Last login:February 08, 2023, 08:30:27 pm
  • Gotta have blue hair.
Re: GroovyMAME/GroovyUME 0.152 - SwitchRes v0.015
« Reply #128 on: April 11, 2014, 10:53:22 am »
the google code site does not allow to create any new downloads anymore, that's why I'm not uploading the diffs there, we'll need to use google drive or something else from now on.

Not sure if it's an option or not, but the guy who develops the "Merlin" firmware for ASUS routers uses mediafire.com to host his binaries.  Check it out...

http://www.lostrealm.ca/asuswrt-merlin/download

More info on the MediaFire plans and storage space.  I'm sure that users here would contribute to a PayPal account to help pay for a "Pro" account...

https://www.mediafire.com/upgrade/

I haven't compared it against Google Drive or Dropbox.  Not sure if it's better.

UPDATE:  It looks like Google Drive pricing is pretty good.  If the free account isn't enough, the lowest paid plan is now $2 per month...

http://googleblog.blogspot.com/2014/03/save-more-with-google-drive.html
« Last Edit: April 11, 2014, 11:10:43 am by krick »
Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.152 - SwitchRes v0.015
« Reply #129 on: April 13, 2014, 04:38:06 pm »
New version is ready:

https://googledrive.com/host/0B5iMjDor3P__aEFpcVNkVW5jbEE/

What's new in SwitchRes v0.015a

- Change that makes the built in UI useful for selecting games with a joystick. Now all games in the directory are listed in alphabetical order (patch by cools).
- Fix for mouse devices that stopped working properly since a previous change (reported by Endprodukt & sean_skroht).
- Fix for SDL Linux to allow dynamic refresh switching even when resolution doesn't change, required for variable refresh capable LCDs (patch by eldiau)
- Now the -prescale settings are not applied with HLSL on, this fixes previous video issues (suggested by lettuce).
- Now when using interlaced modes in Windows 7 -video ddraw is automatically selected, in order to avoid the refresh rate being halved.

Thanks, as usual, to Dr.Venom, Ansa89 and all others reporting bugs, suggestions, feedback, etc.
« Last Edit: April 13, 2014, 04:42:38 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

Sledge

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 495
  • Last login:September 25, 2022, 05:22:55 am
Re: GroovyMAME/GroovyUME 0.152 - SwitchRes v0.015
« Reply #130 on: April 14, 2014, 07:10:57 am »
- Now when using interlaced modes in Windows 7 -video ddraw is automatically selected, in order to avoid the refresh rate being halved.
Thanks Calamity..
1 question... how does this option go with the switching issue in windows 7 with DDraw?
Doesn't cause the issue, due to switching from D3D to DDraw? (bypassing the switching issue)
« Last Edit: April 14, 2014, 07:20:21 am by Sledge »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.152 - SwitchRes v0.015
« Reply #131 on: April 14, 2014, 07:36:31 am »
Thanks Calamity..
1 question... how does this option go with the switching issue in windows 7 with DDraw?
Doesn't cause the issue, due to switching from D3D to DDraw? (bypassing the switching issue)

If you mean the switching between progressive/interlaced & ddraw in W7, this had already been fixed, it required some hackery, but it least it's working here just fine.

A warning however: games that switch resolutions dynamically are still unstable in Windows 7. Some cases like Tekken3 that switch resolutions many times during game boot will crash GroovyMAME. My advice is to create an ini for these games, and use -resolution 2560x480 and -cleanstretch 2. This will make all the initialization process way smoother too.
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

Sledge

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 495
  • Last login:September 25, 2022, 05:22:55 am
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #132 on: April 14, 2014, 08:07:29 am »
Ok cool.. Didn't know that had been fixed :)

Not sure if it's just my machine or not... but mame .153 won't run on it's own.. it gives a 'failed to initialize ddraw' error..
run it with a game (mame.exe galaga) it starts fine...
Mame .152 when run on it's own gives the old 'menu'
« Last Edit: April 14, 2014, 08:14:17 am by Sledge »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #133 on: April 14, 2014, 08:13:04 am »
Oh damn, I thought that had been fixed. May you pass a log please?
BTW: are you running it with admin rights?
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

Sledge

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 495
  • Last login:September 25, 2022, 05:22:55 am
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #134 on: April 14, 2014, 08:14:57 am »
Oh damn, I thought that had been fixed. May you pass a log please?
BTW: are you running it with admin rights?
Added log to above while you were replying :)

Yes running with admin.

sean_sk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 144
  • Last login:August 06, 2019, 10:27:48 am
  • If quizzes are quizzical, then what are tests?
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #135 on: April 15, 2014, 07:03:48 pm »
Not sure if it's just my machine or not... but mame .153 won't run on it's own.. it gives a 'failed to initialize ddraw' error..
run it with a game (mame.exe galaga) it starts fine...
Mame .152 when run on it's own gives the old 'menu'

THANKS Calamity for your hard work! Trackballs work beautifully with this new release.

I can confirm Sledge's issue as well. I have a similar set up to Sledge, in that we both have AVGA 3000's, so I'm not sure whether that is a contributing factor. I have Hyperspin shelled on Windows 7 and tried running interlaced games through that means as well, but just keep getting bounced back to HS. Non-interlaced games run fine of course through Hyperspin. As Sledge mentioned, GM 0.153 won't run on its own in Windows so have to use GM through HS for non-interlaced games or run from command line.

Thanks mate.
« Last Edit: April 15, 2014, 07:08:31 pm by sean_skroht »

Sledge

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 495
  • Last login:September 25, 2022, 05:22:55 am
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #136 on: April 16, 2014, 05:38:09 am »
I hadn't got around to testing a higher resolution game, but have now, and confirm the same result as sean.
Interlaced games do not run.

sean_sk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 144
  • Last login:August 06, 2019, 10:27:48 am
  • If quizzes are quizzical, then what are tests?
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #137 on: April 16, 2014, 07:40:24 am »
Hi Calamity,

I've tried sending you a reply PM in regards to the second test version and it doesn't seem to be going through so I don't know if you have been receiving my replies but anyway:

I tested out the second version and it works great for me. Thanks for looking into it!

I love all things technical, so I'd love to know what you did to fix it.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #138 on: April 16, 2014, 08:00:54 am »
Yes I received your PMs. Thanks for testing!

It was failing because the workaround we use for switching between interlaced & progressive modes in ddraw (W7) was being bypassed for the AVGA because we don't use custom modelines with it. Probably if you had been using the Powerstrip option it would have worked without the patch. As I'm using CRT Emudriver which involves managing custom modelines by GM, it was working for me. Now both cases (AVGA & CRT Emudriver) are considered.
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

sean_sk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 144
  • Last login:August 06, 2019, 10:27:48 am
  • If quizzes are quizzical, then what are tests?
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #139 on: April 16, 2014, 08:10:08 am »
Just one other question regarding the change. Are we able to select ddraw in mame.ini so we can use that mode for all games or should we still have it set to d3d? Does your Win 7 fix only apply to interlaced games?
Sorry for the dumb question. :)
« Last Edit: April 16, 2014, 08:22:45 am by sean_skroht »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #140 on: April 16, 2014, 08:20:29 am »
Just one other question regarding the change. Are we able to select ddraw in mame.ini so we can use that mode for all games or should we still have it set to d3d? Does your Win 7 fix only apply to interlaced games?
Sorry for the dumb question. :)

Yes, you can set ddraw in mame.ini and apply it to all games.
The W7 fix applies to both progressive & interlaced games. However, it only forces ddraw for interlaced games, in order to solve the half speed issue.


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

sean_sk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 144
  • Last login:August 06, 2019, 10:27:48 am
  • If quizzes are quizzical, then what are tests?
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #141 on: April 16, 2014, 08:22:22 am »
Just one other question regarding the change. Are we able to select ddraw in mame.ini so we can use that mode for all games or should we still have it set to d3d? Does your Win 7 fix only apply to interlaced games?
Sorry for the dumb question. :)

Yes, you can set ddraw in mame.ini and apply it to all games.
The W7 fix applies to both progressive & interlaced games. However, it only forces ddraw for interlaced games, in order to solve the half speed issue.

Oh ok. Thats interesting because I set it ddraw and it wont start. Get the initializing error again.

Ok heres the deal. I have set mame to run as admin. If I set d3d in ini file than all games work including interlaced. If I set ddraw in ini file then progressive games don't work but interlaced DO work.
« Last Edit: April 16, 2014, 08:53:31 am by sean_skroht »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #142 on: April 16, 2014, 08:42:43 am »
So please post a log of it when it fails.
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

Sledge

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 495
  • Last login:September 25, 2022, 05:22:55 am
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #143 on: April 17, 2014, 06:32:35 am »
Just one other question regarding the change. Are we able to select ddraw in mame.ini so we can use that mode for all games or should we still have it set to d3d? Does your Win 7 fix only apply to interlaced games?
Sorry for the dumb question. :)

Yes, you can set ddraw in mame.ini and apply it to all games.
The W7 fix applies to both progressive & interlaced games. However, it only forces ddraw for interlaced games, in order to solve the half speed issue.

Oh ok. Thats interesting because I set it ddraw and it wont start. Get the initializing error again.

Ok heres the deal. I have set mame to run as admin. If I set d3d in ini file than all games work including interlaced. If I set ddraw in ini file then progressive games don't work but interlaced DO work.
Seems to be ok for me...
Mame? or UME ??
attached are logs for ume, for 1942 in both ddraw, and d3d

edit: maybe i got a newer version with the fixes included.. ;)
« Last Edit: April 18, 2014, 04:32:32 am by Sledge »

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #144 on: April 20, 2014, 04:56:17 pm »
Nice update Calamity, thanks!

Whats the deal with the Cave Sh3 new driver these days, are they now in mainline mame and more importantly GM??

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #145 on: April 21, 2014, 04:28:11 am »
Cave sh3 is integrated into cv1k driver which is officially supported by mame team.
Earth could be the hell of another world

Haggar

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 146
  • Last login:February 13, 2017, 05:12:32 am
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #146 on: April 24, 2014, 05:56:22 pm »
Hi,
is there any way to disable SwitchRes?
I've put "modeline_generation" to 0 in mame.ini, but I get the "could not find a video mode" error.

Thanks

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #147 on: April 25, 2014, 03:44:41 am »
Set "switchres" to "0".
Earth could be the hell of another world

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #148 on: April 25, 2014, 04:49:29 am »
Hi,
is there any way to disable SwitchRes?
I've put "modeline_generation" to 0 in mame.ini, but I get the "could not find a video mode" error.

Thanks

Hi Haggar,

That sounds like you either didn't create mame.ini through GroovyMAME with the -cc param, or you're running this on a non-15 kHz setup? If it's the later, you need to edit the 'monitor' option with a suitable monitor type (i.e. lcd, if you're using a laptop).

Setting modeline_generation to 0 forces GroovyMAME to treat your modelines as read-only. But SwitchRes can't be disabled, because all the logic still must pass through it.

Set "switchres" to "0".

Well, no. The "switchres" option has nothing to do with SwitchRes  :) It's a baseline MAME option that must be kept on. The "SwitchRes" name was chosen before the whole thing was intended to go into MAME, now we have that funny naming conflict but I guess we're keeping the SwitchRes name by tradition.
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

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #149 on: April 25, 2014, 05:37:49 am »
My fault, I misunderstood Haggar's question.
Earth could be the hell of another world

Haggar

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 146
  • Last login:February 13, 2017, 05:12:32 am
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #150 on: April 25, 2014, 07:56:08 am »
That sounds like you either didn't create mame.ini through GroovyMAME with the -cc param, or you're running this on a non-15 kHz setup? If it's the later, you need to edit the 'monitor' option with a suitable monitor type (i.e. lcd, if you're using a laptop).

Setting modeline_generation to 0 forces GroovyMAME to treat your modelines as read-only. But SwitchRes can't be disabled, because all the logic still must pass through it.
Hi Calamity and thanks for your answer.
Yes, I've created mame.ini with the -cc parameter and I'm using a 15KHz arcade monitor. I have a standard ati driver with many custom fine tuned 15khz modelines (I've Always disabled the modelines generation because I prefer manual resolution/refresh management).
With groovymame 0.149 I don't have this problem.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #151 on: April 25, 2014, 08:14:05 am »
Hi Calamity and thanks for your answer.
Yes, I've created mame.ini with the -cc parameter and I'm using a 15KHz arcade monitor. I have a standard ati driver with many custom fine tuned 15khz modelines (I've Always disabled the modelines generation because I prefer manual resolution/refresh management).
With groovymame 0.149 I don't have this problem.

Hi Haggar, things have improved quite a log since v.149 on this regard, trust me. Just post a log here showing the problem and your mame.ini and we'll see what's going on.
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

Haggar

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 146
  • Last login:February 13, 2017, 05:12:32 am
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #152 on: April 25, 2014, 08:52:15 am »
Log and mame.ini (renamed to txt) attached.
Thanks

EDIT: looking logs I've seen that switchres searches resolutions through my second adapter (radeon 9250) and not in my first radeon hd4650.
I've changed the "screen0" parameter in all custom ini files from "\\.\display3" to "\\.\display2" and the problem is gone!
« Last Edit: April 25, 2014, 09:02:59 am by Haggar »

Haggar

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 146
  • Last login:February 13, 2017, 05:12:32 am
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #153 on: April 25, 2014, 09:26:06 am »
Done some test, sadly switchres now doesn't pick the best resolution (right res, but wrong Hz):

E:\EMULATORI\MAME>groovymame32_0149.014b.exe splatter

SwitchRes: [splatter] (1) horizontal (288x224@60.61)->(288x240@60.58)
Average speed: 99.79% (4 seconds)

E:\EMULATORI\MAME>groovymame32_0153.015a.exe splatter

SwitchRes: [splatter] (1) horizontal (288x224@60.61)->(288x240@58.77)
Average speed: 97.00% (1 seconds)


Edit: Wiz doesn't work. Logs attached.
« Last Edit: April 25, 2014, 09:44:46 am by Haggar »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015b
« Reply #154 on: April 26, 2014, 07:24:33 am »
New version is ready:

https://googledrive.com/host/0B5iMjDor3P__aEFpcVNkVW5jbEE/

What's new in SwitchRes v0.015b

- New fix for Windows 7 progressive/interlaced mode switching with DirectDraw, now also works with ArcadeVGA 3000 (thanks to Sledge & sean_skroht).
- Fix in the modeline scoring system so that it properly accounts for the refresh rate when -nomodeline_generation is used (reported by Haggar).
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

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015a
« Reply #155 on: April 26, 2014, 07:53:33 am »
Done some test, sadly switchres now doesn't pick the best resolution (right res, but wrong Hz):

Hi Haggar,

Yes, there was a bug in the scoring system that only affected the -nomodeline_generation case. Now it should be fixed (015b).

Now, in order to get it working properly with your own modelines, you need to help GroovyMAME a bit:

- Your custom modelines will still be passed through the sanity check (hfreq, vfreq, etc.), this means that you need to use a monitor preset that is compatible with your modelines, otherwise they will be labelled as "out of range" and rejected. When cloning your modeline list in my system, this is the preset that worked fine for me:

 monitor custom
 crt_range0  15700-16720, 49.50-65.00, 2.000, 4.700, 8.000, 0.064, 0.192, 1.024, 0, 0, 192, 288, 448, 576

- I noticed there are some problematic modelines in your mode table. The one that failed with "wiz", for instance, you have it labelled as 401x256 but is defined internally as 401x258

Code: [Select]
Switchres: [ 42]  401x 256 @ 54: DALDTMCRTBCD401x256x0x54 - Modeline "401x258_54 15.47KHz 54.48Hz" 8.03 401 420 460 519 258 261 264 284   -hsync -vsync)
This makes DirectDraw crash. The resolution defined in the detailed timings can't be bigger than the one in the label. The other way round, however, does work. Another example (wrong):

Code: [Select]
Switchres: [ 20]  320x 200 @ 60: DALDTMCRTBCD320x200x0x60 - Modeline "320x240_60 15.70KHz 59.91Hz" 6.53 320 329 385 416 240 242 245 262   -hsync -vsync
- For cases where an interlaced mode would be used normally, like when playing donpachi on a horizontal monitor, you'll see that using -nomodeline_generation usually results in picking a low resolution progressive mode. This happens because when fractional stretching has been determined as the best possible choice, the algorithm prioritizes mathing the refresh rate rather than going for a higher resolution. So it will just pick the modeline with the closest refresh rage ignoring the resolution. There isn't a good workround for this but creating a good list of interlaced resolutions with the expected resfresh rates or as close as possible (e.g. 57.55 Hz in the case of donpachi). This is what VMMaker does by default. As a last resource you can always force GroovyMAME to pick a specific mode by using an .ini file. This problem doesn't happen when you use -modeline_generation as GroovyMAME then is capable of adjusting the refresh as desired and just goes for the highest resolution where the target refresh is feasible.

- Since recent versions of GM, a much better approach for using hand-adjusted modelines is no longer using a read-only mode list with the -nomodeline_generation option, but instead, create a dynamic mode table with VMMaker, use -modeline_generation in GroovyMAME and pass the hand-adjusted modelines using the raw format in the .ini file, e.g.:

Code: [Select]
## This is goldnaxe.ini ##

modeline "320x240_60 15.70KHz 59.91Hz" 6.53 320 329 385 416 240 242 245 262   -hsync -vsync

It's a lot of work but this way you're not limited by the driver's capacity: you can indeed create your own modeline library with hundreds of them. Besides, this is the only way to bypass the sanity check, so you can use whatever crazy frequencies you want.


« Last Edit: April 26, 2014, 08:00:12 am 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

sean_sk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 144
  • Last login:August 06, 2019, 10:27:48 am
  • If quizzes are quizzical, then what are tests?
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015b
« Reply #156 on: April 27, 2014, 01:47:39 am »
Hi Calamity,

Thanks for the latest release.

Did you get my PM in regards to an issue I'm having with triple buffering causing missing polygons and textures in Ridge Racer and Rave Racer and all vector games being very dark? Unfortunately it is still happening in this release. Ridge Racer and Rave Racer are running at 640x480 and will only run 100% with triple buffering on, otherwise they run at around 50-80% with it off.
Sledge can confirm this. As you know we're both running AVGA 3000's in Windows 7. I'm thinking that once again it might be something peculiar to our setup. I tried it on my Windows 8 PC and wasn't getting the issues at all.

I've included logs but I'm not sure how much they'll tell you.


Sledge

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 495
  • Last login:September 25, 2022, 05:22:55 am
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015b
« Reply #157 on: April 27, 2014, 03:56:25 am »
Yep, Same result as me.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015b
« Reply #158 on: April 27, 2014, 12:10:19 pm »
Did you get my PM in regards to an issue I'm having with triple buffering causing missing polygons and textures in Ridge Racer and Rave Racer and all vector games being very dark?

Hi sean_skroht, yes I saw your message. Although I'm not seeing it here, I'd say it's caused by the multithreading associated to triple buffering causing graphic glitches. You may try enabling -video d3d for these particular games, keeping triple buffering on (multithreading) so it will bypass the half frequency issue when using d3d. If this doesn't help, I guess there's nothing we can do about it.
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

Haggar

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 146
  • Last login:February 13, 2017, 05:12:32 am
Re: GroovyMAME/GroovyUME 0.153 - SwitchRes v0.015b
« Reply #159 on: April 27, 2014, 07:03:51 pm »
Thank you Calamity, I've Always a lot to learn from you.
I've removed "problematic" modelines and made some tests with new version.
Things improved a lot, BTW there are some strange behaviours that I can't explain:
Code: [Select]
E:\EMULATORI\MAME>groovymame32_0153.015a.exe snowbros

SwitchRes: [snowbros] (1) horizontal (256x224@57.50)->(256x240@57.01)
Average speed: 99.16% (8 seconds)

E:\EMULATORI\MAME>groovymame32_0153.015b.exe snowbros

SwitchRes: [snowbros] (1) horizontal (256x224@57.50)->(256x240@57.01)
Average speed: 104.17% (10 seconds)

E:\EMULATORI\MAME>groovymame32_0149.014b.exe snowbros

SwitchRes: [snowbros] (1) horizontal (256x224@57.50)->(256x240@57.50)
Average speed: 99.93% (2 seconds)

Note the average speed between rev. a and b of groovymame. In rev. b it runs faster indeed and can be noticed clearly from audio pitch (logs attached).
0.149 is the closer.

Same with superman:
Code: [Select]
E:\EMULATORI\MAME>groovymame32_0153.015a.exe superman

SwitchRes: [superman] (1) horizontal (384x240@57.43)->(384x240@57.20)
Average speed: 98.71% (2 seconds)

E:\EMULATORI\MAME>groovymame32_0153.015b.exe superman

SwitchRes: [superman] (1) horizontal (384x240@57.43)->(384x240@57.20)
Average speed: 105.22% (3 seconds)

E:\EMULATORI\MAME>groovymame32_0149.014b.exe superman

SwitchRes: [superman] (1) horizontal (384x240@57.43)->(384x240@57.43)
Average speed: 100.00% (2 seconds)

Quote
- Your custom modelines will still be passed through the sanity check (hfreq, vfreq, etc.), this means that you need to use a monitor preset that is compatible with your modelines, otherwise they will be labelled as "out of range" and rejected.
Is this also true with modeline generation set to 0?

Quote
When cloning your modeline list in my system, this is the preset that worked fine for me:

 monitor custom
 crt_range0  15700-16720, 49.50-65.00, 2.000, 4.700, 8.000, 0.064, 0.192, 1.024, 0, 0, 192, 288, 448, 576
Where have I to put this?
Thanks!!
« Last Edit: April 27, 2014, 07:19:52 pm by Haggar »