Jump to content
LaunchBox Community Forums

JoeViking245

Moderators
  • Posts

    4,173
  • Joined

  • Last visited

  • Days Won

    34

Everything posted by JoeViking245

  1. Sound like a serious project. You can't run LaunchBox with a(ny) command-line parameter(s). Wouldn't that basically be a shelled redundancy of just launching the emulator with its' command-lines? To get the rom path you can parse the platforms xml file located under ../Data/Platforms. <Application Path> If the specific game has a cl, it's in <CommandLine>. Now, if the emulator for that game has its' own cl, from the platforms xml file you need to get the emulators Guid from <Emulator> and then under ../Data, open Emulators.xml, search for the Guid in <ID> and in that node find <CommandLine>.
  2. Do you have the Steam version or the one from Windows Store? I believe the one from Windows Store won't work.
  3. There isn't currently a way to setup an emulator with a 'run before main application' and 'run after main main application ' like you can per game. However under "Edit Emulator" you can add your script under the "Running AutoHotKey Script" tab. Also, you could add your bat file command to the script instead of calling it. Run, d:\games\joytokey\joytokey.exe WinWait, ahk_exe x64.exe WinWaitClose ; Wait for the exact window found by WinWait to be closed. Run taskill.exe /IM joytokey.exe /F,, Hide
  4. It sounds like start+select is mapped to something like Alt+F4. So whatever window you have open, pressing start+select will close the active window. If you're saying that when closing (exiting) a game, it closes the other windows at the same time too, you may be just pressing/holding the buttons a touch too longgggggggggg. Essentially still sending Alt+F4 even after the emulator closes.
  5. Shouldn't need anything else. (Jason's got you covered for AHK) Yes. "Running AutoHotKey Script" Try: $Esc:: { WinClose, ahk_exe Pinball FX3.exe }
  6. Do you envision these to get imported into the Arcade Platform? I think it could get messy to use say the (existing?) Atari 2600 Platform. Or maybe create a new Platform(s)? Atari 2600 MESS, Arcade Software, Mame Software Lists or something like that?
  7. I think FX3 is like a Windows game, in that you really probably want to exit it through the games exit process. I could be wrong though. You could possibly try changing "startupEXE" to "Steam.exe" and see what that does.
  8. No shame in learning. Live. Learn. Then pay-it-forward.
  9. Personally I prefer VP over FP. But probably because it's what I used 1st. That, and it gives me that nostalgic feel-good feeling. To me, FP (as well as FX2/FX3) has more of a "candy" feel/look (for lack of better words). More-so FX2/3. Don't get me wrong. All 4 are great in their own rights. With that, I do have all 4 on my cab. (upright only. no pincab. ) I do have a couple VP9 tables because they haven't been converted to VPX. i.e. Riverboat Gambler. Fortunately there are some great table programmers out there so those are limited. Is it worth it? Yes!! Of course! 1st off they're fun to play. 2nd, once (finally) set up they look really cool in your BigBox collection alongside everything else. ?
  10. Since you can load a profile before a game starts under Running AutoHotKey Script in Edit Emulator, try adding something below what you have like Process,WaitClose,mame64.exe MsgBox,,, hello world Of course replacing the Hello World line with your Load_BB_Controller_Profile_Command_Line.
  11. Replied under other post in Auto Hot Key Scripts
  12. You can try... in 'run before starting game..' Process,Wait,cxbx.exe Sleep,2000 ;this is buffer that may need to be longer send,{F5} send,!{enter} ...but I don't how you'd get it to wait until you're ready to quit to have it send send,{F6} send,!{F4}
  13. @andreasrochaWhat did you end up doing to get it working properly?
  14. I'm highly convinced that if you can run a program (any program) from the command prompt (directly or through a batch file), you can run it through LaunchBox. In your Mame - Edit Emulator - Details tab, is your "Use file name only..." un-checked? I'd never tried running SNES through Mame before and got intrigued. I set it up like you showed with no luck. So I created a new emulator "Mame-SNES" with the default command line parameters "snes -cart" and it worked. I looked to see what was different between the 2 and Mame had that box checked whereas Mame-SNES did not. I un-checked it MAME and it was then able to load.
  15. Try deleting your retroarch.cfg file (actually, make a backup.. i.e rename it). When you restart RA, it'll generate a new one. https://forums.libretro.com/t/solved-retroarch-not-respond-to-keyboard-respond-to-controller/10943/2 If that doesn't work: See note 5) here. (granted, this is for a per core configuration. But hopefully will shed some light). http://www.rlauncher.com/forum/showthread.php?1421-RetroArch-Input-Mapping-for-Keyboard And if you want to get real crazy, edit retroarch.cfg and set the values to like those here. https://gist.github.com/Monroe88/0f7aa02156af6ae2a0e728852dcbfc90 If you still have issues, attach a/some screenshots for us to look at.
  16. You are very welcome. Ya, there really isn't a way (that I'm aware of) to 'know' if a program has completely loaded. It can only check that it's started/running. And like you said, load time can vary depending on what else is working in the background. But at least there's the catch to make sure it has focus so we're not sending keys to another program that may pop up while waiting. ...which makes line 3 a little less 'optional'. If 9000 (9 seconds) for sure works, you can always try to trim it down to 8500 or 8800 or 8602 or 8150... you get the picture. Hey, in this fast paced world why wait 9 seconds when we can get away with just 8.602 seconds. lol
  17. That's how RetroArch is, unfortunately. I know there's several if not many posts on this site asking similar questions about RA (with answers). You can search around. Or go straight to the source. http://docs.libretro.com/guides/input-and-controls/
  18. So I re-read your post... I think this is more what you were actually asking for. Srry 'bout that. Process,Wait,notepad.exe ;wait here until 'my_program.exe' is running Sleep,8000 ;wait for 8 seconds WinActivate,ahk_exe notepad.exe ;set (make sure) my_program is the active window send,{right} ;press the right arrow key send,6 ;press the number 6 key (optional) Line 3 just makes sure that "Right" and "6" are being sent to the program we were waiting for. Just in case other programs take focus during the 8-sec pause.
  19. I kind of get lost in log files... but are you installing this on your Desktop? "C:\Users\redve\Desktop\New folder (8)\"
  20. #j:: ;press Win+J to start Sleep, 8000 send, {right} Process,Wait,notepad.exe Sleep,1000 send, 6 return This assumes that when it ('notepad') opens, it has focus. If it's possible to be already open.... you'll want some more checks and balances in the code. The 2nd sleep is just a buffer to make sure 'notepad.exe' is fully there. Probably can be omitted, but a good safety net. You know. It's Windows and all. Line 1: Can be deleted if you don't need a hotkey. BTW, J is for JoeViking. ?
  21. Yes! I have an I-Pac-2 in my cab as well and also use an Xbox 360 controller. Set up your LB/BB for both cab buttons (aka keyboard input) and controller input. You can set up your emulators the same way. RetroArch example:What RA is calling the "User 1 B button", I can press button 1 (labeled A) on my controller OR on my cab, the left-side-controls "2" button (which through I-Pac is assigned to the "ALT" key).
  22. @kal9000 tell us more about your cab. For example, my cab uses I-Pac/2 to control all the buttons. Which are all basically keystrokes on the keyboard.In BigBox, the Player 1 button (top row, left) acts as Select and the Play/Pause (top, middle) acts as Back. The Play/Pause button (assigned to "P" on the keyboard) also pauses the game to bring up the LB/BB Pause screen. Granted, to hit "Enter", you press 'Player 1 + Player 1 Coin' (top 2 left buttons) and to hit "Esc", it's 'Player 1 + Play/Pause'. But that's how it's assigned in I-Pac. Also for BigBox, I assigned the 'Player-1-Controls - Button 1' (lower left green button) to Start Game. Vs. when looking at the game you want to play, press Select (which brings up the games menu) and pressing Select again to Play. This assignment doesn't interfere with in-game play. Again this is for cab controls. Now if you're talking about handheld controllers... never mind. ?
  23. Not sure if it's work with LaunchBox pause screen... but have you tried redirecting the pause button/command in you specific emulator? The problem I think is most the buttons are tied up to be used to play an actual game. Hence the hold button which actually adds more functionality to ones' controller.
  24. Options. Controller settings.Go down to emulated Wii Remote and Configure.Set device to ...Keyboard Mouse.Then start assigning buttons etc. i.e. (in the pict.) next to "A", click "Button A" then hit the button on your cab you want to be "A". Let's assume you use button 1 on your cab. When you click "Button A" then hit cab button 1, it'll probably say "Ctrl" (or 'Control' or 'Left Control'....) D-Pad on a cab is kind of a pain, so I'd leave those be. Go to the Motion Controls tab and do like you did with "A" for Point assigning Up, Down, Left, Right to the joystick. Do that on the Extension tab as well for Stick. Be sure on General and Options tab, Nunchuck is selected under Extension.
×
×
  • Create New...