PDA

View Full Version : Skirmish Mode



Patrician
August 30th, 2009, 13:01
To play the multiplayer maps against the computer, start the game with the -1player parameter using a shortcut or "Run..." application.

Assuming "C:\DK" is your DK directory; type "C:\DK\keeper95.exe" -1player or "C:\DK\keeper.exe" -1player depending of the version you have.

Post edited by DragonsLover

Adamczuk
November 20th, 2009, 20:03
Thanks for this! One of the things that I found annoying with DK1 was that it had no skirmish mode.

Prymark
February 28th, 2012, 14:38
i have the gog version, and tried this and it didnt work :/ any suggestions?

DragonsLover
March 1st, 2012, 02:44
It should work. Perhaps you typed it wrong?

Are you sure you also go into the Multiplayer section in the main menu afterwards?

Prymark
March 1st, 2012, 10:22
Im certain that i did both! yet, i dont have keeperfx on it. and plus since its the gog version, the shortcut takes me thru dos box! ill copy the target down below that has my "-1player" added on it: "C:\Program Files (x86)\GOG.com\Dungeon Keeper\DOSBOX\DOSBox.exe" -conf dosboxDK.conf -noconsole -c "exit" -1player"

DragonsLover
March 1st, 2012, 23:20
Oh, so the Gog version runs the game under Dosbox. Adding -1player doesn't work because the command line is therefore used for Dosbox, not Dungeon Keeper. Can you open the "DosboxDK.conf" file using a text editor and tell me what's inside?

Prymark
March 2nd, 2012, 00:40
# Lines starting with a # are commentlines.
# They are used to (briefly) document the effect of each option.

[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,opengl,openglnb,ddraw.
# 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,pause (when not focussed).
# 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=true
fulldouble=false
fullresolution=original
windowresolution=original
output=overlay
autolock=true
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=svga_s3
captures=capture
memsize=32

[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,hq2x,hq 3x,
# 2xsai,super2xsai,supereagle,advinterp2x,advinterp3 x,
# tv2x,tv3x,rgb2x,rgb3x,scan2x,scan3x.
# If forced is appended (like scaler=hq2x forced), the scaler will be used
# even if the result might not be desired.

frameskip=0
aspect=false
scaler=normal2x

[cpu]
# core -- CPU Core used in emulation: normal,simple,dynamic,auto.
# auto switches from normal to dynamic if appropriate.
# cycles -- Amount of instructions DOSBox tries to emulate each millisecond.
# Setting this value too high results in sound dropouts and lags.
# You can also let DOSBox guess the correct value by setting it to max.
# The default setting (auto) switches to max if appropriate.
# cycleup -- Amount of cycles to increase/decrease with keycombo.
# cycledown Setting it lower than 100 will be a percentage.

core=auto
cputype=486_slow
cycles=80000
cycleup=5000
cycledown=5000

[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
device=default
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.

type=sb16
base=220
irq=5
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

[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. Covox Voice Master and Speech Thing compatible.

pcspeaker=true
pcrate=22050
tandy=auto
tandyrate=22050
disney=true

[joystick]
# joysticktype -- Type of joystick to emulate: auto (default), none,
# 2axis (supports two joysticks,
# 4axis (supports one joystick, first joystick used),
# 4axis_2 (supports one joystick, second joystick used),
# fcs (Thrustmaster), ch (CH Flightstick).
# none disables joystick emulation.
# auto chooses emulation depending on real joystick(s).
# timed -- enable timed intervals for axis. (false is old style behaviour).
# autofire -- continuously fires as long as you keep the button pressed.
# swap34 -- swap the 3rd and the 4th axis. can be useful for certain joysticks.
# buttonwrap -- enable button wrapping at the number of emulated buttons.

joysticktype=auto
timed=true
autofire=false
swap34=false
buttonwrap=true

[serial]
# serial1-4 -- set type of device connected to com port.
# Can be disabled, dummy, modem, nullmodem, directserial.
# Additional parameters must be in the same line in the form of
# parameter:value. Parameter for all types is irq.
# for directserial: realport (required), rxdelay (optional).
# for modem: listenport (optional).
# for nullmodem: server, rxdelay, txdelay, telnet, usedtr,
# transparent, port, inhsocket (all optional).
# Example: serial1=modem listenport:5000

serial1=dummy
serial2=dummy
serial3=disabled
serial4=disabled

[dos]
# xms -- Enable XMS support.
# ems -- Enable EMS support.
# umb -- Enable UMB support.
# keyboardlayout -- Language code of the keyboard layout (or none).

xms=true
ems=true
umb=true
keyboardlayout=none

[IPX]
Enable=1
Connection=1
ipx=true


[autoexec]
# Lines in this section will be run at startup.
mount C .
imgmount d "game.inst" -t iso -fs iso
c:
cls
Keeper.exe
exit

DragonsLover
March 5th, 2012, 04:35
In the [autoexec] section, add -1player after Keeper.exe, save the file, then launch the game as you usually do. The result should be:


[autoexec]
# Lines in this section will be run at startup.
mount C .
imgmount d "game.inst" -t iso -fs iso
c:
cls
Keeper.exe -1player
exit

Klinsk
May 13th, 2013, 12:08
1Player is automatically enabled when installing KeeperFX (+ 15 more custom multiplayer maps).

Olibearsauras
November 21st, 2017, 11:17
Hey guys, sorry I'm so late to the party, being enjoying campaign mode far too much!

I'm running the GOG/Dosbox version of Dungeon Keeper Gold but can't get the -1player to work for Multiplayer so I can play on my own against the computer. I've searched in the dosboxDK.conf file to edit the suggester line under autoexec but it isn't there.

I've found similar lines in dosboxDK_server & dosboxDK_single.conf and added -1player to them but nothing works. Can anyone help me out so I can start painting my dungeon walls with entrails again?

Cheers,
Oli

rainlizard
January 29th, 2018, 02:01
This took me a moment to figure out so I thought I'd share, in -1player mode the skirmish AI always uses [computer7] section from keepcompp.cfg. You're playing against the "Defensive Computer Assistant" AI in every skirmish map and there's no way to change it. It's a bit sad honestly.

This is relevant to the thread if people want to change it. You must have keeperfx and edit keepcompp.cfg [computer7].

YourMaster
January 29th, 2018, 09:40
Are you sure? How did you figure this out?
I always thought you play against computer0 in 1player mode.

EDIT: But I checked and you're right.
There's a workaround for this though and that is to change in \fxdata\keepcompp.cfg the names of the computers players. So for example if you change [computer7] to [computer0] and vice versa, the game will use what originally was [computer0]. And if you never use the computer assistant, you can also simply replace [computer7] with whichever one you want for skirmish.

spartahawk
January 29th, 2018, 18:30
Does this apply to the computer AI in all situations or just skirmish?

YourMaster
January 29th, 2018, 18:49
Just the 1Player skirmish. On all other maps the script defines which computerplayer is used.

damedog
January 30th, 2018, 02:57
Good info to have. What's the difference between the computer players?

YourMaster
January 30th, 2018, 09:05
Well, everything. All the things the computer players can do or respond to or build they can also not do. There are for example computer players that just build small rooms, that don't attack, that only dig close gold, etc.