Jump to content
LaunchBox Community Forums

JoeViking245

Members
  • Content Count

    423
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by JoeViking245

  1. @ed20910 Back to your original question (srry 'bout that)... My cab uses the I-Pac2 encoder-whatever thingy for the joy/buttons/spinner. It's Pause button is tied to "p" and for Exiting is uses Escape, which on the cab is Player1_Start + Pause. Player1_Start is set to "1", but is also a modifier when pressed with another "key". That's how it was when I got it and haven't had any issues. But it shouldn't make any difference using 2 separate buttons or a button plus a button with a modifier button. We're still pressing "P" and "Esc". Though it may make a difference if you don't press the modifier button 1st. As for the table still running, it might be table dependent. When I 1st setup VPX in LB/BB (actually fast-forward to when Jason implemented Pause) I recall that it (probably "I") was having issues with Pause even showing up. But that's all moot now. I honestly never paid attention if the table actually paused in the background or not. I didn't and don't "hear" it sill running when paused. So am I getting a "true" Pause?... dunno. I'd be more inclined to use an AutoHotkey script than incorporate joy2key, as it's already pseudo built-into LB/BB. Either way, it'd be something like... If "P" is pressed, sendkey "Q". then If "1" or "P"(again*) is pressed, sendkey "R". The "1" key being whatever you have setup in LB/BB as "Select" because both "Select" (if you haven't moved the 'cursor' in the Pause menu) and "P" will bring you out of the Pause menu. *You'd need to setup the "P" key-press in the script as a Boolean so that you can keep track of whether you're 'inside' the Pause menu or not. Ugh. If you can get joy2key working, kudos to you. lol If you want help figuring something with AHK, I'd be happy to help. And so it be known, I have never used nor ever had a desire to use Rocket Launcher. Nor have I ever experienced that other frontend. The only other frontend I've use was Maximus Arcade. Which honestly, is great for what it does. Hmmm.... don't recall if it had pause. I think it was strictly emu dependent.
  2. It is poor Pinball Etiquette to "Pause" in the middle of a game. That said, I did some looking... VPX's innate pause feature is tied to Escape. (as you stated) But the tables' programmer has to have the init_something_or_another in the script. Which most, if not all, will. Until now, I don't think I've ever tried to pause it mid-ball-roll. It seems that it will pause the ball rolling, but not RIGHT as you hit the button. But it does bring up LB's pause menu. I don't have anything special setup in LB for VPX emu.... Command Line -minimize -exit -play and the Pause tab just has "Enable.." and "Suspend..." checked. Here's my VPX controller config setup. Maybe you can see something I did a long time ago and forgot about. lol Now I can't attest to it working in BB as I usually only use that on the TV with the 360 controller. It seems kind of sac-relig to play pinball with a handheld controller. Just sayin'.
  3. @ed20910 Without looking at mine and 'shooting from the hip'.... is your cab pause button also assigned to pause in VPX?
  4. You're Welcome! And it's nice to see 'the fix' can be replicated on someone else's machine. Also, it appears I haven't checked on my tables in the last 6 months as I still only had Flintstones for VP9. The 'updated fix'.... increase the timeout period. Right now it's set to 15 seconds (-15000). Go ahead and set it to.. heck, I don't know... 60 seconds (-60000). Seems that even with this longer loading time, the PinMame banner is still the 3rd iteration of vpinballx.exe. So as soon as it sees it the 3rd time, it'll send the key and exit. Otherwise, in 60 seconds it'll say "I've waited too long. I'm outta here". And definitely!!!!... it will be used in my cab now too! 👍
  5. My inner-Geek said our proposed 'solutions' were unacceptable. Place this inside your VPX emulator "Running AutoHotkey Script" tab. Done = 0 SetTimer, WaitedTooLong, -15000 While (!Done) { WinGet, numOpen, count, ahk_exe vpinballx.exe if numOpen = 3 { send, s Exit } } WaitedTooLong: Exit
  6. Woo Hoo!!!! So you heard the 2 beeps. Did the popup go away [sooner than usual]? To get it to work differently for different tables, I see 2 options. 1 - Create multiple VPX emulators (as above) with different delay ("Sleep") times. Then find which delay time works best for each table and assign that respective emulator to that table. 2 - Download/install the Full AutoHotkey program, add the script (like our 1st feeble attempts) to each and every table [that uses PinMame] and adjust the delay time accordingly. (Optionally, with the Full AHK installed, compile each script to an .exe) ..Both of which would be a p.i.t.a. depending on how many tables you have. Plan "B" would be to settle for a happy medium, like maybe 4.5 seconds (4500).
  7. Just had an epiphany... It might be working on mine because I have Full AHK installed and the when you add an Additional App, there's a reason that it defaults to looking for an executable file... LB doesn't run ahk scripts in this manner. Remove that Additional App from you table(s) and save. Go to "Tools", "Manage Emulators" and double click your Visual Pinball X emulator. Click on the "Running AutoHotkey Script" tab and in the blank area, paste the code #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. SoundBeep,1000,1000 Done = 0 SetTimer, WaitedTooLong, -15000 While (!Done) { WinWait Preparing Table SoundBeep,,1000 Sleep, 3000 Send {s} Exit } WaitedTooLong: Exit Note: I changed the Sleep line back to 3 seconds. Now Save and run a table. Oh, and make sure the volume's up.
  8. LB knows where to look for [it's own copy of] AHK. But based on where you said it was located ../LaunchBox/AutoHotkey/autoHotkey.exe , you're not on the latest beta version. Which shouldn't make any difference. More of a comment than anything. So you heard the beep when you drag-drop the script onto AutoHotkey.exe. But when you start a table that has the "Addition App" [the script] , you don't hear any of the beeps. Not even the 1st one. That's saying.... well... the script is not being ran at all. I think you said you have the Full AutoHotkey program on your "Z" drive. (again, makes no difference as long as LB has its' copy). In the Full version, there should be a sub-folder called "Compiler". In there, run "Ahk2Exe.exe". Point to the script ("Source") file, set the destination (same folder or wherever), then click ">Convert<". Now go to Additional App and point to the new .exe file (instead of the .ahk file). Try the table. If I mis-read and you don't have the Full AHK, never mind. Just press your Start button when you see the popup [PinMame] window. lol
  9. Set the 2nd SoundBeep to the same thing, and try AC/DC (or whichever table) again.
  10. Volume's up? Hearing aid batteries fresh? Got the audio piped through the sub woofer on the stereo? lol OK, so the sound idea for some reason isn't going to work. BUT!!!!!!!!!!!!!............ we know (at least we think we do) the script and AHK work. Oh snap! Uh... try changing "100" to "1000" in the 1st SoundBeep line and do the drag and drop thing.
  11. Not sure why it's looking for AutoHotkey.ahk. Drag you VPX.ahk onto AutoHotkey.exe and see if there's a beep.
  12. lol Ya, I just scrolled up above and used that screen title. I assume you used "Browse..." to find your ahk script instead of typing in that path. Let's add in another beep and see if you hear it. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. SoundBeep,100,1000 Done = 0 SetTimer, WaitedTooLong, -15000 While (!Done) { WinWait Preparing Table SoundBeep,,750 Sleep, 9000 Send {s} Exit } WaitedTooLong: Exit
  13. Can you show a screenshot of you "Add Application" window? (Get to that window, press ALT + PrintScreen buttons. Come back here and in your reply, press Ctrl + V)
  14. Correct. You do not need to install AutoHotkeys. And the path where you placed you VPX.ahk file doesn't really matter (future reference). As long as you're telling LB a correct location. Add in the "SoundBeep" line right below the "WinWait" line. [Save it. Run a VPX table in LaunchBox that you have the script listed as an Additional App.] Count the number of seconds after you hear the beep until you see "the screen". That's the number of seconds you need on the "Sleep" line. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. Done = 0 SetTimer, WaitedTooLong, -15000 While (!Done) { WinWait Preparing Table SoundBeep,,750 Sleep, 9000 Send {s} Exit } WaitedTooLong: Exit If you don't hear a beep, then we have other issues.
  15. Yes. Just make sure it doesn't save as "vpx.ahk.txt". Then go into "Edit Game", click the "Additional Apps" tabs, then click "Add Appplication..."Now give it a name (whatever you want), "Click Browse" and go to where you saved the .ahk file. You'll need to click right above the "Open" button and change "Applications.." to "All Files (*.*).Click your file and click "Open". Check "Automatically Run Before Main Application" and click "OK".
  16. @ItchyRobot That is a very nice discovery!! As I was checking this out, I found it doesn't have to be the 'Start' button. Space bar works also. Copy and save this AutoHotkey script (call it VPX.ahk or whatever) and set it to run as an Additional App for your tables (doesn't matter if they use PinMame or not because it will timeout (after 10 seconds) on it's own) and have it run Before Main Application. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. Done = 0 SetTimer, WaitedTooLong, -10000 While (!Done) { WinWait Preparing Table Sleep, 3000 Send {Space} Exit } WaitedTooLong: Exit If you see the PinMame screen up too long, adjust the line: "Sleep, 3000". That is, if the screen shows for the same duration as is always had, it might be sending {Space} too soon. So try maybe "Sleep, 4000" (4 seconds). If it shows and goes away, but could go away a little sooner, try something like "Sleep, 2500". Your mileage may vary.
  17. Try removing "file:\\\" at the front end of the rom file location.
  18. Delete all images and videos associated with that game. Then open BB and see that it doesn't error. If it doesn't, YAY! Then add images and check again. Maybe add just something basic at first, then add more later. process of elimination If that ends up being good, then add a video.
  19. Not sure about Daphne, but for MAME, see here:
  20. My thoughts are if you're going to venture into Visual Basic, you might as well go straight to C#. The learning curve is pretty much identical. Not the language, just learning it I don't do FB. I'll send you a PM.
  21. Mutant Rampage isn't supported in MAME (yet?) <software name="mutntrap" supported="no"> <disk name="mutant rampage - bodyslam (1994)(philips)(eu)[!][dvc]"> <software name="mutntrapu" cloneof="mutntrap" supported="no"> <disk name="mutant rampage - bodyslam (1994)(philips)(us)[dvc]"> Where as Hotel Mario [and others] are.
  22. AHK is pretty slick and can actually do quite a bit. Even as far a being able to create your own gui program. Then maybe someday we can even graduate you up to C# For a long press, you'll want to look at KeyWait with a Timeout option. https://www.autohotkey.com/boards/viewtopic.php?t=10067
  23. Did you add in Filter 2? (along with #1 and optional #3)
  24. Plan B: (I love always giving options ) Open MAME (mame64.exe) Click on "Custom Filter" Add your filter(s)"Return to previous Menu" You can view them there, or click the yellow disk and "Export displayed list to file".If you choose TXT format, it'll look something like this...
×
×
  • Create New...