Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: monkeybomb on March 31, 2016, 06:33:19 PM

Title: How do I cahnge the order of the displays?
Post by: monkeybomb on March 31, 2016, 06:33:19 PM
I know this must have been answered already, but I can't find it anywhere obvious or by using the search.  Any help would be appreciated.
Title: Re: How do I cahnge the order of the displays?
Post by: verion on April 01, 2016, 01:39:20 AM
It was - I was asking the same question before.

You have to add    order=##
See the example below.

Code: [Select]
</ label="cab screen", help="video = video snap, screenshot = game screenshot", options="video, screenshot", order=1 /> cabScreenType="video";
</ label="scanlines on screen", help="show scanlines effect on cab screen.", options="light,medium,dark,off", order=2 /> enable_scanlines="light";
Title: Re: How do I cahnge the order of the displays?
Post by: xbs on April 01, 2016, 02:12:35 AM
Do you mean the actual display order in AM?

You need to edit the am cfg file.
Title: Re: How do I cahnge the order of the displays?
Post by: verion on April 01, 2016, 03:43:54 AM
oops... I've thought (I don't know why :) ) - that you are asking about layout options order.
Title: Re: How do I cahnge the order of the displays?
Post by: monkeybomb on April 01, 2016, 01:15:04 PM
Thank you, that worked.
Title: Re: How do I cahnge the order of the displays?
Post by: showman on May 06, 2016, 06:05:16 AM
Do you mean the actual display order in AM?

You need to edit the am cfg file.

Hi, as the author I need to change the display order.
how can I edit the am cfg file?

would be perfect to have a default display when attract mode start.

thanks in advance.

Title: Re: How do I cahnge the order of the displays?
Post by: xbs on May 06, 2016, 06:18:30 AM
You can edit the attract.cfg with notepad or notepad++.
Title: Re: How do I cahnge the order of the displays?
Post by: showman on May 06, 2016, 12:06:07 PM
You can edit the attract.cfg with notepad or notepad++.

Sorry, I don't speak english very well...
I mean, what I've to write into the attract.cfg?
Haven't fine any docs about it, infortunately.

Thanks.
Title: Re: How do I cahnge the order of the displays?
Post by: xbs on May 06, 2016, 03:37:44 PM
You just need to open the .cfg with a text editor and swap the order of the displays

Code: [Select]
# Generated by Attract-Mode v2.0.0-rc2
#

display snes9x
layout               emulation_station
romlist              snes9x
in_cycle             yes
in_menu              yes
filter               All
filter               Favourites
rule                 Favourite equals 1

display fusion
layout               emulation_station
romlist              fusion
in_cycle             yes
in_menu              yes
filter               All
filter               Favourites
rule                 Favourite equals 1
Title: Re: How do I cahnge the order of the displays?
Post by: akafox on May 08, 2016, 01:46:34 AM
xbs is correct.

Use your text editor that comes with your system..notepad for windows (NOT wordpad) ofor liux you can use gedit or leafpad..(even nano or vim) the emulators are displayed in the order they are in the the configuration file (using xbs's example):
Code: [Select]
# Generated by Attract-Mode v2.0.0-rc2
#

display snes9x
layout               emulation_station
romlist              snes9x
in_cycle             yes
in_menu              yes
filter               All
filter               Favourites
rule                 Favourite equals 1

display fusion
layout               emulation_station
romlist              fusion
in_cycle             yes
in_menu              yes
filter               All
filter               Favourites
rule                 Favourite equals 1

you change it to this:

Code: [Select]
# Generated by Attract-Mode v2.0.0-rc2
#

display fusion
layout               emulation_station
romlist              fusion
in_cycle             yes
in_menu              yes
filter               All
filter               Favourites
rule                 Favourite equals 1

display snes9x
layout               emulation_station
romlist              snes9x
in_cycle             yes
in_menu              yes
filter               All
filter               Favourites
rule                 Favourite equals 1


so snes9x was first..however fusion now shows first.
Just cut and paste the config the way you want it to show
Title: Re: How do I cahnge the order of the displays?
Post by: showman on May 10, 2016, 08:31:01 AM
Thanks to all. it's ok now.