VOGONS


First post, by EdmondDantes

User metadata
Rank Member
Rank
Member

I was trying to stream the CD-ROM version of Flashback: The Quest for Identity, to show off the unique CGI cutscenes that version has. When you stream, you have to run the game in a window. However, I ran into a problem in that the window kept changing size/shapes, which was not only annoying for me but messed with my streaming software (OBS).

I tried aspect=true and that minimized the problem but didn't eliminate it completely.

Does anyone have anything I could try? I checked the Dosbox wiki and found nothing about this.

Thanks in advance.

Reply 1 of 3, by jmarsh

User metadata
Rank Oldbie
Rank
Oldbie

"config -set output opengl" to use the opengl renderer.
"config -set windowresolution widthXheight" Replace width and height with what you want the window to be. Use a resolution that is 4:3. This setting requires a restart to take effect.
"config -wc" Save the new settings before restarting DOSBox.

The window should stay the specified size unless a game switches to an odd video mode that isn't 4:3.

Reply 2 of 3, by EdmondDantes

User metadata
Rank Member
Rank
Member
jmarsh wrote on 2025-06-06, 05:37:
"config -set output opengl" to use the opengl renderer. "config -set windowresolution widthXheight" Replace width and height wit […]
Show full quote

"config -set output opengl" to use the opengl renderer.
"config -set windowresolution widthXheight" Replace width and height with what you want the window to be. Use a resolution that is 4:3. This setting requires a restart to take effect.
"config -wc" Save the new settings before restarting DOSBox.

The window should stay the specified size unless a game switches to an odd video mode that isn't 4:3.

Can I somehow achieve this with editing the conf file directly (since I use custom confs for every game anyway)?

Reply 3 of 3, by jmarsh

User metadata
Rank Oldbie
Rank
Oldbie

Sure, just look for the lines with the same names in the .conf files.