VOGONS


First post, by bobtheferret

User metadata
Rank Newbie
Rank
Newbie

I'm trying to set up a game called The Last Express. It works just fine in windowed mode; however, in fullscreen, the color palette is all wonky. I have tried changing settings, starting in fullscreen mode, etc., but to no avail.

I use OS X with DosBox 0.70

A screenshot of the problem is attached, and the following is my configuration file:

[sdl]
# fullscreen -- Start dosbox directly in fullscreen.
# fulldouble -- Use double buffering in fullscreen.
# fullresolution -- What resolution to use for fullscreen: original or fixed size (e.g. 1024x768).
# windowresolution -- Scale the window to this size IF the output device supports hardware scaling.
# output -- What to use for output: surface,overlay.
# autolock -- Mouse will automatically lock, if you click on the screen.
# sensitiviy -- Mouse sensitivity.
# waitonerror -- Wait before closing the console if dosbox has an error.
# priority -- Priority levels for dosbox: lowest,lower,normal,higher,highest.
# Second entry behind the comma is for when dosbox is not focused/minimized.
# mapperfile -- File used to load/save the key/event mappings from.
# usescancodes -- Avoid usage of symkeys, might not work on all operating systems.
fullscreen=false
fulldouble=true
fullresolution=desktop
#fullresolution=original
windowresolution=original
output=opengl
# output=surface
autolock=false
sensitivity=100
# waitonerror=true
priority=higher,normal
# mapperfile=mapper.txt
# usescancodes=true

[dosbox]
# language -- Select another language file.
# memsize -- Amount of memory dosbox has in megabytes.
# machine -- The type of machine tries to emulate:hercules,cga,tandy,pcjr,vga.
# captures -- Directory where things like wave,midi,screenshot get captured.
language=
machine=vga
# captures=/Users/rhoenie/Desktop/Captures
memsize=64

[render]
# frameskip -- How many frames dosbox skips before drawing one.
# aspect -- Do aspect correction, if your output method doesn't support scaling this can slow things down!.
# scaler -- Scaler used to enlarge/enhance low resolution modes.
# Supported are none,normal2x,normal3x,advmame2x,advmame3x,advinterp2x,advinterp3x,tv2x,tv3x,rgb2x,rgb3x,scan2x,scan3x.
frameskip=0
# aspect=true
aspect=false
# scaler=none
scaler=normal3x

[cpu]
# core -- CPU Core used in emulation: simple,normal,full,dynamic.
# cycles -- Amount of instructions dosbox tries to emulate each millisecond.
# Setting this higher than your machine can handle is bad!
# You can also let DOSBox guess the correct value by setting it to auto.
# Please note that this guessing feature is still experimental.
# cycleup -- Amount of cycles to increase/decrease with keycombo.
# cycledown Setting it lower than 100 will be a percentage.
core=dynamic
cycles=auto
# cycles=6500
cycleup=500
cycledown=20

[mixer]
# nosound -- Enable silent mode, sound is still emulated though.
# rate -- Mixer sample rate, setting any devices higher than this will
# probably lower their sound quality.
# blocksize -- Mixer block size, larger blocks might help sound stuttering
# but sound will also be more lagged.
# prebuffer -- How many milliseconds of data to keep on top of the blocksize.
nosound=false
rate=22050
blocksize=2048
prebuffer=10

[midi]
# mpu401 -- Type of MPU-401 to emulate: none, uart or intelligent.
# device -- Device that will receive the MIDI data from MPU-401.
# This can be default,alsa,oss,win32,coreaudio,none.
# config -- Special configuration options for the device. In Windows put
# the id of the device you want to use. See README for details.
mpu401=intelligent
# mpu401=none
device=default
# device=coreaudio
config=

[sblaster]
# sbtype -- Type of sblaster to emulate:none,sb1,sb2,sbpro1,sbpro2,sb16.
# sbbase,irq,dma,hdma -- The IO/IRQ/DMA/High DMA address of the soundblaster.
# mixer -- Allow the soundblaster mixer to modify the dosbox mixer.
# oplmode -- Type of OPL emulation: auto,cms,opl2,dualopl2,opl3.
# On auto the mode is determined by sblaster type.
# All OPL modes are 'Adlib', except for CMS.
# oplrate -- Sample rate of OPL music emulation.
sbtype=sb16
sbbase=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=22050

[gus]
# gus -- Enable the Gravis Ultrasound emulation.
# gusbase,irq1,irq2,dma1,dma2 -- The IO/IRQ/DMA addresses of the
# Gravis Ultrasound. (Same IRQ's and DMA's are OK.)
# gusrate -- Sample rate of Ultrasound emulation.
# ultradir -- Path to Ultrasound directory. In this directory
# there should be a MIDI directory that contains
# the patch files for GUS playback. Patch sets used
# with Timidity should work fine.
gus=false
gusrate=22050
gusbase=240
irq1=5
irq2=5
dma1=3
dma2=3

