-
Posts
4,038 -
Joined
-
Last visited
-
Days Won
33
Content Type
Profiles
Forums
Articles
Downloads
Gallery
Blogs
Everything posted by JoeViking245
-
Maybe you're not paying it enough for what you're asking it to do. Put a "$" in front of it. $Esc:: WinClose, ahk_exe "hod3launch.exe" Run, "E:\LaunchBox\JoyToKey\JoyToKey Force Exit.exe" ;WinClose, ahk_exe "JoyToKey.exe" ExitApp (Esc works the same as Escape)
-
BigBox doesn't auto-resume after exiting a game
JoeViking245 replied to Maxout's topic in Troubleshooting
Are we talking standalone MAME? Or MAME ran through RetroArch? When you exit MAME, if you press the "anykey" (or... any key) like Space[bar], does that do anything? Or does only the mouse click or Alt-Tab work? Is there anything out of the ordinary in the command line parameter used? (outside of "-keyboardprovider dinput") When you press Alt-Tab, what window are you moving away from? (what window was holding focus) Myself, I've never seen this happen with MAME (standalone. I don't run it through RA) so kinda grasping at straws. -
@Johno1980 You're trying to kill a program that isn't actually running. "JoyToKey Force Exit.exe" #SingleInstance, force Run, "E:\LaunchBox\PC Games\The House of the Dead 3\hod3launch.exe" Run, "E:\LaunchBox\Plugins\DemulShooter_v10.1.4\DemulShooter.exe" DemulShooter.exe -target=windows -rom=hod3pc -noguns Run, "E:\LaunchBox\JoyToKey_en\JoyToKey.exe" Escape:: WinClose, ahk_exe "hod3launch.exe" WinClose, ahk_exe "JoyToKey.exe" ExitApp Return
-
@rom116 From just my brief reading up on x360ce, once you've set up the individual game you don't even need x360ce.exe anymore. From what I can tell, you copy the x360ce files into the same folder as the game_name.exe. Run x360ce, tell it to create the missing (dll) files, set/select either 32 or 64-bit depending on the game, select/setup your controller(s) and Save. Exit. Then at this point x360ce.exe can be deleted. Then (I assume) whenever you run that game, it reads dll(s) and acts accordingly. I would think when the game exits, it flushes the dll's. That may or may not make sense and chances are I've totally missed something (wouldn't be the 1st, and won't be the last. lol). But based on the info you've provided, somewhere/somehow x360ce.exe does load when you start the game and it stays active until you force it closed. Sounds kinda like a design issue. I tested my LEGO® The Incredibles Steam game (without x360ce) and found that even when launching from the exe file (vs Steam link), it 1st loads the Steam Client Boot Strapper, Then Steam, and then finally "LEGO The Incredibles.exe". So to get that batch file to run 'after game exit' doesn't seem feasible given the circumstances. I'd say check the x360ce forums for setting up the games with a Front End (or even 'running a game that doesn't use x360ce right after a game that did') and see what others have done. I'm inclined to say it's a common thing they've come across many times and already have the perfect solution. But if your research comes back with "just run the batch file!", then I guess it's on to plan B. (though I don't know what that is yet )
-
What does your batch file look like? It's possible that that the Steam game you're launching, even though using the exe, may do a sort of sub-launch. So KI.exe (or whatever it is) when started, then launches "steam.exe -play-ki" and closes ki.exe. At this point, LaunchBox see's ki.exe is no longer running, so then executes the "Automatically Run After Main Application" routine. Just an example and just a guess.
-
In your exit routine you created for your game, have it exit joytokey also. Escape:: WinClose, ahk_exe "hod2.exe" WinClose, ahk_exe "joytokey.exe" ExitApp (I presume that's the executable filename for joytokey).
-
Are you plugging them into 2 separate ports on the PC itself, or are you using a USB hub adapter to plug them into?
-
Glad to help. And ya, I might have read it wrong too. ? I've never used a lightgun, Demul nor DemulShooter on my setup. But seems to me that if you can assign the numbers "1" and "5" to be sent (as you did on TC5), you should be able to send "Up" and "Enter" as well. And to top things off, I've never [had to] use joytokey either. So I guess my 'batting average' is pretty bad, as far as being able to help. lol A quick search around... did you setup HOD2 itself to see the gun(s) as a 'keyboard'? https://gameroomsolutions.com/setup-dual-aimtrak-light-guns-pc-house-dead-1-2-3mame/ House of the Dead 2 First we will want to make sure the game is going to see the light guns as keyboards. Open the config.exe for house of the dead 2 which is located in the same folder as the game itself. Make sure both players are set to keyboard. Anyhow, where there's a will, there's a way. Good luck.?
-
For PC games, it's strongly advised that you keep "old-school" and actually exit the games properly through their menus ("Exit to Windows"). But if you're bound and determined, you can use "WinClose, ahk_exe "hod2.exe" To be clear.... it doesn't launch the game or the plugin? The only thing I can think of from what you have is to maybe add quotes around the command line parameters for the DemulShooter. Run, "E:\LaunchBox\Plugins\DemulShooter_v10.1.4\DemulShooter.exe" "DemulShooter.exe -target=windows -rom=hod2pc" Also make sure the paths and stuff are all correct. In the line above, is "DemulShooter.exe" really supposed to be in there twice? I would have thought Run, "E:\LaunchBox\Plugins\DemulShooter_v10.1.4\DemulShooter.exe" "-target=windows -rom=hod2pc"
-
try 1Joy5:: Send, {Up} 1joy5:: Send, {Enter} Otherwise you're sending the words/letters "Up" and "Enter". Similar to sending the literal numbers "1" and "5".
-
BigBox doesn't auto-resume after exiting a game
JoeViking245 replied to Maxout's topic in Troubleshooting
Do you by chance have dual monitors setup on your cab (marquee or otherwise)? -
If you right click on a game and select "Open Retroarch...", will Retroarch launch (as stand alone)?
-
Set to anything (such as Arcade) and be sure NOT to check "Default Emulator". At least I think that should work. Just DO NOT check "Default Emulator". If for some reason you have to have a "default emulator", go ahead and check it. It will next ask something like do you want to make this default for all games in Arcade? NO.
-
FileCopyDir, "%dir%", C:\GameLaunch\Game, 1 ;1 = Overwrite existing files. But ya, most all systems emulated won't see a drastic improvement (loading or playing) between being on an SSD vs a HDD. Conversely (as you stated) next gen (and even many current, hue-jass) PC games would. But to copy them per-launch... ugh. lol Though I do love a successful proof-of-concept. May not have been 'acceptable'...
-
#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. GameFullPath := %1% ;E:\SUPERHOT MIND CONTROL DELETE\SHMCD.exe SplitPath, GameFullPath,, dir ;E:\SUPERHOT MIND CONTROL DELETE SplitPath, GameFullPath,game ;SHMCD.exe FileCopyDir, "%dir%", C:\GameLaunch\Game ;added quotes just in case sleep 1000 ;pause 1 second for whatever reason run "C:\GameLaunch\Game\%game%" ;added quotes for games that have spaces in them Return $Escape:: WinClose, ahk_exe "%game%" ;a better option ; Process,Close,"%game%" ;fixed my oops and added quotes for games with spaces in the name ; Run,taskkill /im "%game%" /F ;added quotes for games with spaces in the name sleep 1000 ;give it a sec to close down FileRemoveDir, C:\GameLaunch\Game, 1 sleep 100 ExitApp return I assume all these games are executable's (vs needing their own external emulator). I'm guessing the 'rhyme or reason' is some paths and/or game_names had spaces in them. Added quotes here and there. Changed the game close process and added a pause before deleting. But ya, if the game files/folders are large, it's almost self defeating. Still not tested, but does look a little better.
-
Call this a "One and Done". Compile this to an exe. #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. GameFullPath := %1% ;E:\SUPERHOT MIND CONTROL DELETE\SHMCD.exe SplitPath, GameFullPath,, dir ;E:\SUPERHOT MIND CONTROL DELETE SplitPath, GameFullPath,game ;SHMCD.exe FileCopyDir, %dir%, C:\GameLaunch\Game run C:\GameLaunch\Game\%game% Return $Escape:: Process,Close,SHMCD.exe Run,taskkill /im %game% /F FileRemoveDir, C:\GameLaunch\Game, 1 sleep 100 ExitApp return Create a new emulator in LB pointing to the above exe. Uncheck these boxes.Edit the game(s) to use this emulator. Not tested. But looks good on 'paper'.
-
@Jayinem Sounds like your game is on an external HDD and when you unplug the drive then plug it back in, it doesn't [always] connect using the same drive letter. Sometimes it's W:\ and sometimes it U:\. What you need to do is tell Windows that when external HDD (1) in plugged in, always assign it to drive W:\. When external HDD (2) is plugged in, always assign it drive letter T:\. and so on. A search on one of those popular internet search engines should help. "force external hhd letter"
-
With changes that have been made during LaunchBox's evolution since 2 years ago, that whole line of the code ("string platformAHK.....") won't work anyway. You may want to look under Help & Support - Request a Feature and see if there's already a request for this feature and UpVote it. If not, make a new request.
-
click Browse (under [next to] Application Path) and browse to the file you normally would have right clicked on.
-
So it looks like it might be fairly straight forward. You'll need to create a new emulator and point the emulator executable to LEProc.exe. Then for the game, have it use that 'new' emulator. If it helps, here's a sample command line I found by Googling "run LEProc from the command line". F:\Locale.Emulator.2.4.1.0\LEProc.exe "D:\Yori\Locale.Emulator.2.4.1.0\MakingLovers.exe"
-
Double click on "LEProc.exe" If that doesn't do anything, click once on the address bar in the space after "2.4.1.0" (red arrow), type "cmd" (no quotes) and press Enter.This will open your Windows Command Prompt. Now type "LEProc" (again, no quotes). And press Enter. Note: Yours won't show "D:\LaunchBox>". Capital/Lower case letters don't matter. You don't need to type ".exe".
-
@legolas119 It looks like that program may have a command line option to run. If you know that, you could be good to go. I say "could" because I'm not sure how 'tricking' the program you're about to run affects currently running Windows applications (i.e. LB/BB). Go to the folder where the Locale Emulator program is and run "LEProc.exe". From what I can tell, that's the main program and by just running that, it'll pop up a message saying how to use it from a command line. (You may need to run that from from the Command Prompt instead of just double clicking it in Windows Explorer to see the message.)
-
Did the 'random' file have any peculiarities about it compared to other video files? Size/aspect/file_type/.... Or was it truly random in that it varied by different videos? If it was a specific video file, could it have been one that people are getting from EmuMovies that we should be aware of?