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: Making the internal gamelist useful without a keyboard.  (Read 1836 times)

0 Members and 1 Guest are viewing this topic.

cools

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 645
  • Last login:March 11, 2024, 02:59:06 pm
  • Arcade Otaku Sysadmin
    • Arcade Otaku
Making the internal gamelist useful without a keyboard.
« on: December 02, 2013, 01:50:52 pm »
I'm sick of trying different frontends for functionality that should be built into MAME as standard (filtering by Manufacturer and number of buttons? Okay - use a frontend. Selecting from an alphabetical list of a few dozen games without needing a keyboard? Should be standard). So find attached a diff that actually makes the built in UI useful for selecting games with a joystick.

Two changes need to be made:
  • src/emu/uimain.h: change VISIBLE_GAMES_IN_LIST from 15 to an arbitrary amount, I've gone with 99999. This makes the game list scrollable.
  • src/emu/drivenum.c: remove/comment the "shuffle" for loop.

cools

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 645
  • Last login:March 11, 2024, 02:59:06 pm
  • Arcade Otaku Sysadmin
    • Arcade Otaku
Re: Making the internal gamelist useful without a keyboard.
« Reply #1 on: December 02, 2013, 04:24:41 pm »
And a build of 64bit GroovyMAME with this modification, if anyone other than me finds it useful: https://drive.google.com/file/d/0BxaCVgxhLwHFRXp3bm5aMVZDMzQ/edit?usp=sharing

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7414
  • Last login:April 10, 2024, 02:02:31 pm
  • Quote me with care
Re: Making the internal gamelist useful without a keyboard.
« Reply #2 on: December 02, 2013, 05:17:30 pm »
This is great!! This should have been the default behaviour!

Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

cools

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 645
  • Last login:March 11, 2024, 02:59:06 pm
  • Arcade Otaku Sysadmin
    • Arcade Otaku
Re: Making the internal gamelist useful without a keyboard.
« Reply #3 on: December 02, 2013, 05:27:07 pm »
Feel free to put it into the Groovy diff, it'll save me having to patch it in future ;)

I'd liked to have put in a variable that points to the actual number available rather than 99999, however that's beyond my motivational skillset.

cools

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 645
  • Last login:March 11, 2024, 02:59:06 pm
  • Arcade Otaku Sysadmin
    • Arcade Otaku

cools

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 645
  • Last login:March 11, 2024, 02:59:06 pm
  • Arcade Otaku Sysadmin
    • Arcade Otaku
Re: Making the internal gamelist useful without a keyboard.
« Reply #5 on: December 11, 2013, 07:35:45 am »
Well, I don't seem to be able to integrate MEWUI with Groovy however I try to patch them together. No big deal - the diff I've done gives me all the functionality I need without the unnecessary fluff.