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: Mala Frontend - Future Pinball still running after exit...  (Read 3260 times)

0 Members and 1 Guest are viewing this topic.

rablack97

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2215
  • Last login:August 09, 2024, 08:49:57 pm
  • If you don't try, you have no chance at innovation
Mala Frontend - Future Pinball still running after exit...
« on: August 10, 2009, 12:38:07 am »
I am running a Mala Frontend, and for some reason when I run the Future Pinball application with the wrapper and exit, Mala won't kill Future Pinball.  Sometimes my layouts are jacked or the sound is delayed for a min or so after exiting Future Pinball.  Any ideas as to why this is happening.

Space Fractal

  • Wiki Master
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1888
  • Last login:September 26, 2023, 11:32:13 am
  • Space Fractal
    • Space Fractal
Re: Mala Frontend - Future Pinball still running after exit...
« Reply #1 on: August 10, 2009, 02:10:09 am »
do you use that one on http://www.multife.com/index.php?page=help&system=Future_Pinball or other one and which version of Future Pinball do you use?
Decade Old Work: MultiFE, ArcadeMusicBox
Today Works: Various Spectrum Next games from Rusty Pixels and html5 games.

rablack97

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2215
  • Last login:August 09, 2024, 08:49:57 pm
  • If you don't try, you have no chance at innovation
Re: Mala Frontend - Future Pinball still running after exit...
« Reply #2 on: August 10, 2009, 09:51:24 am »
Yes I am using the same version, I did not get it from that link, I got it from the Mala Wiki link.  The created dates are the same, so im sure its the sam file....  I am using version 1.9.20081225 for Future Pinball

Space Fractal

  • Wiki Master
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1888
  • Last login:September 26, 2023, 11:32:13 am
  • Space Fractal
    • Space Fractal
