Jump to content
This Topic

DariusBurst CS bypassing initial resolution / monitor select screen?


majorspawn

Recommended Posts

Posted
  On 7/2/2016 at 12:51 PM, agent47 said:

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 ?

  • 4 months later...
Posted

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.

56uIzxg.png

Posted
  On 11/25/2016 at 11:00 PM, 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.

Expand  

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. :thumbsu:

56uIzxg.png

Posted
  On 11/26/2016 at 11:24 AM, majorspawn said:

Ive just used event Ghost to look for the window and send enter.

Sent from my SM-G930F using Tapatalk
 

Expand  

And talking of ghosts, you're bringing back old nightmares of Raided IV and event ghost. shudder.

56uIzxg.png

Posted
  On 11/26/2016 at 2:45 PM, 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.

 

Expand  

Wonderful, thank you.

56uIzxg.png

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...