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: Start Mala on specific game  (Read 855 times)

0 Members and 1 Guest are viewing this topic.

langlem

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 109
  • Last login:May 27, 2025, 04:58:19 pm
  • I want to build my own arcade controls!
Start Mala on specific game
« on: May 19, 2016, 08:57:35 pm »
Hoping to get more notice in the main forum...not much traffic on the Mala forum...hopefully ok to repost...

Hello.  I am mainly a HyperSpin user but have been playing around with Mala for a few months now.  Sometimes simple is better.  I have it set up the way I want it but have a pretty basic question.  Seems like I had it doing this at one time but now can not recall how I accomplished it....sure it was pretty easy.

I have a very small gamelist of only 20 or so games.  Only a marquee and snap are displayed.  How can I get Mala to open on a specific game.  Just to be clear, I do not want the game to start...i just want the game list to display that game first when Mala fires up.

Kind of the opposite of starting with the last game played.

Thank you.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9272
  • Last login:Yesterday at 03:15:04 pm
  • ...
Re: Start Mala on specific game
« Reply #1 on: May 20, 2016, 09:10:29 am »
There's no option to do it, but there is a line in mala.ini (or mala.cfg it's been a while) where Mala writes which game the list was on when it exited.

The simple solution:
If you manually change that or just exit mala while that game is highlighted, then set the ini file to read-only, it should work the way you want.
You'd just have to undo the read-only any time you want to make changes to the mala settings.

The more complicated solution:
If you're familiar with Hyperspin, then you're probably fairly familiar with autohotkey commands.
There is an iniwrite command that can rewrite that line in the ini file before mala is launched.
You'd just launch the autohotkey command instead of mala.  It would make the change to the ini file and then launch mala.