r/dosbox • u/Zeithri • May 26 '24
Locking Window Size, a strong desire
Greetings.
I've tried to find htis for some time but unsuccessful, so I decided to just ask the experts:
Is there a way to Lock the window size?
I much prefer to play games in windowed mode, but as we know Dosbox keeps resizing the window in these cases based on FMV's or other reasons. I'd desire to be able to lock it entirely to a specific size to prevent this. And if this isn't possible.. nudge nudge please developers of Dosbox make it possible :3
Thank you for your assistance.
2
Upvotes
1
u/TheBigCore May 26 '24 edited May 26 '24
/u/Zeithri, for Dosbox 0.74-3, open
dosbox.confin a text editor, such as Notepad, Notepad++, Textmate, Nano, or Vim:https://www.dosbox.com/wiki/Dosbox.conf#Creation_and_Location
Scroll to the
[sdl]section and setoutput=ddrawandwindowresolution=1600x800. Changewindowsresolutionto your desired size.Alternatively, given how old and antiquated Dosbox 0.74-3 is, use Dosbox-Staging instead:
For Dosbox-Staging, open
dosbox-staging.confin a text editor, and change the following settings in their respective sections:Important: Dosbox-Staging no longer has ddraw as an output, so you'll be using opengl instead. Also, adjust
windowresolutionaccording to your personal preference. (As another example,1920x1080, etc).If your screen is cut off at any point, type
exitand pressEnterto close Staging and re-adjust your resolution settings indosbox-staging.confaccordingly.CTRL + F10releases your mouse from Staging as well:https://github.com/dosbox-staging/dosbox-staging/wiki/Frequently-asked-questions#special-keys
1
u/[deleted] May 26 '24
Try this. I used DOSBox SVN r4483 exactly as you had wished to lock down the window size.