Jump to content
LaunchBox Community Forums

Kiinkyfoxx

Members
  • Posts

    161
  • Joined

  • Last visited

Everything posted by Kiinkyfoxx

  1. No worries, hopefully it works out the box, but I haven't been able to test it, as don't have those games, but the theory behind it should work. However if it doesn't it might be an issue with finding the correct path. In which case let me know and we can adapt it as needed, I think I may have actually over complicated it-just been thinking about it a tad more and realised that I may have got it wrong. Without trying to be patronising, if it doesn't work then add a pause line as below-as I think this will be the bit that is wrong - it might be that the %Vara% bit isn't actually needed. :LaunchEmu cd %pathway%%Vara% pause start/wait /b %game% Let us know the outcome-Cheers
  2. I realise this might be a tad late, but I think I also remember you asking about setting up ahk's for this type of game? By importing them as pc games I don't think you get the running ahk and exit ahk tabs that are in the edit emulator part. Attached below is a bat file that hopefully will act as a launcher for the games for you. Add an emulator, lets call it Hidden Objects for now Set the tab as below-but obviously with your pathway and not mine-and no start up screens so can watch for issues Then you can use all the other tabs in this pic-once you have tested it and it works then you can tick attempt to hide box and use start up screens.
  3. If you compile the AHK into an Exe you could start the Exe with the bat file before starting the emulator. If you don't compile the AHK then just copy the autohotkey.exe and rename to same as ahk file and start that exe in bat file. You can either make the AHK self closing or close it via the same bat file. Or if the system has numerous games on it that all use the same emulator, could you not set up a bat file that captures the variable of the rom pathway/name from Launchbox and loads that. Then you can set that bat file as the emulator, calling the emulator whatever you want, Eg System Name emulator. This would let you use all the emulator tabs and options.
  4. @Johno1980 You need the Winclose, ahk_exe PcSx2MP.exe part in both the tabs you have shown above-Sorry that was bad instructions on my part. In running Autohotkey Tab as picture above add the Winclose, ahk_exe PcSx2MP.exe line so the bits in the { } look the same as the exit Tab I don't open MP via that tab, as mentioned I add it as an additional apps to the games so that it starts up before the game. I think the way that you are doing it that MP maybe doesn't have focus when the keys are sent to it-if they are even sent-Try the two files below to see if it is working-basically download both and keep together, run the exe and it should then open MP and clear the two check boxes-If it does just keep the two files together and then add the exe as the additional app If that doesn't open MP just check the ahk file that I copied your pathway correctly. From memory there were only about 8 games that used the MP so not too many to add it to, unless it actually works on a lot more now? If you want to do it the way you have set it up I imagine you will need to activate the window before sending the key strokes, but then it will show up above the game window, so you will then need to set the game window back to the top, which is why I just went the additional app route as that way it all happens hidden away and looks nicer. Cheers MP Launcher.ahk MP Launcher.exe
  5. This is my AHK for Mouse Patcher-it runs as an additional app before game loads, only use it on a few games so easy to add as an additional app to them #SingleInstance, Force run, Insert your path to MP\PcSx2MP.exe ;path to exe goes here WinWaitActive, ahk_exe PcSx2MP.exe ;makes script wait for exe to open SendInput {Space} ;sends a Space SendInput {Tab} ;sends a Tab SendInput {Space} ;sends a Space ExitApp To close it try changing the shutdown part of the running script tab in emulator- I haven't put my full script up as it does some other bits you won't need So it will look something like this !!!!WARNING I don't have the original closing command for PCSX2 on mine and cannot remember it so I have used Process, Close as a place holder-This can cause issues with Emulators as isn't the ideal way to close it-so please replace that line with whatever your current and correct closing command is!!!! $Esc:: { WinClose, ahk_exe PcSx2MP.exe Process, Close, {{{StartupEXE}}} ;I know we shouldn't use Process, Close and I am not suggesting it-I use a different command specific to mine so have used this as a place holder-please replace it with whatever the current command for closing down your version of PCSX2 is } Hopefully that works for you
  6. Completely agree with Retro808 about not using Process, Close and that is the only one I use it on, as it was being a pain and not closing for some reason, but I should have put a warning on my post about it. 1) With Demul closing with Alt&F4 any changes you make to key bindings or such won't get saved, I use the one below - BUT I DON'T load straight into Demul, mine goes via a long winded bat file to do some other bits and bobs in the background before demul starts, depending on game/platform etc, so there may be a better way WinClose, gpuDX11hw 2 & 3) You shouldn't need to be closing Demulshooter, it auto closes once the game closes, the only time it doesn't is if you are running in debug mode (with -v in the parameters) so you could do away with all the Demulshooter parts, 3) If you direct load into the game, rather than through the TP UI, you in theory can just use escape to close (I believe it is the built in button for TP) as there will be no UI to close and BudgieLoader etc should all shutdown when you close the game, from memory Mario Kart was the only one that had an issue with this as just added a WinClose for that left over window to the process. So the below should work for you. $Esc:: { Run, D:\games\nomousy.exe Send, {Esc} ExitApp }
  7. Yes thanks to JayJay and their amazing plugin, all the end user needs to do is set it up once per the instructions and then can just load LB/BB like normal and it will take care of itself-they might need to adjust a sleep or two depending on their system, but I have commented it so can be done easily. Due to the extra work JayJay put in if end user needs/wants to add extra bits specific for LB or BB or other ahks that they also want to always have running when LB/BB open then they can add them as well.
  8. @jayjay I can only say thank you so many times, but to do that really was above and beyond, so thank you again-I hope you don't mind but I have bundled your plugin into the downloads below so it can all be downloaded from one place By using the "OnAfterGameLaunched" I have come up with a way that works so far I have also been able to trim the ahks down quite a lot as they are being launched at specific times now. @neil9000 as you seem to be the only other person that has actually downloaded this and used it, would you mind testing the new version for me please. I have tried it across several platforms and games, and also by swapping in and out of LB and BB and so far it has worked. I however admit I have a small collection of platforms and games compared to others and therefore would appreciate you trying it on your system This new method should in theory work for the following For users who use BigBox and hide their mouse across everything the only thing they will notice is the mouse cursor returning to their original selection on exit of BigBox For users who use BigBox or Launchbox but only hide their mouse in game and on load up screens they will notice the mouse cursor returning to their original selection on return to the game selection screen and on exit of BigBox. I imagine if you never hide the mouse then this was never an issue? Cheers cursor change.zip
  9. @jayjay and @JoeViking245 Before I go any further I would just like to give a heartfelt thank you to both of you. I started this hoping to try to give something back to this excellent community, but I did not mean to make work for anyone, and I am very grateful for your help and effort, especially as this may not be something of any importance to either of you. The negative of this is that actually very little of my original work is left from this, the mouse cursor changing part I found online, the getting it to work completely belongs to JoeViking245 and the plugin that makes it nice and tidy belongs to JayJay, I have at this rate maybe contributed one line to the ahk. But in all seriousness thank you for everything. With this plugin I think the ahk that tries to be a one size fits all (OnStartUpCompleted.ahk) can be done away with as it always had the flaw that if people had the mouse showing in BB it didn't work well, but I thought most people would have hidden, but by using the other 2 ahks together it can be used across LB and BB no matter what settings the end user has. By keeping the option of OnStartUpCompleted.ahk within the plugin I suppose people could add their own ahk to start up anything else they wanted running. I have downloaded the Launchscript.zip above and tested it with a modified OnAppExit.ahk and it fires and works for changing the cursor whenever LB or BB closes back to Windows or the user swaps from LB to BB (and vice versa) via hotkeys or menu selections. Looking at the thread above I may be misunderstanding this and sorry to question you, but that original ahk was put as an additional app against games that where having an issue with BB regaining focus on game exit, so loaded up when the game started rather than when it closed, thus when it grabs the name of the active window it would be the game/emulator name. Using the ahk you gave as an example the active window is actually the LB/BB game selection screen as it picks up the active screen 13 seconds after the ahk starts which is after the game has closed. I imagine this would work if the ahk started at game start up rather than shut down, but I am not expecting you to rewrite the plugin. I have modified the original version of OnGameExit.ahk - the game startup screen closes and then changes the mouse cursor which is working perfectly. As I load Steam/Windows games through a bat file which stays open until game closes the normal OnGameExit.ahk works here, so I will remove my current bat file and have a play with it to see what happens, may I just clarify if this passing issue would arise it I was just using the normal way to load Steam games through LB. Edit-removed bat file and direct loaded steam games and they all worked on exit I had an exit screen and the cursor changed back. Edit-There is only one game on my setup where I don't get an exit screen, and I think this is when one exe passes info to a second one-first exe is a game selection screen Eg type of game and team selection. Once chosen and play selected the game opens in a second window, if I pause this game the mouse shows up in pause screen but doesn't in any other game and no game exiting screen, however with this ahk and plugin combination it still changes the cursor on game exit-or is this not an example of what you meant? With the two modified ahks and the plugin it is working great here on what I have tested, but with other people having other setups I would like to try to make it work for the possible issue mentioned above by JayJay. I am not trying to get anyone else to do the work, I just want to make sure I understand so I can try to work on it, as you have already done much more then expected. Thank you and sorry for the essay.
  10. Thanks for this info. I will keep an eye out when I play it and now know how to fix it and also how to get it to close if I do change compatibility mode. Glad you got it sorted and sorry my method wasn't any use to you.
  11. @jayjay-thank you for your plugin and information I think that if the "BigBox and LaunchBox.ahk" is renamed to "OnStartupCompleted.ahk" it should work as it currently does, on my system it worked on the manual tests it if launched before or after BigBox/LaunchBox. This is the only one I use on my system as it auto launches. I think for the other two versions I may need to adjust the ahk, which I am happy to do as we learn by doing. (at this point JoeViking245 is shaking their head and thinking yet more work for them when I fail) I can see the advantage of only having it occur when the game closes or the app closes rather than having it run all the time, so happy to put the effort it. May I ask 2 questions please. 1) Would the "OnAppExit.ahk" happen if the user was to switch between BB and LB using menus or key combo? 2) When would the "OnGameExit.ahk" happen - I think from your description it is whenever the emulator/loading script closes, in which case it would happen when the Game Over screen is showing, if so I should only need to adapt the ahk a little to work. The exception to this being the Steam/Windows bit but I will try to get bit hacky with it and see how that goes (JoeViking245 is now sobbing in the corner and cursing Neil9000 for tagging them in this thread) Thank you for all your help and guidance.
  12. I could try to answer this and then we can get @JoeViking245 to fix it for us ? I think the basic AHK for Bigbox would be Run, full pathway to bigbox.exe Run, full pathway to whichever version of the 3 you have download.exe Exitapp You would need a separate one for Launchbox I think. Just replacing the pathway to Launchbox.exe instead.
  13. Hi I had the same issue, I use the same exit for all Taito Type X (normally Alt&F4) and found that with this is left the game in a window and didn't close it, so if I then did the process close routine after it seemed to force close the window. I have put my version below but I have cleaned some other bits out of it that are specific to my system. I have just tested my one and it does work still. Plus I do have to run the ahk as an admin, but I think that is because I use the same one for all Taito games and Gaia Attack 4 wouldn't close without admin level However I don't appear to be running the game in a compatability mode, and it loads here (Windows 10), I haven't played it much though. Where/what is the glitch issue? Try the below and see if it works for you Cheers Esc:: { Send, !{F4} } { Process, Close, game.exe exitapp return }
  14. Sorry that was what I meant by this bit in my message, obviously I didn't explain that very well. I realise how stupid what I am about to say is, but here goes, I had got stuck in a rut and couldn't think of how to get to the change cursor bit without binding it to a key, but I had used goto already, so should have thought of that or gosub, but that is the advantage of hindsight and reading someone else's work, makes it much clearer.
  15. @JoeViking245 Thank you very much for changing this and making it to allow the @ key to also function, I will update the versions above with your changes and make sure to credit. Your way the @ key isn't even needed but I think I will leave it in there as a manual backup button in case something goes wrong, and I suppose people who don't have keyboards to hand can set it to a joystick button. My only "issue" is that you could have at least pretended to take a little longer to figure it out ? In all seriousness though thank you for taking the time and effort to make this better and hopefully it can be of some help to people. I assumed the JoeWasHere is meant to be ChangeItBack as well? @jayjay I appear to be struggling with simple AHK here, let alone anything more complex, but thank you for your input and advice.
  16. It all works inside BigBox and LaunchBox either manually or automatically. It just stops the @ key being used for anything else whilst the AHK is running. If I open notepad and try to type an @ sign I get nothing, if I put ~@ I can type an @ sign in notepad, plus if I use the @ key it will manually change the cursor in LaunchBox but the automatic version doesn't work-Does that make sense? Basically I stuff up the use of the @ key for anything else apart from changing the cursor when this is running. I could only get the lower section for changing the cursor to run by linking it to a key and then sending that key on close of game or LaunchBox /BigBox. Please feel free to rip it up and redo it if you can see a better way to make it work. Thank you for taking the time to look at it.
  17. OK on a quick test have set my keyboard to US style so that Shift & 2 is @ rather than Shift & ' and the AHK still works automatically on closing of game and returning to Launchbox game selection screen. Still the @ button doesn't work in emulators or Launchbox/Bigbox, or as you noticed at anytime when it is running, but it should close if neither LaunchBox or Bigbox are open. The key can also be changed by the end user in the AHK if they want it to be something else. I have commented them to show which lines to change if they wish to. Thanks for the feedback.
  18. I started off using the * key but changed it as I thought people might use that in emulators and was trying to think of the least used keys. As the @ key is sent by the AHK rather than the user I don't know if it will matter on keyboard region. Do we have a "resident" ahk guru who might know the answer to this? I will try it with setting my keyboard into US mode in Windows and see what happens...... But not sure if that is a scientific test.
  19. Hi @Dimitri, @neil9000 and @SongwriterBob UPDATE-the ahks have been adapted and improved by JoeViking245 - thank you yet again. UPDATE 2 - This has been improved again with the help of JayJay. For new version go to page 2 Original post details removed as outdated and confusing.
  20. Hi All So I did originally try to send this as a private message but that didn't work I know Dimitri uses a custom mouse cursor set, but do Songwriter Bob and Neil9000 or are yours just increased in size through scaling. I have been having the same issue-but no 4K TV here just, and it has slowing been working its way to the top of my to do list as I solved other issues with my system. Having seen this thread I have had a quick play and got a very ugly "solution" (thus the attempt at a private message rather than a public) that seems to require an AHK to always be running in the background. I imagine it could be set so that a very specific and unlikely to be used combo could be set to make to it run, but for practising I just stuck it to the letter q on my keyboard. Basically LaunchBox turns you cursor back to a little one, you press the button and should get back your original one. It isn't my work, the AHK comes from AHK website, and I imagine it could be adapted to our needs, but as yet I haven't tried. I will keep working on it, but would happily share the horrible system with one or all if you would like to work on it as well. Let me know Kind regards
  21. Using Arcade stick and buttons here on the NES through Mesen via RetroArch through LaunchBox Load RetroArch outside of Launchbox Settings -WITHOUT loading a core Input Port 1 controls Highlight "Select Button" Press Enter Press actual Arcade button you want The button you have pressed should get registered as Select and in theory that carries across into Mesen or at least it does here. Repeat for as many players as you want. oh and if you want to do it via config file in text editor input_player1_select_btn = "Put the Number of your button here" Don't know how to get your button number Press the Windows button on your keyboard Type Joy.cpl in search Enter Properties on the joystick you are using Press the button you want to use and a number lights up - That ISN'T the number to use Subtract ONE from this number and that is the number you want to use - Why subtract ONE - not a damn clue, except Windows recognises 1st button as number ONE and RetroArch recognises 1st button as Number ZERO. Maybe someone with some intelligence can explain this. Now when I load up a Core the select button is already the correct button for me.
  22. Bat file removed as not working currently-Will return when (or maybe that should be if) working This is going to be your "Emulator" for Steam games Make a new Emulator like normal and call it whatever you want. Make the Details tab in edit emulator look as below-but the application path will obviously point to wherever you put the bat file. In Associated Platforms put Windows - or whatever platform you have them under and leave command line blank No idea if you use start screen, exit and pause screens but if you do they will need sorting- I have had to do mine with custom on each Steam/Windows game as they are all awkward in some way or other. But they should all work with this bat file. Running AutoHotKey Tab Made an assumption here and I have used Escape as an exit key-Because it is a nice easy key to practice with and I had no idea what you use. You need to put your pathway in as I don't know it. I cannot test the opening or closing of VirtualController.exe here as I don't use it, but I did use another bat file in it's place to do something else and it worked. You might even be able to use WinClose in the AHK part rather than running a bat file, but I didn't know the name of it so couldn't do that. Also reading the info on the link you provided it looks like you can set an exit key for Virtual Controller-if you did that could you get the AHK above to send the exit key to Virtual Controller? But if the kill bat works then might just be easier. This will leave Steam running in the background as well. Also your edit game page needs to look like this, but with whatever Steam number your game is And REMOVE the current additional app you have put on the game, I am opening Virtual Controller and launching the game in the one bat file. Goodluck Ps The annoying thing is this is actually a much better way of doing it than I already do it, having spent days on sorting out my own lot in the past and having a much more annoying system involving specific ahks for each game running as an additional app Pps I take no credit for the bat file and ahk stuff here. I have only taken work done by other people and cobbled it together into something else. So thank you and credit to the original people who I cannot name as I don't know. But if anyone recognises the work then please take credit for it.
  23. If you go to Game Controllers in Windows (type joy.cpl in search bar - apologies as I expect you already knew that) are there any controllers showing up whilst this drift is happening in LaunchBox? Looking at the xml you do have EnableGamePad as true - so I wonder if making this false would stop LaunchBox thinking a controller is attached (even if there isn't) which might stop the drift. Again pure guess work on my part and can only go by the issue I had when Windows kept thinking I had a controller attached when I didn't and because nothing was attached it took joystick 1 position which meant LaunchBox saw it even with Use all Controllers off, and therefore caused drifting, as soon as I alt+tabbed out of LaunchBox the drifting would stop and then restart as soon as gave LaunchBox focus again.
  24. By any chance have you got vjoy or anything like that on your system and do you have use all controllers (or whatever it is called) ticked. Sometimes vjoy or anything that fakes a joystick/Xbox controller can result in this drift issue. If you turn off the use controller part as well to test if it is that. I had it with a "Fake" Xbox controller not disconnecting after using other software.
  25. Using your example in the same tab (running ahk script tab) you would normally put the escape key ahk you would need to add the following ahk underneath it This will be across the emulator, you can do it for the game only but is adds another layer to it. AHK as below T::1 G::2
×
×
  • Create New...