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: Gamelist  (Read 3050 times)

0 Members and 1 Guest are viewing this topic.

Cas80

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
  • Last login:December 21, 2015, 11:30:29 pm
  • I want to build my own arcade controls!
Gamelist
« on: December 16, 2015, 05:16:52 am »
How do i setup mala so gamelist is in order of year made.

Cheers

big10p

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 698
  • Last login:May 01, 2023, 01:46:23 pm
  • Mmmm, arcade classics!
Re: Gamelist
« Reply #1 on: December 16, 2015, 08:19:29 am »
You can probably do this with ROMlister. I haven't used it in a while, though.

https://www.waste.org/~winkles/ROMLister/

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9226
  • Last login:Yesterday at 12:43:52 pm
  • ...
Re: Gamelist
« Reply #2 on: December 16, 2015, 10:00:02 am »
I don't think there is a way short of changing the game name to include the year first.
That would be done in mame.xml and then you'd have to refresh the all games list.

I did this on the "real" pinball tables on future pinball.

Cas80

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
  • Last login:December 21, 2015, 11:30:29 pm
  • I want to build my own arcade controls!
Re: Gamelist
« Reply #3 on: December 16, 2015, 10:01:47 pm »
I do it through romlister but wen i open in mala its is still in order of name not year.

How do i do with mame.xml?

NOP

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 916
  • Last login:September 19, 2017, 08:22:27 pm
  • I stole my avatar.
    • winterMAME
Re: Gamelist
« Reply #4 on: December 18, 2015, 03:58:51 pm »
romlister does output the list in year order, if you click on the year column header to sort it that way before outputting the list.
The problem here is that mala by default in its own code, is sorting the list alphabetically before displaying it.  Short of getting into the mala code, you are not going to do it.

IIRC, the workaround suggested by badmouth is to hand edit the XML file that romlister uses as its input source, and hand edit the XML fields to add the game's year into the rom description line:


change:
   <machine name="puckman" sourcefile="pacman.c">
      <description>Puck Man (Japan set 1)</description>
      <year>1980</year>
      <manufacturer>Namco</manufacturer>

to:
   <machine name="puckman" sourcefile="pacman.c">
      <description>1980 Puck Man (Japan set 1)</description>
      <year>1980</year>
      <manufacturer>Namco</manufacturer>


etc, etc, etc.  and then your list will show up in year order, but only because the game's name now has the year in it. 

BTW: if you ask me nicely, I can build you a version of romlister which can do this for you automatically.  That might save you about 4 years in hand edits in notepad. :)
That's only if you think that will solve your problem- it's kind of ugly if you ask me.  Your guests who are going to be playing your arcade machine don't really care what year a game was available in, only the name of it, if they can even remember that!
« Last Edit: December 18, 2015, 04:07:42 pm by NOP »

Cas80

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
  • Last login:December 21, 2015, 11:30:29 pm
  • I want to build my own arcade controls!
Re: Gamelist
« Reply #5 on: December 20, 2015, 01:44:55 am »
Please please pleassssssssse NOP could you build me romlister to do this pleaseeeeeee?
could it be setup to list latest games on top and oldest games on bottom please?
As in:
2015
2014
2013
etc

That would be awesome and thank you for your help!!!!!!!!!!


Cas80

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
  • Last login:December 21, 2015, 11:30:29 pm
  • I want to build my own arcade controls!
Re: Gamelist
« Reply #6 on: December 20, 2015, 01:46:55 am »
Sorry NOP

Does the year need to be shown in title on gamelist? if possible i rather not see year but only if it can be done.
If not you have help me immensely and thank you

NOP

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 916
  • Last login:September 19, 2017, 08:22:27 pm
  • I stole my avatar.
    • winterMAME
Re: Gamelist
« Reply #7 on: December 20, 2015, 08:37:14 am »
Yes, the year itself would show up in the title- the title is what is mala is using to sort the contents of your list.
I can understand if that's a deal breaker.  I'll hold off on doing that in romlister for now.

I suggest you play around with the enhanced mala list editor app.  (see stickied topic in this subforum).  I think that list editor may let you edit the game name field, and you might be able to add/remove characters to that field to change the way games appear in the list.  It would at least be a quick way to experiment with the list itself and see how altering the text alters the list.

Cas80

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
  • Last login:December 21, 2015, 11:30:29 pm
  • I want to build my own arcade controls!
Re: Gamelist
« Reply #8 on: December 20, 2015, 11:54:51 pm »
Its all good NOP, i would still appreciate u makin a version of romlister to do this please as ultimately thats how i like my list to be done...by year.

Cheers again mate!!

NOP

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 916
  • Last login:September 19, 2017, 08:22:27 pm
  • I stole my avatar.
    • winterMAME
Re: Gamelist
« Reply #9 on: December 21, 2015, 10:19:26 am »
here ya go:
https://www.waste.org/~winkles/ROMLister/RomLister_Cas80.zip

Very lightly tested.  Only in mala list output mode, it will insert the year of release before the rom title.

Cas80

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
  • Last login:December 21, 2015, 11:30:29 pm
  • I want to build my own arcade controls!
Re: Gamelist
« Reply #10 on: December 21, 2015, 11:31:14 pm »
You are a legend!!!. How do i set it so it starts from 2015 not 1975?

NOP

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 916
  • Last login:September 19, 2017, 08:22:27 pm
  • I stole my avatar.
    • winterMAME
Re: Gamelist
« Reply #11 on: December 22, 2015, 10:30:55 am »
glad it's working!

Getting 2xxx to show up before 1xxx takes us all the way back to your original problem.  The list is SORTED before being displayed.  1 is always going to come before 2.
the only thing I can think of now would be to create a list and then open it in the mala list editor program and change (for example)

2008 Game Title

to

'08 Game Title

the apostrophe (') would come before any numbers in a sorted list.

You're on your own for that one.  I'm not doing that in romlister.