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: Advmenu and custom modeline?  (Read 3022 times)

0 Members and 1 Guest are viewing this topic.

emuola

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:June 15, 2017, 02:19:54 am
Advmenu and custom modeline?
« on: December 20, 2012, 02:57:25 am »
I just realised that I can define a custom modeline for Advmenu so that the menu would be totally flicker free (atm its flickering a bit with the default cga-setting). However, I'm not sure how to do this in practice. Advmenu docs say the format is something like this:

Code: [Select]
device_video_modeline Name CLOCK HDE HRS HRE HT VDE VRS VRE VT [-hsync] [-vsync] [+hsync] [+vsync] [doublescan] [interlace]
and modeline from "Monitor presets" thread from this forum (for the m3129) would be something like this:

Code: [Select]
monitor_specs0    15450.00-16050.00, 55-65, 3.19, 4.75, 6.45, 0.191, 0.191, 1.164, 0, 0, 288, 448
The question is, what do I acatually put into advmenu.rc?  :dunno

Running GroovyArcade (64bit).
« Last Edit: December 20, 2012, 02:59:33 am by emuola »

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: Advmenu and custom modeline?
« Reply #1 on: December 21, 2012, 06:15:37 am »
Hi emuola,

You don't need to add anything to advmenu.rc

Advmenu will use the modeline currently assigned to the X system. This one is defined in etc/x11/xorg.conf. You need to place a 31 kHz modeline in there. Use the resolution 648x480, there's a good reason for this. This should be automatically done by Switchres when you select your monitor type from gasetup, but the current version on the live-cd does not support the new monitor presets. An updated version is coming soon.
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

emuola

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:June 15, 2017, 02:19:54 am
Re: Advmenu and custom modeline?
« Reply #2 on: December 21, 2012, 07:53:42 am »
Hi emuola,

You don't need to add anything to advmenu.rc

Advmenu will use the modeline currently assigned to the X system. This one is defined in etc/x11/xorg.conf. You need to place a 31 kHz modeline in there. Use the resolution 648x480, there's a good reason for this. This should be automatically done by Switchres when you select your monitor type from gasetup, but the current version on the live-cd does not support the new monitor presets. An updated version is coming soon.

Ok, thanks again Calamity :) I think I'll wait for the next live-cd.

emuola

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:June 15, 2017, 02:19:54 am
Re: Advmenu and custom modeline?
« Reply #3 on: December 21, 2012, 10:20:17 am »
Hi emuola,

You don't need to add anything to advmenu.rc

Advmenu will use the modeline currently assigned to the X system. This one is defined in etc/x11/xorg.conf. You need to place a 31 kHz modeline in there. Use the resolution 648x480, there's a good reason for this. This should be automatically done by Switchres when you select your monitor type from gasetup, but the current version on the live-cd does not support the new monitor presets. An updated version is coming soon.

Ok, thanks again Calamity :) I think I'll wait for the next live-cd.

One more thing: The reason I asked this in the first place was that I first had the advmenu with 648 x 480 (later switchedto 320 x nnn). The advmenu was ok, but the problem was that all the games that were more or less 320 x nnn were "squashed" from the right edge pretty badly. The only way to correct it was to adjust the display settings from the panel of the display itself (vpos/hpos/ etc).

I figured that I can only setup the display settings once (the m3129 does not havememory for different presets?), so that I really cannot have the advmenu in 648 x 480, becuse the games won't use that mode.

So: is there any way to get the advmenu "flicker free" in 320 x nnn?

Am I completely lost here or what?

As you can see, I'm really no pro here  :dizzy:
« Last Edit: December 21, 2012, 10:22:57 am by emuola »

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: Advmenu and custom modeline?
« Reply #4 on: December 23, 2012, 10:23:26 am »
Hi emuola,

Quote
I figured that I can only setup the display settings once (the m3129 does not havememory for different presets?), so that I really cannot have the advmenu in 648 x 480, becuse the games won't use that mode

Sorry but that doesn't make any sense. Advmenu and GroovyMAME are totally independent in the resolutions they use.

You could have fixed the horizontal shift of your low resolutions by means of the crt_specs options in mame.ini, without altering the default settings of your monitor.

What I meant is that the new version of SwitchRes will allow you to have a modeline in AdvMenu that has the exact same geometry as the ones that GroovyMAME uses, this means that there will be no relative difference.

Quote
So: is there any way to get the advmenu "flicker free" in 320 x nnn?

Of course. Any progressive mode will be "flicker free".
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

emuola

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:June 15, 2017, 02:19:54 am
Re: Advmenu and custom modeline?
« Reply #5 on: December 23, 2012, 11:17:08 am »
Hi emuola,

Quote
I figured that I can only setup the display settings once (the m3129 does not havememory for different presets?), so that I really cannot have the advmenu in 648 x 480, becuse the games won't use that mode

Quote
Sorry but that doesn't make any sense. Advmenu and GroovyMAME are totally independent in the resolutions they use.

You could have fixed the horizontal shift of your low resolutions by means of the crt_specs options in mame.ini, without altering the default settings of your monitor.

What I meant is that the new version of SwitchRes will allow you to have a modeline in AdvMenu that has the exact same geometry as the ones that GroovyMAME uses, this means that there will be no relative difference.

Thank you, now I got it :) The next version of switchres is going to be reallly cool  :cheers:

Quote
So: is there any way to get the advmenu "flicker free" in 320 x nnn?
Quote
Of course. Any progressive mode will be "flicker free".
[/quote]

Thanks again. I guess eventually this resolution/modeline stuff is slowly eating its way through my thich skulll  :lol
« Last Edit: December 23, 2012, 11:22:06 am by emuola »