Jump to content
LaunchBox Community Forums

d8thstar

Members
  • Posts

    209
  • Joined

  • Last visited

Everything posted by d8thstar

  1. hi all, for model 2 lightgun games, i am launching the games with a BAT file so that the lightgun software launches and it turns off my second monitor. when i hit ESC to exit, the emu just goes from fullscreen to a window. what can i put in my bat file that will close the emu when i hit escape? any help is appreciated! here is my BAT: Start "" "C:\Program Files (x86)\DisplayFusion\DisplayFusionCommand.exe" -monitorloadprofile "onemonitor" start S:\Tools\SindenLightgunSoftwareReleaseV1.06beta\SindenLightgunWindowsSoftwareV1.06\SindenLightgun\Lightgun.exe -autostart timeout /t 2 /nobreak >nul Start /wait "" emulator_multicpu.exe - bel Start "" "C:\Program Files (x86)\DisplayFusion\DisplayFusionCommand.exe" -monitorloadprofile "leftright" start "" taskkill.exe /F /im Lightgun.exe
  2. well nevermind. i decided to make a duplicate of mame, specifically for lightgun games, added that as a new emu and then added my bat file lines top the autohotkey startup for the emu, all good now
  3. hey guys, is this possible? if not, i'll open a feature request. as i'm setting up my sinden lightguins, i've had to create some generic bat files to do a few things before a lightgun game starts and another bat to close some things out when the game is exited. but i am having to add "additional apps" to each and every game and this is pretty time time consuming. I have a playlist with 217 games in it and i'm having to do this to each and every one. I can't do it at the emulator level because i only want these bats to run for lightgun games. if i select all the games in my lightgun list, i can bulk edit a bunch of stuff but it would be great to be able to bulk add additional apps. any thoiughts?
  4. DUDE! you rule! That timeout command added to the bat did the trick and then some! i owe you one, thanks a ton!
  5. thanks for the reply, here is what i'm finding, here is my bat after your edit suggestions. fyi, i replaced the close BAT with the one line that was in the bat. fyi #2, i only have one profile in j2k so the few emu's that use it, all use that one profile loaded when j2k starts Start "" S:\Tools\Joy2Key\JoyToKey\JoyToKey.exe Start /wait "" Singe.exe -k -z -e 60 -d DL2e\Index -v DL2e\Movie\DL2e.mp4 -w DL2e\DL2e.singe Start "" taskkill /F /im JoyToKey.exe game starts minimized to the task bar, i can hear it running. if i click the taskbar singe icon, i go full screen and i can play. other than this, its running and doing whats expected. i didnt try the AHK cause the BAT is SO close! any thoughts on that?
  6. this one is driving me nuts! singe 2.o, laser disc games, i'll use dragons lair 2 as my example. i only want to use JoyToKey when starting the app and to quit it when the app is closed. if i MANUALLY start joyToKey and then launch the DL2.BAT, everything works. when i add the joytokey.exe to dragon lairs "additional apps" and then start the game, the j2k app loads (it is in the task bar) but the joystick does nothing. this is really odd, the app works fine when starting manually. i have also tried the below code in a AHK script as my additional app. it starts but the game is minimized to the task bar, i have to manually blow it up. and then when hitting ESC to exit, i go back to desktop but the game is minimized to task bar. fyi, for the jopytopkey.bat in the AHK script below, i only have one line: taskkill /F /im JoyToKey.exe and again, outside of LB, if i run the close bat, it dopes what it is supposed to. please help, i'm going nuts! Run, S:\Tools\Joy2Key\JoyToKey\JoyToKey.exe $Esc:: { Run, S:\Tools\Joy2Key\JoyToKey\JoyToKeyClose.bat WinClose, ahk_exe {{{StartupEXE}}} }
  7. Hi all, Trying to jump this singe 2 hurdle. i have evrything running with bats just fine but i need to be able to launch joytokey when the app starts (I can add that to the game bats just fine and it works) but then I need to be able to quit joy2key when exiting the game. the only way i know how to do this is on the emu level with AHK and the "running autohotkey script" option for the emu
  8. i've had this issue for a while, when exiting Daphne, the video pauses for about 30 seconds while the audio still plays, it then exits as expected back to LB. This behavior does NOT happen in Daphne launcher by itself. I turned on logging and there is an error but I have no idea what it means. can anyone help? 2021-06-10 11:09:44 AM DataManager.SaveInternal started. 2021-06-10 11:09:44 AM Saving InputBindings.xml... 2021-06-10 11:09:45 AM Saving ListCache.xml... 2021-06-10 11:09:45 AM Saving Settings.xml... 2021-06-10 11:09:46 AM Saving BigBoxSettings.xml... 2021-06-10 11:09:46 AM DataManager.SaveInternal completed successfully. 2021-06-10 11:09:46 AM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Start 2021-06-10 11:09:46 AM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before JoystickTimer Enabled Set 2021-06-10 11:09:46 AM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Resume Video 2021-06-10 11:09:46 AM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Check Already Focused 2021-06-10 11:09:48 AM Music.Pause Start 2021-06-10 11:09:48 AM Music.Pause Start 2021-06-10 11:09:48 AM MameHighScores.Prepare: Beginning the preparation process... 2021-06-10 11:09:48 AM Aborting MameHighScores.Prepare: Uploading MAME high scores is disabled in settings. 2021-06-10 11:09:48 AM Begin M3U Check. 2021-06-10 11:09:48 AM RomPath after M3U build: R:\ROMS\Arcade System Games\Daphne\framefile\lair.txt 2021-06-10 11:09:48 AM DataManager.SaveInternal started. 2021-06-10 11:09:48 AM Saving InputBindings.xml... 2021-06-10 11:09:49 AM Saving ListCache.xml... 2021-06-10 11:09:49 AM Saving Settings.xml... 2021-06-10 11:09:50 AM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Start 2021-06-10 11:09:50 AM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Before Pause Video 2021-06-10 11:09:50 AM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Completed 2021-06-10 11:09:50 AM FIRST CHANCE EXCEPTION: An error occurred invoking the method. The destination thread no longer exists. at System.Windows.Forms.WindowsFormsSynchronizationContext.Send(SendOrPostCallback d, Object state) 2021-06-10 11:09:50 AM Saving S:\LaunchBox\Data\Platforms\Arcade - Daphne.xml... 2021-06-10 11:09:51 AM DataManager.SaveInternal completed successfully. 2021-06-10 11:10:35 AM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Start 2021-06-10 11:10:35 AM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before JoystickTimer Enabled Set 2021-06-10 11:10:35 AM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Resume Video 2021-06-10 11:10:35 AM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Check Already Focused 2021-06-10 11:10:35 AM FIRST CHANCE EXCEPTION: An error occurred invoking the method. The destination thread no longer exists. at System.Windows.Forms.WindowsFormsSynchronizationContext.Send(SendOrPostCallback d, Object state) 2021-06-10 11:10:36 AM Aborting MameHighScores.Parse: Uploading MAME high scores is disabled in settings. 2021-06-10 11:10:40 AM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Start 2021-06-10 11:10:40 AM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Before Pause Video 2021-06-10 11:10:40 AM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Completed
  9. Thank you so much! I'll report back this evening, fingers crossed!
  10. hi all, Naomi is next on my list. I can import the rom folder but then I am left with a ton of alternate versions that I need to manually go thru and either hide or remove from the platform. Is there an easier way of doing this? the way LB handles mame clones is is brilliant (having clones listed on the parent rom as a drop down to select it) but that is accomplished with the mame.xml, something Naomi doesn't have. any thoughts ion a clean import? if not, i'll just need to go thru the list and manually edit. thanks!
  11. it killed teh emulator, joytokey still running. this is a weird one!
  12. ok, got that working. but now i cant get joytokey to close at app exit. i have this bat file that works when attached to a rom file. but when i try the code at exit for the emu, it doesn't kill joytokey, odd! run taskkill /F /im JoyToKey.exe
  13. sorry to bring up an old post but this is exactly what i am trying. my bat file will kill joytokey by rom. but the above won't kill joytokey when exiting the emu
  14. i’ll give that a shot, thanks for the advice!
  15. apologies in resurrecting an old thread but this is exactly what i needed. is there a way to launch joy2key emu wide instead of by individual games? thanks!
  16. is it possible to launch a pre app by emulator instead of by game? i have an emu that i always want to start the same app before the emu starts. i see where to do it by game, would like to do it by emu. thanks!
  17. finaly got it working on this end! thanks so much for the script!
  18. i've tried the below, doesn't seem to work. I'm just looking for a very simple, click "n", send left mouse click. i'm putting this under the manage emu, "ruuning autohotkey script" but it doesn't seem to work. fyi, trying this for american laser games running singe 2.0. trackball is working fine as the mouse cursor, and an actual mouse left click shoots, but i want to map to one of my arcade buttons. maybe it's because games start with a bat? i dunno, any help is appreciated. this is what i've tried (along with many similar alternatives) n::click
  19. i'm sure this is more of an LEDblinky issue but thought I'd ask here since LB devs seem to think of everything and maybe there is a work around within LB? i can't seem to get proper button lights to light up when starting a game that has a launcher. within lb, if i highlight l;ets say a "Pop Cap" game, LED blinky lights up the buttons i set up for the default of that "emul;ator" in LEDblinky. but since the game isn't actually a rom of Pop Cap, when I start a game, that games specific exe launches and LEDblinky lights go off. another example of this is teknoparrot games where a launcher (game loader all rh) is interjected into the mix. the game buttons lioght up within LB but once the game starts, no lights. might there be any options that i can set in LB that would fix this? is this strictly an ledblinky issue? thanks!
  20. Thanks man! I dropped rocket all together when I made the move. Might you have an example you could share for for a tekno launch with RL? it's been so long since I've used RL...
  21. ah ok. i had tried that option but both of my command lines were running, one after the other. But what you said makes sense, i'm running teknoparrot which in turn runs the rom game exe file. but then, teknoparrot doesn't quit when the game starts, it's still running in the background so that second command line shouldn't run until tekno closes?
  22. ok, i have a pre command running just fine. how do i run a command AFTER the game quits? i tried adding another app but the "wait for exit" option is greyed out. the only way to select it is is to select one o-f the options above it, both of which run right before or right after the app starts. no way to run a command at exit? thanks!
  23. never mind, now that i see the set up, my second question was stupid
  24. thanks man. not sure how i missed that! question. if i needed to run more than one comas, would i separate the with a semi colon or shoot i write a bat file? thanks again!
×
×
  • Create New...