The NEW Build Your Own Arcade Controls

Front End Support => MaLa Frontend => Topic started by: Skinnysloth on August 09, 2014, 01:30:17 am

Title: Error launching Ultra SF4 with mala
Post by: Skinnysloth on August 09, 2014, 01:30:17 am
I can't seem to get this game to launch with mala.  I get this error when I try:
(http://i61.tinypic.com/2ropb4i.jpg)

Steam uses url for the shortcuts and mala does not seem to like it.  These are the properties of the shortcut:
(http://i60.tinypic.com/2enn7e8.jpg)

These are my option settings:
(http://i59.tinypic.com/2wr2849.jpg)
(http://i61.tinypic.com/35idso6.jpg)

Has anyone gotten this game or another steam game to work with mala?
Title: Re: Error launching Ultra SF4 with mala
Post by: Skinnysloth on August 09, 2014, 02:04:46 am
Ok, after searching for steam command line options, I was able to get Ultra SF4 to launch.  May not be the most elegant way, but it's working.

I pointed the executable to steam itself:
(http://i61.tinypic.com/r0xhf6.jpg)

And then added the -applaunch command with the number corresponding the game.  In this case it was 45760.
(http://i57.tinypic.com/2i8cei0.jpg)

If anyone has a better way, let me know.  I'm sure if you had multiple steam games, you could create a batch file for each and launch it that way.
Title: Re: Error launching Ultra SF4 with mala
Post by: Le Chuck on August 09, 2014, 08:11:36 am
I batch launch almost everything. When I write my own batches I know I'll get the settings I want and it's full proof with most FEs.
Title: Re: Error launching Ultra SF4 with mala
Post by: BadMouth on August 11, 2014, 04:50:28 pm
Point to the exe located in the SFIV folder.
It's in "the common" folder in your steam folder.

That should work for regular SFIV.

Mine isn't working after upgrading to "Ultimate" SFIV.
I'll get back to you on that.

EDIT: LOOKS LIKE YOU'VE ALREADY POSTED THE SOLUTION FOR ME.
Just need to incorporate your command line into a batch file so it doesn't have to be separate from the other pc games.
  :cheers:
Title: Re: Error launching Ultra SF4 with mala
Post by: Skinnysloth on August 11, 2014, 10:40:10 pm
Ok, launching the game is no longer a problem.  I've made a batch file and launch from a shortcut pointing to the batch file.  When playing USF 4, I start other pc games due to button presses being registered in mala.  Any ideas what's causing this and ways to fix it?
Title: Re: Error launching Ultra SF4 with mala
Post by: BadMouth on August 12, 2014, 09:46:18 am
Ok, launching the game is no longer a problem.  I've made a batch file and launch from a shortcut pointing to the batch file.  When playing USF 4, I start other pc games due to button presses being registered in mala.  Any ideas what's causing this and ways to fix it?

Sounds like the focus isn't shifting away from Mala to the game.  I usually use autohotkey, so have it post a left mouseclick when focus is an issue.
(it will just shift focus to whatever is on top)

Like I said, mine stopped working when I upgraded to Ultra.
I'll mess with it tonight and see if I have the same issue you're having.
I'll post whatever solution I end up using.
Title: Re: Error launching Ultra SF4 with mala
Post by: Skinnysloth on August 12, 2014, 04:20:16 pm
Alright, I look forward to your findings and any solutions you find.
Title: Re: Error launching Ultra SF4 with mala
Post by: BadMouth on August 21, 2014, 10:04:07 am
I'm very sorry that I have not taken the time to work on this yet.  :-[
Title: Re: Error launching Ultra SF4 with mala
Post by: Skinnysloth on August 21, 2014, 02:47:04 pm
I'm very sorry that I have not taken the time to work on this yet.  :-[

No worries, this is suppose to be a hobby, not a job.
Title: Re: Error launching Ultra SF4 with mala
Post by: BadMouth on December 06, 2014, 05:10:44 pm
Finally got around to messing with this.

I used a batch file consisting of the exe and command line you already have entered and got the same results.
It launches the game, but the controls still register in Mala so it tries to launch the game again.
I'm pretty sure the crux of the issue is that Mala doesn't realize that SSFIV.exe is the program it should wait on to exit before retaking focus.
In my case Mala considers the batch file the game.  So after the batch file exits, Mala thinks it should retake control even though SSFIV is still running.

I added pause to the end which keeps the batch file from exiting until it receives keyboard input.
Since I'm using hacked xbox360 pads, it allows me to play the game.  The controls don't do anything in Mala until the batch file has exited.
When I manually navigate the menus and exit the game, the batch file window is still open and the controls don't work in Mala.
My exit button is still wired to a keyboard encoder (ESC), so when I press that the batch file exits and the controls work in Mala again.

I tried using an autohotkey script that would keep running until it detected that the SSFIV window was no longer open, but it didn't work.
There is something here I'm missing.  I launch other games via command line or autohotkey script and haven't had any problems with the controls still working in Mala on those.  Tired of thinking about it for now.  Pretty sure a complicated autohotkey or VBS script(which I don't know how to do) would work, but there should be a simpler solution based on how Mala determines what exe to wait for.

EDIT: Pacman Championship edition also does this, but I have Mala pointed at a shortcut that points to the game exe, same as every other steam game.  Don't have this issue with the half dozen other games though.
Title: Re: Error launching Ultra SF4 with mala
Post by: Skinnysloth on December 07, 2014, 03:40:38 am
Thanks for your in-depth trouble shooting on this issue.  I've moved on and am using Hyperspin/Hyperlaunch for this game with no issues.
Title: Re: Error launching Ultra SF4 with mala
Post by: Blueic5 on December 10, 2014, 06:12:30 pm
Was planning to buy this game,  did you get this issue sorted out?