RobertBlum Posted November 23, 2021 Posted November 23, 2021 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 Quote
Suhrvivor Posted November 24, 2021 Posted November 24, 2021 (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 December 16, 2021 by Suhrvivor typos 2 Quote
RobertBlum Posted November 24, 2021 Author Posted November 24, 2021 I did and it works perfect. Thank you very much! Quote
SonnyHermiston Posted December 15, 2021 Posted December 15, 2021 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. Quote
Tsigarinho Posted 21 hours ago Posted 21 hours ago (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 21 hours ago by Tsigarinho Quote
Rlad Posted 19 hours ago Posted 19 hours ago 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. Quote
Tsigarinho Posted 17 hours ago Posted 17 hours ago (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 16 hours ago by Tsigarinho Quote
Suhrvivor Posted 12 hours ago Posted 12 hours ago (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 12 hours ago by Suhrvivor Quote
Tsigarinho Posted 10 hours ago Posted 10 hours ago 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. 1 Quote
Suhrvivor Posted 3 hours ago Posted 3 hours ago 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.