-
Posts
3,436 -
Joined
-
Last visited
-
Days Won
30
Content Type
Profiles
Forums
Articles
Downloads
Gallery
Blogs
Everything posted by JoeViking245
-
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! ?
-
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
-
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).
-
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.
-
Issues getting Dolphin/Triforce to run in Launchbox
JoeViking245 replied to bojo5150's topic in Troubleshooting
-
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
-
Set the 2nd SoundBeep to the same thing, and try AC/DC (or whichever table) again.
-
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.
-
Not sure why it's looking for AutoHotkey.ahk. Drag you VPX.ahk onto AutoHotkey.exe and see if there's a beep.
-
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
-
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)
-
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.
-
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".
-
@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.
-
PSCX2 "ROM does not exist" when launching
JoeViking245 replied to Thurbs72's topic in Troubleshooting
Try removing "file:\\\" at the front end of the rom file location. -
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.
-
Not sure about Daphne, but for MAME, see here:
-
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.
-
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.
-
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
-
Did you add in Filter 2? (along with #1 and optional #3)
-
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...
-
Glad to hear that worked out! ? Ya, No HTPC here. But I do have my arcade cab hooked to my TV for playing [Steam] Lego Harry Potter on "the big screen" with the XBox 360 controller while sitting comfortably on the couch. ? How about having a 2nd 'custom' installation of Chrome just for the Kids? A quick search for "change cursor in chrome" and also "have a mouse click sound in chrome" yielded some possibilities. Or I'm sure there's some way programmatically to start it with these options.
-
You're welcome! I had actually forgotten all about that little tidbit until you asked. I may have to do some tinkering for my software lists collection.
-
Have you tried asking on Stack Overflow? By "YouTubeKids hotkeys" I'm assuming {Ctrl}{Alt}Y. And is it safe to assume that the exe file is what opens chrome? ('cause I ain't checkin') To combine the two, hmmm...... how about have the "mouse script" be a function inside the 1st script? Then when ^!Y is pressed, it does its' thing and also [have it] call mouseScript(). Though not sure how that works with the #Directives. But if you can work that out, inside CheckChrome: add in a check for {Shift}{Esc} and Return will (should?) close the function. Or Exit. But not ExitApp. I think..lol If (GetKeyState("Shift", "P") && GetKeyState("Escape", "P")) Return (...may need to put it in a Loop.) Plan B: is in the the ^!Y script, have it also 'Run' your Mouse_Script.ahk (or compile it to exe) and in the {Shif}{Escape} sequence add in DetectHiddenWindows, On WinClose, ahk_class AutoHotkey