Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: langlem on May 19, 2016, 08:57:35 pm

Title: Start Mala on specific game
Post by: langlem 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.
Title: Re: Start Mala on specific game
Post by: BadMouth 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.