[speaker]
# pcspeaker -- Enable PC-Speaker emulation.
# pcrate -- Sample rate of the PC-Speaker sound generation.
# tandy -- Enable Tandy Sound System emulation (off,on,auto).
# For auto Tandysound emulation is present only if machine is set to tandy.
# tandyrate -- Sample rate of the Tandy 3-Voice generation.
# disney -- Enable Disney Sound Source emulation.
pcspeaker=true
pcrate=22050
tandy=auto
tandyrate=22050
disney=true

[bios]
# joysticktype -- Type of joystick to emulate: none, 2axis, 4axis,
# fcs (Thrustmaster) ,ch (CH Flightstick).
# none disables joystick emulation.
# 2axis is the default and supports two joysticks.
joysticktype=2axis

[serial]
# serial1-4 -- set type of device connected to com port.
# Can be disabled, dummy, modem, directserial.
# Additional parameters must be in the same line in the form of
# parameter:value. Parameters for all types are irq, startbps, bytesize,
# stopbits, parity (all optional).
# for directserial: realport (required).
# for modem: listenport (optional).
# Example: serial1=modem listenport:5000
# serial1=modem listenport:45000
serial1=dummy
serial2=dummy
serial3=disabled
serial4=disabled

[printer]
# printer -- Enable printer emulation.\n"
# dpi -- Resolution of printer (default 360).
# width -- Width of paper in 1/10 inch (default 85 = 8.5'').
# height -- Height of paper in 1/10 inch (default 110 = 11.0'').
# output -- Output method for finished pages:
# png : Creates PNG images in the DOSBOX directory
# ps : Creates Postscript documents in the DOSBOX directory (default)
# bmp : Creates BMP images (very huge files, not recommend)\n"
# printer : Send to an actual printer (Print dialog will appear)
# multipage -- Adds all pages to one Postscript file or printer job until
# ALT-F8 is pressed.
printer=false
# dpi=300
# DIN A4 = 8.3 ◊ 11.7 inches
# width=83
# height=117
# output=ps

[dos]
# xms -- Enable XMS support.
# ems -- Enable EMS support.
# umb -- Enable UMB support (false,true,max).
xms=true
ems=false
umb=true

[ipx]
# ipx -- Enable ipx over UDP/IP emulation.
ipx=true

# I use this to mount all stuff needed for the game Dark Forces
# at startup.
#
[autoexec]
MOUNT C ~/Documents/LastExpress/TLXC
MOUNT D ~/Documents/LastExpress/EXPRESS -t cdrom -l EXPRESS
C:
cd EXPRESS
EXPRESS

Attachments

  • Filename
    Problem.jpg
    File size
    150.29 KiB
    Downloads
    270 downloads
    File license
    Fair use/fair dealing exception

Reply 1 of 5, by ADDiCT

User metadata
Rank Oldbie
Rank
Oldbie

I've tested this game just yesterday with DOSBox v0.70 under XP SP2, and it worked fine in both windowed and fullscreen mode. Maybe a OS X specific problem?

Reply 3 of 5, by ADDiCT

User metadata
Rank Oldbie
Rank
Oldbie

I don't think this would be very helpful to you, as it's mostly the same as yours. From what i can see, your config looks quite "normal". You should play around with some settings, step by step, to identify the source of the problem.

There are three settings that you may want to play with. They are all connected to DOSBox' (full) screen output:

output
fulldouble
fullresolution

I'm no Mac user, so i have no idea what output modes are available on OS X. Maybe you should set it to the default, which seems to be "surface". In my case, it's "ddraw", which would obviously not work on OS X.

The "fulldouble" setting configures double buffering in full screen mode, so that might be connected to your problem, too. I have this setting disabled for most of the games.

And finally, you should try to set "fullresolution" to "original" or a fixed size (i use "640x480").

You could also try changing the color depth of your desktop.

I hope that helps. If all of this fails, i'm out of ideas for now... There should be other OS X users on the forum, maybe one of them can jump in with some help.

Reply 4 of 5, by bobtheferret

User metadata
Rank Newbie
Rank
Newbie

I fiddled around with it some more, and I discovered that it occurs in the window when DosBOX is started in any color depth OTHER than Millions of Colors (the OS X default) and isn't set to Millions of Colors. (For exampe, if you start in 256 colors and then switch to Millions of Colors, it works, or if you start in Millions of Colors and then switch to 256 colors.) Haven't got a clue what that's about, but.. anyone know how to keep DosBOX from changing the color depth when it fullscreens?