majorspawn Posted July 2, 2016 Posted July 2, 2016 Hi Guys, Has anyone managed a way to bypass the DariusBurstCS loader window at startup of the game? This is the first screen you see before entering the game My Arcade Projects: SNES PC Project Vewlix Cabinet LS-30 Rotary Joysticks
majorspawn Posted July 3, 2016 Author Posted July 3, 2016 I wrote this script for someone a while back. Try it and see if it works, you may have to change the game window title in the script as this was written for the 1.0 version of the game. There should be a Game Scripts folder located in RocketLauncher/Modules/PCLauncher which is where I keep my game scripts. To set it to run, in the PCLauncher Rom Settings for the game click the Pre/Post Launch tab and set the file location in the Post Launch box. Thanks you again buddy your always happy to respond and provide a helping hand, appreciate it greatly. Would this work independently when launching the ahk by itself then the game? I only ask as I am still using HyperLaunch and not rocket Launcher. I can invoke your ahk via eventghost or HLHQ. Does the script just find the window and hit the launch button ? My Arcade Projects: SNES PC Project Vewlix Cabinet LS-30 Rotary Joysticks
majorspawn Posted July 4, 2016 Author Posted July 4, 2016 thank you this works well standalone or via launcher My Arcade Projects: SNES PC Project Vewlix Cabinet LS-30 Rotary Joysticks
gigapig Posted November 25, 2016 Posted November 25, 2016 Thanks Agent, I have been trying to get this game working by just sending enter as it seemed that is all that's required , but I failed. This script starts the game but throws up an error which I need to figure out.
gigapig Posted November 25, 2016 Posted November 25, 2016 4 minutes ago, agent47 said: What's the error you're getting? Thanks for the reply. I will try to print screen it as it's pretty fast.
gigapig Posted November 26, 2016 Posted November 26, 2016 12 hours ago, agent47 said: Is it an RL error or the game throwing an error? You may have better luck catching the error message by recording video and playing it back super slow if it pops up and disappears quickly. It's not that quick I'm just a slow reader. All sorted anyway, the window name has changed or is different on my version. It's now... Darius Burst Chronicle Saviours for Steam (Rev.5782) ahk_class Darius Burst Chronicle Saviours for Steam (Rev.5782) So the main thing is it works but I'd love to know why that script needed to be so complicated, I've scripts that just send "Enter" which is all that I would do to start the game, press Enter. Anyway the old script I have did not work but this does so all sweet.
gigapig Posted November 26, 2016 Posted November 26, 2016 One more thing Agent. So could this script be modified slightly to work with other games by just changing the window names?
majorspawn Posted November 26, 2016 Author Posted November 26, 2016 Ive just used event Ghost to look for the window and send enter. Sent from my SM-G930F using Tapatalk My Arcade Projects: SNES PC Project Vewlix Cabinet LS-30 Rotary Joysticks
gigapig Posted November 26, 2016 Posted November 26, 2016 6 minutes ago, majorspawn said: Ive just used event Ghost to look for the window and send enter. Sent from my SM-G930F using Tapatalk And talking of ghosts, you're bringing back old nightmares of Raided IV and event ghost. shudder.
gigapig Posted November 26, 2016 Posted November 26, 2016 2 hours ago, agent47 said: For similar launchers, yes. You would need to change the LauncherWindow and GameWindow variables but also the Button1 variable in line 24. You would have to use something like WindowSpy (which comes with AHK) to grab all that info. You could also modify that line to just send Enter after the launcher has focus instead of clicking a button. It's not that complicated, although it is a lot more complicated then sending enter. It basically waits for the launcher window, if it doesn't appear it throws an error and if it does it clicks the Launch button. Then it waits for the game window to show, throws an error if it doesn't and if it does sets focus to the game window. Doing it this way makes sure that the launcher and game windows get focus when they need it and throw errors if something goes wrong so you know what to check. If you just sent enter you may need to delay the press on different machines if they take more/less time to boot the game and if something were to steal focus it would mess things up. Wonderful, thank you.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.