Build Your Own Arcade Controls Forum

Front End Support => MaLa Frontend => Topic started by: PlayingKarrde on June 08, 2010, 05:02:53 pm

Title: MaLa NOT losing focus when launching shortcut
Post by: PlayingKarrde on June 08, 2010, 05:02:53 pm
So I have a bat file that I made a shortcut to and placed it in my shortcuts folder for Mala to read. Mala is able to run the game fine but it also keeps focus so when I move the stick in the game it also moves through the menu in Mala. Obviously then when I press the select button it also selects another game causing two games to be running at once.

The game I'm trying to get working here is BlazBlue and it's so very nearly working perfectly. This is the last thing that is not working.

Has anyone had any luck getting this working in Mala, or does anyone have any advice on how I can fix this problem?

Thanks a lot.
Title: Re: MaLa NOT losing focus when launching shortcut
Post by: qlunch on June 08, 2010, 08:57:13 pm
When you're launching something in Mala, an emulator or bat or whatever, Mala waits for it to close to resume. When you launch a bat, it does it's thing and closes, then Mala wants to resume even though you don't want it to. Have your bat file or ahk script launch your executable and wait for it to close before finishing.
Title: Re: MaLa NOT losing focus when launching shortcut
Post by: PlayingKarrde on June 08, 2010, 09:58:36 pm
That makes perfect sense thank you.

How would I go about doing that though? My initial reaction was to put a pause in there, but I think that would just hang around even after the app is closed though wouldn't it?
Title: Re: MaLa NOT losing focus when launching shortcut
Post by: PlayingKarrde on June 09, 2010, 01:45:07 pm
OK I found that I just need to do this (for anyone else needing this info)

cmd /c whatever.exe

Thanks for your help :)