Jump to content
LaunchBox Community Forums

Jayinem

Members
  • Posts

    129
  • Joined

  • Last visited

Everything posted by Jayinem

  1. I was wondering if anyone could come up with a script (if even possible) to change the location of a game's drive it's on when launching then it's gone when the game closes? It might sound crazy but there was a game I played recently that did that it used the W: Drive. I didn't think anything of it at the time but now that I need it I can't find it. The reasoning for me wanting to do this is I only have 256 GB drive of SSD and 1 TB regular HDD, and several TBs of regular external hard drives. This would allow me to hopefully mount any game on those other drives to the SSD which would improve performance.
  2. Simple enough. Thank you!
  3. I have my Launchbox setup like I want and my philosophy is if it's not broke don't try to fix it. is it possible to block future updates of Launchbox? Nothing personal I block Windows 10 updates too. thnx
  4. It baffles me that here we are in 2020, and recent PC games make it difficult to exit the freaking game. Even PS4 you can hit the PS button and go to the PS4 main menu, and easily close the game same for Xbox One. But somehow on PC, it's difficult.
  5. Go to settings > configure joysticks > advanced settings select the device and choose the number you want it to be and it should work. But I've found JTK to be buggy lately myself where it will just stop detecting controllers all together until I reboot even if I right click on the icon and hit detect joystick.
  6. Is there any autohotkey scripts can can change the controller # that Windows sees? The reason is I have a steering wheel that takes over player 1 always, and that usually works fine I can usually still assign my controllers to emulators even if they aren't player 1. But when I try to play some PC games, they will only read player 1 or you can't use a controller. So I'm just seeing other than disconnecting the wheel is there a way to change the controller #?
  7. Koroth: thanks I will look at it later today.
  8. Since you seem pretty good at this do you know how to kill the AHK script when the process you're running closes? I end up with a bunch of AHK scripts open.
  9. Thanks for the input. I am by no means a script expert, I'm pretty much the opposite. My problem is a little more difficult to solve though I know I didn't explain it in the first post. The reason is I'm not adding pcsx2 as an emulator in Launchbox because I have a Lightgun for Windows but it takes additional scripts. So I just load everything including pcsx2 and the iso and the script all in one and make it an exe and load it in Launchbox. But the problem was not exclusive to scripts though I tried launching a game directly through PCSX 2 and it was the same esc was not working. I will try your suggestion tomorow most likely. Honestly everytime I read the autohotkey documentation it never helps me. Because there's always some quirk that I don't feel is explained good on their site. Even their examples for whatever reason rarely give me what I need to make the script. It helps me to see someone make an actual script such as you did then I learn from that, I even keep examples in a document I have that I go back to. From other people's scripts I have been able to do things like get my lightgun to work in games, get my gaming steering wheel to work in games, change displays on my laptop/TV, make mouse cursors stop showing up in my games, turn off game controllers through keyboard shortcuts and even more than that. But in this case I tried the scripts I know to exit using escape, and they weren't working but the one I posted from pcsx2 did work. Since these are lightgun games I'm using pcsx2 I'm not too concerned about not closing it correctly or losing saves. I don't really have a reason to pause the screens either. Just as long as it closes or the script does what I want I am happy. Edit: had a minute to try your script and it works. Thank you
  10. I had to search the PCSX2 forum and found another script that works incase someone else ever has this issue. SetTitleMatchMode,1 $Esc:: Process,Exist,pcsx2.exe If ErrorLevel { IfWinNotActive,GSdx | Send,{Esc} } Else { Send,{Esc} } Return
  11. It doesn't matter if I do it through Launchbox or through PCSX2 itself. Escape key doesn't exit. But as far as a fix I am running scripts for the PCSX2 games in Launchbox because of a lightgun I have that requires them for it to work. So the entire game is run through a script in Launchbox like it's a PC game .exe after I compile the autohotkey script. So I cannot add anything into the running scripts section or exit section. I would need a script that I also make outside of Launchbox that I can add to additional apps. thanks p.s. I tried to add this script to the script I'm making outside of Launchbox ; This section closes PCSX2 when pressing Escape $Esc:: { Process, Close, {{{StartupEXE}}} } But it still doesn't work. I'm hardly an expert on these scripts though where it says StartupEXE should it say StartupEXE or do I change it to pcsx2.exe? I just tried this also Escape:: Exit() Return ;Exit Game procedure Exit(){ Process, Close, pcsx2.exe ExitApp } Still won't exit the game.
  12. Thanks, I just got confused on #SingleInstance because on the ahk site it shows #SingleInstance [ForceIgnorePromptOff] So I thought I was supposed to use those [ ] brackets, but I am not. I still am having problems with nomousy unfortunately. The worst part is it works sometimes but othertimes the mouse cursor remains. I think AHK is getting confused with Runwait, because it seems sometimes it does wait until the app closes to run nomousy.exe, othertimes it goes ahead and runs it right away so the mouse cursor reappears in the game before it closes. I have no idea how to make it work consistantly. I know this is the case because if I remove the runwait nomousy.exe the mouse cursor will indeed disappear, but of course it will remain after game closes. I'm not sure why this is so difficult to run a very basic executable. This is my script #SingleInstance Force run, DemulShooter.exe -target=demul07a -rom=sprtshot Run, demul.exe -run=awave -rom="sprtshot" run, nomousy.bat ; This section closes Demul when pressing Escape $Esc:: { Send !{F4} } Runwait, nomousy.exe Ocassionally the mouse will disappear and reappear on close like I want, but over half the time it will just remain. Maybe the script is running too many things idk. Edit: I think it's finally working properly. All I did was remove the commas after run and for some reason that fixed it. I didn't think it mattered. Thanks to klinkyfoxx and JoeViking for the help.
  13. One more question if you don't mind, I'm trying to figure out #SingleInstance. Because Demulshooter (app that supports lightgun games) if you launch one game then another that uses it you always get a pop up "An older instance of this script is already running, Do you want to replace it with this script?" and it seems to effect Demulshooter from allowing the lightguns to work. So how do I use #Singleinstance, or whatever other script to avoid this interruption? thanks again.
  14. Lol yeah it was supposed to be now, sorry. Although, now that i turned on my lightgun the mouse is back. But I think I can figure it out. TYVM
  15. Oh I'm getting closer to make it more confusing these are primarly lightgun games because I have a lightgun, and for the lightgun to work it requires a script called Demulshooter. So what I did was move nomousy.bat and nomousy.exe to the same folder and demul.exe and ran the script from there run, DemulShooter.exe -target=demul07a -rom=xtrmhnt2 run, demul.exe -run=awave -rom="xtrmhnt2" run nomousy.bat RunWait, demul.exe run, nomousy.exe this is all one ahk, the game launched fullscreen but wouldn't exit (I think because I need to add an exit script too) and maybe because I'm not exiting properly, the last line isn't working because the cursor does not reappear after closing. Edit: everything is not working together thanks to JoeViking. This is my final script. Now I can just compile it to an .exe and throw it on Launchbox, done. Thank you. run, DemulShooter.exe -target=demul07a -rom=xtrmhnt2 run nomousy.bat RunWait, demul.exe -run=awave -rom="xtrmhnt2" run, nomousy.exe ; This section closes Demul when pressing Escape $Esc:: { Send !{F4} }
  16. What i get confused on is if it's in Launchbox does the script still need to give the path to both demul and/or nomousy or not? If not how will it know where they are? It couldn't find demul without the path, then I added the path and added it to launchbox like you said, but it runs demul twice and nomousy doesn't work. I'm also confused on if this script is going to take over running the emulator, how would I add that launchbox and be able to run my game too? Would I change the emulator to this ahk?
  17. Basically I need to know how to make a script that tells one .exe to work after another .exe closes. I've tried several things like this run nomousy.bat (the script that makes the mouse cursor invisiable) WinwaitClose ("ahk_exe demul.exe"") run nomousy.exe (the .exe that makes the mouse cursor reappear) but the mouse just goes invisible for a second then reappears immediately.
  18. I could use some help I already made a thread here about it. If you read through it you'll know I already tried everything when it comes to using additional apps in Launchbox. Nomousy works to make the mouse cursor disappear in games but when I add nomousy.exe (which is the script without any additional parameters to make the cursor reappear) it does it immediately during the game instead of after the game even if i set it for wait for exit or run it after the application. So basically using additional apps is out I need a script that would say run nomousy.exe /hide when the game launches and to run nomousy.exe when the game exits.
  19. Best I could figure out (even though it seems more complicated, only thing I could get to work) is make a script where a keyboard entry will run nomousy.exe that I have to enter after the game ends. HotKey, ^7, LaunchUpdate return LaunchUpdate: Run, "C:\Users\Jayinem\Documents\nomousy\nomousy.exe" ;...any code you need... return It works by pressing Ctrl + 7 to bring the mouse back. If anyone knows a script I could make to do it automatically I would appreciate it.
  20. This is weird, I just tried that like you posted with no checkboxes on the 2nd app, but after playing the game for about 2 minutes the cursor reappeared. If I check any of the checkboxes on the end nomousy the cursor never disappears. So it's still not working correctly. I'll read through that link and see if there's just a script to make it all work because it doesn't seem to work right in Launchbox. Edit: I read through that entire thread, but I don't think anyone was trying to automatically run the end script when an application closes. So I'm still left needing a script.
  21. I just tried deleting the 2nd app all together the one that is supposed to bring the mouse cursor back, and the first script works as it should in game the mouse cursor disappears. So the problem is defintely that the 2nd app that's supposed to bring the cursor back AFTER I close the game, is doing it immediately after the first script instead during the game so the cursor immediately reappears. None of the checkboxes seem to fix the problem so I guess I would need a script to make this all work together? I'm not sure why wait to exit checkbox isn't working but I wonder if it's because it has to be combined with "Automatically run before main application" instead of wait for exit just being seperate. If none of the checkboxes are checked wait for exit is grayed out.
  22. So my goal is to have no mouse cursor during games because it's annoying especially lightgun games because my lightgun controls like a mouse but I don't want to see the mouse cursor. However once the game ends I want the mouse cursor to reappear. I am using an app called nomousy. The script for nomousy is as follows nomousy.exe /hide (hides the mouse cursor) the script is under nomousy.bat nomousy.exe (with nothing after, unhides the mouse cursor) Should be simple enough to add those to launchbox additional apps I thought. But it's not working correctly. Pictures added below. Run nomousy.exe is just a ahk script I made and compiled it to an exe, and nomousy.exe is just the .exe needed to show the mouse cursor again. I did also try just adding the nomousy.bat but it didn't help anything. But I'm guessing they're both working right when I launch the game (instead of one during, one after) because the cursor shows up again. The second picture shows that I tried clicking the wait for exit with the first option (I don't understand why wait for exit can't be it's own seperate option though?) And the 3rd picture shows I tried the other way automatically run after main application. Neither way works though. The cursor shows in the game. The app works as it should seperate from Launchbox, but I just can't get it to work in Launchbox when I launch my games. If someone knows just a ahk script to make this all work I could just add to Launchbox that'd be fine too. Just want it to work don't care how.
  23. I tried but it wouldn't let me. But I put in 4DO emulator selected Citra path and hit OK went back and changed the name to Citra and that worked. Another problem though Citra crashes upon launch. Does Citra require any special settings? There was nothing checked under 4DO emulator that is causing the issue. Edit: solved it by choosing citra-qt.exe instead of citra.exe.
  24. I typed in Citra and added the emulator's path, but then it said choose one of the emulators from the grid. But Citra isn't on the grid. So it won't let me add it.
  25. So I updated my computer and I hoped because I would use the same username on both computers everything on Launchbox might work. I didn't think about the fact that I bought a laptop that has 256gb ssd and also a 1 TB regular hard drive. The SSD is C : and the regular hard drive is D : and because I have a lot of games I wanted to use the 1 TB not the 256. So I tried making D:/Downloads/ and put all my games in there because that's how I had it on the last laptop, of course this doesn't work. I am trying to figure out do I have to start over and edit each game path or is there someway to bulk the locations? I was able to get Launchbox up with all my setup and custom icons I made, I just can't launch the games due to the paths. I have over 500 games (I'm sure others have had way more, but still a lot of work) so I'm hoping someone figured out a way.
×
×
  • Create New...