Author Topic: How do I cahnge the order of the displays?  (Read 6969 times)

monkeybomb

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
How do I cahnge the order of the displays?
« 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.

verion

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 861
    • View Profile
    • new projects
Re: How do I cahnge the order of the displays?
« Reply #1 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";

xbs

  • Sr. Member
  • ****
  • Posts: 180
    • View Profile
Re: How do I cahnge the order of the displays?
« Reply #2 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.

verion

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 861
    • View Profile
    • new projects
Re: How do I cahnge the order of the displays?
« Reply #3 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.

monkeybomb

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
Re: How do I cahnge the order of the displays?
« Reply #4 on: April 01, 2016, 01:15:04 PM »
Thank you, that worked.

showman

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: How do I cahnge the order of the displays?
« Reply #5 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.


xbs

  • Sr. Member
  • ****
  • Posts: 180
    • View Profile
Re: How do I cahnge the order of the displays?
« Reply #6 on: May 06, 2016, 06:18:30 AM »
You can edit the attract.cfg with notepad or notepad++.

showman

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: How do I cahnge the order of the displays?
« Reply #7 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.

xbs

  • Sr. Member
  • ****
  • Posts: 180
    • View Profile
Re: How do I cahnge the order of the displays?
« Reply #8 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

akafox

  • Hero Member
  • *****
  • Posts: 985
    • View Profile
Re: How do I cahnge the order of the displays?
« Reply #9 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
People want life easy..then complain about it

showman

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: How do I cahnge the order of the displays?
« Reply #10 on: May 10, 2016, 08:31:01 AM »
Thanks to all. it's ok now.