Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

Hi,

Cotton Reboot on PC dont start in full screen but windowed and there is no option in this game to set fullscreen by default.

Alt + Enter is working good, but is it possible to have a command to start in fullscreen by default ?

Thanks

Posted (edited)

I just got this on my LaunchBox a few days ago and also noticed that it doesn't have a fullscreen option other than Alt+Enter.

You can make a script that sends those keys right after launch though, I did that and it works like a charm. this is the script I use:

Set WshShell = WScript.CreateObject("WScript.Shell") 
obj = WshShell.Run("""cotton_reboot.exe""", 3, False) 
WScript.sleep 3000
WshShell.AppActivate ("Cotton Reboot! ver1.00") 'Focuses game window just in case
WScript.sleep 200
WshShell.SendKeys "%{ENTER}" 'Sends ALT+ENTER to enter in fulscreen mode (720p)

Paste the above code into a text editor, save as cotton_reboot.vbs, put it next to the game's exe, then make LaunchBox launch that vbs file instead of the game's exe (or Steam URL).

Edited by Suhrvivor
typos
  • Thanks 2
  • 3 weeks later...
Posted
On 11/23/2021 at 4:27 PM, RobertBlum said:

Hi,

Cotton Reboot on PC dont start in full screen but windowed and there is no option in this game to set fullscreen by default.

Alt + Enter is working good, but is it possible to have a command to start in fullscreen by default ?

Thanks

I found this solution online, hope it will help you to fix it.

  • 3 years later...
Posted (edited)
On 11/24/2021 at 8:30 AM, Suhrvivor said:

I just got this on my LaunchBox a few days ago and also noticed that it doesn't have a fullscreen option other than Alt+Enter.

You can make a script that sends those keys right after launch though, I did that and it works like a charm. this is the script I use:

Set WshShell = WScript.CreateObject("WScript.Shell") 
obj = WshShell.Run("""cotton_reboot.exe""", 3, False) 
WScript.sleep 3000
WshShell.AppActivate ("Cotton Reboot! ver1.00") 'Focuses game window just in case
WScript.sleep 200
WshShell.SendKeys "%{ENTER}" 'Sends ALT+ENTER to enter in fulscreen mode (720p)

Paste the above code into a text editor, save as cotton_reboot.vbs, put it next to the game's exe, then make LaunchBox launch that vbs file instead of the game's exe (or Steam URL).

I am trying to do the same with another fan game but i can't make it. As i understand i only have to change the .exe game file name on the second line. i don't know what to change on the forth line as the name inside the () symbols.

The game i am trying is the Castlevania 3 - Dracula's Curse 2020 and i am using Windows 11.

Edited by Tsigarinho
Posted
1 hour ago, Tsigarinho said:

I am trying to do the same with another fan game but i can't make it. As i understand i only have to change the .exe game file name on the second line. i don't know what to change on the forth line as the name inside the () symbols.

The game i am trying is the Castlevania 3 - Dracula's Curse 2020 and i am using Windows 11.

That should be the name of the window. Copy whatever it says on the bar at the top.

Posted (edited)
3 hours ago, Rlad said:

That should be the name of the window. Copy whatever it says on the bar at the top.

I did what you said and it is working on other games i tested it, but it's not working gor that specific game.

This is what i did

Set WshShell = WScript.CreateObject("WScript.Shell") 
obj = WshShell.Run("""Castlevania 3 - Dracula's Curse 2020""", 3, False) 
WScript.sleep 3000
WshShell.AppActivate ("Dracula's Curse 2020") 'Focuses game window just in case
WScript.sleep 200
WshShell.SendKeys "%{ENTER}" 'Sends ALT+ENTER to enter in fulscreen mode (720p)
Edited by Tsigarinho
Posted (edited)
5 hours ago, Tsigarinho said:

I did what you said and it is working on other games i tested it, but it's not working gor that specific game.

This is what i did

Set WshShell = WScript.CreateObject("WScript.Shell") 
obj = WshShell.Run("""Castlevania 3 - Dracula's Curse 2020""", 3, False) 
WScript.sleep 3000
WshShell.AppActivate ("Dracula's Curse 2020") 'Focuses game window just in case
WScript.sleep 200
WshShell.SendKeys "%{ENTER}" 'Sends ALT+ENTER to enter in fulscreen mode (720p)

The name of the executable is wrong. Also, I tested it and the part that focuses the game's window doesn't seem to work anymore. A proper working script would look like this:

Set WshShell = WScript.CreateObject("WScript.Shell") 
obj = WshShell.Run("""scv3gs.exe""", 3, False) 
WScript.sleep 9000
WshShell.SendKeys "%{ENTER}" 'Sends ALT+ENTER to enter in fulsscreen mode

Save as scv3gs.vbs, put it inside the game's root folder, then point Launchbox to that file instead of the game's exe. disable the Launchbox's startup screen if it gives you any trouble. 

Edit: if the game takes too long to start, increase the WScript.sleep value from 9000 to 12000, 15000 or more.

Edited by Suhrvivor
Posted
1 hour ago, Suhrvivor said:

The name of the executable is wrong. Also, I tested it and the part that focuses the game's window doesn't seem to work anymore. A proper working script would look like this:

Set WshShell = WScript.CreateObject("WScript.Shell") 
obj = WshShell.Run("""scv3gs.exe""", 3, False) 
WScript.sleep 9000
WshShell.SendKeys "%{ENTER}" 'Sends ALT+ENTER to enter in fulsscreen mode

Save as scv3gs.vbs, put it inside the game's root folder, then point Launchbox to that file instead of the game's exe. disable the Launchbox's startup screen if it gives you any trouble. 

Edit: if the game takes too long to start, increase the WScript.sleep value from 9000 to 12000, 15000 or more.

Your script seems to be working 100%.

I changed the name of the .exe from "scv3gs.exe" to "Castlevania 3 - Dracula's Curse 2020.exe" with your script and it didn't work. I renamed it again as you told me (scv3gs.exe) and now it's working great. I don't know why. Maybe it wants something small as name without spaces? I don't know. 

Thank you very much.

  • Thanks 1
Posted

Glad you sorted it out.

As a tip that I also learned the hard way I would recommend never changing the name of roms, files and specially executables, the exe's name is often used by the nvidia and amd's drivers to know what game you're running and apply compatibility fixes, if you change the name of the exe the game might perform suboptimally.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...