Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: MaLa Gamelist List in Layout?  (Read 3922 times)

0 Members and 1 Guest are viewing this topic.

dgame

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 620
  • Last login:June 01, 2025, 11:09:55 pm
  • I am no Jedi
MaLa Gamelist List in Layout?
« on: July 25, 2008, 01:57:05 pm »
Is it possible to setup a layout for MaLa that shows the names of the lists before and after like the main gamelist does?

The idea is to let users see a horizontal list of gamelists with the current list highlighted, just like the titles in the game list box.

All Games – All Games Playable – Atari Games

There is the ~l_name variable, but no previous or next list name variable.

Thanks!

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: MaLa Gamelist List in Layout?
« Reply #1 on: July 25, 2008, 07:50:44 pm »
Are you talking about Using MaLa tree?  ???

Sorry I'm not getting it. :dunno

shock_

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 354
  • Last login:January 30, 2020, 06:23:29 pm
  • In Brisbane, it's GMT+10 all the time.
Re: MaLa Gamelist List in Layout?
« Reply #2 on: July 26, 2008, 06:12:32 pm »
I think I understand the question. dgame wants to know if there is a pattern that can be loaded into a layout's text fields which == the string corresponding to the next or previous gamelist.

I don't believe there is.  The closest thing is in definables, but this matches against aspects of the current ROM, not the current list.

In Mala » Options » MAME config » Pictures and Videos, you can set what MaLa looks up what image to display in the layout's "definables" regions.  The default is "ROM", meaning that MaLa looks in the specified folder and displays a picture with a filename matching name of the ROM currently highlighted in the gamelist.  I use this to pick up the screen orientation and controls, eg. "vertical" and "8 way joystick" in my layout shown below.

This can be changed to "ROM +1" or "ROM +2", which might be handy if you wanted to show the snaps of the games above and below the current one, perhaps in some sort of 'snaps in scrolling window' device or something.  Was playing around with a layout that employed this a while back.

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: MaLa Gamelist List in Layout?
« Reply #3 on: July 26, 2008, 08:38:31 pm »
Ahh  :D

List +1 and List -1

What do you display if there are only two lists or no list?

csa3d

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 872
  • Last login:March 07, 2011, 08:16:35 am
  • Will game for food
    • Galaxian Mame Conversion
Re: MaLa Gamelist List in Layout?
« Reply #4 on: July 26, 2008, 08:42:02 pm »
I too would love to have built-in layout attributes to display next/previous gamelist defined under the current emulator, as well as the ability to show next/previous emulators.  This would help in making navigation instructions for custom layouts, which in turn would make a home visitors experience a tad easier.

-csa

csa3d

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 872
  • Last login:March 07, 2011, 08:16:35 am
  • Will game for food
    • Galaxian Mame Conversion
Re: MaLa Gamelist List in Layout?
« Reply #5 on: July 26, 2008, 08:45:05 pm »
Ahh  :D

List +1 and List -1

What do you display if there are only two lists or no list?

would there be any way to cycle the lists to wrap back around?  Otherwise I'd just say leave it blank.


loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: MaLa Gamelist List in Layout?
« Reply #6 on: July 26, 2008, 08:48:02 pm »
Ahh  :D

List +1 and List -1

What do you display if there are only two lists or no list?

would there be any way to cycle the lists to wrap back around?  Otherwise I'd just say leave it blank.



Hmm But what about users who don't use the 'wrap' lists option.

It will need some smatz in the code... I will ponder