Author Topic: Display menu layout - How to use magic tokens [SOLVED]  (Read 3492 times)

tipoto

  • Full Member
  • ***
  • Posts: 43
    • View Profile
Display menu layout - How to use magic tokens [SOLVED]
« on: November 12, 2016, 07:47:06 PM »
Is there any help somewhere talking about the new display menu feature?
It seems that the magic tokens don't work when I use a specific layout for the display menu, so I don't know how to display any interactive artworks.
« Last Edit: November 12, 2016, 11:15:50 PM by tipoto »

tipoto

  • Full Member
  • ***
  • Posts: 43
    • View Profile
Re: Display menu layout - How to use magic tokens
« Reply #1 on: November 12, 2016, 09:11:20 PM »
... The only information I managed to get is the display names inside the attract.cfg file, by using:
local variable=fe.game_info( Info.Name )

I guess I can deal with only this information, but I will have to use a switch/case function and put all the information for each systems directly in the layout.nut file.
If someone has a better solution, I'd be glad to read it :)

tipoto

  • Full Member
  • ***
  • Posts: 43
    • View Profile
Re: Display menu layout - How to use magic tokens
« Reply #2 on: November 12, 2016, 11:13:26 PM »
Oh, I finally found the new documentation about the display menu layout, here is the text I was looking for:

When looking for artwork for the 'Displays Menu', artwork is loaded from the "menu-art" subdirectory. Artwork matching the Display's name or the Display's romlist name are matched from the corresponding artwork directories located there.