The NEW Build Your Own Arcade Controls

Front End Support => MaLa Frontend => Topic started by: Triangel7D on April 27, 2011, 05:58:06 pm

Title: Exiting Visual Pinball 9 & Future Pinball in MaLa: What works these days?
Post by: Triangel7D on April 27, 2011, 05:58:06 pm
Finally getting VP9 and Future Pinball up and running on my cabinet.

What is the current definitive way to exit these programs and go back to MaLa

- I can't get Future Pinball to exit back to MaLa with anything other than an ESC key or a mapped mouse key (I have no room on my setup to map a button to this).

- I can't Visual Pinball 9 to quit with any key other than escape which either gets you to the little square pop-up where you can Quit/Resume/Return to Program or crashes VP9.

There seems to be a lot of advice out there, but a lot of it is very old. Has anyone had any success with exiting these programs recently?
Title: Re: Exiting Visual Pinball 9 & Future Pinball in MaLa: What works these days?
Post by: Triangel7D on April 28, 2011, 08:58:13 am
UPDATE: Just tried Closemul on VP9 and so far it seems to work. It doesn't seem to work on Future Pinball, though (maybe because the command line has /open in it?). I'd love VP9 and Future Pinball to have the same exit key (for a clean instruction card!).
Title: Re: Exiting Visual Pinball 9 & Future Pinball in MaLa: What works these days?
Post by: BadMouth on April 28, 2011, 12:34:12 pm
I use autohotkey.
It works on everything but MAME (but mame is so flexible you can just map the button you want for exit anyway)

I wanted the middle mouse button to post ESC when I pressed it.
The autohotkey script is just:

mbutton::ESC

That's it.  I put a shortcut to the script in the startup folder and it runs full time.
Any time I press the middle mouse button, it will post ESC.
Title: Re: Exiting Visual Pinball 9 & Future Pinball in MaLa: What works these days?
Post by: Triangel7D on April 28, 2011, 12:48:41 pm
Autohotkey -- thanks! Can you get Autohotkey to post for ONLY FP (or VP9) in MaLa? Or does it have to be for ALL emulators?

Is that something that you can do in the Pre- and Post-commands?
Title: Re: Exiting Visual Pinball 9 & Future Pinball in MaLa: What works these days?
Post by: Triangel7D on April 28, 2011, 05:31:47 pm
Ugh. Autohotkey was a great idea, but I can't get it to run in the precommand in MaLa. It just hangs MaLa for some reason. The script I wrote works (x becomes esc), but MaLa doesn't move past it to FP.
Title: Re: Exiting Visual Pinball 9 & Future Pinball in MaLa: What works these days?
Post by: Triangel7D on April 28, 2011, 08:19:00 pm
This was the script that I was using.

x::
Send {Escape}
return

It works outside of MaLa, but it won't move onto FP in MaLa. I also found a script that supposedly kills this program (AHKPanic) so the key restores back to X, but I can't get that to work either in or out of MaLa.
Title: Re: Exiting Visual Pinball 9 & Future Pinball in MaLa: What works these days?
Post by: Triangel7D on April 29, 2011, 09:19:00 am
This was the solution for FP:

http://forum.arcadecontrols.com/index.php?topic=110526.0 (http://forum.arcadecontrols.com/index.php?topic=110526.0)

It seems to work!
Title: Re: Exiting Visual Pinball 9 & Future Pinball in MaLa: What works these days?
Post by: rapomstage3 on August 19, 2011, 08:55:05 pm
How do you get the tables to launch without launching the editor first?
Title: Re: Exiting Visual Pinball 9 & Future Pinball in MaLa: What works these days?
Post by: drventure on August 19, 2011, 10:39:17 pm
Have you tried googling 'Future pinball command line"

I came up with this command line for running FP

"E:\Gaming\Future Pinball\Future Pinball.exe" "E:\Gaming\Future Pinball\Tables\Sonic The HedgeHog 2 (Pinwizkid) (2.5).fpt" /play /exit


I did see a few notes about FP not getting focus properly when launched this way, so you end up having to mouse over it and click to activate it. Haven't tried it myself yet though...
Title: Re: Exiting Visual Pinball 9 & Future Pinball in MaLa: What works these days?
Post by: rapomstage3 on August 19, 2011, 11:26:37 pm
I found a great how to.thats what it was the command line.do you know if you can leave the tables zipped?
Title: Re: Exiting Visual Pinball 9 & Future Pinball in MaLa: What works these days?
Post by: empardopo on August 20, 2011, 09:03:38 am
Hi,

Have you tried my program AllInOne? Perhaps you find it useful!

Greetings!
Title: Re: Exiting Visual Pinball 9 & Future Pinball in MaLa: What works these days?
Post by: drventure on August 20, 2011, 12:24:11 pm
I don't believe you can leave the tables zipped. They typically have fonts and other elements that have to be extracted and put in the right place. A bit of a PITA, so if I'm wrong, I hope someone corrects me!
Title: Re: Exiting Visual Pinball 9 & Future Pinball in MaLa: What works these days?
Post by: drventure on August 20, 2011, 12:25:47 pm
Hey Empardopo

Would you have a link to where to get your latest version of AllInOne? Looks like it could be quite handy...

Title: Re: Exiting Visual Pinball 9 & Future Pinball in MaLa: What works these days?
Post by: empardopo on August 21, 2011, 08:57:09 am
This is the link (http://empardopo.dyndns.info/phpBB3/viewtopic.php?f=42&t=1401) for the last version.

I am going to modified my signature to add this link.

Greetings!