

Unzip nircmd.exe into the Cave Story+ folder (you only need the one file, nircmd.exe) bat at the end of the file name e.g.: Cave Story+ window mode.batĭownload NirCmd (scroll to the bottom of the page) Save the document as a batch file (File / Save As then add. Nircmd win setsize process CaveStory+.exe 0 0 1296 955 Open the text file and paste the following: nircmd win hide ititle cmd.exe Right-click / New / Text Document called "Cave Story+ window mode" (without quotes) WinMove, %WinTitle%, (A_ScreenWidth/2)-(Width/2), (A_ScreenHeight/2)-(Height/2)Įither run the script directly (or create a shortcut to it), or, you can add it as a Non-Steam game (see below) SetWorkingDir %A_ScriptDir% Ensures a consistent starting directory. SendMode Input Recommended for new scripts due to its superior speed and reliability. #Warn Enable warnings to assist with detecting common errors. #NoEnv Recommended for performance and compatibility with future AutoHotkey releases. Open the script in notepad and paste the following: #NoTrayIcon Right-click / New / AutoHotkey Script called "Cave Story+ (Window Mode)" (without quotes) Navigate to the Cave Story+ directory in steamapps\common

Start Cave Story+ and access the game options menu Skip to the bottom section, "To add as a Non-Steam game" Place Cave Story+ (Window Mode).exe in steamapps\common\Cave Story+ directory With AutoHotkey (easiest method)ĭownload my pre-compiled AutoHotkey executable I believe that I have a couple decent solutions you can choose between AutoHotkey and NirCmd methods (I prefer AutoHotkey because it seems to work better with process names when defining window sizes). To that end, I have been working on figuring out a way to have the window automatically resize to specified parameters. However, you can experiment with the x/y values of the window size, and also setting the game to "stretch" instead of "sharp" to see if that makes any difference. The default window size of Cave Story+ is way too big (in my opinion), and even though it can be manually resized by clicking and dragging, I'd rather not mess with that.ĭisclaimer: I'm working with a monitor resolution of 2560x1440, so this may or may not work well for users on lower resolutions (e.g., 1920x1080). I took some time to copy/paste my original thread from the Steam forums and format it for stack exchange: I know this post is three years old, but in case someone else ends up here who is looking for an answer, please see my post on the Steam forums.