Re: Mala Frontend - Future Pinball still running after exit...
« Reply #3 on: August 10, 2009, 10:00:12 am »
does the scritps work correctly without mala (im not tested the AutoHotKey script for Mala. I guess you have forced MALA to kill the emulator on close down, which you should not do that. Elsewise the script got killed instead of FP.

I look what it happens with that version later, but not have much time today.
Decade Old Work: MultiFE, ArcadeMusicBox
Today Works: Various Spectrum Next games from Rusty Pixels and html5 games.

rablack97

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2215
  • Last login:August 09, 2024, 08:49:57 pm
  • If you don't try, you have no chance at innovation
Re: Mala Frontend - Future Pinball still running after exit...
« Reply #4 on: August 10, 2009, 10:39:28 pm »
Yes the scripts work fine w/o mala, I have not modified anything, I am just hitting ESC to exit FP.  When i right click in MALA the option to kill FP is there, like its still running.

Thank you for your time and help, let me know what you find....

Space Fractal

  • Wiki Master
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1888
  • Last login:September 26, 2023, 11:32:13 am
  • Space Fractal
    • Space Fractal
Re: Mala Frontend - Future Pinball still running after exit...
« Reply #5 on: August 11, 2009, 01:41:19 am »
I gonna think this should been the mala forum because it own it not my script since it does work.

Do NOT force MALA to kill the script using the MALA quit feature, because the script autmatic do that itself and then closedown FuturePinball.

If you using the MALA quit feature, you kill the script instead and the script have never a change to closedown FuturePinball and then still runing.

This is a problem in MALA, so If you still have problem after disabled the mala quit feature, this thread should been moved to the mala forum.

« Last Edit: August 11, 2009, 01:48:25 am by Space Fractal »
Decade Old Work: MultiFE, ArcadeMusicBox
Today Works: Various Spectrum Next games from Rusty Pixels and html5 games.

rablack97

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2215
  • Last login:August 09, 2024, 08:49:57 pm
  • If you don't try, you have no chance at innovation
Re: Mala Frontend - Future Pinball still running after exit...
« Reply #6 on: August 11, 2009, 02:17:19 am »
I am new to all of this, so how do i shut down FB w/i Mala, w/o using ESC?

Space Fractal

  • Wiki Master
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1888
  • Last login:September 26, 2023, 11:32:13 am
  • Space Fractal
    • Space Fractal
Re: Mala Frontend - Future Pinball still running after exit...
« Reply #7 on: August 11, 2009, 02:49:34 am »
Then you propenty need to use the "use exit hook" under "other emu config" and change the ESC to other key you use. I'm not sure MALA actuelly quit the emulator or send it a Escape Stroke.

If MALA does quit tge script rather than send the Escape Stroke, it can been a issue, which Loadman should look into that (the author which have the source code now).

You might also use AutoHotKey to remap the Quit key you use to ESCAPE key (which is pretty normal in near all emulators out here), so it auto send a ESC when hitted that key.

I have personly not tested FP with MALA, but should work with all FE when setup correctly.
« Last Edit: August 11, 2009, 02:52:34 am by Space Fractal »
Decade Old Work: MultiFE, ArcadeMusicBox
Today Works: Various Spectrum Next games from Rusty Pixels and html5 games.

rablack97

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2215
  • Last login:August 09, 2024, 08:49:57 pm
  • If you don't try, you have no chance at innovation
Re: Mala Frontend - Future Pinball still running after exit...
« Reply #8 on: August 11, 2009, 07:32:22 pm »
I setup the hotkey, and still get the same results.  It's trying to take me to the desktop instead on exiting to the FE.  When I hit ESC, the FP screen gets small and black with and enlarged desktop in the background, and then the system either freezes or gets really slow.  Either way I have to CTRL-ALT-DEL to exit Mala completely.

Space Fractal

  • Wiki Master
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1888
  • Last login:September 26, 2023, 11:32:13 am
  • Space Fractal
    • Space Fractal
Re: Mala Frontend - Future Pinball still running after exit...
« Reply #9 on: August 12, 2009, 04:51:12 am »
Which Quit button do you use? I think you need to edit the AHK, so it detect the quit button and then send a ESCAPE stroke.
Decade Old Work: MultiFE, ArcadeMusicBox
Today Works: Various Spectrum Next games from Rusty Pixels and html5 games.

rablack97

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2215
  • Last login:August 09, 2024, 08:49:57 pm
  • If you don't try, you have no chance at innovation
Re: Mala Frontend - Future Pinball still running after exit...
« Reply #10 on: August 12, 2009, 09:41:26 pm »
I am new to AHK

I am thinking the problem is somewhere in this part of the code in the wrapper

Run, "Future Pinball.exe" /open "%TABLE%" /play /exit
   WinWait, (c)
   WinWait, BSP
   WinWait, Software
   Sleep 500
   WinKill, ahk_class FuturePinballOpenGL
   WinWaitClose, BSP

Where would I place the Send Command?

rablack97

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2215
  • Last login:August 09, 2024, 08:49:57 pm
  • If you don't try, you have no chance at innovation
Re: Mala Frontend - Future Pinball still running after exit...
« Reply #11 on: August 12, 2009, 11:54:39 pm »
OK this is where you pull your hair out.

Sometimes we make things way harder than we need too.

Mala doesn't need a wrapper to run FP!!!!! :banghead: :banghead:

I removed the wrapper and used the preset command line provided in Mala.  FP now terminates.

The next issue was the black box and the enlarged desktop after termination, seems resolution was the issue.  I was running FP in a higher resolution 1280x1024 than Mala 640X480.  So when I exited the program Mala was shrinking up to I guess copy FP's resolution.  The only way I could get Mala back was to manually change the orientation.  I changed the display settings in FP to 640X480 and presto, it terminates and returns to the original Mala screen.

The FP main screen still pops up during the loading stage, which is kind of an eye sore, but that happened with the wrapper anyway.  So it was an easy fix all along.  Thanks Space F. for all your help...

Space Fractal

  • Wiki Master
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1888
  • Last login:September 26, 2023, 11:32:13 am
  • Space Fractal
    • Space Fractal
Re: Mala Frontend - Future Pinball still running after exit...
« Reply #12 on: August 13, 2009, 01:57:16 am »
the editor might still running and only quit table it self... The wrapper might not need for all people, but main reason I wrote the wrapper is the FP dosent got correct keyboard focus when a table is started. Howover that bug might have been fixed in newer version of FP.

I could easy change script, if you asked for the quit key you used. Its 2 lines.
Decade Old Work: MultiFE, ArcadeMusicBox
Today Works: Various Spectrum Next games from Rusty Pixels and html5 games.

rablack97

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2215
  • Last login:August 09, 2024, 08:49:57 pm
  • If you don't try, you have no chance at innovation
Re: Mala Frontend - Future Pinball still running after exit...
« Reply #13 on: August 13, 2009, 09:37:07 am »
To exit FP and return to Mala, I am pressing the ESC button.....Is this what you are asking for?

I don't know of any other way to quit FP with a keystroke, other than the clicking the CLOSE icon with the mouse.

Space Fractal

  • Wiki Master
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1888
  • Last login:September 26, 2023, 11:32:13 am
  • Space Fractal
    • Space Fractal
Re: Mala Frontend - Future Pinball still running after exit...
« Reply #14 on: August 13, 2009, 12:17:21 pm »
hey, it seen FP more buggy than excepted, due the script just wait for FP window to close, which it propenty never do correctly (also its might been a new exit bug in FP). I think I should fix that one in the script. Anyway you did it to run without it. Here I did not have any exit problem, but think a waitkey should been added to the script, so the script would countinue.

EDIT:
I actuelly wrote which Quit key you was actuelly using, since it need to been changed in the script.... and not the actuelly ESCAPE (due you wrote you can't use it directly with your cab controls).

Future Pinball Exit on Escape key itself and normally goes back to the pinball editor, and hence the script is just checking and waiting for FP closedown the gameplay window and then the script closedown the editor window too. That is what the script does. The script can been moded to checking when pressing the quit key you use and send a ESCAPE stroke to FP.
« Last Edit: August 13, 2009, 02:51:12 pm by Space Fractal »
Decade Old Work: MultiFE, ArcadeMusicBox
Today Works: Various Spectrum Next games from Rusty Pixels and html5 games.

rablack97

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2215
  • Last login:August 09, 2024, 08:49:57 pm
  • If you don't try, you have no chance at innovation
Re: Mala Frontend - Future Pinball still running after exit...
« Reply #15 on: August 15, 2009, 01:49:54 am »
Well at this point, I'm thinking the wrapper is to be used if you can't get the emulator working.  Mala took care of the problem for me, a little trial and error.  Changed the resolution and used the proper command line.  The loading is the same either way, now FP terminates and returns to Mala with no issues. 

I'm gonna move on the next task 4 emulators up and running, many more to go.  Thanks Space F. :notworthy: