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: Error launching Ultra SF4 with mala  (Read 6036 times)

0 Members and 1 Guest are viewing this topic.

Skinnysloth

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:May 08, 2016, 08:38:26 pm
Error launching Ultra SF4 with mala
« 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:


Steam uses url for the shortcuts and mala does not seem to like it.  These are the properties of the shortcut:


These are my option settings:



Has anyone gotten this game or another steam game to work with mala?

Skinnysloth

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:May 08, 2016, 08:38:26 pm
Re: Error launching Ultra SF4 with mala
« Reply #1 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:


And then added the -applaunch command with the number corresponding the game.  In this case it was 45760.


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.

Le Chuck

  • Saint, make a poll!
  • Wiki Contributor
  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5509
  • Last login:June 14, 2025, 06:26:06 pm
  • <insert personal text here>
Re: Error launching Ultra SF4 with mala
« Reply #2 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.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9269
  • Last login:Yesterday at 10:49:58 am
  • ...
Re: Error launching Ultra SF4 with mala
« Reply #3 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:
« Last Edit: August 11, 2014, 04:52:19 pm by BadMouth »

Skinnysloth

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:May 08, 2016, 08:38:26 pm
Re: Error launching Ultra SF4 with mala
« Reply #4 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?

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9269
  • Last login:Yesterday at 10:49:58 am
  • ...
Re: Error launching Ultra SF4 with mala
« Reply #5 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.

Skinnysloth

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:May 08, 2016, 08:38:26 pm
Re: Error launching Ultra SF4 with mala
« Reply #6 on: August 12, 2014, 04:20:16 pm »
Alright, I look forward to your findings and any solutions you find.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9269
  • Last login:Yesterday at 10:49:58 am
  • ...
Re: Error launching Ultra SF4 with mala
« Reply #7 on: August 21, 2014, 10:04:07 am »
I'm very sorry that I have not taken the time to work on this yet.  :-[

Skinnysloth

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:May 08, 2016, 08:38:26 pm
Re: Error launching Ultra SF4 with mala
« Reply #8 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.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9269
  • Last login:Yesterday at 10:49:58 am
  • ...
Re: Error launching Ultra SF4 with mala
« Reply #9 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.
« Last Edit: December 06, 2014, 07:38:50 pm by BadMouth »

Skinnysloth

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:May 08, 2016, 08:38:26 pm
Re: Error launching Ultra SF4 with mala
« Reply #10 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.

Blueic5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:December 16, 2018, 05:31:20 pm
  • I want to build my own arcade controls!
Re: Error launching Ultra SF4 with mala
« Reply #11 on: December 10, 2014, 06:12:30 pm »
Was planning to buy this game,  did you get this issue sorted out?