Author Topic: Re: Help needed for my layouts: Scraping and displaying additional game info?  (Read 423 times)

marcelogon

  • Newbie
  • *
  • Posts: 5
    • View Profile
I use arcade games on advmame emulator and nevato themed. Is there any way to show the information of the game using the nevato theme?

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1253
    • View Profile
Your post has been split because you replied to a seven year old topic.

First you need to make sure your romlists contain the details you want to show.

Second you need to make sure your layout.nut will show the details of the romlist.

marcelogon

  • Newbie
  • *
  • Posts: 5
    • View Profile
The romlists have yes, depending on the theme I use, it shows the information.
Is there a way to insert commands in layout.nut of nevato theme and am-theme-mvsops-master theme for Neo-geo to show game information? If you can, send me the commands to copy and paste in layout.nut
Just a layman, I understand a little.

marcelogon

  • Newbie
  • *
  • Posts: 5
    • View Profile
I added this in Layout.nut of the nevato theme and in another theme that I use for neo geo and now they show in the footer, the year of the game, the title, the manufacturer and on the right side of the footer the cardinal numeral of the game, that was it that I wanted.

/////////////////////////////////////////////////////////
// Game information and text frame
/////////////////////////////////////////////////////////////////

//Title text info
local textt = fe.add_text( "[Title] - [Manufacturer]", flx*0.315, fly*0.955, flw*0.6, flh*0.028  );
textt.set_rgb( 225, 255, 255 );
//textt.style = Style.Bold;
textt.align = Align.Left;
textt.rotation = 0;
textt.word_wrap = true;

//Year text info
local texty = fe.add_text( "[Year]", flx*0.18, fly*0.942, flw*0.13, flh*0.05 );
texty.set_rgb( 255, 255, 255 );
//texty.style = Style.Bold;
//texty.align = Align.Left;

//display filter info
local filter = fe.add_text( "[ListFilterName]: [ListEntry]-[ListSize]  [PlayedCount]", flx*0.7, fly*0.962, flw*0.3, flh*0.022 );
filter.set_rgb( 255, 255, 255 );
//filter.style = Style.Italic;
filter.align = Align.Right;
filter.rotation = 0;
« Last Edit: August 13, 2022, 06:00:03 AM by marcelogon »