VOGONS


First post, by demon646

User metadata
Rank Newbie
Rank
Newbie

hey guys... i got a quick question.... I just installed Privateer 2 on my P4 3gig using dosbox... I've sped up dosbox so the game runs well and fast without exhausting my processor (about 15000 to 20000 cycles). Everything runs perfectly except when I get near a planet or a ship. If the planet/ship covers most of the screen, it gets real slow and choppy (like 1 or 2 fps). Does anyone know if I can fix this? maybe a 'video setting' in dosbox or something? I've tried MOST of the settings in dosbox's conf file. I think it's something else. any suggestions would be appreciated.

PC specs:

P4 3.06 GHz with Hyper Threading
512 MB Ram
6800 GT
160GB HD
Sound Blaster Live! Value

I've also tried an AMD 2100+ with the same results

Using:

DosBox 0.63

DosBox conf:

[sdl]
# fullscreen -- Start dosbox directly in fullscreen.
# fulldouble -- Use double buffering in fullscreen.
# fullfixed -- Don't resize the screen when in fullscreen.
# fullresolution -- What resolution to use for fullscreen, use together with fullfixed.
# output -- What to use for output: surface,overlay,opengl,openglnb,ddraw.
# hwscale -- Extra scaling of window if the output device supports hardware scaling.
# 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: 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.

fullscreen=false
fulldouble=false
fullfixed=true
fullresolution=1280x960
output=opengl
hwscale=1.00
autolock=true
sensitivity=100
waitonerror=true
priority=higher,
mapperfile=mapper.txt

# fullscreen=false
# fulldouble=false
# fullfixed=false
# fullresolution=1024x768
# output=surface
# hwscale=1.00
# autolock=true
# sensitivity=100
# waitonerror=true
# priority=higher,
# mapperfile=mapper.txt

[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,vga.
# captures -- Directory where things like wave,midi,screenshot get captured.

language=
machine=vga
captures=capture
memsize=64

[render]
# frameskip -- How many frames dosbox skips before drawing one.
# aspect -- Do aspect correction.
# scaler -- Scaler used to enlarge/enhance low resolution modes.
# Supported are none,normal2x,advmame2x,advmame3x,advinterp2x,interp2x,tv2x.

frameskip=0
aspect=false
scaler=none

[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!
# cycleup -- Amount of cycles to increase/decrease with keycombo.
# cycledown Setting it lower than 100 will be a percentage.

core=normal
cycles=15000
cycleup=10
cycledown=10

[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 -- Enable MPU-401 Emulation.
# intelligent -- Operate in Intelligent mode.
# 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.

mpu401=true
intelligent=true
device=default
config=

[sblaster]
# type -- Type of sblaster to emulate:none,sb1,sb2,sbpro1,sbpro2,sb16.
# base,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.
# oplrate -- Sample rate of OPL music emulation.

type=sb16
base=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=22050

[gus]
# gus -- Enable the Gravis Ultrasound emulation.
# base,irq1,irq2,dma1,dma2 -- The IO/IRQ/DMA addresses of the
# Gravis Ultrasound. (Same IRQ's and DMA's are OK.)
# rate -- 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=true
rate=22050
base=240
irq1=5
irq2=5
dma1=3
dma2=3
ultradir=C:\ULTRASND

[speaker]
# pcspeaker -- Enable PC-Speaker emulation.
# pcrate -- Sample rate of the PC-Speaker sound generation.
# tandyrate -- Sample rate of the Tandy 3-Voice generation.
# Tandysound emulation is present if machine is set to tandy.
# disney -- Enable Disney Sound Source emulation.

pcspeaker=true
pcrate=22050
tandyrate=22050
disney=true

[bios]
# Nothing to setup yet!

[dos]
# xms -- Enable XMS support.
# ems -- Enable EMS support.

xms=true
ems=true

[modem]
# modem -- Enable virtual modem emulation.
# comport -- COM Port modem is connected to.
# listenport -- TCP Port the modem listens on for incoming connections.

modem=false
comport=2
listenport=23

[directserial]
# directserial -- Enable serial passthrough support.
# comport -- COM Port inside DOSBox.
# realport -- COM Port on the Host.
# defaultbps -- Default BPS.
# parity -- Parity of the packets. This can be N, E or O.
# bytesize -- Size of each packet. This can be 5 or 8.
# stopbit -- The number of stopbits. This can be 1 or 2.

directserial=false
comport=1
realport=COM1
defaultbps=1200
parity=N
bytesize=8
stopbit=1

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

ipx=false

[autoexec]
# Lines in this section will be run at startup.

MORNING!!!!

Reply 1 of 8, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

Wow, 15,000 cycles in Privateer in Normal core.

Why aren't you using Core=dynamic?

How To Ask Questions The Smart Way
Make your games work offline

Reply 2 of 8, by demon646

User metadata
Rank Newbie
Rank
Newbie

hmmm.. i guess I don't know what the core is or does... I'll try them all 😁

# core -- CPU Core used in emulation: simple,normal,full,dynamic.

MORNING!!!!

Reply 4 of 8, by `Moe`

User metadata
Rank Oldbie
Rank
Oldbie

After switching to dynamic core (that's the one you should try), you should increase your cycles, otherwise you won't notice anything. The whole point of dynamic core is that it works with higher cycles.

Reply 5 of 8, by demon646

User metadata
Rank Newbie
Rank
Newbie

I see... yeah I tried that too... I've tried simple, normal, full, and dynamic while changing my cycles from 5000 to 30,000 with pretty much the same results for each. I think there is another hidden issue here.

Another note:

Someone told me on IRC that there is a patch that allows it to run in Win95 and it works with XP! I tried it and it runs very well! tho it did crash on me once... I'm not sure if it'll be a problem or not, but IT WORKS! 😁

I got the patch here:
http://perli.net/projekte/privateer2win95/

thanks again for your thoughts and ideas... I still want to get it to run better in DosBox... so I can control the cycles. It runs a little fast with the patch.

MORNING!!!!

Reply 7 of 8, by Dan Forever

User metadata
Rank Newbie
Rank
Newbie

I find I have the same problem with dosbox 0.65. Anyone had any better luck? Strangely enough, everything else is perfect, the FMV sequences are perfectly in sync. Nice considering all the other games that I have with FMV are mostly out of sync if they're not stuttering.

Reply 8 of 8, by Dan Forever

User metadata
Rank Newbie
Rank
Newbie

Actually, on further testing, it seems that with Dynamic mode on and 55000ish cycles I get a good frame rate in game, but the movies stutter, and the in game menus are too fast. Lowering the cycles to around 20000 fixes this, but the sound in the FMVs is slightly out of sync 🙁

My setup is:
Athlon 2800xp
1024MB Ram
Shuttle SN41G2
Winfast Geforce 6800 128MB