It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
I've just downloaded and tried to run a few old dosbox games, (like Master of Magic and Eye of the Beholder), and when I run them the dosbox completely upends my graphics settings on the computer.

For example I have dual wide screen monitors, the left one being primary. When I run start.sh on either game it makes the right one primary and lowers the resolution down to 640x480 and the left one goes to sleep. When I exit the game the resolution is still 640x480, and the left monitor is still disabled.

Luckily the POV on the right monitor is lower left part of the screen so I can still click on the menu button to select my display preferences and set everything back up again. It's just aggravating that you have to redo all your graphics settings every time you come out of a video game. Forget even thinking about alt-tabbing out of a game to check email or something like that.

I've looked at the dosbox settings and don't understand why I have both a dosbox_eob1.conf as well as a dosbox_eob1_single.conf files. I have the same thing for Master of Magic. I assume all of the GOG dosbox games are configured the same basic way for the monitor/graphics end of things. Can anyone tell me what they should be to run in a set up like mine?

Thanks.
No posts in this topic were marked as the solution yet. If you can help, add your reply
I'd turn off fullscreen.

Then change the zoom level depending on what you need.

This should work in Linux as well as Windows, although this assumes you're using XWindows, if you're in fullscreen console naturally it won't do much.
Attachments:
Post edited January 07, 2019 by rtcvb32
avatar
rtcvb32: I'd turn off fullscreen.

Then change the zoom level depending on what you need.

This should work in Linux as well as Windows, although this assumes you're using XWindows, if you're in fullscreen console naturally it won't do much.
So how exactly do I turn off the full screen? I tried making this change in the dosboxMOM.conf file that comes with the game:
fullscreen=false

That didn't make any difference so I added it to the dosboxMOM_single.conf file that has the commands to actually run the game. That didn't do anything elther.

Is there a different dosbox config file that the game looks at?

Thanks.
I've installed Blake Stone (aliens of gold) in order to fully follow in the process, which uses DosBox

The game installs to: ~/GoG Games/Stone Blake Aliens of Gold

start.sh is the script that runs the game, thus probably all shortcuts run that script

Editing dosbox_blacke_aog.conf and changing fullscreen=true to fullscreen=false has made it run in window rather than in full screen.

I've tested it before and after, so yes this seems to work for me just fine.

So beyond this I'm not sure.
Post edited January 10, 2019 by rtcvb32
avatar
rtcvb32: I've installed Blake Stone (aliens of gold) in order to fully follow in the process, which uses DosBox

The game installs to: ~/GoG Games/Stone Blake Aliens of Gold

start.sh is the script that runs the game, thus probably all shortcuts run that script

Editing dosbox_blacke_aog.conf and changing fullscreen=true to fullscreen=false has made it run in window rather than in full screen.

I've tested it before and after, so yes this seems to work for me just fine.

So beyond this I'm not sure.
That's weird. Both of my .conf files have fullscreen=false and it still opens full screen.

I'm not sure what else to do.

Thanks for replying.
avatar
mclaught: That's weird. Both of my .conf files have fullscreen=false and it still opens full screen.

I'm not sure what else to do.

Thanks for replying.
Make sure it's saved/synced.

Also check the scripts that don't have like dosbox/dosbox -fullscreen or something like that.
avatar
mclaught: That's weird. Both of my .conf files have fullscreen=false and it still opens full screen.

I'm not sure what else to do.

Thanks for replying.
avatar
rtcvb32: Make sure it's saved/synced.

Also check the scripts that don't have like dosbox/dosbox -fullscreen or something like that.
I'm not sure what you mean by saved/synced. The conf files are saved and I don't know where to sync them to.

Your idea about checking the other scripts was a great one. That hadn't occurred to me that there could be dosbox config items in other scripts. So I popped open the start.sh script and here is what it says:
#!/bin/bash
# GOG.com (www.gog.com)
# Master of Magic

# Initialization
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "${CURRENT_DIR}"
source support/gog_com.shlib

# Game info
GAME_NAME="$(get_gameinfo 1)"
VERSION="$(get_gameinfo 2)"
VERSION_DEV="$(get_gameinfo 3)"

# Actions
run_game() {
echo "Running ${GAME_NAME}"
run_dosbox "dosboxMOM.conf" "dosboxMOM_single.conf"
}

default() {
run_game
}

# Options
define_option "-s" "--start" "start ${GAME_NAME} [default]" "run_game" "$@"

# Defaults
standard_options "$@"

What does it mean when it lists both of the conf files? Does the first one override the 2nd? or vice versa? I didn't see anything in this one that looks like it would set the full screen.

I was looking at the other dosbox conf items and here is what 's listed under SDL:
fullscreen=false
fulldouble=false
fullresolution=desktop
windowresolution=original
output=overlay
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper.txt
usescancodes=true

I was googling these trying to figure out what they all mean, and not sure if any of them is causing this. Like output. Should that be something else?

Thanks again for taking the time to help.
avatar
mclaught: I'm not sure what you mean by saved/synced. The conf files are saved and I don't know where to sync them to.
Sync would be the same as flushing, or writing to the drive, but if it's saved then that's just as well.
avatar
mclaught: Your idea about checking the other scripts was a great one. That hadn't occurred to me that there could be dosbox config items in other scripts. So I popped open the start.sh script and here is what it says:

<SNIP>
Looks similar to mine.
avatar
mclaught: What does it mean when it lists both of the conf files? Does the first one override the 2nd? or vice versa? I didn't see anything in this one that looks like it would set the full screen.
From what i see, one's a global settings, and the second one would be game specific overrides.
avatar
mclaught: I was looking at the other dosbox conf items and here is what 's listed under SDL:

<snip>
fullresolution=desktop
I wonder if it's a version that might use OpenGL, at which SDL settings doesn't matter.

Regardless comparing against mine, the fullresolution on mine is =original.
avatar
mclaught: I was googling these trying to figure out what they all mean
The top of the conf file should have commented in #'s what each line means.

Regardless, i still don't know what else to suggest. I don't see why this should be an issue at all.