PDA

View Full Version : Command Lines List



DragonsLover
January 13th, 2010, 09:25
By checking into the UnSafeDisced DKII.exe file, I could see the list of command lines and cheat codes. The cheat codes are as usual, mentioned into the Cheats/Game help/Guides (http://forum.keeperklan.com/cheats-game-help-guides-t30.html) topic, but about the command lines, there's nothing about that. So, here's the list I have found that could surely be useful. Note that I tested them and some are still unknown.

X means that it requires a value after the command line, and texts between quotes mean it affects the Registry data of the same name.

-ENABLEFILEPATCHING : Allows to use the extracted WAD files instead of the compressed ones
-LOGOOS : Enables logging of Out of sync (?)
-PMESH X : Defines "PMesh Reduction Level"
-NOCHECKSUM : Disables CheckSum
-CHEAT : ?
-PRELOADRESOURCES : Preloads Resources (?)
-NOMOVIES : Disables the movies
-SHADOWS X : Defines "Shadow Level"
-NOSHADOWS : Disables the shadows
-CDPATH X : Defines the CD path (?)
-LANGUAGE X : Defines the language (?)
-ENABLEARTPATCHING : Allows to use the extracted WAD files instead of the compressed ones
-TEXTUREREDUCTIONLEVEL X : Defines "Texture Reduction Level"
-ENABLEBUMPLUMINANCE : Enables BumpLuminance (try it and check the lava)
-ENABLEBUMPMAPPING : Enables BumpMapping (try it and check the lava)
-CHEAPLIGHTING X : Defines "Cheap Lighting" (1 = Yes, 0 = No)
-LOWRESTEXTURES : Defines "High Res Textures" to 0
-HIGHRESTEXTURES : Defines "High Res Textures" to 1
-DISABLEGAMMA : Corrects screen tinting and colour corruption caused by the mouse cursor
-EHEAP X : Defines Engine Heap Size in Mb
-NOFILECHECKSUM : Disables File CheckSum
-FE : Defines 2D FrontEnd (I tried and the screen stayed black so, beware!) (?)
-FE3D : Defines 3D FrontEnd (?)
-SOFTWAREFILTER : Enables Software Filter (Bilinear Filtering)
-32BITEVERYTHING : Enables 32Bit Textures, ZBuffer and Display
-32BITTEXTURES : Enables 32Bit Textures
-32BITZBUFFER : Enables 32Bit ZBuffer (32bit ZBuffer instead of 16bit ZBuffer)
-32BITDISPLAY : Enables 32Bit Display (32bit colours instead of 16bit)
-NOINTMOUSE : Disables frame-rate independant mouse pointer
-NOSPEECH : Disables speeches
-NOMUSIC : Disables music
-NOERRORS : Disables errors? (Yay, no crashes anymore! :D)
-SPEC X : ?
-NOFPS : Disables Frames Per Second (?)
-FPS : Enables Frames Per Second (?)
-SOUND : Enables sound
-NOSOUND : Disables sound
-PLOADDEMOKEY : ?
-PNOCAMERA : ?
-PNUMBER X : ?
-PQUIT X : ?
-PSAVE X : Record a packet where X is the name of the file (must be use with -LEVEL command below)
-PLOAD X : Load a packet where X is the name of the file (must be use with -LEVEL command below)
-CHOOSECARD : Sets Dungeon Keeper 2 to run using your default video card
-SOFTWARE : Disables Hardware Acceleration
-ENGINE : ?
-DDD X : ?
-PD : ?
-Q : Combined with the -LEVEL command below, plays in Campaign mode
-LEVEL X : Plays a level (where X is the level name)

If you have found some, please tell! :)

Hapuga
January 13th, 2010, 15:37
-noerrors =DDDDDD

lold. I wish it'd wrk like that... you type -noerrors and a game never needs another patch =D

mefistotelis
January 13th, 2010, 17:52
Looks like history repeats itself:
http://z9.invisionfree.com/Keeper_Klan_Forum/index.php?showtopic=654

DragonsLover
January 16th, 2010, 01:56
I didn't know about your old post Mefisto. I didn't noticed it.

Displacer
August 30th, 2011, 15:39
Pretty sure -LOGOOS enables logging of out of sync, probably for packets on multiplayer

DragonsLover
August 30th, 2011, 16:45
Interesting. Thanks for the info!

Displacer
August 30th, 2011, 18:04
-PSAVE takes a filename as an argument, if it is not present it will crash the game. It uses the filename you supply to save something called a packetrecord to that file. For instance -PSAVE blah will make a new folder in your DKII folder called "PacketRecord" and in that folder it will create a file "blah.sav" I'm not convinced this has anything to do with multiplayer though...

DragonsLover
August 30th, 2011, 19:10
Nice! So, it could be possible to record videos that way. Thanks for the information!

Displacer
September 7th, 2011, 01:12
-DDD has something to do with the display. Haven't traced it completely but it's used during DirectDraw setup

DragonsLover
September 7th, 2011, 23:05
Thanks for the info! :)

Displacer
September 8th, 2011, 13:29
-ENGINE I believe selects the graphics engine to use. It looks like it's disabled but I'm not sure. The available engines to select with this option by an number following the switch are:

Software 2D
Direct3D
Software3D
Software3D MMX

I think the number following the switch selects which of the above to use in that order (i.e. -ENGINE 4 selects Software3D MMX)

As a side note, while it appears this switch is disabled, there is a registry entry that apparently works under the Configuration\Video reg. The entry is Engine Id. Mine is set to 2 which matches Direct3D

DragonsLover
September 8th, 2011, 21:46
Interesting! Thanks again for the info! :) Say, where did you find the available engines?

Displacer
September 8th, 2011, 22:46
In the code. I'm reverse engineering the .exe

dotted
September 13th, 2011, 06:56
In the code. I'm reverse engineering the .exe
You would be a god if you reverse engineered WEANETR.dll for the master server communication protocol. I would absolutely love creating a new master server for DK2, but my skills are with Python and PHP, not C and Assembly :(