Author Topic: Adding informationtext to excisting Theme  (Read 369 times)

Jesper1972

  • Newbie
  • *
  • Posts: 5
    • View Profile
Adding informationtext to excisting Theme
« on: June 25, 2025, 06:45:09 AM »
Hi guys,
I hope there is any ninjas here

Im using "At-The-Arcade Flex" and Im loving it, it is 100% amazing
BUT... Im a statistics nerd and I would love to add a text-footer to the screen, such as in the "ArcadeBliss Cab Edition Reloaded" for instance, to show year, genre, game title or romname and how many times the game was played and for how long..

Im guessing it's possible to add this to the excisting layout.nut but before I mess everything up totally is there anyone else who alread did something to this effect and can share a layout ?


Cheers !!!
Keep on gaming !

Jesper1972

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Adding informationtext to excisting Theme
« Reply #1 on: June 26, 2025, 07:10:44 AM »
Something like this perhaps :)
Ok, I went beyond just adding text, but if one can make a wish, right ? :D
« Last Edit: June 27, 2025, 01:05:21 AM by Jesper1972 »

JJTheKing

  • Full Member
  • ***
  • Posts: 32
    • View Profile
Re: Adding informationtext to excisting Theme
« Reply #2 on: June 28, 2025, 07:34:45 PM »
here are some that i use for the meta

# Meta

local year_text = fe.add_text("* Year: [Year]", 05, 150 300, 25);
year_text.align = Align.Left;

local manufacturer_text = fe.add_text("* Manufacturer: [Manufacturer]", 05, 200 500, 25);
manufacturer_text.align = Align.Left;

local category_text = fe.add_text("* Genre: [Category]", 05, 250, 500, 25);
category_text.align = Align.Left;

local players_text = fe.add_text("* Players: [Players]", 05, 300, 500, 25);
players_text.align = Align.Left;

local buttons_text = fe.add_text(" Buttons: [Buttons]", 100, 300, 500, 25);
buttons_text.align = Align.Left;

local emulators_text = fe.add_text("* Emulator: [Series]", 05, 350, 500, 25);  // i used this to show what emulator is used
emulators_text.align = Align.Left;

local surface1 = fe.add_image( "rating/[Rating]", 20, 400, 80, 120 );  //this is for the png of the rating

JJTheKing

  • Full Member
  • ***
  • Posts: 32
    • View Profile
Re: Adding informationtext to excisting Theme
« Reply #3 on: June 28, 2025, 07:36:31 PM »
# Info Played Count

   local playx = fe.add_text ("[!PlayedCount]", 1185, 1020, 300, 25);
      playx.set_rgb (255,255,255);
      playx.charsize = 15;
      playx.align = Align.Left;
      playx.alpha = 120;
      playx.zorder = 6;
      
   function PlayedCount (ioffset) {
   
      local played = fe.game_info (Info.PlayedCount,ioffset);
         if (played != "0") {
            return "Played:  "+ played + " x";
      }
      else {
         return "Never Played !";
      }
   }