Build Your Own Arcade Controls Forum

Software Support => GroovyMAME => Topic started by: billfor on October 05, 2013, 02:43:27 pm

Title: remove a native modeline (crtemu)
Post by: billfor on October 05, 2013, 02:43:27 pm
Hi, I have a d9800 and arcadeosd shows a 400x300 60p native mode present. It doesn't show up in winmodelines or going through the standard graphic settings in windows. Should I just delete this from the registry directly? Groovymame keeps picking it for some vertical games like sinistar, and my d9800 can't apparently display it. Alternatively I could try to get it to work but since the sync goes crazy I can't see what I'm doing.

Thanks.



Title: Re: remove a native modeline (crtemu)
Post by: billfor on October 06, 2013, 10:38:44 pm
Just to be clear I tried setting 'lock_system_modes" and it doesn't seem to work. switchres still seems to select it.  Some of the other system resolutions work so that's why I just wanted to get rid of the one that won't display properly.

..
Switchres: [ 19]  400x 300 @ 60: system mode
..
SwitchRes: [sinistar] (1) vertical (240x292@60.10)->(400x300@58.64)
   rng(1):  400 x 300_58.642p 19.000 [integ] scale(1, 1, 1) diff(0.08, 2.47, -1.4542) ratio(1.667, 1.027)
SwitchRes: Setting option -rotate
SwitchRes: Setting option -noror
SwitchRes: Setting option -noautoror
SwitchRes: Setting option -norol
SwitchRes: Setting option -noautorol
SwitchRes: Setting option -notriplebuffer
SwitchRes: Setting option -syncrefresh
SwitchRes: Setting option -waitvsync
SwitchRes: Setting option -nohwstretch
SwitchRes: Setting option -nofilter
SwitchRes: Setting option -cleanstretch
SwitchRes: Setting option -keepaspect
SwitchRes: Setting option -prescale 1
..
Direct3D: Device created at 400x300


Title: Re: remove a native modeline (crtemu)
Post by: Calamity on October 09, 2013, 12:47:43 pm
Hi billfor,

Could you post the complete log? All system modes must be locked, unless:

- lock_system_modes is disabled, or
- powerstrip option is enabled

You *can't* remove a system video mode, they are created by the driver, not by us.
Title: Re: remove a native modeline (crtemu)
Post by: billfor on May 06, 2014, 09:33:40 pm
Hi Calamity, I have attached the log. I just want it to ignore this native mode line which can't display (400x300).

The mame.ini is:
powerstrip                0
lock_system_modes         1
lock_unsupported_modes    1


I have also tried with lock_system_modes 0  and got the same results.

Title: Re: remove a native modeline (crtemu)
Post by: Calamity on May 07, 2014, 07:20:02 am
Hi billfor,

The -lock_system_modes is definitely not being considered by GM, and the probable reason is that you have some higher priority .ini file where it's disabled. In your log I can see you have a williams.ini file. Make sure to only add there the options that should be different from the ones mame.ini, not the whole list of options. Post your .ini files here just in case.
Title: Re: remove a native modeline (crtemu)
Post by: billfor on May 07, 2014, 07:40:54 pm
Hi Calamity, I think I fixed it.

The williams.ini just contains one line:
  view standard

It makes no difference if I run with or without that .ini.

I downloaded the latest version 153 and it now ignores the mode. I see lines like:
SwitchRes: [ 400]x[ 300]_(60=60.0000Hz) - locked

I had been using version 149, so maybe it was a bug in that version.

It now sets to
SwitchRes: [sinistar] (1) vertical (240x292@60.10)->(800x600@60.10)

But I found a better idea after reading
http://forums.bannister.org/ubbthreads.php?ubb=showflat&Number=48388&PHPSESSID=5ede15166544f3209dd336d000f9e069 (http://forums.bannister.org/ubbthreads.php?ubb=showflat&Number=48388&PHPSESSID=5ede15166544f3209dd336d000f9e069)

I added this to the reslist.txt for vmmaker and forced it, and it looks much nicer.
 480 x 288 @ 50.000000 sinistar


--- Bill