Jump to content
LaunchBox Community Forums

LegzRwheelz

Members
  • Posts

    114
  • Joined

  • Last visited

Everything posted by LegzRwheelz

  1. Aww man, this is fan freaking tastic! Thank you so much!!! You're amazing. I know I'm simping, but these little things turn me into a simp. Lulz Now then, if I can be a bit more of a pain, can you share your controller buttons that you found? I'm sorry, I'm asking because I use rocket launcher and so I can create some fade screens that are more akin to what I am using already. In short, I want to create overlays rather than completely changing my background. I'll happily share these when I'm finished. God knows I've gained so much from this amazingly selfless community and it's time to give back.
  2. See my last line? I was so tired last night. I legitimately thought i was messaging a friend on here. I apologize and have deleted that post. I really have no idea how I managed to do that.
  3. I think there's a bit of confusion. I only posted that here and no other place on this site. I then went over to the main AutoHotKey forums site and asked there. It is super cringe for me creating new threads and double posting, so I avoid it at all costs.
  4. So, I am here hoping one of y'all may know of an easy script or bat file that I can run from any directory that will do the following: scan the directory for roms and folders and create a .cfg folder/rom with said rom's name. then with each .cfg it will contain the same text as below except where "gb.png" is, it will be changed to whatever the name of the .cfg file is. ie: if the .cfg is named "file.cfg" then the 3rd line of text would read "overlay0_overlay = file.png" overlays = 1 overlay0_overlay = gb.png overlay0_full_screen = true overlay0_descs = 0 I am trying to come up with a less redundant way of adding bezels to Retroarch for select platforms without using "The Bezel Project" as those are too generic and cartoony for my liking. I am cross posting this in this thread as well as AHK forums. I am tired so IDK if I am conveying it clearly. It seems as though it may be easy...but for me...it is not.
  5. I remember watching this and it was my tipping point going from HS to LB. I managed to repurpose most of my hs media and thanks to colpipes, I was able to dl a nearly fully configured setup of LB with RL. Funny, even tho it was nearly complete....I still havent finished it and that was around 1.5 years ago
  6. You. Are. Awesome!!! THANK YOU VERY MUCH! I gotta say though, I use gimp and psd files onfuse me. I know this isn't Photoshop workshop so I won't ask you for help with that. I am curious though, where did you get the high res xbone controller and buttons? Is that avail separately? I would love to have these on hand.
  7. Care to share these and the controller button images you are using? I absolutely love this style!!! Would you be so kind as to share your bezels?
  8. Sorry for necroposting. I hate creating new threads. I am searching for a way to get the Game ratings to show up in my fade screens using RL. Fade works fine, showing stats, system logo, game logo, animated loading wheel and "now loading..." animation across the center of the screen (bezels work as expected as well)...I cannot get the Developer/Publisher, genre, ESRB, Pegi nor Cero rating logos to show up. I have messed with alignments and ordering to see if its being displayed off screen but nothing shows up. I even tried renaming the ratings to what LB uses word-for-word since RL is case sensitive and whatnot. Any suggestions? I can up some screenshots to show my settings if needed. Note: I did update RL's "Launchbox.plugin" to recognize illegal characters and that resolved my issues with clear logos not being pulled from LBBB properly. Sadly, it didn't resolve my other issues. Solved: It was not LB nor RL but in fact user error. I just finished filling out the ID-10-T form ?. I was only testing games' fade screens, not actually loading any of my games. When I loaded the game, I had a nice mess of logos all over my screen. To those interested in the Launchbox.plugin edit I did Make sure you backup your original plugin before proceeding. The easiest way to do this is by doing a right-click and drag'n'drop with the original "LaunchBox.plugin", then click "copy here" in the context menu. To use the standard (click here) download of the file just click "download paste">in the save as dialog box click the "save as type" drop-down box>click "all files">name the file "LaunchBox.plugin" (minus quotes)>save to "..\RocketLauncher\Plugins\" I prefer to use the raw view (click here) just press "ctrl+a" to highlight all text then press "ctrl+c" to copy it all to your clipboard (proceed to the edit tut below) To edit the plugin: go to "..\rocketlauncher\plugins\" Right-click on "LaunchBox.plugin" (make sure you've backed it up first, instructions above) Next edit "LaunchBox.plugin"(not the one you just backed up) with notepad++ <---clickable (install if you don't have it installed already) when it is loaded, press "ctrl+a" to highlight all of the code and paste "ctrl+v" the code I provided at pastebin, then press "ctrl+s" to save. To those who didn't backup (not judging, lol) here is the original and the raw code is here (same instructions apply for this as above)
  9. Yeah x360 is just me being lazy and not typing out "Xbox 360". I have the legit thing in both Xbox 360 and One controllers. When I was spazzing out over the Xinput lib thing, it is because MS changed something in the xinput API for XBONE (Xbox one) controllers. Both 360 and XBONE controllers may use Xinput but it changed after the w10 creators update in 2016 (i believe). I *can* roll back to a W8.1 xinput driver and ahk will work in harmony w/ that driver. I will however, lose the ability to control forza horizon 4 and Forza MS 7 with my XBONE controller. Honestly.....not worth it to me. I would rather reinstall W10, cause like I said...I believe vjoy and vxbox screwed things up. I had issues in the past in the those virtual joypads but persisted until I had them functioning like I needed them to(using my remote to send xinput signals to Netflix, remember?)...it seems as though I will not be able to achieve nirvana with my Arcade/HTPC. I will try to revisit this later when I reinstall w10. I am nearly finished setting up LB/BB, I have a little bit of media left to setup, all of my pc games are installed on separate drives and separated into 2 sections, (games that need to be reinstalled upon reinstallation of windoze and those that work regardless of old/new windoze install). I regularly backup "appdata" and "programdata" folders as well as all registry edits I make as I progress, so there is very little work for post-installation of w10. I even created a batch script for auo installation of all runtimes, ahk, np++ and other required files for gaming. I am also creating a stripped down copy of of w10 with all bloat removed, saving only the required parts for basic w10 functionality as well as MS store for UWP games. When that is installed, I will revisit this when that is accomplished and finally, my computer will be shelled with BB/Kodi and ready for prime time. Sorry for my distracted off topic tangent. lol
  10. SO I am unable to use even my x360 gamepad with ahk, i tested with a small script to give me a message box when the a button is pressed(to no avail) and I originally thought it was an issue with me using an XBOX one controller which it actually is not. Now I believe it is my controller assignments within windows as I had vxbox and vjoy installed at one point, forgot about them after I realized they weren't helpful for what I needed them for (remember trying to send xinput presses from keyboard?) and never removed them. I remember at one point when trying to use vjoy it rendered my gamepads inoperable. SO, I removed both programs and virtual devices, still nothing. I have a feeling a fresh install of Windoze will clear up a fair bit of issues. Also, I read (all of it this time) that I can specify which cont uses the HK like "2joy6" for joypad 2 Right Bumper. I tried that with my tester script, obliviously it didn't work. It did give mean idea though, suppose I am currently able to get HK working with my gamepads, could I have a script emulate a p2 controller? Say I wanted to p2 controller to do the Konomi code, would I be able to set say...RB+Start on p1 controller to have it input the Konomi code from p2 controller? Not that I need it to do that specifically, just an example.
  11. The guide button works PERFECTLY!!!! Thank you so much! Are there $vk to use for the other buttons on the gamepad? So did the daisy-chaining. IN FACT....I was able to merge 2 scripts because of this unknown (to me) little trick.
  12. Lol I read it a 2nd time, thoroughly that go round and saw what you were saying, so I went back and updated my post with additional information. The reson my head is spinning with what is there is no lib folder to add new functions.
  13. Honestly, for the method you explained, That is the only way I use RB+A to pull up the trainer in GTA V. So, I am guessing that I put the line of code under the return of my current HK? To circumvent that "issue" of needing it at the end of the script(already have an #IfWinActive at the end for kodi)can just make my hk call on the script separately when launching and keep it in my script's directory. The controller is a standard xbox one controller ie: XInput. After searching for my answer before posting here, i was trying UCR (Universal Controller Remapper), downloaded the xinput ahk library found here (x360) and here (Xbox One) go to the 4th post for Xbox One info. I tried a simple script that would give me a message box on joy1 press and I got nothing. SO I believe I need to add the updated Xinput.ahk to AutoHotKey. Unfortunately, I cannot make heads or tails of where to add new libraries for AHK to call on.
  14. I'm sorry for such a delayed response, my children's mother passed away yesterday. ? It's been extremely difficult on us all, I needed a distraction this whole situation which is why I am here RN. I am not looking for sympathy either, just needing to talk while being distracted. ? I like your refrigerator analogy. Like always, you are brilliant. The only reason I even know if the LB process is hanging in Task Manager is say I just finished adding a few games and wanted to check it out in BB after closing LB, it throws the error about another instance already running. Other times, it has been hours after adding games and going back in to add some more, same error, so I added this hk. Which brings me to the distraction I am almost obsessive compulsively trying to figure out. Using AHK, how do I set 2 buttons on my XBONE controller to send a single keystroke? ie: RB+A (joy1+joy6) sending f5 ONLY when GTA V is running. (While still using what I currently have in my "always-on" script? Here is what I have in my script: ^!g:: keywait, g if WinExist("ahk_exe GTA5.exe") { WinActivate return } Run "J:\Games\Grand Theft Auto V Moded\GTA5.exe" return So in short, I want: Using Ctrl+Alt+G as my HK. If gta is already running, winactivate it if not then launch GTA V ONLY when gta v is running, the right bumper and A button sends the f5 button. I have most of it. The part that has a grip on me is with my gamepad and setting the conditions. I don't want it to send f5 at any other point
  15. This is simply brilliant!. Thank you for this. I will be using this for LB/BB as well as other purposes. Would you be willing to tell me more about your multi-controller setup? Currently, I have an 1-XBONE wireless, 1-Wired PDP XBONE, 2-X360 wireless, 1-Hori R.A.P. EX, 1-PDP VS Fighting Pad, 1-Steam cont., 1-8-bitdo SN30, 1 8-bitdo N30 (2nd gen), 1-Retrobit 2.4ghz Saturn pad, 1-A-Power Bluetooth NGC, 3 WiiMotes via Mayflash Dolphin Bar and 2- OEM N64 wired controllers with NGC Joystick replacements via Mayflash N64-USB adaptor. It may be overkill, but I want it to feel as original yet updated as possible (dependent on the game being played). I will soon be getting a racing wheel and pedals as well. I am wondering though, how do you tackle the usb id isues from unplugging/disconnecting etc? I found a video on YT by Ninja2bceen telling us about a program, I cannot remember the name of it, but it doesn't seem to work for me, so I got a usb hub with switches...it works but still hardly a console-like nor kid friendly "Family Acceptance Factor" experience.
  16. for me, it is. It is still forcing it to close.
  17. I use that hot key to kill hanging processes. Otherwise I exit using the assigned key. I still don't understand why Kodi and LB don't fully close the processes(it isn't every single time, though it's often enough to be a big enough thorn in my side to come up with this). What is happening is literally only the GUI is killed and thats it. I didn't fully go into detail as to why I have that HK set, there it is though. SO, I am wondering, is "winclose, ahk_exe BigBox.exe" going to kill the process as long as the window is terminated? I would like to use this on both LB and BB after closing the normal way if it kills the process afterwards, otherwise I am sticking with my current method as it my "contingency" plan.
  18. Thank you very much for your kind words. He is thrilled to have the game much more...accessible to him. The game frustrates me...so imagine how discouraging it is to a lil boy. Yeah.. So for years I have used the little google "hack" "site:blahblahblah.com" in my search terms to specifically narrow down a place I need searched. I do that for searching forums, and back in the ie11 days, when you could add your own search engine, I would have multiple google search engines for specific sites, namely megaupload...that long ago. So yeah, your advice on the right tools in my tackle-box is right and I have been doing it for years, but the correct search term can be difficult to nail down at times. I really do get a kick outta the suggestions box when searching something, it's like a preview of how others use google. Using extra words that google doesn't need to provide the correct results. Something else that has been bothering me though, LB/BB doesn't close all the way sometimes. I have a hotkey for closing LB down when it it left in task manager, but I would like to figure a way to close BB/LB down with a hotkey. Using my hotkey for shutting down BB doesn't work. I like using shift+escape in my always-on script for shutting down certain apps with ease. However BB wants to remain persistent. Any suggestions on using ahk to shutdown BB with a simple hotkey? what I have used is this: +Escape:: ;there's a bunch of other process, close *.exe here Process,Close,Bigbox.exe I have tried using a batch file to close BigBox.exe as well, but it remains persistent. I am open to all suggestions here. Edit: Nevermind, I solved it. I managed to stumble across a post where you were helping another guy with BB and found that BB spawns another process out of the core folder and changed my launch directory for BB and now my hotkey works.
  19. I hope this helps others in search of a way to silently launch a trainer alongside their game and have the trainer close when the game closes. SO.....I have figured out it is the trainer that is at fault. Even a simple script to winactivate it does nothing. Changing it to winclose as well as process,close. something is fishy, I will check to see if it needs admin priv, I will report back.... 30 seconds later.... Well I'll be. I got help at the AHK forums and the script they helped me with works. It didn't work until I ran it as admin, like you suggested. Your script doesn't work for me in either instance, sadly.... however, your brilliant mind did help sort this out, so I tip my hat to you and say "thank you, kindly sir!" So at first I had a long drawn out explantion asking you what to add to run the launcher as admin and decided to do some digging on the ahk forums and found a few lines to launch it as admin (given the account I am on is the administrator account.) I also set the script to not show a tray icon, changed the absolute path that the guy who helped me over there set to a relative path so the script is protable as well as took your advice and removed the exitapp that he added. Here is the script I have: #NoTrayIcon #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. #SingleInstance Force if not (RegExMatch(DllCall("GetCommandLine", "str"), " /restart(?!\S)")) { Run *RunAs "%A_AhkPath%" /restart "%A_ScriptFullPath%",, UseErrorLevel ExitApp } if(A_IsAdmin) dir = %A_ScriptDir% tProc := "Ghostrunner v1.0 Plus 5 Trainer.exe", trainer := "ahk_exe " tproc gProc := "Ghostrunner-Win64-Shipping.exe", gr := "ahk_exe " gProc WinClose, %trainer% Sleep, 200 Run, %dir%\%tProc% WinWait, %trainer%,, 10 If ErrorLevel { MsgBox, 48, Error, An error occurred while waiting for trainer window. Return } WinMinimize Sleep, 2000 If !WinExist(gr) { Run, %dir%\Ghostrunner.exe WinWait, %gr%,, 10 If ErrorLevel { MsgBox, 48, Error, An error occurred while waiting for Ghostrunner window. Return } } Else WinActivate WinWaitClose WinClose, %trainer% What he initially helped me with looked like this: dir = F:\LaunchBox\Games\PC Games\Ghostrunner tProc := "Trainer.exe", trainer := "ahk_exe " tproc gProc := "Ghostrunner-Win64-Shipping.exe", gr := "ahk_exe " gProc WinClose, %trainer% Sleep, 200 Run, %dir%\%tProc% WinWait, %trainer%,, 10 If ErrorLevel { MsgBox, 48, Error, An error occurred while waiting for trainer window. Return } WinMinimize Sleep, 2000 If !WinExist(gr) { Run, %dir%\Ghostrunner.exe WinWait, %gr%,, 10 If ErrorLevel { MsgBox, 48, Error, An error occurred while waiting for Ghostrunner window. Return } } Else WinActivate WinWaitClose WinClose, %trainer% ExitApp Not much needed changing. Thank you once again. For your help, your brilliance, patience, and whether you realize it or not, you taught me to fish better than before. I hope you have a wonderful weekend. others
  20. Hey bud, thank you for replying with such great detail. Unfortunately, this wont work for me for a couple of reasons. (now I feel like a needy child again). 1.) I use RocketLauncher as my "Emulator" with LB/BB. 2.) Once it is working, I will be compiling the script to an EXE and leaving it in the same directory as GR. 3.) I also plan on pinning the compiled exe to the taskbar so my son can easily launch it when in the Desktop Env. You are correct in that they are both completely independent of each other. The reason for launching the trainer first is it will stay on top of GR and I want it to be fairly seamless. SO, I am fairly decent at understanding what is going on in a script when I am looking it over, I just am not good at knowing what to use and in what order (at times). I do refer to the AHK help website quite frequently, I just am unable to come up with the proper search term at times which leads me here or the AHK forums...sometimes, they're quite rude over there. Now, I did test the script and it is basically doing the same think my script did. It launches the trainer, then GH. However upon launch, it doesn't close the trainer if it is left running (It doesn't minimize either) and when closing GR, the trainer stays running. So, I originally changed the trainer's name to just trainer to simplify things. I figured maybe that could be causing this issue, so I deleted trainer.exe and extracted the trainer leaving it's original name (Ghostrunner v1.0 Plus 5 Trainer.exe) and tried a few different methods for closing the trainer. ie: using winclose with "Ghostrunner v1.0 Plus 5 Trainer ahk_class WindowsForms10.Window.8.app.0.297b065_r32_ad1", "ahk_exe Ghostrunner v1.0 Plus 5 Trainer.exe", as well as "process,close, Ghostrunner v1.0 Plus 5 Trainer.exe". Nothing is working. I have attached a screen shot of window spy for both GR and the trainer. Perhaps I am missing something entirely that is vital missing information for you assisting me. Again, thank you for you help @JoeViking245
  21. Hey all, I'm back with an issue that most likely has a simple solution as most of my ahk issues seem to entail. I hope I am not being difficult and that this fix is simple enough. I am attempting to create a launcher for launching a trainer alongside GR (Ghostrunner) so my son (who's 6) can play this hard as nails game with ease and when GR's process closes, the trainer closes along with it. I need to prevent the trainer from launching multiple times as well as GR. I have the part figured out for the game already, as you can see. I tend to have difficulties laying things out simply and/or clearly when I am trying to convey what I intend to or need to accomplish, so...Just to clarify on what I am needing to accomplish: 1. Upon launching the script, The script checks to see if trainer.exe is already running (to avoid multiple instances of it running), if not then launch it (minimized preferably). If it is running, then close and reopen it (to ensure the trainer's settings are cleared). Once it is running, the script waits 2 seconds before proceeding to launching GR. If the trainer can be launched minimized, then the order of launching isn't important. As of now, the trainer needs to launch first because it launches on top of GR. 2. GR is then loaded, if GR is already running and the launcher is ran again or clicked too many times, it uses winactivate to bring the game's window to the forefront (i prefer to use ("ahk_exe Ghostrunner-Win64-Shipping.exe") over the window title) as the window it looks for. 3. Next it waits for the ghostrunner window to close as it's cue to close the trainer 4. close the script when both Ghostrunner and the trainer is closed. (exitapp) I imagine that some of these steps are redundant. I am far from proficient in AHK though. Hopefully all of this makes sense. Here is what I've come up with so far.... if WinExist("ahk_exe Ghostrunner-Win64-Shipping.exe") { WinActivate } else Run "F:\LaunchBox\Games\PC Games\Ghostrunner\Trainer.exe", 2 Run "F:\LaunchBox\Games\PC Games\Ghostrunner\Ghostrunner.exe" Process, Wait, Ghostrunner-Win64-Shipping.exe, 10 ;max 10 sec. Process, WaitClose, Ghostrunner-Win64-Shipping.exe Process, Wait, Trainer.exe Process, WaitClose, Trainer.exe return As you can tell, it is not doing what I am intending for it to do. ? Thank you in advance. I feel like a needy child. lol Last, but most certainly not least...I would like to say thanks to all of you for all the help you selflessly provide to others. Be it here or IRL. God bless you all.
  22. Thank you for your reply. I use cdisplayex as my pdf viewer and was going to replace whatever LB uses through a dirty rename substitute. This is better though.
  23. where is the pdf viewer located that LB uses???
×
×
  • Create New...